{
  "effects": {
    "python": {
      "heterogeneous": {
        "api": "effects",
        "variant": "heterogeneous",
        "language": "python",
        "title": "Known hypothetical effects and treated target",
        "input": {
          "rows": [
            {
              "id": "a",
              "y0": "0",
              "y1": "1",
              "a": "0"
            },
            {
              "id": "b",
              "y0": "2",
              "y1": "5",
              "a": "1"
            }
          ]
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/effects-heterogeneous.py",
        "codeSHA256": "8b95889bdedddcc5150dfba16d1e35c88c3a92ac68db6c1437f6412eeffbd0ee",
        "code": "\"\"\"ML21 complete standalone fixed example, not a general API validator.\nRun: python this-file.py NEW-OUTDIR\nFixed literal input is also supplied as matching human-readable JSON.\nRealdata reads3factual CSVs under data/, using owned public scalar code byvalue.\nNo production engine/model/checker/computed answers are imported.\n\"\"\"\nfrom pathlib import Path\nfrom fractions import Fraction as F\nfrom collections import defaultdict,Counter\nimport csv,json,hashlib,sys,html,math\nif hasattr(sys,'set_int_max_str_digits'):sys.set_int_max_str_digits(200000)\ndef f(v):return v if isinstance(v,F)else F(str(v))\ndef ck(v,label=''):\n if not v:raise AssertionError(label)\ndef maybe(v):return dict(defined=False)if v is None else dict(defined=True,value=v)\ndef mean(v,w):return sum((a*b for a,b in zip(v,w)),F(0))/sum(w,F(0))if sum(w,F(0))else None\ndef extremum(values,p,radius,cap,sign):\n q=list(p);budget=radius;upper=[min(F(1),cap*x)for x in p]\n order=sorted(range(len(values)),key=lambda i:(sign*values[i],i))\n donors=list(order);receivers=list(reversed(order));left=right=0\n while budget>0 and left<len(q)and right<len(q):\n  i,j=donors[left],receivers[right]\n  if sign*values[j]<=sign*values[i]:break\n  move=min(q[i],upper[j]-q[j],budget)\n  if move>0:q[i]-=move;q[j]+=move;budget-=move\n  if q[i]==0:left+=1\n  if q[j]==upper[j]:right+=1\n  if move==0 and q[i]>0 and q[j]<upper[j]:raise AssertionError('transport made no progress')\n return q,sum(a*b for a,b in zip(q,values)),sum(abs(a-b)for a,b in zip(q,p))/2\n\ndef fixed_source(kind):\n selectedKind=kind\n S=Path(__file__).resolve().parent/\"data\"\n def read(n):\n  with(S/n).open(encoding=\"utf8\",newline=\"\")as stream:return list(csv.DictReader(stream))\n def source_rows():\n  rows=read('actual48-country-revised-original-2023-2024.csv');lk={(r['countryISO3'],r['indicatorID'],r['date']):r for r in rows};isos=sorted({r['countryISO3']for r in rows});g=sorted(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])for i in isos);median=(g[7]+g[8])/2\n  models={'country':[dict(id=i+':2024',originalID=i,sourceRow=i,foldGroup='country:'+i,a=int(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])>median),x=[f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])/10000,f(lk[i,'FP.CPI.TOTL.ZG','2023']['originalValueToken'])/10],y=f(lk[i,'NY.GDP.MKTP.KD.ZG','2024']['originalValueToken']))for i in isos]}\n  native=read('actual38408-NSW-all15-fields.csv');pairs=defaultdict(dict)\n  for r in native:pairs[str(int(f(r['id'])))][int(f(r['year']))]=r\n  people=[]\n  for ID,pair in pairs.items():\n   pre,post=pair[1975],pair[1978];ck(pre['treated']==post['treated'],'native stable treatment');sel=int(f(pre['experimental']))==1;ck(sel==(pre['treated']!='.'),'no recode missingtreatment')\n   if sel:people.append(dict(id='nsw-id:'+ID,originalID=ID,sourceRow=int(post['sourceRow']),foldGroup='nsw-id:'+ID,a=int(f(pre['treated'])),x=[F.from_float(float(pre['age']))/10,F.from_float(float(pre['educ']))/10,F.from_float(float(pre['re74']))/10000],y=F.from_float(float(post['re']))/10000))\n  models['person']=people;company=[]\n  for r in read('actual410-NJPA-all46-fields.csv'):\n   ys=[]\n   for suffix in['','2']:\n    v=[None if r[k+suffix]=='.'else f(r[k+suffix])for k in['EMPFT','EMPPT','NMGRS']];ys.append(None if None in v else v[0]+v[1]/2+v[2])\n   company.append(dict(id='njpa-row:'+r['sourceRow'],originalID=r['SHEET'],sourceRow=int(r['sourceRow']),foldGroup='sheet:'+r['SHEET'],a=int(r['STATE']),x=[None if ys[0]is None else ys[0]/10,None if r['CHAIN']=='.'else F(int(f(r['CHAIN'])==2)),None if r['CO_OWNED']=='.'else f(r['CO_OWNED'])],y=None if None in ys else ys[1]-ys[0]))\n  models['company']=company\n  for kind,rr in models.items():\n   groups=sorted({r['foldGroup']for r in rr},key=lambda g:(hashlib.sha256(('ML21|'+kind+'|'+g).encode()).digest(),g));folds={g:i%4 for i,g in enumerate(groups)}\n   for r in rr:r['fold']=folds[r['foldGroup']];r['eligible']=r['y']is not None and None not in r['x'];r['role']='analysis'if r['eligible']else'excluded';r['w']=F(1)\n  return models\n MODELS=source_rows()\n def solve(A,b):\n  n=len(b);M=[list(a)+[v]for a,v in zip(A,b)];pivot=[];i=0\n  for j in range(n):\n   k=next((k for k in range(i,n)if M[k][j]!=0),None)\n   if k is None:continue\n   M[i],M[k]=M[k],M[i];v=M[i][j];M[i]=[z/v for z in M[i]]\n   for k in range(n):\n    if k!=i:\n     v=M[k][j];M[k]=[a-v*b for a,b in zip(M[k],M[i])]\n   pivot.append(j);i+=1\n   if i==n:break\n  beta=[F(0)]*n\n  for i,j in enumerate(pivot):beta[j]=M[i][-1]\n  null=[]\n  for j in range(n):\n   if j in pivot:continue\n   v=[F(0)]*n;v[j]=F(1)\n   for i,k in enumerate(pivot):v[k]=-M[i][j]\n   null.append(v)\n  return beta,null,len(pivot)\n def source_expected(a):\n  base=MODELS[a.get('kind','person')];rep=a.get('representation','full');rr=[]\n  for r in base:\n   full=r['x'];x=full if rep=='full'else[]if rep=='constant'else[F(r['a'])]if a.get('kind','person')=='country'else[F(full[1]>F(6,5)),F(full[2]>0)]if a.get('kind','person')=='person'else[full[1]]\n   group=('higher-GDP-category'if r['a']else'lower-GDP-category')if a.get('kind','person')=='country'else('schooling-over12'if full[1]>F(6,5)else'schooling-at-most12')if a.get('kind','person')=='person'else('chain2'if full[1]else'other-chains');rr.append(dict(r,x=x,fullX=full,group=group))\n  eligible=[r for r in rr if r['eligible']];limit=a.get('trainingLimit',len(eligible));keep={r['id']for r in eligible[:limit]};lam=f(a.get('lambda','1/100'));eps=f(a.get('clip','1/20'));nuisance=[];out={};dimension=len(rr[0]['x'])+1\n  for fold in range(4):\n   tr=[r for r in rr if r['eligible']and r['id']in keep and r['fold']!=fold];fits={};means=[sum(r['x'][j]for r in tr)/len(tr)for j in range(dimension-1)]if tr else[];scales=[max(r['x'][j]for r in tr)-min(r['x'][j]for r in tr)or F(1)for j in range(dimension-1)]if tr else[]\n   def z(r):return None if not tr or None in r['x']else[F(1)]+[(v-m)/s for v,m,s in zip(r['x'],means,scales)]\n   for name in['e','mu0','mu1']:\n    use=[r for r in tr if name=='e'or r['a']==int(name[-1])]\n    if not use:fits[name]=dict(defined=False);continue\n    Z=[z(r)for r in use];Y=[F(r['a'])if name=='e'else r['y']for r in use];N=len(use);A=[[sum(v[j]*v[k]for v in Z)/N+(lam if j==k and j else 0)for k in range(dimension)]for j in range(dimension)];b=[sum(y*v[j]for v,y in zip(Z,Y))/N for j in range(dimension)];beta,null,rank=solve(A,b);minimum=sum((sum(b*z for b,z in zip(beta,v))-y)**2 for v,y in zip(Z,Y))/(2*N)+lam*sum(v*v for v in beta[1:])/2;fits[name]=dict(defined=True,trainingIDs=[r['id']for r in use],rows=N,rank=rank,unique=rank==dimension,theta=beta,nullspace=null,minimumObjective=minimum,meanX=means,scales=scales)\n   nuisance.append(dict(fold=fold,complementRows=len(tr),fits=fits))\n   for r in rr:\n    if r['fold']!=fold:continue\n    zz=z(r);pred={name:None if zz is None or not fit['defined']else sum(v*b for v,b in zip(zz,fit['theta']))for name,fit in fits.items()};eRaw=pred['e'];e=None if eRaw is None else max(eps,min(1-eps,eRaw));inv={name:zz is not None and fit['defined']and all(sum(a*b for a,b in zip(v,zz))==0 for v in fit['nullspace'])for name,fit in fits.items()};out[r['id']]=dict(r,mu0=pred['mu0'],mu1=pred['mu1'],e=e,eRaw=eRaw,propensityClipped=e is not None and e!=eRaw,nuisancePredictionDefined=all(v is not None for v in pred.values()),queryInvariantAcrossMinimizers=inv)\n  return rr,nuisance,[out[r['id']]for r in rr]\n def aipw_expected(rows,role='all'):\n  out=[]\n  for r in rows:\n   reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n   if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n   plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n  def summary(use):\n   ww=[r['w']for r in use];arms=[]\n   for A in[0,1]:\n    arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n   return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n  use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n raw,nuisance,oo=source_expected(dict(kind=selectedKind,representation='full'));scores=aipw_expected(oo);use=[r for r in scores['rows']if r['eligible']];values=[r['score']['value']for r in use];p=[F(1,len(use))for _ in use];lo,low,ltv=extremum(values,p,F(1,10),F(2),-1);hi,high,htv=extremum(values,p,F(1,10),F(2),1);fits=[]\n for n in nuisance:\n  for name,z in n['fits'].items():fits.append(dict(fold=n['fold'],fit=name,trainingIDs=z['trainingIDs'],rows=z['rows'],rank=z['rank'],unique=z['unique'],theta=z['theta'],minimumObjective=z['minimumObjective'],meanX=z['meanX'],scales=z['scales']))\n rr=[]\n for r in scores['rows']:rr.append(dict(id=r['id'],sourceRow=r['sourceRow'],originalID=r['originalID'],foldGroup=r['foldGroup'],fold=r['fold'],a=r['a'],y=r['y'],x=r['fullX'],eligible=r['eligible'],eRaw=r['eRaw'],e=r['e'],mu0=r['mu0'],mu1=r['mu1'],plugin=r.get('plugin'),score=r['score'].get('value'),IPWContribution=r.get('IPWContribution')))\n unit={'country':'GDP growth contrast, percentage points','person':'native real1978earnings/10000','company':'post-minus-pre FTE employees'}[selectedKind]\n return dict(kind=selectedKind,unit=unit,rows=rr,fits=fits,AIPW=scores['overall']['AIPW'].get('value'),plugin=scores['overall']['plugin'].get('value'),IPW=scores['overall']['IPW'].get('value'),normalizedIPWContrast=scores['overall']['normalizedIPWContrast'].get('value'),stressMinimum=low,stressMaximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\n\ndef aipw_expected(rows,role='all'):\n out=[]\n for r in rows:\n  reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n  if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n  plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n def summary(use):\n  ww=[r['w']for r in use];arms=[]\n  for A in[0,1]:\n   arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n  return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n\n# Owned standalone fixed-example adapters; no production engine import.\nQ=F\nnumber=f\ndef fixed_robust(a):\n values=list(map(f,a['values']));p=list(map(f,a.get('probabilities',[F(1,len(values))for _ in values])));radius=f(a.get('radius','1/10'));cap=f(a.get('cap',2))\n if cap<1 or not 0<=radius<=1:raise ValueError('invalid-robust-constraint')\n lo,low,ltv=extremum(values,p,radius,cap,-1);hi,high,htv=extremum(values,p,radius,cap,1)\n return dict(values=values,p=p,radius=radius,cap=cap,baseline=sum(v*w for v,w in zip(values,p)),minimum=low,maximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\ndef fixed_aipw(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  rr.append(dict(id=r.get('id',str(i)),a=None if r.get('a')is None else int(f(r['a'])),**{k:None if r.get(k)is None else f(r[k])for k in ['y','e','mu0','mu1']},w=w,role=r.get('role','analysis'),group=r.get('group','all')))\n return aipw_expected(rr)\ndef fixed_effects(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  y0=None if r.get('y0')is None else f(r['y0']);y1=None if r.get('y1')is None else f(r['y1']);A=r.get('a');A=None if A is None else int(f(A));rr.append(dict(id=r.get('id',str(i)),a=A,y0=y0,y1=y1,w=w,effect=None if y0 is None or y1 is None else y1-y0,observed=y1 if A==1 else y0 if A==0 else None))\n complete=[r for r in rr if r['w']>0 and r['effect']is not None];treated=[r for r in complete if r['a']==1];arms=[mean([r['observed']for r in rr if r['a']==A and r['observed']is not None and r['w']>0],[r['w']for r in rr if r['a']==A and r['observed']is not None and r['w']>0])for A in [0,1]]\n return dict(rows=rr,completeRows=len(complete),ATE=mean([r['effect']for r in complete],[r['w']for r in complete]),ATT=mean([r['effect']for r in treated],[r['w']for r in treated]),observedContrast=None if None in arms else arms[1]-arms[0])\ndef fixed_representation(a):\n atoms=[dict(id=r['id'],p=f(r['probability']),y0=f(r['y0']),y1=f(r['y1']),e=f(r['e']),phi=r['phi'])for r in a['atoms']];groups=[];ATE=sum(r['p']*(r['y1']-r['y0'])for r in atoms)\n if sum(r['p']for r in atoms)!=1:raise ValueError('law-probabilities-must-sum-one')\n for phi in dict.fromkeys(r['phi']for r in atoms if r['p']):\n  use=[r for r in atoms if r['phi']==phi and r['p']];mass=sum(r['p']for r in use);t=sum(r['p']*r['e']for r in use);m1=sum(r['p']*r['e']*r['y1']for r in use)/t if t else None;m0=sum(r['p']*(1-r['e'])*r['y0']for r in use)/(mass-t)if mass!=t else None;groups.append(dict(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=None if m0 is None or m1 is None else m1-m0))\n adjusted=None if any(r['contrast']is None for r in groups)else sum(r['mass']*r['contrast']for r in groups)\n return dict(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=None if adjusted is None else adjusted-ATE)\ndef fixed_validate(a):\n rr=a['rows'];cc=a['candidates'];groups=a['requiredGroups'];eligible=[r.get('y')is not None and f(r.get('weight',1))>0 and r['role']not in ['excluded','unused']and all(c['predictions'][i]is not None for c in cc)for i,r in enumerate(rr)];out=[]\n for c in cc:\n  def risk(ids):return mean([(f(c['predictions'][i])-f(rr[i]['y']))**2 for i in ids],[f(rr[i].get('weight',1))for i in ids])\n  vr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='validation'];tr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='test'];gv=[risk([i for i in vr if rr[i]['group']==g])for g in groups];worst=None if None in gv else max(gv);criterion=risk(vr)if a.get('criterion','worst-group')=='mean'else worst;out.append(dict(id=c['id'],validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=criterion))\n available=[i for i,z in enumerate(out)if z['criterion']is not None];selected=min(available,key=lambda i:(out[i]['criterion'],i))if available else None\n return dict(commonEligibility=eligible,groups=groups,candidates=out,selectedIndex=selected,selectedID=None if selected is None else out[selected]['id'],selectedScore=None if selected is None else out[selected]['criterion'])\ndef fixed_operation(api,a):return fixed_effects(a)if api=='effects'else fixed_aipw(a)if api=='aipw'else fixed_representation(a)if api=='representation'else fixed_robust(a)if api=='robust'else fixed_validate(a)if api=='validate'else fixed_source(a['kind'])\ndef report_values(api,z):\n summary=[];series=[]\n def add(k,v,u):summary.append((k,v,u))\n if api=='effects':\n  for k in ['completeRows','ATE','ATT','observedContrast']:add(k,z[k],'rows'if k=='completeRows'else'constructed outcome units')\n  series=[('known constructed effects',[(i+1,r['effect'])for i,r in enumerate(z['rows'])])]\n elif api=='aipw':\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast']:add(k,z['overall'][k].get('value'),'constructed outcome units')\n  add('eligibleRows',z['overall']['rows'],'rows');series=[('AIPW row scores',[(i+1,r['score'].get('value'))for i,r in enumerate(z['rows'])])]\n elif api=='representation':\n  for k in ['ATE','adjustedContrast','bias']:add(k,z[k],'constructed outcome units')\n  series=[('representation contrasts',[(i+1,r['contrast'])for i,r in enumerate(z['groups'])])]\n elif api=='robust':\n  for k in ['baseline','minimum','maximum']:add(k,z[k],'declared value units')\n  for k in ['minTV','maxTV']:add(k,z[k],'probability mass')\n  series=[('minimum weights',[(i+1,v)for i,v in enumerate(z['minWeights'])]),('maximum weights',[(i+1,v)for i,v in enumerate(z['maxWeights'])])]\n elif api=='validate':\n  add('selectedIndex',z['selectedIndex'],'zero-based candidate index');add('selectedScore',z['selectedScore'],'squared outcome units');series=[('validation criterion',[(i+1,c['criterion'])for i,c in enumerate(z['candidates'])])]\n else:\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum']:add(k,z[k],z['unit'])\n  add('sourceRows',len(z['rows']),'analytical records');add('eligibleRows',sum(r['eligible']for r in z['rows']),'records');series=[('actual out-of-fold scores',[(i+1,r['score'])for i,r in enumerate(z['rows'])])]\n return summary,series\n\nFIXED={'api': 'effects', 'variant': 'heterogeneous', 'title': 'Known hypothetical effects and treated target', 'input': {'rows': [{'id': 'a', 'y0': '0', 'y1': '1', 'a': '0'}, {'id': 'b', 'y0': '2', 'y1': '5', 'a': '1'}]}, 'expectedFailure': False}\n\ndef fixed_svg(points,title):\n good=[p for p in points if p['y'] is not None];xx=[float(p['x'])for p in good];yy=[float(p['y'])for p in good];xmin=min(xx)if xx else 0;xmax=max(xx)if xx else 1;ymin=min([0]+yy);ymax=max([0]+yy)\n if xmin==xmax:xmin-=.5;xmax+=.5\n if ymin==ymax:ymin-=.5;ymax+=.5\n pad=(ymax-ymin)*.08;ymin-=pad;ymax+=pad;X=lambda x:82+(float(x)-xmin)/(xmax-xmin)*608;Y=lambda y:354-(float(y)-ymin)/(ymax-ymin)*290;e=html.escape\n out=['<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"'+e(title)+'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">'+e(title)+'</text>']\n for j in range(5):\n  y=ymin+(ymax-ymin)*j/4;x=xmin+(xmax-xmin)*j/4;out.append('<line x1=\"82\" y1=\"'+str(Y(y))+'\" x2=\"690\" y2=\"'+str(Y(y))+'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"'+str(Y(y)+4)+'\" text-anchor=\"end\">'+format(y,'.3g')+'</text><text x=\"'+str(X(x))+'\" y=\"380\" text-anchor=\"middle\">'+format(x,'.3g')+'</text>')\n series=list(dict.fromkeys(p['series']for p in good))\n for j,s in enumerate(series):\n  pp=[p for p in good if p['series']==s];color=['#0f766e','#c76622','#4f46e5','#b23857'][j%4];out.append('<polyline fill=\"none\" stroke=\"'+color+'\" stroke-width=\"1.5\" points=\"'+' '.join(format(X(p['x']),'.6f')+','+format(Y(p['y']),'.6f')for p in pp)+'\"/>')\n  for p in pp:out.append('<circle cx=\"'+format(X(p['x']),'.6f')+'\" cy=\"'+format(Y(p['y']),'.6f')+'\" r=\"2.6\" fill=\"'+color+'\"><title>'+e(s+': '+str(p['y']))+'</title></circle>')\n  out.append('<text x=\"'+str(82+(j%2)*310)+'\" y=\"'+str(432+(j//2)*23)+'\" fill=\"'+color+'\">'+e(s)+'</text>')\n out.append('<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>');return''.join(out)\n\nOUT=Path(sys.argv[1]);OUT.mkdir(parents=True,exist_ok=False)\nresult=fixed_operation(FIXED['api'],FIXED['input']);summary,series=report_values(FIXED['api'],result)\ndef encode(v):\n if isinstance(v,Q):return str(v)\n if isinstance(v,dict):return{k:encode(x)for k,x in v.items()}\n if isinstance(v,(list,tuple)):return[encode(x)for x in v]\n return v\n(OUT/'full.json').write_text(json.dumps(dict(arithmetic='Exact Fraction fixed examples; factualsource and knownhypotheticallaws separate; empiricalTV notCI',result=encode(result)),ensure_ascii=False,indent=2)+'\\n',encoding='utf8')\nsummaryRows=[dict(metric=m,value=''if v is None else str(int(v))if isinstance(v,bool)else str(v),unit=u,defined=int(v is not None))for m,v,u in summary]\npoints=[dict(series=name,index=i,x=str(x),y=''if y is None else str(y),defined=int(y is not None))for name,pp in series for i,(x,y)in enumerate(pp)]\nfor name,rows in [('summary',summaryRows),('plot-points',points)]:\n with(OUT/(name+'.csv')).open('w',encoding='utf8',newline='')as f:writer=csv.DictWriter(f,fieldnames=list(rows[0]));writer.writeheader();writer.writerows(rows)\n(OUT/'plot.svg').write_text(fixed_svg([dict(p,x=number(p['x']),y=None if not p['defined']else number(p['y']))for p in points],FIXED['title']),encoding='utf8');print(FIXED['api']+'/'+FIXED['variant'])\n",
        "returnCode": 0,
        "stdout": "effects/heterogeneous\r\n",
        "stderr": "",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/python-effects-heterogeneous-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/effects-heterogeneous-input.json",
            "sha256": "34e8e8ca99447ece0fbf1041c744fcea2f7acf1cadc46f0479ba6a2d9b88eb94",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/python-effects-heterogeneous-result/full.json",
            "sha256": "e40deccc96e35b67c5fd65d8dacc2fba3f74dbcb3651847673b75f79d788b7c2",
            "bytes": 582
          },
          {
            "file": "ml21-code/python-effects-heterogeneous-result/plot-points.csv",
            "sha256": "04c9164a52dfd541c48bfa04fe0628694c49d25ed439b74e52da0daa33112a26",
            "bytes": 96
          },
          {
            "file": "ml21-code/python-effects-heterogeneous-result/plot.svg",
            "sha256": "08ffde4d8dc2575fb7352eb78e5284ea7c63dded0f2581c38ba37e6cf11e57d8",
            "bytes": 1723
          },
          {
            "file": "ml21-code/python-effects-heterogeneous-result/summary.csv",
            "sha256": "1e50c00fa1858b84dc91cdaf1c7cebacb0de6216327bc5408d7f735d893e0619",
            "bytes": 168
          },
          {
            "file": "ml21-code/python-effects-heterogeneous-result/stdout.txt",
            "sha256": "8a3d972bbe3cf3600527240af702a6a58b84b588469a1ca52c7b37946704210a",
            "bytes": 23
          },
          {
            "file": "ml21-code/python-effects-heterogeneous-result/stderr.txt",
            "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "bytes": 0
          }
        ],
        "summaryRows": [
          {
            "metric": "completeRows",
            "value": "2",
            "unit": "rows",
            "defined": "true",
            "rawValue": "2",
            "exactFraction": "2",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "ATE",
            "value": "2",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "2",
            "exactFraction": "2",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "ATT",
            "value": "3",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "3",
            "exactFraction": "3",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "observedContrast",
            "value": "5",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "5",
            "exactFraction": "5",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          }
        ],
        "plotRows": [
          {
            "series": "known constructed effects",
            "index": 0,
            "x": "1",
            "y": "1",
            "defined": true,
            "xExact": "1",
            "yExact": "1"
          },
          {
            "series": "known constructed effects",
            "index": 1,
            "x": "2",
            "y": "3",
            "defined": true,
            "xExact": "2",
            "yExact": "3"
          }
        ],
        "plotFile": "ml21-code/python-effects-heterogeneous-result/plot.svg",
        "fullResultFile": "ml21-code/python-effects-heterogeneous-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "missing-potential": {
        "api": "effects",
        "variant": "missing-potential",
        "language": "python",
        "title": "Missing potential differs from an observed result",
        "input": {
          "rows": [
            {
              "id": "a",
              "y0": null,
              "y1": "3",
              "a": "1"
            },
            {
              "id": "b",
              "y0": "0",
              "y1": "1",
              "a": "0"
            }
          ]
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/effects-missing-potential.py",
        "codeSHA256": "ba8abe2ce7ce9d80a7956be437367e22d04cc338b4e6a911d149e7405e025b0b",
        "code": "\"\"\"ML21 complete standalone fixed example, not a general API validator.\nRun: python this-file.py NEW-OUTDIR\nFixed literal input is also supplied as matching human-readable JSON.\nRealdata reads3factual CSVs under data/, using owned public scalar code byvalue.\nNo production engine/model/checker/computed answers are imported.\n\"\"\"\nfrom pathlib import Path\nfrom fractions import Fraction as F\nfrom collections import defaultdict,Counter\nimport csv,json,hashlib,sys,html,math\nif hasattr(sys,'set_int_max_str_digits'):sys.set_int_max_str_digits(200000)\ndef f(v):return v if isinstance(v,F)else F(str(v))\ndef ck(v,label=''):\n if not v:raise AssertionError(label)\ndef maybe(v):return dict(defined=False)if v is None else dict(defined=True,value=v)\ndef mean(v,w):return sum((a*b for a,b in zip(v,w)),F(0))/sum(w,F(0))if sum(w,F(0))else None\ndef extremum(values,p,radius,cap,sign):\n q=list(p);budget=radius;upper=[min(F(1),cap*x)for x in p]\n order=sorted(range(len(values)),key=lambda i:(sign*values[i],i))\n donors=list(order);receivers=list(reversed(order));left=right=0\n while budget>0 and left<len(q)and right<len(q):\n  i,j=donors[left],receivers[right]\n  if sign*values[j]<=sign*values[i]:break\n  move=min(q[i],upper[j]-q[j],budget)\n  if move>0:q[i]-=move;q[j]+=move;budget-=move\n  if q[i]==0:left+=1\n  if q[j]==upper[j]:right+=1\n  if move==0 and q[i]>0 and q[j]<upper[j]:raise AssertionError('transport made no progress')\n return q,sum(a*b for a,b in zip(q,values)),sum(abs(a-b)for a,b in zip(q,p))/2\n\ndef fixed_source(kind):\n selectedKind=kind\n S=Path(__file__).resolve().parent/\"data\"\n def read(n):\n  with(S/n).open(encoding=\"utf8\",newline=\"\")as stream:return list(csv.DictReader(stream))\n def source_rows():\n  rows=read('actual48-country-revised-original-2023-2024.csv');lk={(r['countryISO3'],r['indicatorID'],r['date']):r for r in rows};isos=sorted({r['countryISO3']for r in rows});g=sorted(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])for i in isos);median=(g[7]+g[8])/2\n  models={'country':[dict(id=i+':2024',originalID=i,sourceRow=i,foldGroup='country:'+i,a=int(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])>median),x=[f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])/10000,f(lk[i,'FP.CPI.TOTL.ZG','2023']['originalValueToken'])/10],y=f(lk[i,'NY.GDP.MKTP.KD.ZG','2024']['originalValueToken']))for i in isos]}\n  native=read('actual38408-NSW-all15-fields.csv');pairs=defaultdict(dict)\n  for r in native:pairs[str(int(f(r['id'])))][int(f(r['year']))]=r\n  people=[]\n  for ID,pair in pairs.items():\n   pre,post=pair[1975],pair[1978];ck(pre['treated']==post['treated'],'native stable treatment');sel=int(f(pre['experimental']))==1;ck(sel==(pre['treated']!='.'),'no recode missingtreatment')\n   if sel:people.append(dict(id='nsw-id:'+ID,originalID=ID,sourceRow=int(post['sourceRow']),foldGroup='nsw-id:'+ID,a=int(f(pre['treated'])),x=[F.from_float(float(pre['age']))/10,F.from_float(float(pre['educ']))/10,F.from_float(float(pre['re74']))/10000],y=F.from_float(float(post['re']))/10000))\n  models['person']=people;company=[]\n  for r in read('actual410-NJPA-all46-fields.csv'):\n   ys=[]\n   for suffix in['','2']:\n    v=[None if r[k+suffix]=='.'else f(r[k+suffix])for k in['EMPFT','EMPPT','NMGRS']];ys.append(None if None in v else v[0]+v[1]/2+v[2])\n   company.append(dict(id='njpa-row:'+r['sourceRow'],originalID=r['SHEET'],sourceRow=int(r['sourceRow']),foldGroup='sheet:'+r['SHEET'],a=int(r['STATE']),x=[None if ys[0]is None else ys[0]/10,None if r['CHAIN']=='.'else F(int(f(r['CHAIN'])==2)),None if r['CO_OWNED']=='.'else f(r['CO_OWNED'])],y=None if None in ys else ys[1]-ys[0]))\n  models['company']=company\n  for kind,rr in models.items():\n   groups=sorted({r['foldGroup']for r in rr},key=lambda g:(hashlib.sha256(('ML21|'+kind+'|'+g).encode()).digest(),g));folds={g:i%4 for i,g in enumerate(groups)}\n   for r in rr:r['fold']=folds[r['foldGroup']];r['eligible']=r['y']is not None and None not in r['x'];r['role']='analysis'if r['eligible']else'excluded';r['w']=F(1)\n  return models\n MODELS=source_rows()\n def solve(A,b):\n  n=len(b);M=[list(a)+[v]for a,v in zip(A,b)];pivot=[];i=0\n  for j in range(n):\n   k=next((k for k in range(i,n)if M[k][j]!=0),None)\n   if k is None:continue\n   M[i],M[k]=M[k],M[i];v=M[i][j];M[i]=[z/v for z in M[i]]\n   for k in range(n):\n    if k!=i:\n     v=M[k][j];M[k]=[a-v*b for a,b in zip(M[k],M[i])]\n   pivot.append(j);i+=1\n   if i==n:break\n  beta=[F(0)]*n\n  for i,j in enumerate(pivot):beta[j]=M[i][-1]\n  null=[]\n  for j in range(n):\n   if j in pivot:continue\n   v=[F(0)]*n;v[j]=F(1)\n   for i,k in enumerate(pivot):v[k]=-M[i][j]\n   null.append(v)\n  return beta,null,len(pivot)\n def source_expected(a):\n  base=MODELS[a.get('kind','person')];rep=a.get('representation','full');rr=[]\n  for r in base:\n   full=r['x'];x=full if rep=='full'else[]if rep=='constant'else[F(r['a'])]if a.get('kind','person')=='country'else[F(full[1]>F(6,5)),F(full[2]>0)]if a.get('kind','person')=='person'else[full[1]]\n   group=('higher-GDP-category'if r['a']else'lower-GDP-category')if a.get('kind','person')=='country'else('schooling-over12'if full[1]>F(6,5)else'schooling-at-most12')if a.get('kind','person')=='person'else('chain2'if full[1]else'other-chains');rr.append(dict(r,x=x,fullX=full,group=group))\n  eligible=[r for r in rr if r['eligible']];limit=a.get('trainingLimit',len(eligible));keep={r['id']for r in eligible[:limit]};lam=f(a.get('lambda','1/100'));eps=f(a.get('clip','1/20'));nuisance=[];out={};dimension=len(rr[0]['x'])+1\n  for fold in range(4):\n   tr=[r for r in rr if r['eligible']and r['id']in keep and r['fold']!=fold];fits={};means=[sum(r['x'][j]for r in tr)/len(tr)for j in range(dimension-1)]if tr else[];scales=[max(r['x'][j]for r in tr)-min(r['x'][j]for r in tr)or F(1)for j in range(dimension-1)]if tr else[]\n   def z(r):return None if not tr or None in r['x']else[F(1)]+[(v-m)/s for v,m,s in zip(r['x'],means,scales)]\n   for name in['e','mu0','mu1']:\n    use=[r for r in tr if name=='e'or r['a']==int(name[-1])]\n    if not use:fits[name]=dict(defined=False);continue\n    Z=[z(r)for r in use];Y=[F(r['a'])if name=='e'else r['y']for r in use];N=len(use);A=[[sum(v[j]*v[k]for v in Z)/N+(lam if j==k and j else 0)for k in range(dimension)]for j in range(dimension)];b=[sum(y*v[j]for v,y in zip(Z,Y))/N for j in range(dimension)];beta,null,rank=solve(A,b);minimum=sum((sum(b*z for b,z in zip(beta,v))-y)**2 for v,y in zip(Z,Y))/(2*N)+lam*sum(v*v for v in beta[1:])/2;fits[name]=dict(defined=True,trainingIDs=[r['id']for r in use],rows=N,rank=rank,unique=rank==dimension,theta=beta,nullspace=null,minimumObjective=minimum,meanX=means,scales=scales)\n   nuisance.append(dict(fold=fold,complementRows=len(tr),fits=fits))\n   for r in rr:\n    if r['fold']!=fold:continue\n    zz=z(r);pred={name:None if zz is None or not fit['defined']else sum(v*b for v,b in zip(zz,fit['theta']))for name,fit in fits.items()};eRaw=pred['e'];e=None if eRaw is None else max(eps,min(1-eps,eRaw));inv={name:zz is not None and fit['defined']and all(sum(a*b for a,b in zip(v,zz))==0 for v in fit['nullspace'])for name,fit in fits.items()};out[r['id']]=dict(r,mu0=pred['mu0'],mu1=pred['mu1'],e=e,eRaw=eRaw,propensityClipped=e is not None and e!=eRaw,nuisancePredictionDefined=all(v is not None for v in pred.values()),queryInvariantAcrossMinimizers=inv)\n  return rr,nuisance,[out[r['id']]for r in rr]\n def aipw_expected(rows,role='all'):\n  out=[]\n  for r in rows:\n   reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n   if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n   plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n  def summary(use):\n   ww=[r['w']for r in use];arms=[]\n   for A in[0,1]:\n    arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n   return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n  use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n raw,nuisance,oo=source_expected(dict(kind=selectedKind,representation='full'));scores=aipw_expected(oo);use=[r for r in scores['rows']if r['eligible']];values=[r['score']['value']for r in use];p=[F(1,len(use))for _ in use];lo,low,ltv=extremum(values,p,F(1,10),F(2),-1);hi,high,htv=extremum(values,p,F(1,10),F(2),1);fits=[]\n for n in nuisance:\n  for name,z in n['fits'].items():fits.append(dict(fold=n['fold'],fit=name,trainingIDs=z['trainingIDs'],rows=z['rows'],rank=z['rank'],unique=z['unique'],theta=z['theta'],minimumObjective=z['minimumObjective'],meanX=z['meanX'],scales=z['scales']))\n rr=[]\n for r in scores['rows']:rr.append(dict(id=r['id'],sourceRow=r['sourceRow'],originalID=r['originalID'],foldGroup=r['foldGroup'],fold=r['fold'],a=r['a'],y=r['y'],x=r['fullX'],eligible=r['eligible'],eRaw=r['eRaw'],e=r['e'],mu0=r['mu0'],mu1=r['mu1'],plugin=r.get('plugin'),score=r['score'].get('value'),IPWContribution=r.get('IPWContribution')))\n unit={'country':'GDP growth contrast, percentage points','person':'native real1978earnings/10000','company':'post-minus-pre FTE employees'}[selectedKind]\n return dict(kind=selectedKind,unit=unit,rows=rr,fits=fits,AIPW=scores['overall']['AIPW'].get('value'),plugin=scores['overall']['plugin'].get('value'),IPW=scores['overall']['IPW'].get('value'),normalizedIPWContrast=scores['overall']['normalizedIPWContrast'].get('value'),stressMinimum=low,stressMaximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\n\ndef aipw_expected(rows,role='all'):\n out=[]\n for r in rows:\n  reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n  if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n  plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n def summary(use):\n  ww=[r['w']for r in use];arms=[]\n  for A in[0,1]:\n   arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n  return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n\n# Owned standalone fixed-example adapters; no production engine import.\nQ=F\nnumber=f\ndef fixed_robust(a):\n values=list(map(f,a['values']));p=list(map(f,a.get('probabilities',[F(1,len(values))for _ in values])));radius=f(a.get('radius','1/10'));cap=f(a.get('cap',2))\n if cap<1 or not 0<=radius<=1:raise ValueError('invalid-robust-constraint')\n lo,low,ltv=extremum(values,p,radius,cap,-1);hi,high,htv=extremum(values,p,radius,cap,1)\n return dict(values=values,p=p,radius=radius,cap=cap,baseline=sum(v*w for v,w in zip(values,p)),minimum=low,maximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\ndef fixed_aipw(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  rr.append(dict(id=r.get('id',str(i)),a=None if r.get('a')is None else int(f(r['a'])),**{k:None if r.get(k)is None else f(r[k])for k in ['y','e','mu0','mu1']},w=w,role=r.get('role','analysis'),group=r.get('group','all')))\n return aipw_expected(rr)\ndef fixed_effects(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  y0=None if r.get('y0')is None else f(r['y0']);y1=None if r.get('y1')is None else f(r['y1']);A=r.get('a');A=None if A is None else int(f(A));rr.append(dict(id=r.get('id',str(i)),a=A,y0=y0,y1=y1,w=w,effect=None if y0 is None or y1 is None else y1-y0,observed=y1 if A==1 else y0 if A==0 else None))\n complete=[r for r in rr if r['w']>0 and r['effect']is not None];treated=[r for r in complete if r['a']==1];arms=[mean([r['observed']for r in rr if r['a']==A and r['observed']is not None and r['w']>0],[r['w']for r in rr if r['a']==A and r['observed']is not None and r['w']>0])for A in [0,1]]\n return dict(rows=rr,completeRows=len(complete),ATE=mean([r['effect']for r in complete],[r['w']for r in complete]),ATT=mean([r['effect']for r in treated],[r['w']for r in treated]),observedContrast=None if None in arms else arms[1]-arms[0])\ndef fixed_representation(a):\n atoms=[dict(id=r['id'],p=f(r['probability']),y0=f(r['y0']),y1=f(r['y1']),e=f(r['e']),phi=r['phi'])for r in a['atoms']];groups=[];ATE=sum(r['p']*(r['y1']-r['y0'])for r in atoms)\n if sum(r['p']for r in atoms)!=1:raise ValueError('law-probabilities-must-sum-one')\n for phi in dict.fromkeys(r['phi']for r in atoms if r['p']):\n  use=[r for r in atoms if r['phi']==phi and r['p']];mass=sum(r['p']for r in use);t=sum(r['p']*r['e']for r in use);m1=sum(r['p']*r['e']*r['y1']for r in use)/t if t else None;m0=sum(r['p']*(1-r['e'])*r['y0']for r in use)/(mass-t)if mass!=t else None;groups.append(dict(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=None if m0 is None or m1 is None else m1-m0))\n adjusted=None if any(r['contrast']is None for r in groups)else sum(r['mass']*r['contrast']for r in groups)\n return dict(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=None if adjusted is None else adjusted-ATE)\ndef fixed_validate(a):\n rr=a['rows'];cc=a['candidates'];groups=a['requiredGroups'];eligible=[r.get('y')is not None and f(r.get('weight',1))>0 and r['role']not in ['excluded','unused']and all(c['predictions'][i]is not None for c in cc)for i,r in enumerate(rr)];out=[]\n for c in cc:\n  def risk(ids):return mean([(f(c['predictions'][i])-f(rr[i]['y']))**2 for i in ids],[f(rr[i].get('weight',1))for i in ids])\n  vr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='validation'];tr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='test'];gv=[risk([i for i in vr if rr[i]['group']==g])for g in groups];worst=None if None in gv else max(gv);criterion=risk(vr)if a.get('criterion','worst-group')=='mean'else worst;out.append(dict(id=c['id'],validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=criterion))\n available=[i for i,z in enumerate(out)if z['criterion']is not None];selected=min(available,key=lambda i:(out[i]['criterion'],i))if available else None\n return dict(commonEligibility=eligible,groups=groups,candidates=out,selectedIndex=selected,selectedID=None if selected is None else out[selected]['id'],selectedScore=None if selected is None else out[selected]['criterion'])\ndef fixed_operation(api,a):return fixed_effects(a)if api=='effects'else fixed_aipw(a)if api=='aipw'else fixed_representation(a)if api=='representation'else fixed_robust(a)if api=='robust'else fixed_validate(a)if api=='validate'else fixed_source(a['kind'])\ndef report_values(api,z):\n summary=[];series=[]\n def add(k,v,u):summary.append((k,v,u))\n if api=='effects':\n  for k in ['completeRows','ATE','ATT','observedContrast']:add(k,z[k],'rows'if k=='completeRows'else'constructed outcome units')\n  series=[('known constructed effects',[(i+1,r['effect'])for i,r in enumerate(z['rows'])])]\n elif api=='aipw':\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast']:add(k,z['overall'][k].get('value'),'constructed outcome units')\n  add('eligibleRows',z['overall']['rows'],'rows');series=[('AIPW row scores',[(i+1,r['score'].get('value'))for i,r in enumerate(z['rows'])])]\n elif api=='representation':\n  for k in ['ATE','adjustedContrast','bias']:add(k,z[k],'constructed outcome units')\n  series=[('representation contrasts',[(i+1,r['contrast'])for i,r in enumerate(z['groups'])])]\n elif api=='robust':\n  for k in ['baseline','minimum','maximum']:add(k,z[k],'declared value units')\n  for k in ['minTV','maxTV']:add(k,z[k],'probability mass')\n  series=[('minimum weights',[(i+1,v)for i,v in enumerate(z['minWeights'])]),('maximum weights',[(i+1,v)for i,v in enumerate(z['maxWeights'])])]\n elif api=='validate':\n  add('selectedIndex',z['selectedIndex'],'zero-based candidate index');add('selectedScore',z['selectedScore'],'squared outcome units');series=[('validation criterion',[(i+1,c['criterion'])for i,c in enumerate(z['candidates'])])]\n else:\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum']:add(k,z[k],z['unit'])\n  add('sourceRows',len(z['rows']),'analytical records');add('eligibleRows',sum(r['eligible']for r in z['rows']),'records');series=[('actual out-of-fold scores',[(i+1,r['score'])for i,r in enumerate(z['rows'])])]\n return summary,series\n\nFIXED={'api': 'effects', 'variant': 'missing-potential', 'title': 'Missing potential differs from an observed result', 'input': {'rows': [{'id': 'a', 'y0': None, 'y1': '3', 'a': '1'}, {'id': 'b', 'y0': '0', 'y1': '1', 'a': '0'}]}, 'expectedFailure': False}\n\ndef fixed_svg(points,title):\n good=[p for p in points if p['y'] is not None];xx=[float(p['x'])for p in good];yy=[float(p['y'])for p in good];xmin=min(xx)if xx else 0;xmax=max(xx)if xx else 1;ymin=min([0]+yy);ymax=max([0]+yy)\n if xmin==xmax:xmin-=.5;xmax+=.5\n if ymin==ymax:ymin-=.5;ymax+=.5\n pad=(ymax-ymin)*.08;ymin-=pad;ymax+=pad;X=lambda x:82+(float(x)-xmin)/(xmax-xmin)*608;Y=lambda y:354-(float(y)-ymin)/(ymax-ymin)*290;e=html.escape\n out=['<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"'+e(title)+'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">'+e(title)+'</text>']\n for j in range(5):\n  y=ymin+(ymax-ymin)*j/4;x=xmin+(xmax-xmin)*j/4;out.append('<line x1=\"82\" y1=\"'+str(Y(y))+'\" x2=\"690\" y2=\"'+str(Y(y))+'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"'+str(Y(y)+4)+'\" text-anchor=\"end\">'+format(y,'.3g')+'</text><text x=\"'+str(X(x))+'\" y=\"380\" text-anchor=\"middle\">'+format(x,'.3g')+'</text>')\n series=list(dict.fromkeys(p['series']for p in good))\n for j,s in enumerate(series):\n  pp=[p for p in good if p['series']==s];color=['#0f766e','#c76622','#4f46e5','#b23857'][j%4];out.append('<polyline fill=\"none\" stroke=\"'+color+'\" stroke-width=\"1.5\" points=\"'+' '.join(format(X(p['x']),'.6f')+','+format(Y(p['y']),'.6f')for p in pp)+'\"/>')\n  for p in pp:out.append('<circle cx=\"'+format(X(p['x']),'.6f')+'\" cy=\"'+format(Y(p['y']),'.6f')+'\" r=\"2.6\" fill=\"'+color+'\"><title>'+e(s+': '+str(p['y']))+'</title></circle>')\n  out.append('<text x=\"'+str(82+(j%2)*310)+'\" y=\"'+str(432+(j//2)*23)+'\" fill=\"'+color+'\">'+e(s)+'</text>')\n out.append('<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>');return''.join(out)\n\nOUT=Path(sys.argv[1]);OUT.mkdir(parents=True,exist_ok=False)\nresult=fixed_operation(FIXED['api'],FIXED['input']);summary,series=report_values(FIXED['api'],result)\ndef encode(v):\n if isinstance(v,Q):return str(v)\n if isinstance(v,dict):return{k:encode(x)for k,x in v.items()}\n if isinstance(v,(list,tuple)):return[encode(x)for x in v]\n return v\n(OUT/'full.json').write_text(json.dumps(dict(arithmetic='Exact Fraction fixed examples; factualsource and knownhypotheticallaws separate; empiricalTV notCI',result=encode(result)),ensure_ascii=False,indent=2)+'\\n',encoding='utf8')\nsummaryRows=[dict(metric=m,value=''if v is None else str(int(v))if isinstance(v,bool)else str(v),unit=u,defined=int(v is not None))for m,v,u in summary]\npoints=[dict(series=name,index=i,x=str(x),y=''if y is None else str(y),defined=int(y is not None))for name,pp in series for i,(x,y)in enumerate(pp)]\nfor name,rows in [('summary',summaryRows),('plot-points',points)]:\n with(OUT/(name+'.csv')).open('w',encoding='utf8',newline='')as f:writer=csv.DictWriter(f,fieldnames=list(rows[0]));writer.writeheader();writer.writerows(rows)\n(OUT/'plot.svg').write_text(fixed_svg([dict(p,x=number(p['x']),y=None if not p['defined']else number(p['y']))for p in points],FIXED['title']),encoding='utf8');print(FIXED['api']+'/'+FIXED['variant'])\n",
        "returnCode": 0,
        "stdout": "effects/missing-potential\r\n",
        "stderr": "",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/python-effects-missing-potential-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/effects-missing-potential-input.json",
            "sha256": "ea0969198cdf8bd8680d1020685b25d5e3ce88d3a4006f3db15f8c872522e2ba",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/python-effects-missing-potential-result/full.json",
            "sha256": "d238be8aa214bafac8ee14ebdf9824904e99d3c56462d63455c00db70034428f",
            "bytes": 585
          },
          {
            "file": "ml21-code/python-effects-missing-potential-result/plot-points.csv",
            "sha256": "6a64e366657b83e492847a2006f33af03c72955c221badb9e33011d5b1c83c32",
            "bytes": 95
          },
          {
            "file": "ml21-code/python-effects-missing-potential-result/plot.svg",
            "sha256": "aa4993e25cd0ddf645138dbb5c165f84a08168fdff735bec05e2c601cdc52bbf",
            "bytes": 1598
          },
          {
            "file": "ml21-code/python-effects-missing-potential-result/summary.csv",
            "sha256": "8283c5af74f580dfc8ac7e3726d7e336d071e15e28e236905833f973fd328bf3",
            "bytes": 167
          },
          {
            "file": "ml21-code/python-effects-missing-potential-result/stdout.txt",
            "sha256": "52dbf4b8be5c15c5e083614ba4f0f2497bb40c4f011cc372dd7d6b6c9cdff19d",
            "bytes": 27
          },
          {
            "file": "ml21-code/python-effects-missing-potential-result/stderr.txt",
            "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "bytes": 0
          }
        ],
        "summaryRows": [
          {
            "metric": "completeRows",
            "value": "1",
            "unit": "rows",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "1",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "ATE",
            "value": "1",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "1",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "ATT",
            "value": "undefined",
            "unit": "constructed outcome units",
            "defined": "false",
            "rawValue": "",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "observedContrast",
            "value": "3",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "3",
            "exactFraction": "3",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          }
        ],
        "plotRows": [
          {
            "series": "known constructed effects",
            "index": 0,
            "x": "1",
            "y": "",
            "defined": false,
            "xExact": "1",
            "yExact": ""
          },
          {
            "series": "known constructed effects",
            "index": 1,
            "x": "2",
            "y": "1",
            "defined": true,
            "xExact": "2",
            "yExact": "1"
          }
        ],
        "plotFile": "ml21-code/python-effects-missing-potential-result/plot.svg",
        "fullResultFile": "ml21-code/python-effects-missing-potential-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "reject-negative-weight": {
        "api": "effects",
        "variant": "reject-negative-weight",
        "language": "python",
        "title": "Reject a negative analysis weight",
        "input": {
          "rows": [
            {
              "id": "bad",
              "y0": "0",
              "y1": "1",
              "a": "0",
              "weight": "-1"
            }
          ]
        },
        "expectedFailure": true,
        "codeFile": "ml21-code/effects-reject-negative-weight.py",
        "codeSHA256": "09a604dd3218fcf404fe706f87c8859cc31c98bd269aebfc608cf28ea3fed73c",
        "code": "\"\"\"ML21 complete standalone fixed example, not a general API validator.\nRun: python this-file.py NEW-OUTDIR\nFixed literal input is also supplied as matching human-readable JSON.\nRealdata reads3factual CSVs under data/, using owned public scalar code byvalue.\nNo production engine/model/checker/computed answers are imported.\n\"\"\"\nfrom pathlib import Path\nfrom fractions import Fraction as F\nfrom collections import defaultdict,Counter\nimport csv,json,hashlib,sys,html,math\nif hasattr(sys,'set_int_max_str_digits'):sys.set_int_max_str_digits(200000)\ndef f(v):return v if isinstance(v,F)else F(str(v))\ndef ck(v,label=''):\n if not v:raise AssertionError(label)\ndef maybe(v):return dict(defined=False)if v is None else dict(defined=True,value=v)\ndef mean(v,w):return sum((a*b for a,b in zip(v,w)),F(0))/sum(w,F(0))if sum(w,F(0))else None\ndef extremum(values,p,radius,cap,sign):\n q=list(p);budget=radius;upper=[min(F(1),cap*x)for x in p]\n order=sorted(range(len(values)),key=lambda i:(sign*values[i],i))\n donors=list(order);receivers=list(reversed(order));left=right=0\n while budget>0 and left<len(q)and right<len(q):\n  i,j=donors[left],receivers[right]\n  if sign*values[j]<=sign*values[i]:break\n  move=min(q[i],upper[j]-q[j],budget)\n  if move>0:q[i]-=move;q[j]+=move;budget-=move\n  if q[i]==0:left+=1\n  if q[j]==upper[j]:right+=1\n  if move==0 and q[i]>0 and q[j]<upper[j]:raise AssertionError('transport made no progress')\n return q,sum(a*b for a,b in zip(q,values)),sum(abs(a-b)for a,b in zip(q,p))/2\n\ndef fixed_source(kind):\n selectedKind=kind\n S=Path(__file__).resolve().parent/\"data\"\n def read(n):\n  with(S/n).open(encoding=\"utf8\",newline=\"\")as stream:return list(csv.DictReader(stream))\n def source_rows():\n  rows=read('actual48-country-revised-original-2023-2024.csv');lk={(r['countryISO3'],r['indicatorID'],r['date']):r for r in rows};isos=sorted({r['countryISO3']for r in rows});g=sorted(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])for i in isos);median=(g[7]+g[8])/2\n  models={'country':[dict(id=i+':2024',originalID=i,sourceRow=i,foldGroup='country:'+i,a=int(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])>median),x=[f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])/10000,f(lk[i,'FP.CPI.TOTL.ZG','2023']['originalValueToken'])/10],y=f(lk[i,'NY.GDP.MKTP.KD.ZG','2024']['originalValueToken']))for i in isos]}\n  native=read('actual38408-NSW-all15-fields.csv');pairs=defaultdict(dict)\n  for r in native:pairs[str(int(f(r['id'])))][int(f(r['year']))]=r\n  people=[]\n  for ID,pair in pairs.items():\n   pre,post=pair[1975],pair[1978];ck(pre['treated']==post['treated'],'native stable treatment');sel=int(f(pre['experimental']))==1;ck(sel==(pre['treated']!='.'),'no recode missingtreatment')\n   if sel:people.append(dict(id='nsw-id:'+ID,originalID=ID,sourceRow=int(post['sourceRow']),foldGroup='nsw-id:'+ID,a=int(f(pre['treated'])),x=[F.from_float(float(pre['age']))/10,F.from_float(float(pre['educ']))/10,F.from_float(float(pre['re74']))/10000],y=F.from_float(float(post['re']))/10000))\n  models['person']=people;company=[]\n  for r in read('actual410-NJPA-all46-fields.csv'):\n   ys=[]\n   for suffix in['','2']:\n    v=[None if r[k+suffix]=='.'else f(r[k+suffix])for k in['EMPFT','EMPPT','NMGRS']];ys.append(None if None in v else v[0]+v[1]/2+v[2])\n   company.append(dict(id='njpa-row:'+r['sourceRow'],originalID=r['SHEET'],sourceRow=int(r['sourceRow']),foldGroup='sheet:'+r['SHEET'],a=int(r['STATE']),x=[None if ys[0]is None else ys[0]/10,None if r['CHAIN']=='.'else F(int(f(r['CHAIN'])==2)),None if r['CO_OWNED']=='.'else f(r['CO_OWNED'])],y=None if None in ys else ys[1]-ys[0]))\n  models['company']=company\n  for kind,rr in models.items():\n   groups=sorted({r['foldGroup']for r in rr},key=lambda g:(hashlib.sha256(('ML21|'+kind+'|'+g).encode()).digest(),g));folds={g:i%4 for i,g in enumerate(groups)}\n   for r in rr:r['fold']=folds[r['foldGroup']];r['eligible']=r['y']is not None and None not in r['x'];r['role']='analysis'if r['eligible']else'excluded';r['w']=F(1)\n  return models\n MODELS=source_rows()\n def solve(A,b):\n  n=len(b);M=[list(a)+[v]for a,v in zip(A,b)];pivot=[];i=0\n  for j in range(n):\n   k=next((k for k in range(i,n)if M[k][j]!=0),None)\n   if k is None:continue\n   M[i],M[k]=M[k],M[i];v=M[i][j];M[i]=[z/v for z in M[i]]\n   for k in range(n):\n    if k!=i:\n     v=M[k][j];M[k]=[a-v*b for a,b in zip(M[k],M[i])]\n   pivot.append(j);i+=1\n   if i==n:break\n  beta=[F(0)]*n\n  for i,j in enumerate(pivot):beta[j]=M[i][-1]\n  null=[]\n  for j in range(n):\n   if j in pivot:continue\n   v=[F(0)]*n;v[j]=F(1)\n   for i,k in enumerate(pivot):v[k]=-M[i][j]\n   null.append(v)\n  return beta,null,len(pivot)\n def source_expected(a):\n  base=MODELS[a.get('kind','person')];rep=a.get('representation','full');rr=[]\n  for r in base:\n   full=r['x'];x=full if rep=='full'else[]if rep=='constant'else[F(r['a'])]if a.get('kind','person')=='country'else[F(full[1]>F(6,5)),F(full[2]>0)]if a.get('kind','person')=='person'else[full[1]]\n   group=('higher-GDP-category'if r['a']else'lower-GDP-category')if a.get('kind','person')=='country'else('schooling-over12'if full[1]>F(6,5)else'schooling-at-most12')if a.get('kind','person')=='person'else('chain2'if full[1]else'other-chains');rr.append(dict(r,x=x,fullX=full,group=group))\n  eligible=[r for r in rr if r['eligible']];limit=a.get('trainingLimit',len(eligible));keep={r['id']for r in eligible[:limit]};lam=f(a.get('lambda','1/100'));eps=f(a.get('clip','1/20'));nuisance=[];out={};dimension=len(rr[0]['x'])+1\n  for fold in range(4):\n   tr=[r for r in rr if r['eligible']and r['id']in keep and r['fold']!=fold];fits={};means=[sum(r['x'][j]for r in tr)/len(tr)for j in range(dimension-1)]if tr else[];scales=[max(r['x'][j]for r in tr)-min(r['x'][j]for r in tr)or F(1)for j in range(dimension-1)]if tr else[]\n   def z(r):return None if not tr or None in r['x']else[F(1)]+[(v-m)/s for v,m,s in zip(r['x'],means,scales)]\n   for name in['e','mu0','mu1']:\n    use=[r for r in tr if name=='e'or r['a']==int(name[-1])]\n    if not use:fits[name]=dict(defined=False);continue\n    Z=[z(r)for r in use];Y=[F(r['a'])if name=='e'else r['y']for r in use];N=len(use);A=[[sum(v[j]*v[k]for v in Z)/N+(lam if j==k and j else 0)for k in range(dimension)]for j in range(dimension)];b=[sum(y*v[j]for v,y in zip(Z,Y))/N for j in range(dimension)];beta,null,rank=solve(A,b);minimum=sum((sum(b*z for b,z in zip(beta,v))-y)**2 for v,y in zip(Z,Y))/(2*N)+lam*sum(v*v for v in beta[1:])/2;fits[name]=dict(defined=True,trainingIDs=[r['id']for r in use],rows=N,rank=rank,unique=rank==dimension,theta=beta,nullspace=null,minimumObjective=minimum,meanX=means,scales=scales)\n   nuisance.append(dict(fold=fold,complementRows=len(tr),fits=fits))\n   for r in rr:\n    if r['fold']!=fold:continue\n    zz=z(r);pred={name:None if zz is None or not fit['defined']else sum(v*b for v,b in zip(zz,fit['theta']))for name,fit in fits.items()};eRaw=pred['e'];e=None if eRaw is None else max(eps,min(1-eps,eRaw));inv={name:zz is not None and fit['defined']and all(sum(a*b for a,b in zip(v,zz))==0 for v in fit['nullspace'])for name,fit in fits.items()};out[r['id']]=dict(r,mu0=pred['mu0'],mu1=pred['mu1'],e=e,eRaw=eRaw,propensityClipped=e is not None and e!=eRaw,nuisancePredictionDefined=all(v is not None for v in pred.values()),queryInvariantAcrossMinimizers=inv)\n  return rr,nuisance,[out[r['id']]for r in rr]\n def aipw_expected(rows,role='all'):\n  out=[]\n  for r in rows:\n   reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n   if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n   plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n  def summary(use):\n   ww=[r['w']for r in use];arms=[]\n   for A in[0,1]:\n    arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n   return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n  use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n raw,nuisance,oo=source_expected(dict(kind=selectedKind,representation='full'));scores=aipw_expected(oo);use=[r for r in scores['rows']if r['eligible']];values=[r['score']['value']for r in use];p=[F(1,len(use))for _ in use];lo,low,ltv=extremum(values,p,F(1,10),F(2),-1);hi,high,htv=extremum(values,p,F(1,10),F(2),1);fits=[]\n for n in nuisance:\n  for name,z in n['fits'].items():fits.append(dict(fold=n['fold'],fit=name,trainingIDs=z['trainingIDs'],rows=z['rows'],rank=z['rank'],unique=z['unique'],theta=z['theta'],minimumObjective=z['minimumObjective'],meanX=z['meanX'],scales=z['scales']))\n rr=[]\n for r in scores['rows']:rr.append(dict(id=r['id'],sourceRow=r['sourceRow'],originalID=r['originalID'],foldGroup=r['foldGroup'],fold=r['fold'],a=r['a'],y=r['y'],x=r['fullX'],eligible=r['eligible'],eRaw=r['eRaw'],e=r['e'],mu0=r['mu0'],mu1=r['mu1'],plugin=r.get('plugin'),score=r['score'].get('value'),IPWContribution=r.get('IPWContribution')))\n unit={'country':'GDP growth contrast, percentage points','person':'native real1978earnings/10000','company':'post-minus-pre FTE employees'}[selectedKind]\n return dict(kind=selectedKind,unit=unit,rows=rr,fits=fits,AIPW=scores['overall']['AIPW'].get('value'),plugin=scores['overall']['plugin'].get('value'),IPW=scores['overall']['IPW'].get('value'),normalizedIPWContrast=scores['overall']['normalizedIPWContrast'].get('value'),stressMinimum=low,stressMaximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\n\ndef aipw_expected(rows,role='all'):\n out=[]\n for r in rows:\n  reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n  if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n  plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n def summary(use):\n  ww=[r['w']for r in use];arms=[]\n  for A in[0,1]:\n   arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n  return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n\n# Owned standalone fixed-example adapters; no production engine import.\nQ=F\nnumber=f\ndef fixed_robust(a):\n values=list(map(f,a['values']));p=list(map(f,a.get('probabilities',[F(1,len(values))for _ in values])));radius=f(a.get('radius','1/10'));cap=f(a.get('cap',2))\n if cap<1 or not 0<=radius<=1:raise ValueError('invalid-robust-constraint')\n lo,low,ltv=extremum(values,p,radius,cap,-1);hi,high,htv=extremum(values,p,radius,cap,1)\n return dict(values=values,p=p,radius=radius,cap=cap,baseline=sum(v*w for v,w in zip(values,p)),minimum=low,maximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\ndef fixed_aipw(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  rr.append(dict(id=r.get('id',str(i)),a=None if r.get('a')is None else int(f(r['a'])),**{k:None if r.get(k)is None else f(r[k])for k in ['y','e','mu0','mu1']},w=w,role=r.get('role','analysis'),group=r.get('group','all')))\n return aipw_expected(rr)\ndef fixed_effects(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  y0=None if r.get('y0')is None else f(r['y0']);y1=None if r.get('y1')is None else f(r['y1']);A=r.get('a');A=None if A is None else int(f(A));rr.append(dict(id=r.get('id',str(i)),a=A,y0=y0,y1=y1,w=w,effect=None if y0 is None or y1 is None else y1-y0,observed=y1 if A==1 else y0 if A==0 else None))\n complete=[r for r in rr if r['w']>0 and r['effect']is not None];treated=[r for r in complete if r['a']==1];arms=[mean([r['observed']for r in rr if r['a']==A and r['observed']is not None and r['w']>0],[r['w']for r in rr if r['a']==A and r['observed']is not None and r['w']>0])for A in [0,1]]\n return dict(rows=rr,completeRows=len(complete),ATE=mean([r['effect']for r in complete],[r['w']for r in complete]),ATT=mean([r['effect']for r in treated],[r['w']for r in treated]),observedContrast=None if None in arms else arms[1]-arms[0])\ndef fixed_representation(a):\n atoms=[dict(id=r['id'],p=f(r['probability']),y0=f(r['y0']),y1=f(r['y1']),e=f(r['e']),phi=r['phi'])for r in a['atoms']];groups=[];ATE=sum(r['p']*(r['y1']-r['y0'])for r in atoms)\n if sum(r['p']for r in atoms)!=1:raise ValueError('law-probabilities-must-sum-one')\n for phi in dict.fromkeys(r['phi']for r in atoms if r['p']):\n  use=[r for r in atoms if r['phi']==phi and r['p']];mass=sum(r['p']for r in use);t=sum(r['p']*r['e']for r in use);m1=sum(r['p']*r['e']*r['y1']for r in use)/t if t else None;m0=sum(r['p']*(1-r['e'])*r['y0']for r in use)/(mass-t)if mass!=t else None;groups.append(dict(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=None if m0 is None or m1 is None else m1-m0))\n adjusted=None if any(r['contrast']is None for r in groups)else sum(r['mass']*r['contrast']for r in groups)\n return dict(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=None if adjusted is None else adjusted-ATE)\ndef fixed_validate(a):\n rr=a['rows'];cc=a['candidates'];groups=a['requiredGroups'];eligible=[r.get('y')is not None and f(r.get('weight',1))>0 and r['role']not in ['excluded','unused']and all(c['predictions'][i]is not None for c in cc)for i,r in enumerate(rr)];out=[]\n for c in cc:\n  def risk(ids):return mean([(f(c['predictions'][i])-f(rr[i]['y']))**2 for i in ids],[f(rr[i].get('weight',1))for i in ids])\n  vr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='validation'];tr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='test'];gv=[risk([i for i in vr if rr[i]['group']==g])for g in groups];worst=None if None in gv else max(gv);criterion=risk(vr)if a.get('criterion','worst-group')=='mean'else worst;out.append(dict(id=c['id'],validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=criterion))\n available=[i for i,z in enumerate(out)if z['criterion']is not None];selected=min(available,key=lambda i:(out[i]['criterion'],i))if available else None\n return dict(commonEligibility=eligible,groups=groups,candidates=out,selectedIndex=selected,selectedID=None if selected is None else out[selected]['id'],selectedScore=None if selected is None else out[selected]['criterion'])\ndef fixed_operation(api,a):return fixed_effects(a)if api=='effects'else fixed_aipw(a)if api=='aipw'else fixed_representation(a)if api=='representation'else fixed_robust(a)if api=='robust'else fixed_validate(a)if api=='validate'else fixed_source(a['kind'])\ndef report_values(api,z):\n summary=[];series=[]\n def add(k,v,u):summary.append((k,v,u))\n if api=='effects':\n  for k in ['completeRows','ATE','ATT','observedContrast']:add(k,z[k],'rows'if k=='completeRows'else'constructed outcome units')\n  series=[('known constructed effects',[(i+1,r['effect'])for i,r in enumerate(z['rows'])])]\n elif api=='aipw':\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast']:add(k,z['overall'][k].get('value'),'constructed outcome units')\n  add('eligibleRows',z['overall']['rows'],'rows');series=[('AIPW row scores',[(i+1,r['score'].get('value'))for i,r in enumerate(z['rows'])])]\n elif api=='representation':\n  for k in ['ATE','adjustedContrast','bias']:add(k,z[k],'constructed outcome units')\n  series=[('representation contrasts',[(i+1,r['contrast'])for i,r in enumerate(z['groups'])])]\n elif api=='robust':\n  for k in ['baseline','minimum','maximum']:add(k,z[k],'declared value units')\n  for k in ['minTV','maxTV']:add(k,z[k],'probability mass')\n  series=[('minimum weights',[(i+1,v)for i,v in enumerate(z['minWeights'])]),('maximum weights',[(i+1,v)for i,v in enumerate(z['maxWeights'])])]\n elif api=='validate':\n  add('selectedIndex',z['selectedIndex'],'zero-based candidate index');add('selectedScore',z['selectedScore'],'squared outcome units');series=[('validation criterion',[(i+1,c['criterion'])for i,c in enumerate(z['candidates'])])]\n else:\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum']:add(k,z[k],z['unit'])\n  add('sourceRows',len(z['rows']),'analytical records');add('eligibleRows',sum(r['eligible']for r in z['rows']),'records');series=[('actual out-of-fold scores',[(i+1,r['score'])for i,r in enumerate(z['rows'])])]\n return summary,series\n\nFIXED={'api': 'effects', 'variant': 'reject-negative-weight', 'title': 'Reject a negative analysis weight', 'input': {'rows': [{'id': 'bad', 'y0': '0', 'y1': '1', 'a': '0', 'weight': '-1'}]}, 'expectedFailure': True}\n\ndef fixed_svg(points,title):\n good=[p for p in points if p['y'] is not None];xx=[float(p['x'])for p in good];yy=[float(p['y'])for p in good];xmin=min(xx)if xx else 0;xmax=max(xx)if xx else 1;ymin=min([0]+yy);ymax=max([0]+yy)\n if xmin==xmax:xmin-=.5;xmax+=.5\n if ymin==ymax:ymin-=.5;ymax+=.5\n pad=(ymax-ymin)*.08;ymin-=pad;ymax+=pad;X=lambda x:82+(float(x)-xmin)/(xmax-xmin)*608;Y=lambda y:354-(float(y)-ymin)/(ymax-ymin)*290;e=html.escape\n out=['<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"'+e(title)+'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">'+e(title)+'</text>']\n for j in range(5):\n  y=ymin+(ymax-ymin)*j/4;x=xmin+(xmax-xmin)*j/4;out.append('<line x1=\"82\" y1=\"'+str(Y(y))+'\" x2=\"690\" y2=\"'+str(Y(y))+'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"'+str(Y(y)+4)+'\" text-anchor=\"end\">'+format(y,'.3g')+'</text><text x=\"'+str(X(x))+'\" y=\"380\" text-anchor=\"middle\">'+format(x,'.3g')+'</text>')\n series=list(dict.fromkeys(p['series']for p in good))\n for j,s in enumerate(series):\n  pp=[p for p in good if p['series']==s];color=['#0f766e','#c76622','#4f46e5','#b23857'][j%4];out.append('<polyline fill=\"none\" stroke=\"'+color+'\" stroke-width=\"1.5\" points=\"'+' '.join(format(X(p['x']),'.6f')+','+format(Y(p['y']),'.6f')for p in pp)+'\"/>')\n  for p in pp:out.append('<circle cx=\"'+format(X(p['x']),'.6f')+'\" cy=\"'+format(Y(p['y']),'.6f')+'\" r=\"2.6\" fill=\"'+color+'\"><title>'+e(s+': '+str(p['y']))+'</title></circle>')\n  out.append('<text x=\"'+str(82+(j%2)*310)+'\" y=\"'+str(432+(j//2)*23)+'\" fill=\"'+color+'\">'+e(s)+'</text>')\n out.append('<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>');return''.join(out)\n\nOUT=Path(sys.argv[1]);OUT.mkdir(parents=True,exist_ok=False)\nresult=fixed_operation(FIXED['api'],FIXED['input']);summary,series=report_values(FIXED['api'],result)\ndef encode(v):\n if isinstance(v,Q):return str(v)\n if isinstance(v,dict):return{k:encode(x)for k,x in v.items()}\n if isinstance(v,(list,tuple)):return[encode(x)for x in v]\n return v\n(OUT/'full.json').write_text(json.dumps(dict(arithmetic='Exact Fraction fixed examples; factualsource and knownhypotheticallaws separate; empiricalTV notCI',result=encode(result)),ensure_ascii=False,indent=2)+'\\n',encoding='utf8')\nsummaryRows=[dict(metric=m,value=''if v is None else str(int(v))if isinstance(v,bool)else str(v),unit=u,defined=int(v is not None))for m,v,u in summary]\npoints=[dict(series=name,index=i,x=str(x),y=''if y is None else str(y),defined=int(y is not None))for name,pp in series for i,(x,y)in enumerate(pp)]\nfor name,rows in [('summary',summaryRows),('plot-points',points)]:\n with(OUT/(name+'.csv')).open('w',encoding='utf8',newline='')as f:writer=csv.DictWriter(f,fieldnames=list(rows[0]));writer.writeheader();writer.writerows(rows)\n(OUT/'plot.svg').write_text(fixed_svg([dict(p,x=number(p['x']),y=None if not p['defined']else number(p['y']))for p in points],FIXED['title']),encoding='utf8');print(FIXED['api']+'/'+FIXED['variant'])\n",
        "returnCode": 1,
        "stdout": "",
        "stderr": "    result=fixed_operation(FIXED['api'],FIXED['input']);summary,series=report_values(FIXED['api'],result)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    def fixed_operation(api,a):return fixed_effects(a)if api=='effects'else fixed_aipw(a)if api=='aipw'else fixed_representation(a)if api=='representation'else fixed_robust(a)if api=='robust'else fixed_validate(a)if api=='validate'else fixed_source(a['kind'])\n                                      ^^^^^^^^^^^^^^^^\n    if w<0:raise ValueError('negative-analysis-weight')\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nValueError: negative-analysis-weight",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/python-effects-reject-negative-weight-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/effects-reject-negative-weight-input.json",
            "sha256": "0f2a3f5ce0dae96a3065be4ce8459d72b85d531bdeafdbeb2dfdac5c5950c2a2",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/python-effects-reject-negative-weight-result/stdout.txt",
            "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "bytes": 0
          },
          {
            "file": "ml21-code/python-effects-reject-negative-weight-result/stderr.txt",
            "sha256": "cb81d9971fe43bcfe33699ac37520b68849aed450e79e04f774f833f1d33b928",
            "bytes": 625
          }
        ],
        "summaryRows": [],
        "plotRows": [],
        "plotFile": null,
        "fullResultFile": null,
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      }
    },
    "r": {
      "heterogeneous": {
        "api": "effects",
        "variant": "heterogeneous",
        "language": "r",
        "title": "Known hypothetical effects and treated target",
        "input": {
          "rows": [
            {
              "id": "a",
              "y0": "0",
              "y1": "1",
              "a": "0"
            },
            {
              "id": "b",
              "y0": "2",
              "y1": "5",
              "a": "1"
            }
          ]
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/effects-heterogeneous.R",
        "codeSHA256": "edc05886e1e6a2bee64cdd7518ca829b917177f80ae9a81bc0b3ab83329cb267",
        "code": "# ML21 standalone numerical fixed example, not arbitrary exact API validation.\n# Fixed inputs are declared inline and matching JSON provided for reading.\n# Realdata code uses3factual CSVs, R4.5+ toolsSHA256 and numerical ridge.\noptions(digits=17)\nfixedSource<-function(kind){\n selectedKind<-kind\n src<-file.path(dirname(sub('^--file=','',grep('^--file=',commandArgs(),value=TRUE)[1])),'data')\nreadnative<-function(n)read.csv(file.path(src,n),colClasses='character',check.names=FALSE,na.strings=NULL,stringsAsFactors=FALSE)\nnum<-function(x){v<-suppressWarnings(as.numeric(x));v[x%in%c('','.')] <- NA_real_;v}\nsha<-function(s){tf<-tempfile('ml21-group-');writeBin(charToRaw(enc2utf8(s)),tf);on.exit(unlink(tf));unname(tools::sha256sum(tf))}\nwb<-readnative('actual48-country-revised-original-2023-2024.csv');iso<-sort(unique(wb$countryISO3))\nlookup<-function(i,code,yr){r<-wb[wb$countryISO3==i&wb$indicatorID==code&wb$date==yr,,drop=FALSE];stopifnot(nrow(r)==1);num(r$originalValueToken)}\ng<-vapply(iso,lookup,numeric(1),code='NY.GDP.PCAP.KD',yr='2023');pi<-vapply(iso,lookup,numeric(1),code='FP.CPI.TOTL.ZG',yr='2023');gy<-vapply(iso,lookup,numeric(1),code='NY.GDP.MKTP.KD.ZG',yr='2024')\ncountry<-list(id=paste0(iso,':2024'),originalID=iso,sourceRow=iso,foldGroup=paste0('country:',iso),a=as.integer(g>median(g)),x=cbind(g/10000,pi/10),y=gy)\npd<-readnative('actual38408-NSW-all15-fields.csv');pre<-pd[pd$year=='1975',,drop=FALSE];post<-pd[match(pre$id,pd$id[pd$year=='1978'])+0,,drop=FALSE]\npostNative<-pd[pd$year=='1978',,drop=FALSE];post<-postNative[match(pre$id,postNative$id),,drop=FALSE]\nstopifnot(nrow(pre)==19204,nrow(post)==19204,all(pre$id==post$id),all(pre$treated==post$treated));take<-num(pre$experimental)==1;stopifnot(all(take==(pre$treated!='.')));pre<-pre[take,,drop=FALSE];post<-post[take,,drop=FALSE]\nperson<-list(id=paste0('nsw-id:',pre$id),originalID=pre$id,sourceRow=post$sourceRow,foldGroup=paste0('nsw-id:',pre$id),a=num(pre$treated),x=cbind(num(pre$age)/10,num(pre$educ)/10,num(pre$re74)/10000),y=num(post$re)/10000)\ncd<-readnative('actual410-NJPA-all46-fields.csv');before<-num(cd$EMPFT)+num(cd$EMPPT)/2+num(cd$NMGRS);after<-num(cd$EMPFT2)+num(cd$EMPPT2)/2+num(cd$NMGRS2)\ncompany<-list(id=paste0('njpa-row:',cd$sourceRow),originalID=cd$SHEET,sourceRow=cd$sourceRow,foldGroup=paste0('sheet:',cd$SHEET),a=num(cd$STATE),x=cbind(before/10,as.integer(num(cd$CHAIN)==2),num(cd$CO_OWNED)),y=after-before)\nmodels<-list(country=country,person=person,company=company)\nfor(kind in names(models)){\n m<-models[[kind]];groups<-unique(m$foldGroup);hash<-vapply(groups,function(g)sha(paste0('ML21|',kind,'|',g)),character(1));ord<-order(hash,groups);folds<-integer(length(groups));folds[ord]<-(seq_along(ord)-1L)%%4L;m$fold<-folds[match(m$foldGroup,groups)];m$eligible<-!is.na(m$y)&rowSums(is.na(m$x))==0;m$role<-ifelse(m$eligible,'analysis','excluded');models[[kind]]<-m\n}\nstopifnot(length(person$id)==722,sum(person$a)==297,sum(models$company$eligible)==384,length(country$id)==16)\nsourcefit<-function(kind,m,rep){\n N<-length(m$id);X<-if(rep=='full')m$x else if(rep=='constant')matrix(numeric(0),nrow=N,ncol=0) else if(kind=='country')matrix(m$a,ncol=1) else if(kind=='person')cbind(as.integer(m$x[,2]>1.2),as.integer(m$x[,3]>0)) else matrix(m$x[,2],ncol=1)\n group<-if(kind=='country')ifelse(m$a==1,'higher-GDP-category','lower-GDP-category')else if(kind=='person')ifelse(m$x[,2]>1.2,'schooling-over12','schooling-at-most12')else ifelse(!is.na(m$x[,2])&m$x[,2]!=0,'chain2','other-chains')\n p<-ncol(X);eRaw<-mu0<-mu1<-rep(NA_real_,N);fits<-list();coords<-list()\n for(fold in 0:3){\n  tr<-which(m$eligible&m$fold!=fold);means<-if(p)colMeans(X[tr,,drop=FALSE])else numeric(0);scales<-if(p)apply(X[tr,,drop=FALSE],2,function(x)diff(range(x)))else numeric(0);scales[scales==0]<-1;Z<-if(p)cbind(1,sweep(sweep(X,2,means,'-'),2,scales,'/'))else matrix(1,nrow=N,ncol=1);hold<-which(m$fold==fold);ok<-rowSums(is.na(Z[hold,,drop=FALSE]))==0\n  for(name in c('e','mu0','mu1')){\n   ix<-if(name=='e')tr else tr[m$a[tr]==if(name=='mu0')0 else 1];target<-if(name=='e')m$a[ix]else m$y[ix];A<-crossprod(Z[ix,,drop=FALSE])/length(ix)+diag(c(0,rep(.01,p)),nrow=p+1);b<-as.vector(crossprod(Z[ix,,drop=FALSE],target))/length(ix);theta<-as.vector(solve(A,b));minimum<-mean((as.vector(Z[ix,,drop=FALSE]%*%theta)-target)^2)/2+.01*sum(theta[-1]^2)/2;v<-as.vector(Z[hold,,drop=FALSE]%*%theta)\n   if(name=='e')eRaw[hold]<-v else if(name=='mu0')mu0[hold]<-v else mu1[hold]<-v\n   fits[[length(fits)+1L]]<-list(fold=fold,name=name,rows=length(ix),rank=p+1,theta=theta,minimumObjective=minimum,trainingIDs=m$id[ix])\n  }\n  coords[[length(coords)+1L]]<-list(fold=fold,mean=means,scale=scales)\n }\n e<-pmax(.05,pmin(.95,eRaw));nuisance<-!is.na(e)&!is.na(mu0)&!is.na(mu1);eligible<-m$eligible&nuisance;plugin<-treated<-control<-ipw<-effective<-score<-rep(NA_real_,N);ix<-which(eligible);plugin[ix]<-mu1[ix]-mu0[ix];treated[ix]<-ifelse(m$a[ix]==1,(m$y[ix]-mu1[ix])/e[ix],0);control[ix]<-ifelse(m$a[ix]==0,(m$y[ix]-mu0[ix])/(1-e[ix]),0);score[ix]<-plugin[ix]+treated[ix]-control[ix];ipw[ix]<-ifelse(m$a[ix]==1,m$y[ix]/e[ix],-m$y[ix]/(1-e[ix]));effective[ix]<-1/ifelse(m$a[ix]==1,e[ix],1-e[ix]);clipped<-!is.na(eRaw)&eRaw!=e\n list(X=X,group=group,meanX=coords,fits=fits,eRaw=eRaw,e=e,mu0=mu0,mu1=mu1,nuisance=nuisance,eligible=eligible,plugin=plugin,treated=treated,control=control,score=score,ipw=ipw,effective=effective,clipped=clipped)\n}\nextreme<-function(values,sign){N<-length(values);p<-rep(1/N,N);q<-p;upper<-pmin(1,2*p);ord<-order(round(sign*values,12),seq_along(values));donor<-ord;receiver<-rev(ord);a<-b<-1L;budget<-.1\n while(budget>1e-14&&a<=N&&b<=N){i<-donor[a];j<-receiver[b];if(sign*values[j]<=sign*values[i]+1e-14)break;move<-min(q[i],upper[j]-q[j],budget);if(move>0){q[i]<-q[i]-move;q[j]<-q[j]+move;budget<-budget-move};if(q[i]<=1e-14)a<-a+1L;if(upper[j]-q[j]<=1e-14)b<-b+1L;if(move<=0&&a<=N&&b<=N&&q[i]>1e-14&&upper[j]-q[j]>1e-14)stop('no transport progress')};list(q=q,objective=sum(q*values),TV=sum(abs(q-p))/2)\n}\n\n m<-models[[selectedKind]];z<-sourcefit(selectedKind,m,'full');ix<-which(z$eligible);v<-z$score[ix];lo<-extreme(v,-1);hi<-extreme(v,1);treated<-ix[m$a[ix]==1];control<-ix[m$a[ix]==0];norm<-sum(m$y[treated]*z$effective[treated])/sum(z$effective[treated])-sum(m$y[control]*z$effective[control])/sum(z$effective[control]);nv<-function(v)if(is.na(v))NULL else unname(v)\n rows<-lapply(seq_along(m$id),function(i)list(id=m$id[i],sourceRow=if(selectedKind=='country')m$sourceRow[i]else as.integer(m$sourceRow[i]),originalID=m$originalID[i],foldGroup=m$foldGroup[i],fold=m$fold[i],a=m$a[i],y=nv(m$y[i]),x=lapply(as.list(m$x[i,]),nv),eligible=z$eligible[i],eRaw=nv(z$eRaw[i]),e=nv(z$e[i]),mu0=nv(z$mu0[i]),mu1=nv(z$mu1[i]),plugin=nv(z$plugin[i]),score=nv(z$score[i]),IPWContribution=nv(z$ipw[i])))\n fits<-lapply(z$fits,function(fit){co<-z$meanX[[fit$fold+1L]];list(fold=fit$fold,fit=fit$name,trainingIDs=as.list(fit$trainingIDs),rows=fit$rows,rank=fit$rank,unique=TRUE,theta=as.list(fit$theta),minimumObjective=fit$minimumObjective,meanX=as.list(co$mean),scales=as.list(co$scale))});unit<-switch(selectedKind,country='GDP growth contrast, percentage points',person='native real1978earnings/10000',company='post-minus-pre FTE employees')\n list(kind=selectedKind,unit=unit,rows=rows,fits=fits,AIPW=mean(v),plugin=mean(z$plugin[ix]),IPW=mean(z$ipw[ix]),normalizedIPWContrast=norm,stressMinimum=lo$objective,stressMaximum=hi$objective,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\n\n# Owned numerical fixed-example adapters; not arbitrary exact input validators.\nnum<-function(v){if(is.null(v))return(NULL);if(is.numeric(v))return(as.numeric(v));s<-strsplit(as.character(v),'/',fixed=TRUE)[[1]];if(length(s)==2)as.numeric(s[1])/as.numeric(s[2])else as.numeric(v)}\nopt<-function(a,key,default)if(is.null(a[[key]]))default else a[[key]]\nmaybe<-function(v)if(is.null(v))list(defined=FALSE)else list(defined=TRUE,value=v)\nweighted<-function(v,w){if(!length(w)||sum(w)==0)return(NULL);sum(v*w)/sum(w)}\nfixedEffects<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){r<-a$rows[[i]];w<-num(opt(r,'weight',1));if(w<0)stop('negative-analysis-weight');y0<-num(r$y0);y1<-num(r$y1);A<-num(r$a);list(id=opt(r,'id',as.character(i-1L)),a=A,y0=y0,y1=y1,w=w,effect=if(is.null(y0)||is.null(y1))NULL else y1-y0,observed=if(is.null(A))NULL else if(A==1)y1 else y0)})\n complete<-Filter(function(r)r$w>0&&!is.null(r$effect),rr);treated<-Filter(function(r)!is.null(r$a)&&r$a==1,complete);avg<-function(rows,key)weighted(vapply(rows,function(r)r[[key]],numeric(1)),vapply(rows,function(r)r$w,numeric(1)));arm<-lapply(0:1,function(A)avg(Filter(function(r)!is.null(r$a)&&r$a==A&&!is.null(r$observed)&&r$w>0,rr),'observed'));list(rows=rr,completeRows=length(complete),ATE=avg(complete,'effect'),ATT=avg(treated,'effect'),observedContrast=if(any(vapply(arm,is.null,logical(1))))NULL else arm[[2]]-arm[[1]])\n}\nfixedAipw<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){v<-a$rows[[i]];w<-num(opt(v,'weight',1));if(w<0)stop('negative-analysis-weight');r<-list(id=opt(v,'id',as.character(i-1L)),a=num(v$a),y=num(v$y),e=num(v$e),mu0=num(v$mu0),mu1=num(v$mu1),w=w,role=opt(v,'role','analysis'),group=opt(v,'group','all'));reason<-if(w==0)'zero-weight'else if(r$role%in%c('excluded','unused'))'inactive-role'else if(any(vapply(r[c('a','y','e','mu0','mu1')],is.null,logical(1))))'missing-required-field'else if(r$e%in%c(0,1))'nonoverlap-boundary-propensity'else NULL;r$eligible<-is.null(reason);r$reason<-reason\n  if(is.null(reason)){r$plugin<-r$mu1-r$mu0;r$treatedResidual<-if(r$a==1)(r$y-r$mu1)/r$e else 0;r$controlResidual<-if(r$a==0)(r$y-r$mu0)/(1-r$e)else 0;r$score<-maybe(r$plugin+r$treatedResidual-r$controlResidual);r$IPWContribution<-if(r$a==1)r$y/r$e else-r$y/(1-r$e);r$effectiveArmWeight<-w/if(r$a==1)r$e else 1-r$e}else r$score<-maybe(NULL);r})\n summary<-function(rows){mass<-sum(vapply(rows,function(r)r$w,numeric(1)));avg<-function(key){if(!mass)return(NULL);sum(vapply(rows,function(r)r$w*if(key=='score')r$score$value else r[[key]],numeric(1)))/mass};arms<-lapply(0:1,function(A){arm<-Filter(function(r)r$a==A,rows);w<-vapply(arm,function(r)r$effectiveArmWeight,numeric(1));list(a=A,rows=length(arm),weightedArmDenominator=sum(w),normalizedMean=maybe(weighted(vapply(arm,function(r)r$y,numeric(1)),w)))});list(rows=length(rows),mass=mass,AIPW=maybe(avg('score')),plugin=maybe(avg('plugin')),IPW=maybe(avg('IPWContribution')),normalizedArmMeans=arms,normalizedIPWContrast=maybe(if(all(vapply(arms,function(r)r$normalizedMean$defined,logical(1))))arms[[2]]$normalizedMean$value-arms[[1]]$normalizedMean$value else NULL))}\n use<-Filter(function(r)r$eligible,rr);roles<-unique(vapply(rr,function(r)r$role,character(1)));groups<-unique(vapply(rr,function(r)r$group,character(1)));list(rows=rr,overall=summary(use),byRole=lapply(roles,function(role)c(list(role=role),summary(Filter(function(r)r$role==role,use)))),byGroup=lapply(groups,function(g)c(list(group=g),summary(Filter(function(r)r$group==g,use)))),overlapExcluded=as.list(vapply(Filter(function(r)identical(r$reason,'nonoverlap-boundary-propensity'),rr),function(r)r$id,character(1))))\n}\nfixedRepresentation<-function(a){\n atoms<-lapply(a$atoms,function(r)list(id=r$id,p=num(r$probability),y0=num(r$y0),y1=num(r$y1),e=num(r$e),phi=r$phi));if(abs(sum(vapply(atoms,function(r)r$p,numeric(1)))-1)>1e-12)stop('law-probabilities-must-sum-one');ATE<-sum(vapply(atoms,function(r)r$p*(r$y1-r$y0),numeric(1)));phis<-unique(vapply(Filter(function(r)r$p>0,atoms),function(r)r$phi,character(1)));groups<-lapply(phis,function(phi){use<-Filter(function(r)r$phi==phi&&r$p>0,atoms);mass<-sum(vapply(use,function(r)r$p,numeric(1)));t<-sum(vapply(use,function(r)r$p*r$e,numeric(1)));m1<-if(t>0)sum(vapply(use,function(r)r$p*r$e*r$y1,numeric(1)))/t else NULL;m0<-if(mass-t>0)sum(vapply(use,function(r)r$p*(1-r$e)*r$y0,numeric(1)))/(mass-t)else NULL;list(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=if(is.null(m0)||is.null(m1))NULL else m1-m0)});adjusted<-if(any(vapply(groups,function(r)is.null(r$contrast),logical(1))))NULL else sum(vapply(groups,function(r)r$mass*r$contrast,numeric(1)));list(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=if(is.null(adjusted))NULL else adjusted-ATE)\n}\nfixedRobust<-function(a){\n values<-vapply(a$values,num,numeric(1));p<-if(is.null(a$probabilities))rep(1/length(values),length(values))else vapply(a$probabilities,num,numeric(1));radius<-num(opt(a,'radius','1/10'));cap<-num(opt(a,'cap',2));if(cap<1||radius<0||radius>1)stop('invalid-robust-constraint')\n go<-function(sign){q<-p;upper<-pmin(1,cap*p);order<-order(sign*values,seq_along(values));lo<-order;hi<-rev(order);i<-j<-1L;budget<-radius;N<-length(values)\n while(budget>1e-14&&i<=N&&j<=N){d<-lo[i];h<-hi[j];if(sign*values[h]<=sign*values[d])break;move<-min(q[d],upper[h]-q[h],budget);if(move>0){q[d]<-q[d]-move;q[h]<-q[h]+move;budget<-budget-move};if(q[d]<=1e-14)i<-i+1L;if(upper[h]-q[h]<=1e-14)j<-j+1L};list(q=q,value=sum(q*values),TV=sum(abs(q-p))/2)};lo<-go(-1);hi<-go(1);list(values=as.list(values),p=as.list(p),radius=radius,cap=cap,baseline=sum(values*p),minimum=lo$value,maximum=hi$value,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\nfixedValidate<-function(a){\n rr<-a$rows;cc<-a$candidates;groups<-unlist(a$requiredGroups);eligible<-vapply(seq_along(rr),function(i){r<-rr[[i]];!is.null(r$y)&&num(opt(r,'weight',1))>0&&!r$role%in%c('excluded','unused')&&all(vapply(cc,function(c)!is.null(c$predictions[[i]]),logical(1)))},logical(1));out<-lapply(cc,function(c){risk<-function(ix){if(!length(ix))return(NULL);weighted(vapply(ix,function(i)(num(c$predictions[[i]])-num(rr[[i]]$y))^2,numeric(1)),vapply(ix,function(i)num(opt(rr[[i]],'weight',1)),numeric(1)))};vr<-which(eligible&vapply(rr,function(r)r$role=='validation',logical(1)));tr<-which(eligible&vapply(rr,function(r)r$role=='test',logical(1)));gv<-lapply(groups,function(g)risk(vr[vapply(rr[vr],function(r)r$group==g,logical(1))]));worst<-if(any(vapply(gv,is.null,logical(1))))NULL else max(unlist(gv));list(id=c$id,validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=if(opt(a,'criterion','worst-group')=='mean')risk(vr)else worst)});available<-which(!vapply(out,function(r)is.null(r$criterion),logical(1)));selected<-if(length(available))available[which.min(vapply(out[available],function(r)r$criterion,numeric(1)))]else NULL;list(commonEligibility=as.list(eligible),groups=as.list(groups),candidates=out,selectedIndex=if(is.null(selected))NULL else selected-1L,selectedID=if(is.null(selected))NULL else out[[selected]]$id,selectedScore=if(is.null(selected))NULL else out[[selected]]$criterion)\n}\nfixedOperation<-function(api,a)switch(api,effects=fixedEffects(a),aipw=fixedAipw(a),representation=fixedRepresentation(a),robust=fixedRobust(a),validate=fixedValidate(a),realdata=fixedSource(a$kind))\nreportValues<-function(api,z){summary<-list();points<-list();add<-function(k,v,u){if(length(v)==1&&is.na(v))v<-NULL;summary[[length(summary)+1L]]<<-list(metric=k,value=v,unit=u)};series<-function(name,values){for(i in seq_along(values)){v<-values[[i]];points[[length(points)+1L]]<<-list(series=name,index=i-1L,x=i,y=v)}}\n if(api=='effects'){for(k in c('completeRows','ATE','ATT','observedContrast'))add(k,z[[k]],if(k=='completeRows')'rows'else'constructed outcome units');series('known constructed effects',lapply(z$rows,function(r)r$effect))}\n else if(api=='aipw'){for(k in c('AIPW','plugin','IPW','normalizedIPWContrast'))add(k,z$overall[[k]]$value,'constructed outcome units');add('eligibleRows',z$overall$rows,'rows');series('AIPW row scores',lapply(z$rows,function(r)r$score$value))}\n else if(api=='representation'){for(k in c('ATE','adjustedContrast','bias'))add(k,z[[k]],'constructed outcome units');series('representation contrasts',lapply(z$groups,function(r)r$contrast))}\n else if(api=='robust'){for(k in c('baseline','minimum','maximum'))add(k,z[[k]],'declared value units');for(k in c('minTV','maxTV'))add(k,z[[k]],'probability mass');series('minimum weights',z$minWeights);series('maximum weights',z$maxWeights)}\n else if(api=='validate'){add('selectedIndex',z$selectedIndex,'zero-based candidate index');add('selectedScore',z$selectedScore,'squared outcome units');series('validation criterion',lapply(z$candidates,function(c)c$criterion))}\n else{for(k in c('AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum'))add(k,z[[k]],z$unit);add('sourceRows',length(z$rows),'analytical records');add('eligibleRows',sum(vapply(z$rows,function(r)r$eligible,logical(1))),'records');series('actual out-of-fold scores',lapply(z$rows,function(r)r$score))};list(summary=summary,points=points)\n}\n\nescapeXML<-function(s){s<-gsub('&','&amp;',s,fixed=TRUE);s<-gsub('<','&lt;',s,fixed=TRUE);s<-gsub('>','&gt;',s,fixed=TRUE);gsub('\"','&quot;',s,fixed=TRUE)}\nsvgPlot<-function(pp,title){\n xx<-vapply(pp,function(p)as.numeric(p$x),numeric(1));yy<-vapply(pp,function(p)as.numeric(p$y),numeric(1));xmin<-if(length(xx))min(xx)else 0;xmax<-if(length(xx))max(xx)else 1;ymin<-min(c(0,yy));ymax<-max(c(0,yy));if(xmin==xmax){xmin<-xmin-.5;xmax<-xmax+.5};if(ymin==ymax){ymin<-ymin-.5;ymax<-ymax+.5};pad<-(ymax-ymin)*.08;ymin<-ymin-pad;ymax<-ymax+pad;X<-function(x)82+(as.numeric(x)-xmin)/(xmax-xmin)*608;Y<-function(y)354-(as.numeric(y)-ymin)/(ymax-ymin)*290\n out<-paste0('<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"',escapeXML(title),'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">',escapeXML(title),'</text>')\n for(j in 0:4){y<-ymin+(ymax-ymin)*j/4;x<-xmin+(xmax-xmin)*j/4;out<-paste0(out,'<line x1=\"82\" y1=\"',Y(y),'\" x2=\"690\" y2=\"',Y(y),'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"',Y(y)+4,'\" text-anchor=\"end\">',sprintf('%.3g',y),'</text><text x=\"',X(x),'\" y=\"380\" text-anchor=\"middle\">',sprintf('%.3g',x),'</text>')}\n ss<-unique(vapply(pp,`[[`,character(1),'series'));cols<-c('#0f766e','#c76622','#4f46e5','#b23857')\n for(j in seq_along(ss)){rr<-Filter(function(p)p$series==ss[j],pp);xy<-vapply(rr,function(p)sprintf('%.6f,%.6f',X(p$x),Y(p$y)),character(1));col<-cols[(j-1)%%4+1];out<-paste0(out,'<polyline fill=\"none\" stroke=\"',col,'\" stroke-width=\"1.5\" points=\"',paste(xy,collapse=' '),'\"/>');for(p in rr)out<-paste0(out,'<circle cx=\"',sprintf('%.6f',X(p$x)),'\" cy=\"',sprintf('%.6f',Y(p$y)),'\" r=\"2.6\" fill=\"',col,'\"><title>',escapeXML(ss[j]),': ',escapeXML(p$y),'</title></circle>');out<-paste0(out,'<text x=\"',82+((j-1)%%2)*310,'\" y=\"',432+floor((j-1)/2)*23,'\" fill=\"',col,'\">',escapeXML(ss[j]),'</text>')}\n paste0(out,'<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>')\n}\n\ntoJSON<-function(x){\n if(is.null(x))return('null');if(is.list(x)){v<-vapply(x,toJSON,character(1));if(!is.null(names(x)))paste0('{',paste(paste0(vapply(names(x),toJSON,character(1)),':',v),collapse=','),'}')else paste0('[',paste(v,collapse=','),']')}\n else if(length(x)!=1){if(!is.null(names(x)))toJSON(as.list(x))else paste0('[',paste(vapply(as.list(x),toJSON,character(1)),collapse=','),']')}\n else if(is.na(x))'null'else if(is.logical(x))if(x)'true'else'false'else if(is.numeric(x))if(is.finite(x))sprintf('%.17g',x)else'null'else paste0('\"',gsub('\\n','\\\\n',gsub('\"','\\\\\"',gsub('\\\\','\\\\\\\\',x,fixed=TRUE),fixed=TRUE),fixed=TRUE),'\"')\n}\n\nFIXED<-list(\"api\"=\"effects\",\"variant\"=\"heterogeneous\",\"title\"=\"Known hypothetical effects and treated target\",\"input\"=list(\"rows\"=list(list(\"id\"=\"a\",\"y0\"=\"0\",\"y1\"=\"1\",\"a\"=\"0\"),list(\"id\"=\"b\",\"y0\"=\"2\",\"y1\"=\"5\",\"a\"=\"1\"))),\"expectedFailure\"=FALSE)\n\nargs<-commandArgs(trailingOnly=TRUE);out<-if(length(args))args[1]else stop('NEW output directory required');if(dir.exists(out))stop('Preserve previous output directory');dir.create(out,recursive=TRUE)\nz<-fixedOperation(FIXED$api,FIXED$input);rr<-reportValues(FIXED$api,z)\nwriteLines(toJSON(list(arithmetic='BaseR binary64 numerical counterpart; factualsource groupSHA256,lambda.01 and empiricalTVtolerances1e-14/12places; notcausalCI',result=z)),file.path(out,'full.json'),useBytes=TRUE)\nsums<-do.call(rbind,lapply(rr$summary,function(row)data.frame(metric=row$metric,value=if(is.null(row$value))''else if(is.logical(row$value))as.character(as.integer(row$value))else format(row$value,digits=17,scientific=NA,trim=TRUE),unit=row$unit,defined=as.integer(!is.null(row$value)),stringsAsFactors=FALSE)))\npoints<-do.call(rbind,lapply(rr$points,function(p)data.frame(series=p$series,index=p$index,x=p$x,y=if(is.null(p$y))NA_real_ else p$y,defined=as.integer(!is.null(p$y)),stringsAsFactors=FALSE)))\nwrite.csv(sums,file.path(out,'summary.csv'),row.names=FALSE,na='');write.csv(points,file.path(out,'plot-points.csv'),row.names=FALSE,na='');writeLines(svgPlot(Filter(function(p)!is.null(p$y),rr$points),FIXED$title),file.path(out,'plot.svg'),useBytes=TRUE);cat(FIXED$api,'/',FIXED$variant,'\\n',sep='')\n",
        "returnCode": 0,
        "stdout": "effects/heterogeneous\r\n",
        "stderr": "During startup - Warning messages:\n1: Setting LC_COLLATE=C.UTF-8 failed \n2: Setting LC_CTYPE=C.UTF-8 failed \n3: Setting LC_MONETARY=C.UTF-8 failed \n4: Setting LC_TIME=C.UTF-8 failed ",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/r-effects-heterogeneous-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/effects-heterogeneous-input.json",
            "sha256": "34e8e8ca99447ece0fbf1041c744fcea2f7acf1cadc46f0479ba6a2d9b88eb94",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/r-effects-heterogeneous-result/full.json",
            "sha256": "3916755b4401e1ca25e0ae657d93531a0b194af39d64c5c18a9c0bd011708314",
            "bytes": 341
          },
          {
            "file": "ml21-code/r-effects-heterogeneous-result/plot-points.csv",
            "sha256": "4dce6097285116fe7f1e582e60f8784176c039c0d8560f2709427ee6d661c1db",
            "bytes": 110
          },
          {
            "file": "ml21-code/r-effects-heterogeneous-result/plot.svg",
            "sha256": "40e7d44cd9be56f4787130816a0a14c3eb705b1084cb92bab9f189d028e29596",
            "bytes": 1697
          },
          {
            "file": "ml21-code/r-effects-heterogeneous-result/summary.csv",
            "sha256": "06e0365b4e961c25781ee35b7ad08e8989e360951ac21b11cf6559edc165ad0a",
            "bytes": 200
          },
          {
            "file": "ml21-code/r-effects-heterogeneous-result/stdout.txt",
            "sha256": "8a3d972bbe3cf3600527240af702a6a58b84b588469a1ca52c7b37946704210a",
            "bytes": 23
          },
          {
            "file": "ml21-code/r-effects-heterogeneous-result/stderr.txt",
            "sha256": "b807bd2d0f7060ea384b0ac2317cda2d63a4f59f63b4a901b9e665fead79627d",
            "bytes": 182
          }
        ],
        "summaryRows": [
          {
            "metric": "completeRows",
            "value": "2",
            "unit": "rows",
            "defined": "true",
            "rawValue": "2",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "ATE",
            "value": "2",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "2",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "ATT",
            "value": "3",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "3",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "observedContrast",
            "value": "5",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "5",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          }
        ],
        "plotRows": [
          {
            "series": "known constructed effects",
            "index": 0,
            "x": "1",
            "y": "1",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "known constructed effects",
            "index": 1,
            "x": "2",
            "y": "3",
            "defined": true,
            "xExact": "",
            "yExact": ""
          }
        ],
        "plotFile": "ml21-code/r-effects-heterogeneous-result/plot.svg",
        "fullResultFile": "ml21-code/r-effects-heterogeneous-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "missing-potential": {
        "api": "effects",
        "variant": "missing-potential",
        "language": "r",
        "title": "Missing potential differs from an observed result",
        "input": {
          "rows": [
            {
              "id": "a",
              "y0": null,
              "y1": "3",
              "a": "1"
            },
            {
              "id": "b",
              "y0": "0",
              "y1": "1",
              "a": "0"
            }
          ]
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/effects-missing-potential.R",
        "codeSHA256": "4258b6794692d189f64203d3ac2c83180e2d284bf7f38cbca1f6ba4fe05f93e9",
        "code": "# ML21 standalone numerical fixed example, not arbitrary exact API validation.\n# Fixed inputs are declared inline and matching JSON provided for reading.\n# Realdata code uses3factual CSVs, R4.5+ toolsSHA256 and numerical ridge.\noptions(digits=17)\nfixedSource<-function(kind){\n selectedKind<-kind\n src<-file.path(dirname(sub('^--file=','',grep('^--file=',commandArgs(),value=TRUE)[1])),'data')\nreadnative<-function(n)read.csv(file.path(src,n),colClasses='character',check.names=FALSE,na.strings=NULL,stringsAsFactors=FALSE)\nnum<-function(x){v<-suppressWarnings(as.numeric(x));v[x%in%c('','.')] <- NA_real_;v}\nsha<-function(s){tf<-tempfile('ml21-group-');writeBin(charToRaw(enc2utf8(s)),tf);on.exit(unlink(tf));unname(tools::sha256sum(tf))}\nwb<-readnative('actual48-country-revised-original-2023-2024.csv');iso<-sort(unique(wb$countryISO3))\nlookup<-function(i,code,yr){r<-wb[wb$countryISO3==i&wb$indicatorID==code&wb$date==yr,,drop=FALSE];stopifnot(nrow(r)==1);num(r$originalValueToken)}\ng<-vapply(iso,lookup,numeric(1),code='NY.GDP.PCAP.KD',yr='2023');pi<-vapply(iso,lookup,numeric(1),code='FP.CPI.TOTL.ZG',yr='2023');gy<-vapply(iso,lookup,numeric(1),code='NY.GDP.MKTP.KD.ZG',yr='2024')\ncountry<-list(id=paste0(iso,':2024'),originalID=iso,sourceRow=iso,foldGroup=paste0('country:',iso),a=as.integer(g>median(g)),x=cbind(g/10000,pi/10),y=gy)\npd<-readnative('actual38408-NSW-all15-fields.csv');pre<-pd[pd$year=='1975',,drop=FALSE];post<-pd[match(pre$id,pd$id[pd$year=='1978'])+0,,drop=FALSE]\npostNative<-pd[pd$year=='1978',,drop=FALSE];post<-postNative[match(pre$id,postNative$id),,drop=FALSE]\nstopifnot(nrow(pre)==19204,nrow(post)==19204,all(pre$id==post$id),all(pre$treated==post$treated));take<-num(pre$experimental)==1;stopifnot(all(take==(pre$treated!='.')));pre<-pre[take,,drop=FALSE];post<-post[take,,drop=FALSE]\nperson<-list(id=paste0('nsw-id:',pre$id),originalID=pre$id,sourceRow=post$sourceRow,foldGroup=paste0('nsw-id:',pre$id),a=num(pre$treated),x=cbind(num(pre$age)/10,num(pre$educ)/10,num(pre$re74)/10000),y=num(post$re)/10000)\ncd<-readnative('actual410-NJPA-all46-fields.csv');before<-num(cd$EMPFT)+num(cd$EMPPT)/2+num(cd$NMGRS);after<-num(cd$EMPFT2)+num(cd$EMPPT2)/2+num(cd$NMGRS2)\ncompany<-list(id=paste0('njpa-row:',cd$sourceRow),originalID=cd$SHEET,sourceRow=cd$sourceRow,foldGroup=paste0('sheet:',cd$SHEET),a=num(cd$STATE),x=cbind(before/10,as.integer(num(cd$CHAIN)==2),num(cd$CO_OWNED)),y=after-before)\nmodels<-list(country=country,person=person,company=company)\nfor(kind in names(models)){\n m<-models[[kind]];groups<-unique(m$foldGroup);hash<-vapply(groups,function(g)sha(paste0('ML21|',kind,'|',g)),character(1));ord<-order(hash,groups);folds<-integer(length(groups));folds[ord]<-(seq_along(ord)-1L)%%4L;m$fold<-folds[match(m$foldGroup,groups)];m$eligible<-!is.na(m$y)&rowSums(is.na(m$x))==0;m$role<-ifelse(m$eligible,'analysis','excluded');models[[kind]]<-m\n}\nstopifnot(length(person$id)==722,sum(person$a)==297,sum(models$company$eligible)==384,length(country$id)==16)\nsourcefit<-function(kind,m,rep){\n N<-length(m$id);X<-if(rep=='full')m$x else if(rep=='constant')matrix(numeric(0),nrow=N,ncol=0) else if(kind=='country')matrix(m$a,ncol=1) else if(kind=='person')cbind(as.integer(m$x[,2]>1.2),as.integer(m$x[,3]>0)) else matrix(m$x[,2],ncol=1)\n group<-if(kind=='country')ifelse(m$a==1,'higher-GDP-category','lower-GDP-category')else if(kind=='person')ifelse(m$x[,2]>1.2,'schooling-over12','schooling-at-most12')else ifelse(!is.na(m$x[,2])&m$x[,2]!=0,'chain2','other-chains')\n p<-ncol(X);eRaw<-mu0<-mu1<-rep(NA_real_,N);fits<-list();coords<-list()\n for(fold in 0:3){\n  tr<-which(m$eligible&m$fold!=fold);means<-if(p)colMeans(X[tr,,drop=FALSE])else numeric(0);scales<-if(p)apply(X[tr,,drop=FALSE],2,function(x)diff(range(x)))else numeric(0);scales[scales==0]<-1;Z<-if(p)cbind(1,sweep(sweep(X,2,means,'-'),2,scales,'/'))else matrix(1,nrow=N,ncol=1);hold<-which(m$fold==fold);ok<-rowSums(is.na(Z[hold,,drop=FALSE]))==0\n  for(name in c('e','mu0','mu1')){\n   ix<-if(name=='e')tr else tr[m$a[tr]==if(name=='mu0')0 else 1];target<-if(name=='e')m$a[ix]else m$y[ix];A<-crossprod(Z[ix,,drop=FALSE])/length(ix)+diag(c(0,rep(.01,p)),nrow=p+1);b<-as.vector(crossprod(Z[ix,,drop=FALSE],target))/length(ix);theta<-as.vector(solve(A,b));minimum<-mean((as.vector(Z[ix,,drop=FALSE]%*%theta)-target)^2)/2+.01*sum(theta[-1]^2)/2;v<-as.vector(Z[hold,,drop=FALSE]%*%theta)\n   if(name=='e')eRaw[hold]<-v else if(name=='mu0')mu0[hold]<-v else mu1[hold]<-v\n   fits[[length(fits)+1L]]<-list(fold=fold,name=name,rows=length(ix),rank=p+1,theta=theta,minimumObjective=minimum,trainingIDs=m$id[ix])\n  }\n  coords[[length(coords)+1L]]<-list(fold=fold,mean=means,scale=scales)\n }\n e<-pmax(.05,pmin(.95,eRaw));nuisance<-!is.na(e)&!is.na(mu0)&!is.na(mu1);eligible<-m$eligible&nuisance;plugin<-treated<-control<-ipw<-effective<-score<-rep(NA_real_,N);ix<-which(eligible);plugin[ix]<-mu1[ix]-mu0[ix];treated[ix]<-ifelse(m$a[ix]==1,(m$y[ix]-mu1[ix])/e[ix],0);control[ix]<-ifelse(m$a[ix]==0,(m$y[ix]-mu0[ix])/(1-e[ix]),0);score[ix]<-plugin[ix]+treated[ix]-control[ix];ipw[ix]<-ifelse(m$a[ix]==1,m$y[ix]/e[ix],-m$y[ix]/(1-e[ix]));effective[ix]<-1/ifelse(m$a[ix]==1,e[ix],1-e[ix]);clipped<-!is.na(eRaw)&eRaw!=e\n list(X=X,group=group,meanX=coords,fits=fits,eRaw=eRaw,e=e,mu0=mu0,mu1=mu1,nuisance=nuisance,eligible=eligible,plugin=plugin,treated=treated,control=control,score=score,ipw=ipw,effective=effective,clipped=clipped)\n}\nextreme<-function(values,sign){N<-length(values);p<-rep(1/N,N);q<-p;upper<-pmin(1,2*p);ord<-order(round(sign*values,12),seq_along(values));donor<-ord;receiver<-rev(ord);a<-b<-1L;budget<-.1\n while(budget>1e-14&&a<=N&&b<=N){i<-donor[a];j<-receiver[b];if(sign*values[j]<=sign*values[i]+1e-14)break;move<-min(q[i],upper[j]-q[j],budget);if(move>0){q[i]<-q[i]-move;q[j]<-q[j]+move;budget<-budget-move};if(q[i]<=1e-14)a<-a+1L;if(upper[j]-q[j]<=1e-14)b<-b+1L;if(move<=0&&a<=N&&b<=N&&q[i]>1e-14&&upper[j]-q[j]>1e-14)stop('no transport progress')};list(q=q,objective=sum(q*values),TV=sum(abs(q-p))/2)\n}\n\n m<-models[[selectedKind]];z<-sourcefit(selectedKind,m,'full');ix<-which(z$eligible);v<-z$score[ix];lo<-extreme(v,-1);hi<-extreme(v,1);treated<-ix[m$a[ix]==1];control<-ix[m$a[ix]==0];norm<-sum(m$y[treated]*z$effective[treated])/sum(z$effective[treated])-sum(m$y[control]*z$effective[control])/sum(z$effective[control]);nv<-function(v)if(is.na(v))NULL else unname(v)\n rows<-lapply(seq_along(m$id),function(i)list(id=m$id[i],sourceRow=if(selectedKind=='country')m$sourceRow[i]else as.integer(m$sourceRow[i]),originalID=m$originalID[i],foldGroup=m$foldGroup[i],fold=m$fold[i],a=m$a[i],y=nv(m$y[i]),x=lapply(as.list(m$x[i,]),nv),eligible=z$eligible[i],eRaw=nv(z$eRaw[i]),e=nv(z$e[i]),mu0=nv(z$mu0[i]),mu1=nv(z$mu1[i]),plugin=nv(z$plugin[i]),score=nv(z$score[i]),IPWContribution=nv(z$ipw[i])))\n fits<-lapply(z$fits,function(fit){co<-z$meanX[[fit$fold+1L]];list(fold=fit$fold,fit=fit$name,trainingIDs=as.list(fit$trainingIDs),rows=fit$rows,rank=fit$rank,unique=TRUE,theta=as.list(fit$theta),minimumObjective=fit$minimumObjective,meanX=as.list(co$mean),scales=as.list(co$scale))});unit<-switch(selectedKind,country='GDP growth contrast, percentage points',person='native real1978earnings/10000',company='post-minus-pre FTE employees')\n list(kind=selectedKind,unit=unit,rows=rows,fits=fits,AIPW=mean(v),plugin=mean(z$plugin[ix]),IPW=mean(z$ipw[ix]),normalizedIPWContrast=norm,stressMinimum=lo$objective,stressMaximum=hi$objective,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\n\n# Owned numerical fixed-example adapters; not arbitrary exact input validators.\nnum<-function(v){if(is.null(v))return(NULL);if(is.numeric(v))return(as.numeric(v));s<-strsplit(as.character(v),'/',fixed=TRUE)[[1]];if(length(s)==2)as.numeric(s[1])/as.numeric(s[2])else as.numeric(v)}\nopt<-function(a,key,default)if(is.null(a[[key]]))default else a[[key]]\nmaybe<-function(v)if(is.null(v))list(defined=FALSE)else list(defined=TRUE,value=v)\nweighted<-function(v,w){if(!length(w)||sum(w)==0)return(NULL);sum(v*w)/sum(w)}\nfixedEffects<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){r<-a$rows[[i]];w<-num(opt(r,'weight',1));if(w<0)stop('negative-analysis-weight');y0<-num(r$y0);y1<-num(r$y1);A<-num(r$a);list(id=opt(r,'id',as.character(i-1L)),a=A,y0=y0,y1=y1,w=w,effect=if(is.null(y0)||is.null(y1))NULL else y1-y0,observed=if(is.null(A))NULL else if(A==1)y1 else y0)})\n complete<-Filter(function(r)r$w>0&&!is.null(r$effect),rr);treated<-Filter(function(r)!is.null(r$a)&&r$a==1,complete);avg<-function(rows,key)weighted(vapply(rows,function(r)r[[key]],numeric(1)),vapply(rows,function(r)r$w,numeric(1)));arm<-lapply(0:1,function(A)avg(Filter(function(r)!is.null(r$a)&&r$a==A&&!is.null(r$observed)&&r$w>0,rr),'observed'));list(rows=rr,completeRows=length(complete),ATE=avg(complete,'effect'),ATT=avg(treated,'effect'),observedContrast=if(any(vapply(arm,is.null,logical(1))))NULL else arm[[2]]-arm[[1]])\n}\nfixedAipw<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){v<-a$rows[[i]];w<-num(opt(v,'weight',1));if(w<0)stop('negative-analysis-weight');r<-list(id=opt(v,'id',as.character(i-1L)),a=num(v$a),y=num(v$y),e=num(v$e),mu0=num(v$mu0),mu1=num(v$mu1),w=w,role=opt(v,'role','analysis'),group=opt(v,'group','all'));reason<-if(w==0)'zero-weight'else if(r$role%in%c('excluded','unused'))'inactive-role'else if(any(vapply(r[c('a','y','e','mu0','mu1')],is.null,logical(1))))'missing-required-field'else if(r$e%in%c(0,1))'nonoverlap-boundary-propensity'else NULL;r$eligible<-is.null(reason);r$reason<-reason\n  if(is.null(reason)){r$plugin<-r$mu1-r$mu0;r$treatedResidual<-if(r$a==1)(r$y-r$mu1)/r$e else 0;r$controlResidual<-if(r$a==0)(r$y-r$mu0)/(1-r$e)else 0;r$score<-maybe(r$plugin+r$treatedResidual-r$controlResidual);r$IPWContribution<-if(r$a==1)r$y/r$e else-r$y/(1-r$e);r$effectiveArmWeight<-w/if(r$a==1)r$e else 1-r$e}else r$score<-maybe(NULL);r})\n summary<-function(rows){mass<-sum(vapply(rows,function(r)r$w,numeric(1)));avg<-function(key){if(!mass)return(NULL);sum(vapply(rows,function(r)r$w*if(key=='score')r$score$value else r[[key]],numeric(1)))/mass};arms<-lapply(0:1,function(A){arm<-Filter(function(r)r$a==A,rows);w<-vapply(arm,function(r)r$effectiveArmWeight,numeric(1));list(a=A,rows=length(arm),weightedArmDenominator=sum(w),normalizedMean=maybe(weighted(vapply(arm,function(r)r$y,numeric(1)),w)))});list(rows=length(rows),mass=mass,AIPW=maybe(avg('score')),plugin=maybe(avg('plugin')),IPW=maybe(avg('IPWContribution')),normalizedArmMeans=arms,normalizedIPWContrast=maybe(if(all(vapply(arms,function(r)r$normalizedMean$defined,logical(1))))arms[[2]]$normalizedMean$value-arms[[1]]$normalizedMean$value else NULL))}\n use<-Filter(function(r)r$eligible,rr);roles<-unique(vapply(rr,function(r)r$role,character(1)));groups<-unique(vapply(rr,function(r)r$group,character(1)));list(rows=rr,overall=summary(use),byRole=lapply(roles,function(role)c(list(role=role),summary(Filter(function(r)r$role==role,use)))),byGroup=lapply(groups,function(g)c(list(group=g),summary(Filter(function(r)r$group==g,use)))),overlapExcluded=as.list(vapply(Filter(function(r)identical(r$reason,'nonoverlap-boundary-propensity'),rr),function(r)r$id,character(1))))\n}\nfixedRepresentation<-function(a){\n atoms<-lapply(a$atoms,function(r)list(id=r$id,p=num(r$probability),y0=num(r$y0),y1=num(r$y1),e=num(r$e),phi=r$phi));if(abs(sum(vapply(atoms,function(r)r$p,numeric(1)))-1)>1e-12)stop('law-probabilities-must-sum-one');ATE<-sum(vapply(atoms,function(r)r$p*(r$y1-r$y0),numeric(1)));phis<-unique(vapply(Filter(function(r)r$p>0,atoms),function(r)r$phi,character(1)));groups<-lapply(phis,function(phi){use<-Filter(function(r)r$phi==phi&&r$p>0,atoms);mass<-sum(vapply(use,function(r)r$p,numeric(1)));t<-sum(vapply(use,function(r)r$p*r$e,numeric(1)));m1<-if(t>0)sum(vapply(use,function(r)r$p*r$e*r$y1,numeric(1)))/t else NULL;m0<-if(mass-t>0)sum(vapply(use,function(r)r$p*(1-r$e)*r$y0,numeric(1)))/(mass-t)else NULL;list(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=if(is.null(m0)||is.null(m1))NULL else m1-m0)});adjusted<-if(any(vapply(groups,function(r)is.null(r$contrast),logical(1))))NULL else sum(vapply(groups,function(r)r$mass*r$contrast,numeric(1)));list(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=if(is.null(adjusted))NULL else adjusted-ATE)\n}\nfixedRobust<-function(a){\n values<-vapply(a$values,num,numeric(1));p<-if(is.null(a$probabilities))rep(1/length(values),length(values))else vapply(a$probabilities,num,numeric(1));radius<-num(opt(a,'radius','1/10'));cap<-num(opt(a,'cap',2));if(cap<1||radius<0||radius>1)stop('invalid-robust-constraint')\n go<-function(sign){q<-p;upper<-pmin(1,cap*p);order<-order(sign*values,seq_along(values));lo<-order;hi<-rev(order);i<-j<-1L;budget<-radius;N<-length(values)\n while(budget>1e-14&&i<=N&&j<=N){d<-lo[i];h<-hi[j];if(sign*values[h]<=sign*values[d])break;move<-min(q[d],upper[h]-q[h],budget);if(move>0){q[d]<-q[d]-move;q[h]<-q[h]+move;budget<-budget-move};if(q[d]<=1e-14)i<-i+1L;if(upper[h]-q[h]<=1e-14)j<-j+1L};list(q=q,value=sum(q*values),TV=sum(abs(q-p))/2)};lo<-go(-1);hi<-go(1);list(values=as.list(values),p=as.list(p),radius=radius,cap=cap,baseline=sum(values*p),minimum=lo$value,maximum=hi$value,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\nfixedValidate<-function(a){\n rr<-a$rows;cc<-a$candidates;groups<-unlist(a$requiredGroups);eligible<-vapply(seq_along(rr),function(i){r<-rr[[i]];!is.null(r$y)&&num(opt(r,'weight',1))>0&&!r$role%in%c('excluded','unused')&&all(vapply(cc,function(c)!is.null(c$predictions[[i]]),logical(1)))},logical(1));out<-lapply(cc,function(c){risk<-function(ix){if(!length(ix))return(NULL);weighted(vapply(ix,function(i)(num(c$predictions[[i]])-num(rr[[i]]$y))^2,numeric(1)),vapply(ix,function(i)num(opt(rr[[i]],'weight',1)),numeric(1)))};vr<-which(eligible&vapply(rr,function(r)r$role=='validation',logical(1)));tr<-which(eligible&vapply(rr,function(r)r$role=='test',logical(1)));gv<-lapply(groups,function(g)risk(vr[vapply(rr[vr],function(r)r$group==g,logical(1))]));worst<-if(any(vapply(gv,is.null,logical(1))))NULL else max(unlist(gv));list(id=c$id,validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=if(opt(a,'criterion','worst-group')=='mean')risk(vr)else worst)});available<-which(!vapply(out,function(r)is.null(r$criterion),logical(1)));selected<-if(length(available))available[which.min(vapply(out[available],function(r)r$criterion,numeric(1)))]else NULL;list(commonEligibility=as.list(eligible),groups=as.list(groups),candidates=out,selectedIndex=if(is.null(selected))NULL else selected-1L,selectedID=if(is.null(selected))NULL else out[[selected]]$id,selectedScore=if(is.null(selected))NULL else out[[selected]]$criterion)\n}\nfixedOperation<-function(api,a)switch(api,effects=fixedEffects(a),aipw=fixedAipw(a),representation=fixedRepresentation(a),robust=fixedRobust(a),validate=fixedValidate(a),realdata=fixedSource(a$kind))\nreportValues<-function(api,z){summary<-list();points<-list();add<-function(k,v,u){if(length(v)==1&&is.na(v))v<-NULL;summary[[length(summary)+1L]]<<-list(metric=k,value=v,unit=u)};series<-function(name,values){for(i in seq_along(values)){v<-values[[i]];points[[length(points)+1L]]<<-list(series=name,index=i-1L,x=i,y=v)}}\n if(api=='effects'){for(k in c('completeRows','ATE','ATT','observedContrast'))add(k,z[[k]],if(k=='completeRows')'rows'else'constructed outcome units');series('known constructed effects',lapply(z$rows,function(r)r$effect))}\n else if(api=='aipw'){for(k in c('AIPW','plugin','IPW','normalizedIPWContrast'))add(k,z$overall[[k]]$value,'constructed outcome units');add('eligibleRows',z$overall$rows,'rows');series('AIPW row scores',lapply(z$rows,function(r)r$score$value))}\n else if(api=='representation'){for(k in c('ATE','adjustedContrast','bias'))add(k,z[[k]],'constructed outcome units');series('representation contrasts',lapply(z$groups,function(r)r$contrast))}\n else if(api=='robust'){for(k in c('baseline','minimum','maximum'))add(k,z[[k]],'declared value units');for(k in c('minTV','maxTV'))add(k,z[[k]],'probability mass');series('minimum weights',z$minWeights);series('maximum weights',z$maxWeights)}\n else if(api=='validate'){add('selectedIndex',z$selectedIndex,'zero-based candidate index');add('selectedScore',z$selectedScore,'squared outcome units');series('validation criterion',lapply(z$candidates,function(c)c$criterion))}\n else{for(k in c('AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum'))add(k,z[[k]],z$unit);add('sourceRows',length(z$rows),'analytical records');add('eligibleRows',sum(vapply(z$rows,function(r)r$eligible,logical(1))),'records');series('actual out-of-fold scores',lapply(z$rows,function(r)r$score))};list(summary=summary,points=points)\n}\n\nescapeXML<-function(s){s<-gsub('&','&amp;',s,fixed=TRUE);s<-gsub('<','&lt;',s,fixed=TRUE);s<-gsub('>','&gt;',s,fixed=TRUE);gsub('\"','&quot;',s,fixed=TRUE)}\nsvgPlot<-function(pp,title){\n xx<-vapply(pp,function(p)as.numeric(p$x),numeric(1));yy<-vapply(pp,function(p)as.numeric(p$y),numeric(1));xmin<-if(length(xx))min(xx)else 0;xmax<-if(length(xx))max(xx)else 1;ymin<-min(c(0,yy));ymax<-max(c(0,yy));if(xmin==xmax){xmin<-xmin-.5;xmax<-xmax+.5};if(ymin==ymax){ymin<-ymin-.5;ymax<-ymax+.5};pad<-(ymax-ymin)*.08;ymin<-ymin-pad;ymax<-ymax+pad;X<-function(x)82+(as.numeric(x)-xmin)/(xmax-xmin)*608;Y<-function(y)354-(as.numeric(y)-ymin)/(ymax-ymin)*290\n out<-paste0('<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"',escapeXML(title),'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">',escapeXML(title),'</text>')\n for(j in 0:4){y<-ymin+(ymax-ymin)*j/4;x<-xmin+(xmax-xmin)*j/4;out<-paste0(out,'<line x1=\"82\" y1=\"',Y(y),'\" x2=\"690\" y2=\"',Y(y),'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"',Y(y)+4,'\" text-anchor=\"end\">',sprintf('%.3g',y),'</text><text x=\"',X(x),'\" y=\"380\" text-anchor=\"middle\">',sprintf('%.3g',x),'</text>')}\n ss<-unique(vapply(pp,`[[`,character(1),'series'));cols<-c('#0f766e','#c76622','#4f46e5','#b23857')\n for(j in seq_along(ss)){rr<-Filter(function(p)p$series==ss[j],pp);xy<-vapply(rr,function(p)sprintf('%.6f,%.6f',X(p$x),Y(p$y)),character(1));col<-cols[(j-1)%%4+1];out<-paste0(out,'<polyline fill=\"none\" stroke=\"',col,'\" stroke-width=\"1.5\" points=\"',paste(xy,collapse=' '),'\"/>');for(p in rr)out<-paste0(out,'<circle cx=\"',sprintf('%.6f',X(p$x)),'\" cy=\"',sprintf('%.6f',Y(p$y)),'\" r=\"2.6\" fill=\"',col,'\"><title>',escapeXML(ss[j]),': ',escapeXML(p$y),'</title></circle>');out<-paste0(out,'<text x=\"',82+((j-1)%%2)*310,'\" y=\"',432+floor((j-1)/2)*23,'\" fill=\"',col,'\">',escapeXML(ss[j]),'</text>')}\n paste0(out,'<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>')\n}\n\ntoJSON<-function(x){\n if(is.null(x))return('null');if(is.list(x)){v<-vapply(x,toJSON,character(1));if(!is.null(names(x)))paste0('{',paste(paste0(vapply(names(x),toJSON,character(1)),':',v),collapse=','),'}')else paste0('[',paste(v,collapse=','),']')}\n else if(length(x)!=1){if(!is.null(names(x)))toJSON(as.list(x))else paste0('[',paste(vapply(as.list(x),toJSON,character(1)),collapse=','),']')}\n else if(is.na(x))'null'else if(is.logical(x))if(x)'true'else'false'else if(is.numeric(x))if(is.finite(x))sprintf('%.17g',x)else'null'else paste0('\"',gsub('\\n','\\\\n',gsub('\"','\\\\\"',gsub('\\\\','\\\\\\\\',x,fixed=TRUE),fixed=TRUE),fixed=TRUE),'\"')\n}\n\nFIXED<-list(\"api\"=\"effects\",\"variant\"=\"missing-potential\",\"title\"=\"Missing potential differs from an observed result\",\"input\"=list(\"rows\"=list(list(\"id\"=\"a\",\"y0\"=NULL,\"y1\"=\"3\",\"a\"=\"1\"),list(\"id\"=\"b\",\"y0\"=\"0\",\"y1\"=\"1\",\"a\"=\"0\"))),\"expectedFailure\"=FALSE)\n\nargs<-commandArgs(trailingOnly=TRUE);out<-if(length(args))args[1]else stop('NEW output directory required');if(dir.exists(out))stop('Preserve previous output directory');dir.create(out,recursive=TRUE)\nz<-fixedOperation(FIXED$api,FIXED$input);rr<-reportValues(FIXED$api,z)\nwriteLines(toJSON(list(arithmetic='BaseR binary64 numerical counterpart; factualsource groupSHA256,lambda.01 and empiricalTVtolerances1e-14/12places; notcausalCI',result=z)),file.path(out,'full.json'),useBytes=TRUE)\nsums<-do.call(rbind,lapply(rr$summary,function(row)data.frame(metric=row$metric,value=if(is.null(row$value))''else if(is.logical(row$value))as.character(as.integer(row$value))else format(row$value,digits=17,scientific=NA,trim=TRUE),unit=row$unit,defined=as.integer(!is.null(row$value)),stringsAsFactors=FALSE)))\npoints<-do.call(rbind,lapply(rr$points,function(p)data.frame(series=p$series,index=p$index,x=p$x,y=if(is.null(p$y))NA_real_ else p$y,defined=as.integer(!is.null(p$y)),stringsAsFactors=FALSE)))\nwrite.csv(sums,file.path(out,'summary.csv'),row.names=FALSE,na='');write.csv(points,file.path(out,'plot-points.csv'),row.names=FALSE,na='');writeLines(svgPlot(Filter(function(p)!is.null(p$y),rr$points),FIXED$title),file.path(out,'plot.svg'),useBytes=TRUE);cat(FIXED$api,'/',FIXED$variant,'\\n',sep='')\n",
        "returnCode": 0,
        "stdout": "effects/missing-potential\r\n",
        "stderr": "During startup - Warning messages:\n1: Setting LC_COLLATE=C.UTF-8 failed \n2: Setting LC_CTYPE=C.UTF-8 failed \n3: Setting LC_MONETARY=C.UTF-8 failed \n4: Setting LC_TIME=C.UTF-8 failed ",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/r-effects-missing-potential-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/effects-missing-potential-input.json",
            "sha256": "ea0969198cdf8bd8680d1020685b25d5e3ce88d3a4006f3db15f8c872522e2ba",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/r-effects-missing-potential-result/full.json",
            "sha256": "ae8949145c97148c8d460027d5b61b9f9140d221e545db5bac02331bc693c78a",
            "bytes": 350
          },
          {
            "file": "ml21-code/r-effects-missing-potential-result/plot-points.csv",
            "sha256": "4dc19949523c53002e1e7a3170fdb65796a90faf04c8bfd6f3e0c95eab87aadb",
            "bytes": 109
          },
          {
            "file": "ml21-code/r-effects-missing-potential-result/plot.svg",
            "sha256": "6001b8bc8ef8b442a02d1634449c7a484cf4fb663cef0281c5fd7c6835875b88",
            "bytes": 1572
          },
          {
            "file": "ml21-code/r-effects-missing-potential-result/summary.csv",
            "sha256": "35ca90e25410a1f0f4c7f85c5f872f4fa2bd42d1e345c5879b479e1458dde910",
            "bytes": 199
          },
          {
            "file": "ml21-code/r-effects-missing-potential-result/stdout.txt",
            "sha256": "52dbf4b8be5c15c5e083614ba4f0f2497bb40c4f011cc372dd7d6b6c9cdff19d",
            "bytes": 27
          },
          {
            "file": "ml21-code/r-effects-missing-potential-result/stderr.txt",
            "sha256": "b807bd2d0f7060ea384b0ac2317cda2d63a4f59f63b4a901b9e665fead79627d",
            "bytes": 182
          }
        ],
        "summaryRows": [
          {
            "metric": "completeRows",
            "value": "1",
            "unit": "rows",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "ATE",
            "value": "1",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "ATT",
            "value": "undefined",
            "unit": "constructed outcome units",
            "defined": "false",
            "rawValue": "",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "observedContrast",
            "value": "3",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "3",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          }
        ],
        "plotRows": [
          {
            "series": "known constructed effects",
            "index": 0,
            "x": "1",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "known constructed effects",
            "index": 1,
            "x": "2",
            "y": "1",
            "defined": true,
            "xExact": "",
            "yExact": ""
          }
        ],
        "plotFile": "ml21-code/r-effects-missing-potential-result/plot.svg",
        "fullResultFile": "ml21-code/r-effects-missing-potential-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "reject-negative-weight": {
        "api": "effects",
        "variant": "reject-negative-weight",
        "language": "r",
        "title": "Reject a negative analysis weight",
        "input": {
          "rows": [
            {
              "id": "bad",
              "y0": "0",
              "y1": "1",
              "a": "0",
              "weight": "-1"
            }
          ]
        },
        "expectedFailure": true,
        "codeFile": "ml21-code/effects-reject-negative-weight.R",
        "codeSHA256": "f4eda55e02e3bb6157abce2dc9f139d4926901dfe4cb0bb5cda136395391d963",
        "code": "# ML21 standalone numerical fixed example, not arbitrary exact API validation.\n# Fixed inputs are declared inline and matching JSON provided for reading.\n# Realdata code uses3factual CSVs, R4.5+ toolsSHA256 and numerical ridge.\noptions(digits=17)\nfixedSource<-function(kind){\n selectedKind<-kind\n src<-file.path(dirname(sub('^--file=','',grep('^--file=',commandArgs(),value=TRUE)[1])),'data')\nreadnative<-function(n)read.csv(file.path(src,n),colClasses='character',check.names=FALSE,na.strings=NULL,stringsAsFactors=FALSE)\nnum<-function(x){v<-suppressWarnings(as.numeric(x));v[x%in%c('','.')] <- NA_real_;v}\nsha<-function(s){tf<-tempfile('ml21-group-');writeBin(charToRaw(enc2utf8(s)),tf);on.exit(unlink(tf));unname(tools::sha256sum(tf))}\nwb<-readnative('actual48-country-revised-original-2023-2024.csv');iso<-sort(unique(wb$countryISO3))\nlookup<-function(i,code,yr){r<-wb[wb$countryISO3==i&wb$indicatorID==code&wb$date==yr,,drop=FALSE];stopifnot(nrow(r)==1);num(r$originalValueToken)}\ng<-vapply(iso,lookup,numeric(1),code='NY.GDP.PCAP.KD',yr='2023');pi<-vapply(iso,lookup,numeric(1),code='FP.CPI.TOTL.ZG',yr='2023');gy<-vapply(iso,lookup,numeric(1),code='NY.GDP.MKTP.KD.ZG',yr='2024')\ncountry<-list(id=paste0(iso,':2024'),originalID=iso,sourceRow=iso,foldGroup=paste0('country:',iso),a=as.integer(g>median(g)),x=cbind(g/10000,pi/10),y=gy)\npd<-readnative('actual38408-NSW-all15-fields.csv');pre<-pd[pd$year=='1975',,drop=FALSE];post<-pd[match(pre$id,pd$id[pd$year=='1978'])+0,,drop=FALSE]\npostNative<-pd[pd$year=='1978',,drop=FALSE];post<-postNative[match(pre$id,postNative$id),,drop=FALSE]\nstopifnot(nrow(pre)==19204,nrow(post)==19204,all(pre$id==post$id),all(pre$treated==post$treated));take<-num(pre$experimental)==1;stopifnot(all(take==(pre$treated!='.')));pre<-pre[take,,drop=FALSE];post<-post[take,,drop=FALSE]\nperson<-list(id=paste0('nsw-id:',pre$id),originalID=pre$id,sourceRow=post$sourceRow,foldGroup=paste0('nsw-id:',pre$id),a=num(pre$treated),x=cbind(num(pre$age)/10,num(pre$educ)/10,num(pre$re74)/10000),y=num(post$re)/10000)\ncd<-readnative('actual410-NJPA-all46-fields.csv');before<-num(cd$EMPFT)+num(cd$EMPPT)/2+num(cd$NMGRS);after<-num(cd$EMPFT2)+num(cd$EMPPT2)/2+num(cd$NMGRS2)\ncompany<-list(id=paste0('njpa-row:',cd$sourceRow),originalID=cd$SHEET,sourceRow=cd$sourceRow,foldGroup=paste0('sheet:',cd$SHEET),a=num(cd$STATE),x=cbind(before/10,as.integer(num(cd$CHAIN)==2),num(cd$CO_OWNED)),y=after-before)\nmodels<-list(country=country,person=person,company=company)\nfor(kind in names(models)){\n m<-models[[kind]];groups<-unique(m$foldGroup);hash<-vapply(groups,function(g)sha(paste0('ML21|',kind,'|',g)),character(1));ord<-order(hash,groups);folds<-integer(length(groups));folds[ord]<-(seq_along(ord)-1L)%%4L;m$fold<-folds[match(m$foldGroup,groups)];m$eligible<-!is.na(m$y)&rowSums(is.na(m$x))==0;m$role<-ifelse(m$eligible,'analysis','excluded');models[[kind]]<-m\n}\nstopifnot(length(person$id)==722,sum(person$a)==297,sum(models$company$eligible)==384,length(country$id)==16)\nsourcefit<-function(kind,m,rep){\n N<-length(m$id);X<-if(rep=='full')m$x else if(rep=='constant')matrix(numeric(0),nrow=N,ncol=0) else if(kind=='country')matrix(m$a,ncol=1) else if(kind=='person')cbind(as.integer(m$x[,2]>1.2),as.integer(m$x[,3]>0)) else matrix(m$x[,2],ncol=1)\n group<-if(kind=='country')ifelse(m$a==1,'higher-GDP-category','lower-GDP-category')else if(kind=='person')ifelse(m$x[,2]>1.2,'schooling-over12','schooling-at-most12')else ifelse(!is.na(m$x[,2])&m$x[,2]!=0,'chain2','other-chains')\n p<-ncol(X);eRaw<-mu0<-mu1<-rep(NA_real_,N);fits<-list();coords<-list()\n for(fold in 0:3){\n  tr<-which(m$eligible&m$fold!=fold);means<-if(p)colMeans(X[tr,,drop=FALSE])else numeric(0);scales<-if(p)apply(X[tr,,drop=FALSE],2,function(x)diff(range(x)))else numeric(0);scales[scales==0]<-1;Z<-if(p)cbind(1,sweep(sweep(X,2,means,'-'),2,scales,'/'))else matrix(1,nrow=N,ncol=1);hold<-which(m$fold==fold);ok<-rowSums(is.na(Z[hold,,drop=FALSE]))==0\n  for(name in c('e','mu0','mu1')){\n   ix<-if(name=='e')tr else tr[m$a[tr]==if(name=='mu0')0 else 1];target<-if(name=='e')m$a[ix]else m$y[ix];A<-crossprod(Z[ix,,drop=FALSE])/length(ix)+diag(c(0,rep(.01,p)),nrow=p+1);b<-as.vector(crossprod(Z[ix,,drop=FALSE],target))/length(ix);theta<-as.vector(solve(A,b));minimum<-mean((as.vector(Z[ix,,drop=FALSE]%*%theta)-target)^2)/2+.01*sum(theta[-1]^2)/2;v<-as.vector(Z[hold,,drop=FALSE]%*%theta)\n   if(name=='e')eRaw[hold]<-v else if(name=='mu0')mu0[hold]<-v else mu1[hold]<-v\n   fits[[length(fits)+1L]]<-list(fold=fold,name=name,rows=length(ix),rank=p+1,theta=theta,minimumObjective=minimum,trainingIDs=m$id[ix])\n  }\n  coords[[length(coords)+1L]]<-list(fold=fold,mean=means,scale=scales)\n }\n e<-pmax(.05,pmin(.95,eRaw));nuisance<-!is.na(e)&!is.na(mu0)&!is.na(mu1);eligible<-m$eligible&nuisance;plugin<-treated<-control<-ipw<-effective<-score<-rep(NA_real_,N);ix<-which(eligible);plugin[ix]<-mu1[ix]-mu0[ix];treated[ix]<-ifelse(m$a[ix]==1,(m$y[ix]-mu1[ix])/e[ix],0);control[ix]<-ifelse(m$a[ix]==0,(m$y[ix]-mu0[ix])/(1-e[ix]),0);score[ix]<-plugin[ix]+treated[ix]-control[ix];ipw[ix]<-ifelse(m$a[ix]==1,m$y[ix]/e[ix],-m$y[ix]/(1-e[ix]));effective[ix]<-1/ifelse(m$a[ix]==1,e[ix],1-e[ix]);clipped<-!is.na(eRaw)&eRaw!=e\n list(X=X,group=group,meanX=coords,fits=fits,eRaw=eRaw,e=e,mu0=mu0,mu1=mu1,nuisance=nuisance,eligible=eligible,plugin=plugin,treated=treated,control=control,score=score,ipw=ipw,effective=effective,clipped=clipped)\n}\nextreme<-function(values,sign){N<-length(values);p<-rep(1/N,N);q<-p;upper<-pmin(1,2*p);ord<-order(round(sign*values,12),seq_along(values));donor<-ord;receiver<-rev(ord);a<-b<-1L;budget<-.1\n while(budget>1e-14&&a<=N&&b<=N){i<-donor[a];j<-receiver[b];if(sign*values[j]<=sign*values[i]+1e-14)break;move<-min(q[i],upper[j]-q[j],budget);if(move>0){q[i]<-q[i]-move;q[j]<-q[j]+move;budget<-budget-move};if(q[i]<=1e-14)a<-a+1L;if(upper[j]-q[j]<=1e-14)b<-b+1L;if(move<=0&&a<=N&&b<=N&&q[i]>1e-14&&upper[j]-q[j]>1e-14)stop('no transport progress')};list(q=q,objective=sum(q*values),TV=sum(abs(q-p))/2)\n}\n\n m<-models[[selectedKind]];z<-sourcefit(selectedKind,m,'full');ix<-which(z$eligible);v<-z$score[ix];lo<-extreme(v,-1);hi<-extreme(v,1);treated<-ix[m$a[ix]==1];control<-ix[m$a[ix]==0];norm<-sum(m$y[treated]*z$effective[treated])/sum(z$effective[treated])-sum(m$y[control]*z$effective[control])/sum(z$effective[control]);nv<-function(v)if(is.na(v))NULL else unname(v)\n rows<-lapply(seq_along(m$id),function(i)list(id=m$id[i],sourceRow=if(selectedKind=='country')m$sourceRow[i]else as.integer(m$sourceRow[i]),originalID=m$originalID[i],foldGroup=m$foldGroup[i],fold=m$fold[i],a=m$a[i],y=nv(m$y[i]),x=lapply(as.list(m$x[i,]),nv),eligible=z$eligible[i],eRaw=nv(z$eRaw[i]),e=nv(z$e[i]),mu0=nv(z$mu0[i]),mu1=nv(z$mu1[i]),plugin=nv(z$plugin[i]),score=nv(z$score[i]),IPWContribution=nv(z$ipw[i])))\n fits<-lapply(z$fits,function(fit){co<-z$meanX[[fit$fold+1L]];list(fold=fit$fold,fit=fit$name,trainingIDs=as.list(fit$trainingIDs),rows=fit$rows,rank=fit$rank,unique=TRUE,theta=as.list(fit$theta),minimumObjective=fit$minimumObjective,meanX=as.list(co$mean),scales=as.list(co$scale))});unit<-switch(selectedKind,country='GDP growth contrast, percentage points',person='native real1978earnings/10000',company='post-minus-pre FTE employees')\n list(kind=selectedKind,unit=unit,rows=rows,fits=fits,AIPW=mean(v),plugin=mean(z$plugin[ix]),IPW=mean(z$ipw[ix]),normalizedIPWContrast=norm,stressMinimum=lo$objective,stressMaximum=hi$objective,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\n\n# Owned numerical fixed-example adapters; not arbitrary exact input validators.\nnum<-function(v){if(is.null(v))return(NULL);if(is.numeric(v))return(as.numeric(v));s<-strsplit(as.character(v),'/',fixed=TRUE)[[1]];if(length(s)==2)as.numeric(s[1])/as.numeric(s[2])else as.numeric(v)}\nopt<-function(a,key,default)if(is.null(a[[key]]))default else a[[key]]\nmaybe<-function(v)if(is.null(v))list(defined=FALSE)else list(defined=TRUE,value=v)\nweighted<-function(v,w){if(!length(w)||sum(w)==0)return(NULL);sum(v*w)/sum(w)}\nfixedEffects<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){r<-a$rows[[i]];w<-num(opt(r,'weight',1));if(w<0)stop('negative-analysis-weight');y0<-num(r$y0);y1<-num(r$y1);A<-num(r$a);list(id=opt(r,'id',as.character(i-1L)),a=A,y0=y0,y1=y1,w=w,effect=if(is.null(y0)||is.null(y1))NULL else y1-y0,observed=if(is.null(A))NULL else if(A==1)y1 else y0)})\n complete<-Filter(function(r)r$w>0&&!is.null(r$effect),rr);treated<-Filter(function(r)!is.null(r$a)&&r$a==1,complete);avg<-function(rows,key)weighted(vapply(rows,function(r)r[[key]],numeric(1)),vapply(rows,function(r)r$w,numeric(1)));arm<-lapply(0:1,function(A)avg(Filter(function(r)!is.null(r$a)&&r$a==A&&!is.null(r$observed)&&r$w>0,rr),'observed'));list(rows=rr,completeRows=length(complete),ATE=avg(complete,'effect'),ATT=avg(treated,'effect'),observedContrast=if(any(vapply(arm,is.null,logical(1))))NULL else arm[[2]]-arm[[1]])\n}\nfixedAipw<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){v<-a$rows[[i]];w<-num(opt(v,'weight',1));if(w<0)stop('negative-analysis-weight');r<-list(id=opt(v,'id',as.character(i-1L)),a=num(v$a),y=num(v$y),e=num(v$e),mu0=num(v$mu0),mu1=num(v$mu1),w=w,role=opt(v,'role','analysis'),group=opt(v,'group','all'));reason<-if(w==0)'zero-weight'else if(r$role%in%c('excluded','unused'))'inactive-role'else if(any(vapply(r[c('a','y','e','mu0','mu1')],is.null,logical(1))))'missing-required-field'else if(r$e%in%c(0,1))'nonoverlap-boundary-propensity'else NULL;r$eligible<-is.null(reason);r$reason<-reason\n  if(is.null(reason)){r$plugin<-r$mu1-r$mu0;r$treatedResidual<-if(r$a==1)(r$y-r$mu1)/r$e else 0;r$controlResidual<-if(r$a==0)(r$y-r$mu0)/(1-r$e)else 0;r$score<-maybe(r$plugin+r$treatedResidual-r$controlResidual);r$IPWContribution<-if(r$a==1)r$y/r$e else-r$y/(1-r$e);r$effectiveArmWeight<-w/if(r$a==1)r$e else 1-r$e}else r$score<-maybe(NULL);r})\n summary<-function(rows){mass<-sum(vapply(rows,function(r)r$w,numeric(1)));avg<-function(key){if(!mass)return(NULL);sum(vapply(rows,function(r)r$w*if(key=='score')r$score$value else r[[key]],numeric(1)))/mass};arms<-lapply(0:1,function(A){arm<-Filter(function(r)r$a==A,rows);w<-vapply(arm,function(r)r$effectiveArmWeight,numeric(1));list(a=A,rows=length(arm),weightedArmDenominator=sum(w),normalizedMean=maybe(weighted(vapply(arm,function(r)r$y,numeric(1)),w)))});list(rows=length(rows),mass=mass,AIPW=maybe(avg('score')),plugin=maybe(avg('plugin')),IPW=maybe(avg('IPWContribution')),normalizedArmMeans=arms,normalizedIPWContrast=maybe(if(all(vapply(arms,function(r)r$normalizedMean$defined,logical(1))))arms[[2]]$normalizedMean$value-arms[[1]]$normalizedMean$value else NULL))}\n use<-Filter(function(r)r$eligible,rr);roles<-unique(vapply(rr,function(r)r$role,character(1)));groups<-unique(vapply(rr,function(r)r$group,character(1)));list(rows=rr,overall=summary(use),byRole=lapply(roles,function(role)c(list(role=role),summary(Filter(function(r)r$role==role,use)))),byGroup=lapply(groups,function(g)c(list(group=g),summary(Filter(function(r)r$group==g,use)))),overlapExcluded=as.list(vapply(Filter(function(r)identical(r$reason,'nonoverlap-boundary-propensity'),rr),function(r)r$id,character(1))))\n}\nfixedRepresentation<-function(a){\n atoms<-lapply(a$atoms,function(r)list(id=r$id,p=num(r$probability),y0=num(r$y0),y1=num(r$y1),e=num(r$e),phi=r$phi));if(abs(sum(vapply(atoms,function(r)r$p,numeric(1)))-1)>1e-12)stop('law-probabilities-must-sum-one');ATE<-sum(vapply(atoms,function(r)r$p*(r$y1-r$y0),numeric(1)));phis<-unique(vapply(Filter(function(r)r$p>0,atoms),function(r)r$phi,character(1)));groups<-lapply(phis,function(phi){use<-Filter(function(r)r$phi==phi&&r$p>0,atoms);mass<-sum(vapply(use,function(r)r$p,numeric(1)));t<-sum(vapply(use,function(r)r$p*r$e,numeric(1)));m1<-if(t>0)sum(vapply(use,function(r)r$p*r$e*r$y1,numeric(1)))/t else NULL;m0<-if(mass-t>0)sum(vapply(use,function(r)r$p*(1-r$e)*r$y0,numeric(1)))/(mass-t)else NULL;list(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=if(is.null(m0)||is.null(m1))NULL else m1-m0)});adjusted<-if(any(vapply(groups,function(r)is.null(r$contrast),logical(1))))NULL else sum(vapply(groups,function(r)r$mass*r$contrast,numeric(1)));list(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=if(is.null(adjusted))NULL else adjusted-ATE)\n}\nfixedRobust<-function(a){\n values<-vapply(a$values,num,numeric(1));p<-if(is.null(a$probabilities))rep(1/length(values),length(values))else vapply(a$probabilities,num,numeric(1));radius<-num(opt(a,'radius','1/10'));cap<-num(opt(a,'cap',2));if(cap<1||radius<0||radius>1)stop('invalid-robust-constraint')\n go<-function(sign){q<-p;upper<-pmin(1,cap*p);order<-order(sign*values,seq_along(values));lo<-order;hi<-rev(order);i<-j<-1L;budget<-radius;N<-length(values)\n while(budget>1e-14&&i<=N&&j<=N){d<-lo[i];h<-hi[j];if(sign*values[h]<=sign*values[d])break;move<-min(q[d],upper[h]-q[h],budget);if(move>0){q[d]<-q[d]-move;q[h]<-q[h]+move;budget<-budget-move};if(q[d]<=1e-14)i<-i+1L;if(upper[h]-q[h]<=1e-14)j<-j+1L};list(q=q,value=sum(q*values),TV=sum(abs(q-p))/2)};lo<-go(-1);hi<-go(1);list(values=as.list(values),p=as.list(p),radius=radius,cap=cap,baseline=sum(values*p),minimum=lo$value,maximum=hi$value,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\nfixedValidate<-function(a){\n rr<-a$rows;cc<-a$candidates;groups<-unlist(a$requiredGroups);eligible<-vapply(seq_along(rr),function(i){r<-rr[[i]];!is.null(r$y)&&num(opt(r,'weight',1))>0&&!r$role%in%c('excluded','unused')&&all(vapply(cc,function(c)!is.null(c$predictions[[i]]),logical(1)))},logical(1));out<-lapply(cc,function(c){risk<-function(ix){if(!length(ix))return(NULL);weighted(vapply(ix,function(i)(num(c$predictions[[i]])-num(rr[[i]]$y))^2,numeric(1)),vapply(ix,function(i)num(opt(rr[[i]],'weight',1)),numeric(1)))};vr<-which(eligible&vapply(rr,function(r)r$role=='validation',logical(1)));tr<-which(eligible&vapply(rr,function(r)r$role=='test',logical(1)));gv<-lapply(groups,function(g)risk(vr[vapply(rr[vr],function(r)r$group==g,logical(1))]));worst<-if(any(vapply(gv,is.null,logical(1))))NULL else max(unlist(gv));list(id=c$id,validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=if(opt(a,'criterion','worst-group')=='mean')risk(vr)else worst)});available<-which(!vapply(out,function(r)is.null(r$criterion),logical(1)));selected<-if(length(available))available[which.min(vapply(out[available],function(r)r$criterion,numeric(1)))]else NULL;list(commonEligibility=as.list(eligible),groups=as.list(groups),candidates=out,selectedIndex=if(is.null(selected))NULL else selected-1L,selectedID=if(is.null(selected))NULL else out[[selected]]$id,selectedScore=if(is.null(selected))NULL else out[[selected]]$criterion)\n}\nfixedOperation<-function(api,a)switch(api,effects=fixedEffects(a),aipw=fixedAipw(a),representation=fixedRepresentation(a),robust=fixedRobust(a),validate=fixedValidate(a),realdata=fixedSource(a$kind))\nreportValues<-function(api,z){summary<-list();points<-list();add<-function(k,v,u){if(length(v)==1&&is.na(v))v<-NULL;summary[[length(summary)+1L]]<<-list(metric=k,value=v,unit=u)};series<-function(name,values){for(i in seq_along(values)){v<-values[[i]];points[[length(points)+1L]]<<-list(series=name,index=i-1L,x=i,y=v)}}\n if(api=='effects'){for(k in c('completeRows','ATE','ATT','observedContrast'))add(k,z[[k]],if(k=='completeRows')'rows'else'constructed outcome units');series('known constructed effects',lapply(z$rows,function(r)r$effect))}\n else if(api=='aipw'){for(k in c('AIPW','plugin','IPW','normalizedIPWContrast'))add(k,z$overall[[k]]$value,'constructed outcome units');add('eligibleRows',z$overall$rows,'rows');series('AIPW row scores',lapply(z$rows,function(r)r$score$value))}\n else if(api=='representation'){for(k in c('ATE','adjustedContrast','bias'))add(k,z[[k]],'constructed outcome units');series('representation contrasts',lapply(z$groups,function(r)r$contrast))}\n else if(api=='robust'){for(k in c('baseline','minimum','maximum'))add(k,z[[k]],'declared value units');for(k in c('minTV','maxTV'))add(k,z[[k]],'probability mass');series('minimum weights',z$minWeights);series('maximum weights',z$maxWeights)}\n else if(api=='validate'){add('selectedIndex',z$selectedIndex,'zero-based candidate index');add('selectedScore',z$selectedScore,'squared outcome units');series('validation criterion',lapply(z$candidates,function(c)c$criterion))}\n else{for(k in c('AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum'))add(k,z[[k]],z$unit);add('sourceRows',length(z$rows),'analytical records');add('eligibleRows',sum(vapply(z$rows,function(r)r$eligible,logical(1))),'records');series('actual out-of-fold scores',lapply(z$rows,function(r)r$score))};list(summary=summary,points=points)\n}\n\nescapeXML<-function(s){s<-gsub('&','&amp;',s,fixed=TRUE);s<-gsub('<','&lt;',s,fixed=TRUE);s<-gsub('>','&gt;',s,fixed=TRUE);gsub('\"','&quot;',s,fixed=TRUE)}\nsvgPlot<-function(pp,title){\n xx<-vapply(pp,function(p)as.numeric(p$x),numeric(1));yy<-vapply(pp,function(p)as.numeric(p$y),numeric(1));xmin<-if(length(xx))min(xx)else 0;xmax<-if(length(xx))max(xx)else 1;ymin<-min(c(0,yy));ymax<-max(c(0,yy));if(xmin==xmax){xmin<-xmin-.5;xmax<-xmax+.5};if(ymin==ymax){ymin<-ymin-.5;ymax<-ymax+.5};pad<-(ymax-ymin)*.08;ymin<-ymin-pad;ymax<-ymax+pad;X<-function(x)82+(as.numeric(x)-xmin)/(xmax-xmin)*608;Y<-function(y)354-(as.numeric(y)-ymin)/(ymax-ymin)*290\n out<-paste0('<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"',escapeXML(title),'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">',escapeXML(title),'</text>')\n for(j in 0:4){y<-ymin+(ymax-ymin)*j/4;x<-xmin+(xmax-xmin)*j/4;out<-paste0(out,'<line x1=\"82\" y1=\"',Y(y),'\" x2=\"690\" y2=\"',Y(y),'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"',Y(y)+4,'\" text-anchor=\"end\">',sprintf('%.3g',y),'</text><text x=\"',X(x),'\" y=\"380\" text-anchor=\"middle\">',sprintf('%.3g',x),'</text>')}\n ss<-unique(vapply(pp,`[[`,character(1),'series'));cols<-c('#0f766e','#c76622','#4f46e5','#b23857')\n for(j in seq_along(ss)){rr<-Filter(function(p)p$series==ss[j],pp);xy<-vapply(rr,function(p)sprintf('%.6f,%.6f',X(p$x),Y(p$y)),character(1));col<-cols[(j-1)%%4+1];out<-paste0(out,'<polyline fill=\"none\" stroke=\"',col,'\" stroke-width=\"1.5\" points=\"',paste(xy,collapse=' '),'\"/>');for(p in rr)out<-paste0(out,'<circle cx=\"',sprintf('%.6f',X(p$x)),'\" cy=\"',sprintf('%.6f',Y(p$y)),'\" r=\"2.6\" fill=\"',col,'\"><title>',escapeXML(ss[j]),': ',escapeXML(p$y),'</title></circle>');out<-paste0(out,'<text x=\"',82+((j-1)%%2)*310,'\" y=\"',432+floor((j-1)/2)*23,'\" fill=\"',col,'\">',escapeXML(ss[j]),'</text>')}\n paste0(out,'<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>')\n}\n\ntoJSON<-function(x){\n if(is.null(x))return('null');if(is.list(x)){v<-vapply(x,toJSON,character(1));if(!is.null(names(x)))paste0('{',paste(paste0(vapply(names(x),toJSON,character(1)),':',v),collapse=','),'}')else paste0('[',paste(v,collapse=','),']')}\n else if(length(x)!=1){if(!is.null(names(x)))toJSON(as.list(x))else paste0('[',paste(vapply(as.list(x),toJSON,character(1)),collapse=','),']')}\n else if(is.na(x))'null'else if(is.logical(x))if(x)'true'else'false'else if(is.numeric(x))if(is.finite(x))sprintf('%.17g',x)else'null'else paste0('\"',gsub('\\n','\\\\n',gsub('\"','\\\\\"',gsub('\\\\','\\\\\\\\',x,fixed=TRUE),fixed=TRUE),fixed=TRUE),'\"')\n}\n\nFIXED<-list(\"api\"=\"effects\",\"variant\"=\"reject-negative-weight\",\"title\"=\"Reject a negative analysis weight\",\"input\"=list(\"rows\"=list(list(\"id\"=\"bad\",\"y0\"=\"0\",\"y1\"=\"1\",\"a\"=\"0\",\"weight\"=\"-1\"))),\"expectedFailure\"=TRUE)\n\nargs<-commandArgs(trailingOnly=TRUE);out<-if(length(args))args[1]else stop('NEW output directory required');if(dir.exists(out))stop('Preserve previous output directory');dir.create(out,recursive=TRUE)\nz<-fixedOperation(FIXED$api,FIXED$input);rr<-reportValues(FIXED$api,z)\nwriteLines(toJSON(list(arithmetic='BaseR binary64 numerical counterpart; factualsource groupSHA256,lambda.01 and empiricalTVtolerances1e-14/12places; notcausalCI',result=z)),file.path(out,'full.json'),useBytes=TRUE)\nsums<-do.call(rbind,lapply(rr$summary,function(row)data.frame(metric=row$metric,value=if(is.null(row$value))''else if(is.logical(row$value))as.character(as.integer(row$value))else format(row$value,digits=17,scientific=NA,trim=TRUE),unit=row$unit,defined=as.integer(!is.null(row$value)),stringsAsFactors=FALSE)))\npoints<-do.call(rbind,lapply(rr$points,function(p)data.frame(series=p$series,index=p$index,x=p$x,y=if(is.null(p$y))NA_real_ else p$y,defined=as.integer(!is.null(p$y)),stringsAsFactors=FALSE)))\nwrite.csv(sums,file.path(out,'summary.csv'),row.names=FALSE,na='');write.csv(points,file.path(out,'plot-points.csv'),row.names=FALSE,na='');writeLines(svgPlot(Filter(function(p)!is.null(p$y),rr$points),FIXED$title),file.path(out,'plot.svg'),useBytes=TRUE);cat(FIXED$api,'/',FIXED$variant,'\\n',sep='')\n",
        "returnCode": 1,
        "stdout": "",
        "stderr": "During startup - Warning messages:\n1: Setting LC_COLLATE=C.UTF-8 failed \n2: Setting LC_CTYPE=C.UTF-8 failed \n3: Setting LC_MONETARY=C.UTF-8 failed \n4: Setting LC_TIME=C.UTF-8 failed \nError in FUN(X[[i]], ...) : negative-analysis-weight\nCalls: fixedOperation -> fixedEffects -> lapply -> FUN",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/r-effects-reject-negative-weight-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/effects-reject-negative-weight-input.json",
            "sha256": "0f2a3f5ce0dae96a3065be4ce8459d72b85d531bdeafdbeb2dfdac5c5950c2a2",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/r-effects-reject-negative-weight-result/stdout.txt",
            "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "bytes": 0
          },
          {
            "file": "ml21-code/r-effects-reject-negative-weight-result/stderr.txt",
            "sha256": "871df62e5aa82bebb6b9de83071f544c2c0d52c5f6f3cc431605d99beceb4c16",
            "bytes": 290
          }
        ],
        "summaryRows": [],
        "plotRows": [],
        "plotFile": null,
        "fullResultFile": null,
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      }
    }
  },
  "aipw": {
    "python": {
      "residual-corrections": {
        "api": "aipw",
        "variant": "residual-corrections",
        "language": "python",
        "title": "AIPW residuals and normalized arm comparison",
        "input": {
          "rows": [
            {
              "id": "a",
              "a": "0",
              "y": "2",
              "e": "1/4",
              "mu0": "1",
              "mu1": "3"
            },
            {
              "id": "b",
              "a": "1",
              "y": "5",
              "e": "3/4",
              "mu0": "2",
              "mu1": "4"
            }
          ]
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/aipw-residual-corrections.py",
        "codeSHA256": "59a69414168c7651df4b3e9a2aa710ff7c07c220e45a8e001a4071d47cba9a2f",
        "code": "\"\"\"ML21 complete standalone fixed example, not a general API validator.\nRun: python this-file.py NEW-OUTDIR\nFixed literal input is also supplied as matching human-readable JSON.\nRealdata reads3factual CSVs under data/, using owned public scalar code byvalue.\nNo production engine/model/checker/computed answers are imported.\n\"\"\"\nfrom pathlib import Path\nfrom fractions import Fraction as F\nfrom collections import defaultdict,Counter\nimport csv,json,hashlib,sys,html,math\nif hasattr(sys,'set_int_max_str_digits'):sys.set_int_max_str_digits(200000)\ndef f(v):return v if isinstance(v,F)else F(str(v))\ndef ck(v,label=''):\n if not v:raise AssertionError(label)\ndef maybe(v):return dict(defined=False)if v is None else dict(defined=True,value=v)\ndef mean(v,w):return sum((a*b for a,b in zip(v,w)),F(0))/sum(w,F(0))if sum(w,F(0))else None\ndef extremum(values,p,radius,cap,sign):\n q=list(p);budget=radius;upper=[min(F(1),cap*x)for x in p]\n order=sorted(range(len(values)),key=lambda i:(sign*values[i],i))\n donors=list(order);receivers=list(reversed(order));left=right=0\n while budget>0 and left<len(q)and right<len(q):\n  i,j=donors[left],receivers[right]\n  if sign*values[j]<=sign*values[i]:break\n  move=min(q[i],upper[j]-q[j],budget)\n  if move>0:q[i]-=move;q[j]+=move;budget-=move\n  if q[i]==0:left+=1\n  if q[j]==upper[j]:right+=1\n  if move==0 and q[i]>0 and q[j]<upper[j]:raise AssertionError('transport made no progress')\n return q,sum(a*b for a,b in zip(q,values)),sum(abs(a-b)for a,b in zip(q,p))/2\n\ndef fixed_source(kind):\n selectedKind=kind\n S=Path(__file__).resolve().parent/\"data\"\n def read(n):\n  with(S/n).open(encoding=\"utf8\",newline=\"\")as stream:return list(csv.DictReader(stream))\n def source_rows():\n  rows=read('actual48-country-revised-original-2023-2024.csv');lk={(r['countryISO3'],r['indicatorID'],r['date']):r for r in rows};isos=sorted({r['countryISO3']for r in rows});g=sorted(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])for i in isos);median=(g[7]+g[8])/2\n  models={'country':[dict(id=i+':2024',originalID=i,sourceRow=i,foldGroup='country:'+i,a=int(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])>median),x=[f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])/10000,f(lk[i,'FP.CPI.TOTL.ZG','2023']['originalValueToken'])/10],y=f(lk[i,'NY.GDP.MKTP.KD.ZG','2024']['originalValueToken']))for i in isos]}\n  native=read('actual38408-NSW-all15-fields.csv');pairs=defaultdict(dict)\n  for r in native:pairs[str(int(f(r['id'])))][int(f(r['year']))]=r\n  people=[]\n  for ID,pair in pairs.items():\n   pre,post=pair[1975],pair[1978];ck(pre['treated']==post['treated'],'native stable treatment');sel=int(f(pre['experimental']))==1;ck(sel==(pre['treated']!='.'),'no recode missingtreatment')\n   if sel:people.append(dict(id='nsw-id:'+ID,originalID=ID,sourceRow=int(post['sourceRow']),foldGroup='nsw-id:'+ID,a=int(f(pre['treated'])),x=[F.from_float(float(pre['age']))/10,F.from_float(float(pre['educ']))/10,F.from_float(float(pre['re74']))/10000],y=F.from_float(float(post['re']))/10000))\n  models['person']=people;company=[]\n  for r in read('actual410-NJPA-all46-fields.csv'):\n   ys=[]\n   for suffix in['','2']:\n    v=[None if r[k+suffix]=='.'else f(r[k+suffix])for k in['EMPFT','EMPPT','NMGRS']];ys.append(None if None in v else v[0]+v[1]/2+v[2])\n   company.append(dict(id='njpa-row:'+r['sourceRow'],originalID=r['SHEET'],sourceRow=int(r['sourceRow']),foldGroup='sheet:'+r['SHEET'],a=int(r['STATE']),x=[None if ys[0]is None else ys[0]/10,None if r['CHAIN']=='.'else F(int(f(r['CHAIN'])==2)),None if r['CO_OWNED']=='.'else f(r['CO_OWNED'])],y=None if None in ys else ys[1]-ys[0]))\n  models['company']=company\n  for kind,rr in models.items():\n   groups=sorted({r['foldGroup']for r in rr},key=lambda g:(hashlib.sha256(('ML21|'+kind+'|'+g).encode()).digest(),g));folds={g:i%4 for i,g in enumerate(groups)}\n   for r in rr:r['fold']=folds[r['foldGroup']];r['eligible']=r['y']is not None and None not in r['x'];r['role']='analysis'if r['eligible']else'excluded';r['w']=F(1)\n  return models\n MODELS=source_rows()\n def solve(A,b):\n  n=len(b);M=[list(a)+[v]for a,v in zip(A,b)];pivot=[];i=0\n  for j in range(n):\n   k=next((k for k in range(i,n)if M[k][j]!=0),None)\n   if k is None:continue\n   M[i],M[k]=M[k],M[i];v=M[i][j];M[i]=[z/v for z in M[i]]\n   for k in range(n):\n    if k!=i:\n     v=M[k][j];M[k]=[a-v*b for a,b in zip(M[k],M[i])]\n   pivot.append(j);i+=1\n   if i==n:break\n  beta=[F(0)]*n\n  for i,j in enumerate(pivot):beta[j]=M[i][-1]\n  null=[]\n  for j in range(n):\n   if j in pivot:continue\n   v=[F(0)]*n;v[j]=F(1)\n   for i,k in enumerate(pivot):v[k]=-M[i][j]\n   null.append(v)\n  return beta,null,len(pivot)\n def source_expected(a):\n  base=MODELS[a.get('kind','person')];rep=a.get('representation','full');rr=[]\n  for r in base:\n   full=r['x'];x=full if rep=='full'else[]if rep=='constant'else[F(r['a'])]if a.get('kind','person')=='country'else[F(full[1]>F(6,5)),F(full[2]>0)]if a.get('kind','person')=='person'else[full[1]]\n   group=('higher-GDP-category'if r['a']else'lower-GDP-category')if a.get('kind','person')=='country'else('schooling-over12'if full[1]>F(6,5)else'schooling-at-most12')if a.get('kind','person')=='person'else('chain2'if full[1]else'other-chains');rr.append(dict(r,x=x,fullX=full,group=group))\n  eligible=[r for r in rr if r['eligible']];limit=a.get('trainingLimit',len(eligible));keep={r['id']for r in eligible[:limit]};lam=f(a.get('lambda','1/100'));eps=f(a.get('clip','1/20'));nuisance=[];out={};dimension=len(rr[0]['x'])+1\n  for fold in range(4):\n   tr=[r for r in rr if r['eligible']and r['id']in keep and r['fold']!=fold];fits={};means=[sum(r['x'][j]for r in tr)/len(tr)for j in range(dimension-1)]if tr else[];scales=[max(r['x'][j]for r in tr)-min(r['x'][j]for r in tr)or F(1)for j in range(dimension-1)]if tr else[]\n   def z(r):return None if not tr or None in r['x']else[F(1)]+[(v-m)/s for v,m,s in zip(r['x'],means,scales)]\n   for name in['e','mu0','mu1']:\n    use=[r for r in tr if name=='e'or r['a']==int(name[-1])]\n    if not use:fits[name]=dict(defined=False);continue\n    Z=[z(r)for r in use];Y=[F(r['a'])if name=='e'else r['y']for r in use];N=len(use);A=[[sum(v[j]*v[k]for v in Z)/N+(lam if j==k and j else 0)for k in range(dimension)]for j in range(dimension)];b=[sum(y*v[j]for v,y in zip(Z,Y))/N for j in range(dimension)];beta,null,rank=solve(A,b);minimum=sum((sum(b*z for b,z in zip(beta,v))-y)**2 for v,y in zip(Z,Y))/(2*N)+lam*sum(v*v for v in beta[1:])/2;fits[name]=dict(defined=True,trainingIDs=[r['id']for r in use],rows=N,rank=rank,unique=rank==dimension,theta=beta,nullspace=null,minimumObjective=minimum,meanX=means,scales=scales)\n   nuisance.append(dict(fold=fold,complementRows=len(tr),fits=fits))\n   for r in rr:\n    if r['fold']!=fold:continue\n    zz=z(r);pred={name:None if zz is None or not fit['defined']else sum(v*b for v,b in zip(zz,fit['theta']))for name,fit in fits.items()};eRaw=pred['e'];e=None if eRaw is None else max(eps,min(1-eps,eRaw));inv={name:zz is not None and fit['defined']and all(sum(a*b for a,b in zip(v,zz))==0 for v in fit['nullspace'])for name,fit in fits.items()};out[r['id']]=dict(r,mu0=pred['mu0'],mu1=pred['mu1'],e=e,eRaw=eRaw,propensityClipped=e is not None and e!=eRaw,nuisancePredictionDefined=all(v is not None for v in pred.values()),queryInvariantAcrossMinimizers=inv)\n  return rr,nuisance,[out[r['id']]for r in rr]\n def aipw_expected(rows,role='all'):\n  out=[]\n  for r in rows:\n   reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n   if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n   plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n  def summary(use):\n   ww=[r['w']for r in use];arms=[]\n   for A in[0,1]:\n    arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n   return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n  use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n raw,nuisance,oo=source_expected(dict(kind=selectedKind,representation='full'));scores=aipw_expected(oo);use=[r for r in scores['rows']if r['eligible']];values=[r['score']['value']for r in use];p=[F(1,len(use))for _ in use];lo,low,ltv=extremum(values,p,F(1,10),F(2),-1);hi,high,htv=extremum(values,p,F(1,10),F(2),1);fits=[]\n for n in nuisance:\n  for name,z in n['fits'].items():fits.append(dict(fold=n['fold'],fit=name,trainingIDs=z['trainingIDs'],rows=z['rows'],rank=z['rank'],unique=z['unique'],theta=z['theta'],minimumObjective=z['minimumObjective'],meanX=z['meanX'],scales=z['scales']))\n rr=[]\n for r in scores['rows']:rr.append(dict(id=r['id'],sourceRow=r['sourceRow'],originalID=r['originalID'],foldGroup=r['foldGroup'],fold=r['fold'],a=r['a'],y=r['y'],x=r['fullX'],eligible=r['eligible'],eRaw=r['eRaw'],e=r['e'],mu0=r['mu0'],mu1=r['mu1'],plugin=r.get('plugin'),score=r['score'].get('value'),IPWContribution=r.get('IPWContribution')))\n unit={'country':'GDP growth contrast, percentage points','person':'native real1978earnings/10000','company':'post-minus-pre FTE employees'}[selectedKind]\n return dict(kind=selectedKind,unit=unit,rows=rr,fits=fits,AIPW=scores['overall']['AIPW'].get('value'),plugin=scores['overall']['plugin'].get('value'),IPW=scores['overall']['IPW'].get('value'),normalizedIPWContrast=scores['overall']['normalizedIPWContrast'].get('value'),stressMinimum=low,stressMaximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\n\ndef aipw_expected(rows,role='all'):\n out=[]\n for r in rows:\n  reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n  if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n  plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n def summary(use):\n  ww=[r['w']for r in use];arms=[]\n  for A in[0,1]:\n   arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n  return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n\n# Owned standalone fixed-example adapters; no production engine import.\nQ=F\nnumber=f\ndef fixed_robust(a):\n values=list(map(f,a['values']));p=list(map(f,a.get('probabilities',[F(1,len(values))for _ in values])));radius=f(a.get('radius','1/10'));cap=f(a.get('cap',2))\n if cap<1 or not 0<=radius<=1:raise ValueError('invalid-robust-constraint')\n lo,low,ltv=extremum(values,p,radius,cap,-1);hi,high,htv=extremum(values,p,radius,cap,1)\n return dict(values=values,p=p,radius=radius,cap=cap,baseline=sum(v*w for v,w in zip(values,p)),minimum=low,maximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\ndef fixed_aipw(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  rr.append(dict(id=r.get('id',str(i)),a=None if r.get('a')is None else int(f(r['a'])),**{k:None if r.get(k)is None else f(r[k])for k in ['y','e','mu0','mu1']},w=w,role=r.get('role','analysis'),group=r.get('group','all')))\n return aipw_expected(rr)\ndef fixed_effects(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  y0=None if r.get('y0')is None else f(r['y0']);y1=None if r.get('y1')is None else f(r['y1']);A=r.get('a');A=None if A is None else int(f(A));rr.append(dict(id=r.get('id',str(i)),a=A,y0=y0,y1=y1,w=w,effect=None if y0 is None or y1 is None else y1-y0,observed=y1 if A==1 else y0 if A==0 else None))\n complete=[r for r in rr if r['w']>0 and r['effect']is not None];treated=[r for r in complete if r['a']==1];arms=[mean([r['observed']for r in rr if r['a']==A and r['observed']is not None and r['w']>0],[r['w']for r in rr if r['a']==A and r['observed']is not None and r['w']>0])for A in [0,1]]\n return dict(rows=rr,completeRows=len(complete),ATE=mean([r['effect']for r in complete],[r['w']for r in complete]),ATT=mean([r['effect']for r in treated],[r['w']for r in treated]),observedContrast=None if None in arms else arms[1]-arms[0])\ndef fixed_representation(a):\n atoms=[dict(id=r['id'],p=f(r['probability']),y0=f(r['y0']),y1=f(r['y1']),e=f(r['e']),phi=r['phi'])for r in a['atoms']];groups=[];ATE=sum(r['p']*(r['y1']-r['y0'])for r in atoms)\n if sum(r['p']for r in atoms)!=1:raise ValueError('law-probabilities-must-sum-one')\n for phi in dict.fromkeys(r['phi']for r in atoms if r['p']):\n  use=[r for r in atoms if r['phi']==phi and r['p']];mass=sum(r['p']for r in use);t=sum(r['p']*r['e']for r in use);m1=sum(r['p']*r['e']*r['y1']for r in use)/t if t else None;m0=sum(r['p']*(1-r['e'])*r['y0']for r in use)/(mass-t)if mass!=t else None;groups.append(dict(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=None if m0 is None or m1 is None else m1-m0))\n adjusted=None if any(r['contrast']is None for r in groups)else sum(r['mass']*r['contrast']for r in groups)\n return dict(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=None if adjusted is None else adjusted-ATE)\ndef fixed_validate(a):\n rr=a['rows'];cc=a['candidates'];groups=a['requiredGroups'];eligible=[r.get('y')is not None and f(r.get('weight',1))>0 and r['role']not in ['excluded','unused']and all(c['predictions'][i]is not None for c in cc)for i,r in enumerate(rr)];out=[]\n for c in cc:\n  def risk(ids):return mean([(f(c['predictions'][i])-f(rr[i]['y']))**2 for i in ids],[f(rr[i].get('weight',1))for i in ids])\n  vr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='validation'];tr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='test'];gv=[risk([i for i in vr if rr[i]['group']==g])for g in groups];worst=None if None in gv else max(gv);criterion=risk(vr)if a.get('criterion','worst-group')=='mean'else worst;out.append(dict(id=c['id'],validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=criterion))\n available=[i for i,z in enumerate(out)if z['criterion']is not None];selected=min(available,key=lambda i:(out[i]['criterion'],i))if available else None\n return dict(commonEligibility=eligible,groups=groups,candidates=out,selectedIndex=selected,selectedID=None if selected is None else out[selected]['id'],selectedScore=None if selected is None else out[selected]['criterion'])\ndef fixed_operation(api,a):return fixed_effects(a)if api=='effects'else fixed_aipw(a)if api=='aipw'else fixed_representation(a)if api=='representation'else fixed_robust(a)if api=='robust'else fixed_validate(a)if api=='validate'else fixed_source(a['kind'])\ndef report_values(api,z):\n summary=[];series=[]\n def add(k,v,u):summary.append((k,v,u))\n if api=='effects':\n  for k in ['completeRows','ATE','ATT','observedContrast']:add(k,z[k],'rows'if k=='completeRows'else'constructed outcome units')\n  series=[('known constructed effects',[(i+1,r['effect'])for i,r in enumerate(z['rows'])])]\n elif api=='aipw':\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast']:add(k,z['overall'][k].get('value'),'constructed outcome units')\n  add('eligibleRows',z['overall']['rows'],'rows');series=[('AIPW row scores',[(i+1,r['score'].get('value'))for i,r in enumerate(z['rows'])])]\n elif api=='representation':\n  for k in ['ATE','adjustedContrast','bias']:add(k,z[k],'constructed outcome units')\n  series=[('representation contrasts',[(i+1,r['contrast'])for i,r in enumerate(z['groups'])])]\n elif api=='robust':\n  for k in ['baseline','minimum','maximum']:add(k,z[k],'declared value units')\n  for k in ['minTV','maxTV']:add(k,z[k],'probability mass')\n  series=[('minimum weights',[(i+1,v)for i,v in enumerate(z['minWeights'])]),('maximum weights',[(i+1,v)for i,v in enumerate(z['maxWeights'])])]\n elif api=='validate':\n  add('selectedIndex',z['selectedIndex'],'zero-based candidate index');add('selectedScore',z['selectedScore'],'squared outcome units');series=[('validation criterion',[(i+1,c['criterion'])for i,c in enumerate(z['candidates'])])]\n else:\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum']:add(k,z[k],z['unit'])\n  add('sourceRows',len(z['rows']),'analytical records');add('eligibleRows',sum(r['eligible']for r in z['rows']),'records');series=[('actual out-of-fold scores',[(i+1,r['score'])for i,r in enumerate(z['rows'])])]\n return summary,series\n\nFIXED={'api': 'aipw', 'variant': 'residual-corrections', 'title': 'AIPW residuals and normalized arm comparison', 'input': {'rows': [{'id': 'a', 'a': '0', 'y': '2', 'e': '1/4', 'mu0': '1', 'mu1': '3'}, {'id': 'b', 'a': '1', 'y': '5', 'e': '3/4', 'mu0': '2', 'mu1': '4'}]}, 'expectedFailure': False}\n\ndef fixed_svg(points,title):\n good=[p for p in points if p['y'] is not None];xx=[float(p['x'])for p in good];yy=[float(p['y'])for p in good];xmin=min(xx)if xx else 0;xmax=max(xx)if xx else 1;ymin=min([0]+yy);ymax=max([0]+yy)\n if xmin==xmax:xmin-=.5;xmax+=.5\n if ymin==ymax:ymin-=.5;ymax+=.5\n pad=(ymax-ymin)*.08;ymin-=pad;ymax+=pad;X=lambda x:82+(float(x)-xmin)/(xmax-xmin)*608;Y=lambda y:354-(float(y)-ymin)/(ymax-ymin)*290;e=html.escape\n out=['<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"'+e(title)+'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">'+e(title)+'</text>']\n for j in range(5):\n  y=ymin+(ymax-ymin)*j/4;x=xmin+(xmax-xmin)*j/4;out.append('<line x1=\"82\" y1=\"'+str(Y(y))+'\" x2=\"690\" y2=\"'+str(Y(y))+'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"'+str(Y(y)+4)+'\" text-anchor=\"end\">'+format(y,'.3g')+'</text><text x=\"'+str(X(x))+'\" y=\"380\" text-anchor=\"middle\">'+format(x,'.3g')+'</text>')\n series=list(dict.fromkeys(p['series']for p in good))\n for j,s in enumerate(series):\n  pp=[p for p in good if p['series']==s];color=['#0f766e','#c76622','#4f46e5','#b23857'][j%4];out.append('<polyline fill=\"none\" stroke=\"'+color+'\" stroke-width=\"1.5\" points=\"'+' '.join(format(X(p['x']),'.6f')+','+format(Y(p['y']),'.6f')for p in pp)+'\"/>')\n  for p in pp:out.append('<circle cx=\"'+format(X(p['x']),'.6f')+'\" cy=\"'+format(Y(p['y']),'.6f')+'\" r=\"2.6\" fill=\"'+color+'\"><title>'+e(s+': '+str(p['y']))+'</title></circle>')\n  out.append('<text x=\"'+str(82+(j%2)*310)+'\" y=\"'+str(432+(j//2)*23)+'\" fill=\"'+color+'\">'+e(s)+'</text>')\n out.append('<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>');return''.join(out)\n\nOUT=Path(sys.argv[1]);OUT.mkdir(parents=True,exist_ok=False)\nresult=fixed_operation(FIXED['api'],FIXED['input']);summary,series=report_values(FIXED['api'],result)\ndef encode(v):\n if isinstance(v,Q):return str(v)\n if isinstance(v,dict):return{k:encode(x)for k,x in v.items()}\n if isinstance(v,(list,tuple)):return[encode(x)for x in v]\n return v\n(OUT/'full.json').write_text(json.dumps(dict(arithmetic='Exact Fraction fixed examples; factualsource and knownhypotheticallaws separate; empiricalTV notCI',result=encode(result)),ensure_ascii=False,indent=2)+'\\n',encoding='utf8')\nsummaryRows=[dict(metric=m,value=''if v is None else str(int(v))if isinstance(v,bool)else str(v),unit=u,defined=int(v is not None))for m,v,u in summary]\npoints=[dict(series=name,index=i,x=str(x),y=''if y is None else str(y),defined=int(y is not None))for name,pp in series for i,(x,y)in enumerate(pp)]\nfor name,rows in [('summary',summaryRows),('plot-points',points)]:\n with(OUT/(name+'.csv')).open('w',encoding='utf8',newline='')as f:writer=csv.DictWriter(f,fieldnames=list(rows[0]));writer.writeheader();writer.writerows(rows)\n(OUT/'plot.svg').write_text(fixed_svg([dict(p,x=number(p['x']),y=None if not p['defined']else number(p['y']))for p in points],FIXED['title']),encoding='utf8');print(FIXED['api']+'/'+FIXED['variant'])\n",
        "returnCode": 0,
        "stdout": "aipw/residual-corrections\r\n",
        "stderr": "",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/python-aipw-residual-corrections-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/aipw-residual-corrections-input.json",
            "sha256": "e6b9f806e3332d025effe9986720d6421b50844ff2e8a55fa2253e882598aa88",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/python-aipw-residual-corrections-result/full.json",
            "sha256": "821df367fcda8b418e34190884f32c9a29c0313d437bc2822b08e41cf6cbbb98",
            "bytes": 3975
          },
          {
            "file": "ml21-code/python-aipw-residual-corrections-result/plot-points.csv",
            "sha256": "1dcd378785256e710d620183901d9e930edf9c871ab642b1dff3935acb1286fa",
            "bytes": 81
          },
          {
            "file": "ml21-code/python-aipw-residual-corrections-result/plot.svg",
            "sha256": "78a7ff3b3db78d835a39e288c12ae97613afacec01ce0c4ca344dbf947f8bc9f",
            "bytes": 1696
          },
          {
            "file": "ml21-code/python-aipw-residual-corrections-result/summary.csv",
            "sha256": "03a52c07a305b5b61012ee09edda01ce96ed471e6d1539ff5315ac90b32d66eb",
            "bytes": 212
          },
          {
            "file": "ml21-code/python-aipw-residual-corrections-result/stdout.txt",
            "sha256": "ce27971ab34111c5cd65f3d2d4cae2c92ec5b829e5f0496343cbf8ddd5b5b5ca",
            "bytes": 27
          },
          {
            "file": "ml21-code/python-aipw-residual-corrections-result/stderr.txt",
            "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "bytes": 0
          }
        ],
        "summaryRows": [
          {
            "metric": "AIPW",
            "value": "2",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "2",
            "exactFraction": "2",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "plugin",
            "value": "2",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "2",
            "exactFraction": "2",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "IPW",
            "value": "2",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "2",
            "exactFraction": "2",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "normalizedIPWContrast",
            "value": "3",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "3",
            "exactFraction": "3",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "eligibleRows",
            "value": "2",
            "unit": "rows",
            "defined": "true",
            "rawValue": "2",
            "exactFraction": "2",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          }
        ],
        "plotRows": [
          {
            "series": "AIPW row scores",
            "index": 0,
            "x": "1",
            "y": "0.66666666666666663",
            "defined": true,
            "xExact": "1",
            "yExact": "2/3"
          },
          {
            "series": "AIPW row scores",
            "index": 1,
            "x": "2",
            "y": "3.3333333333333335",
            "defined": true,
            "xExact": "2",
            "yExact": "10/3"
          }
        ],
        "plotFile": "ml21-code/python-aipw-residual-corrections-result/plot.svg",
        "fullResultFile": "ml21-code/python-aipw-residual-corrections-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "boundary-excluded": {
        "api": "aipw",
        "variant": "boundary-excluded",
        "language": "python",
        "title": "Boundary propensity is undefined, not a zero score",
        "input": {
          "rows": [
            {
              "id": "boundary",
              "a": "0",
              "y": "2",
              "e": "0",
              "mu0": "1",
              "mu1": "3"
            },
            {
              "id": "interior",
              "a": "1",
              "y": "2",
              "e": "1/2",
              "mu0": "0",
              "mu1": "1"
            }
          ]
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/aipw-boundary-excluded.py",
        "codeSHA256": "76a9da190c17af8ebc4e3fde4b95771ea81c025fc303e43035cee46f1f9f88ef",
        "code": "\"\"\"ML21 complete standalone fixed example, not a general API validator.\nRun: python this-file.py NEW-OUTDIR\nFixed literal input is also supplied as matching human-readable JSON.\nRealdata reads3factual CSVs under data/, using owned public scalar code byvalue.\nNo production engine/model/checker/computed answers are imported.\n\"\"\"\nfrom pathlib import Path\nfrom fractions import Fraction as F\nfrom collections import defaultdict,Counter\nimport csv,json,hashlib,sys,html,math\nif hasattr(sys,'set_int_max_str_digits'):sys.set_int_max_str_digits(200000)\ndef f(v):return v if isinstance(v,F)else F(str(v))\ndef ck(v,label=''):\n if not v:raise AssertionError(label)\ndef maybe(v):return dict(defined=False)if v is None else dict(defined=True,value=v)\ndef mean(v,w):return sum((a*b for a,b in zip(v,w)),F(0))/sum(w,F(0))if sum(w,F(0))else None\ndef extremum(values,p,radius,cap,sign):\n q=list(p);budget=radius;upper=[min(F(1),cap*x)for x in p]\n order=sorted(range(len(values)),key=lambda i:(sign*values[i],i))\n donors=list(order);receivers=list(reversed(order));left=right=0\n while budget>0 and left<len(q)and right<len(q):\n  i,j=donors[left],receivers[right]\n  if sign*values[j]<=sign*values[i]:break\n  move=min(q[i],upper[j]-q[j],budget)\n  if move>0:q[i]-=move;q[j]+=move;budget-=move\n  if q[i]==0:left+=1\n  if q[j]==upper[j]:right+=1\n  if move==0 and q[i]>0 and q[j]<upper[j]:raise AssertionError('transport made no progress')\n return q,sum(a*b for a,b in zip(q,values)),sum(abs(a-b)for a,b in zip(q,p))/2\n\ndef fixed_source(kind):\n selectedKind=kind\n S=Path(__file__).resolve().parent/\"data\"\n def read(n):\n  with(S/n).open(encoding=\"utf8\",newline=\"\")as stream:return list(csv.DictReader(stream))\n def source_rows():\n  rows=read('actual48-country-revised-original-2023-2024.csv');lk={(r['countryISO3'],r['indicatorID'],r['date']):r for r in rows};isos=sorted({r['countryISO3']for r in rows});g=sorted(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])for i in isos);median=(g[7]+g[8])/2\n  models={'country':[dict(id=i+':2024',originalID=i,sourceRow=i,foldGroup='country:'+i,a=int(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])>median),x=[f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])/10000,f(lk[i,'FP.CPI.TOTL.ZG','2023']['originalValueToken'])/10],y=f(lk[i,'NY.GDP.MKTP.KD.ZG','2024']['originalValueToken']))for i in isos]}\n  native=read('actual38408-NSW-all15-fields.csv');pairs=defaultdict(dict)\n  for r in native:pairs[str(int(f(r['id'])))][int(f(r['year']))]=r\n  people=[]\n  for ID,pair in pairs.items():\n   pre,post=pair[1975],pair[1978];ck(pre['treated']==post['treated'],'native stable treatment');sel=int(f(pre['experimental']))==1;ck(sel==(pre['treated']!='.'),'no recode missingtreatment')\n   if sel:people.append(dict(id='nsw-id:'+ID,originalID=ID,sourceRow=int(post['sourceRow']),foldGroup='nsw-id:'+ID,a=int(f(pre['treated'])),x=[F.from_float(float(pre['age']))/10,F.from_float(float(pre['educ']))/10,F.from_float(float(pre['re74']))/10000],y=F.from_float(float(post['re']))/10000))\n  models['person']=people;company=[]\n  for r in read('actual410-NJPA-all46-fields.csv'):\n   ys=[]\n   for suffix in['','2']:\n    v=[None if r[k+suffix]=='.'else f(r[k+suffix])for k in['EMPFT','EMPPT','NMGRS']];ys.append(None if None in v else v[0]+v[1]/2+v[2])\n   company.append(dict(id='njpa-row:'+r['sourceRow'],originalID=r['SHEET'],sourceRow=int(r['sourceRow']),foldGroup='sheet:'+r['SHEET'],a=int(r['STATE']),x=[None if ys[0]is None else ys[0]/10,None if r['CHAIN']=='.'else F(int(f(r['CHAIN'])==2)),None if r['CO_OWNED']=='.'else f(r['CO_OWNED'])],y=None if None in ys else ys[1]-ys[0]))\n  models['company']=company\n  for kind,rr in models.items():\n   groups=sorted({r['foldGroup']for r in rr},key=lambda g:(hashlib.sha256(('ML21|'+kind+'|'+g).encode()).digest(),g));folds={g:i%4 for i,g in enumerate(groups)}\n   for r in rr:r['fold']=folds[r['foldGroup']];r['eligible']=r['y']is not None and None not in r['x'];r['role']='analysis'if r['eligible']else'excluded';r['w']=F(1)\n  return models\n MODELS=source_rows()\n def solve(A,b):\n  n=len(b);M=[list(a)+[v]for a,v in zip(A,b)];pivot=[];i=0\n  for j in range(n):\n   k=next((k for k in range(i,n)if M[k][j]!=0),None)\n   if k is None:continue\n   M[i],M[k]=M[k],M[i];v=M[i][j];M[i]=[z/v for z in M[i]]\n   for k in range(n):\n    if k!=i:\n     v=M[k][j];M[k]=[a-v*b for a,b in zip(M[k],M[i])]\n   pivot.append(j);i+=1\n   if i==n:break\n  beta=[F(0)]*n\n  for i,j in enumerate(pivot):beta[j]=M[i][-1]\n  null=[]\n  for j in range(n):\n   if j in pivot:continue\n   v=[F(0)]*n;v[j]=F(1)\n   for i,k in enumerate(pivot):v[k]=-M[i][j]\n   null.append(v)\n  return beta,null,len(pivot)\n def source_expected(a):\n  base=MODELS[a.get('kind','person')];rep=a.get('representation','full');rr=[]\n  for r in base:\n   full=r['x'];x=full if rep=='full'else[]if rep=='constant'else[F(r['a'])]if a.get('kind','person')=='country'else[F(full[1]>F(6,5)),F(full[2]>0)]if a.get('kind','person')=='person'else[full[1]]\n   group=('higher-GDP-category'if r['a']else'lower-GDP-category')if a.get('kind','person')=='country'else('schooling-over12'if full[1]>F(6,5)else'schooling-at-most12')if a.get('kind','person')=='person'else('chain2'if full[1]else'other-chains');rr.append(dict(r,x=x,fullX=full,group=group))\n  eligible=[r for r in rr if r['eligible']];limit=a.get('trainingLimit',len(eligible));keep={r['id']for r in eligible[:limit]};lam=f(a.get('lambda','1/100'));eps=f(a.get('clip','1/20'));nuisance=[];out={};dimension=len(rr[0]['x'])+1\n  for fold in range(4):\n   tr=[r for r in rr if r['eligible']and r['id']in keep and r['fold']!=fold];fits={};means=[sum(r['x'][j]for r in tr)/len(tr)for j in range(dimension-1)]if tr else[];scales=[max(r['x'][j]for r in tr)-min(r['x'][j]for r in tr)or F(1)for j in range(dimension-1)]if tr else[]\n   def z(r):return None if not tr or None in r['x']else[F(1)]+[(v-m)/s for v,m,s in zip(r['x'],means,scales)]\n   for name in['e','mu0','mu1']:\n    use=[r for r in tr if name=='e'or r['a']==int(name[-1])]\n    if not use:fits[name]=dict(defined=False);continue\n    Z=[z(r)for r in use];Y=[F(r['a'])if name=='e'else r['y']for r in use];N=len(use);A=[[sum(v[j]*v[k]for v in Z)/N+(lam if j==k and j else 0)for k in range(dimension)]for j in range(dimension)];b=[sum(y*v[j]for v,y in zip(Z,Y))/N for j in range(dimension)];beta,null,rank=solve(A,b);minimum=sum((sum(b*z for b,z in zip(beta,v))-y)**2 for v,y in zip(Z,Y))/(2*N)+lam*sum(v*v for v in beta[1:])/2;fits[name]=dict(defined=True,trainingIDs=[r['id']for r in use],rows=N,rank=rank,unique=rank==dimension,theta=beta,nullspace=null,minimumObjective=minimum,meanX=means,scales=scales)\n   nuisance.append(dict(fold=fold,complementRows=len(tr),fits=fits))\n   for r in rr:\n    if r['fold']!=fold:continue\n    zz=z(r);pred={name:None if zz is None or not fit['defined']else sum(v*b for v,b in zip(zz,fit['theta']))for name,fit in fits.items()};eRaw=pred['e'];e=None if eRaw is None else max(eps,min(1-eps,eRaw));inv={name:zz is not None and fit['defined']and all(sum(a*b for a,b in zip(v,zz))==0 for v in fit['nullspace'])for name,fit in fits.items()};out[r['id']]=dict(r,mu0=pred['mu0'],mu1=pred['mu1'],e=e,eRaw=eRaw,propensityClipped=e is not None and e!=eRaw,nuisancePredictionDefined=all(v is not None for v in pred.values()),queryInvariantAcrossMinimizers=inv)\n  return rr,nuisance,[out[r['id']]for r in rr]\n def aipw_expected(rows,role='all'):\n  out=[]\n  for r in rows:\n   reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n   if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n   plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n  def summary(use):\n   ww=[r['w']for r in use];arms=[]\n   for A in[0,1]:\n    arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n   return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n  use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n raw,nuisance,oo=source_expected(dict(kind=selectedKind,representation='full'));scores=aipw_expected(oo);use=[r for r in scores['rows']if r['eligible']];values=[r['score']['value']for r in use];p=[F(1,len(use))for _ in use];lo,low,ltv=extremum(values,p,F(1,10),F(2),-1);hi,high,htv=extremum(values,p,F(1,10),F(2),1);fits=[]\n for n in nuisance:\n  for name,z in n['fits'].items():fits.append(dict(fold=n['fold'],fit=name,trainingIDs=z['trainingIDs'],rows=z['rows'],rank=z['rank'],unique=z['unique'],theta=z['theta'],minimumObjective=z['minimumObjective'],meanX=z['meanX'],scales=z['scales']))\n rr=[]\n for r in scores['rows']:rr.append(dict(id=r['id'],sourceRow=r['sourceRow'],originalID=r['originalID'],foldGroup=r['foldGroup'],fold=r['fold'],a=r['a'],y=r['y'],x=r['fullX'],eligible=r['eligible'],eRaw=r['eRaw'],e=r['e'],mu0=r['mu0'],mu1=r['mu1'],plugin=r.get('plugin'),score=r['score'].get('value'),IPWContribution=r.get('IPWContribution')))\n unit={'country':'GDP growth contrast, percentage points','person':'native real1978earnings/10000','company':'post-minus-pre FTE employees'}[selectedKind]\n return dict(kind=selectedKind,unit=unit,rows=rr,fits=fits,AIPW=scores['overall']['AIPW'].get('value'),plugin=scores['overall']['plugin'].get('value'),IPW=scores['overall']['IPW'].get('value'),normalizedIPWContrast=scores['overall']['normalizedIPWContrast'].get('value'),stressMinimum=low,stressMaximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\n\ndef aipw_expected(rows,role='all'):\n out=[]\n for r in rows:\n  reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n  if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n  plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n def summary(use):\n  ww=[r['w']for r in use];arms=[]\n  for A in[0,1]:\n   arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n  return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n\n# Owned standalone fixed-example adapters; no production engine import.\nQ=F\nnumber=f\ndef fixed_robust(a):\n values=list(map(f,a['values']));p=list(map(f,a.get('probabilities',[F(1,len(values))for _ in values])));radius=f(a.get('radius','1/10'));cap=f(a.get('cap',2))\n if cap<1 or not 0<=radius<=1:raise ValueError('invalid-robust-constraint')\n lo,low,ltv=extremum(values,p,radius,cap,-1);hi,high,htv=extremum(values,p,radius,cap,1)\n return dict(values=values,p=p,radius=radius,cap=cap,baseline=sum(v*w for v,w in zip(values,p)),minimum=low,maximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\ndef fixed_aipw(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  rr.append(dict(id=r.get('id',str(i)),a=None if r.get('a')is None else int(f(r['a'])),**{k:None if r.get(k)is None else f(r[k])for k in ['y','e','mu0','mu1']},w=w,role=r.get('role','analysis'),group=r.get('group','all')))\n return aipw_expected(rr)\ndef fixed_effects(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  y0=None if r.get('y0')is None else f(r['y0']);y1=None if r.get('y1')is None else f(r['y1']);A=r.get('a');A=None if A is None else int(f(A));rr.append(dict(id=r.get('id',str(i)),a=A,y0=y0,y1=y1,w=w,effect=None if y0 is None or y1 is None else y1-y0,observed=y1 if A==1 else y0 if A==0 else None))\n complete=[r for r in rr if r['w']>0 and r['effect']is not None];treated=[r for r in complete if r['a']==1];arms=[mean([r['observed']for r in rr if r['a']==A and r['observed']is not None and r['w']>0],[r['w']for r in rr if r['a']==A and r['observed']is not None and r['w']>0])for A in [0,1]]\n return dict(rows=rr,completeRows=len(complete),ATE=mean([r['effect']for r in complete],[r['w']for r in complete]),ATT=mean([r['effect']for r in treated],[r['w']for r in treated]),observedContrast=None if None in arms else arms[1]-arms[0])\ndef fixed_representation(a):\n atoms=[dict(id=r['id'],p=f(r['probability']),y0=f(r['y0']),y1=f(r['y1']),e=f(r['e']),phi=r['phi'])for r in a['atoms']];groups=[];ATE=sum(r['p']*(r['y1']-r['y0'])for r in atoms)\n if sum(r['p']for r in atoms)!=1:raise ValueError('law-probabilities-must-sum-one')\n for phi in dict.fromkeys(r['phi']for r in atoms if r['p']):\n  use=[r for r in atoms if r['phi']==phi and r['p']];mass=sum(r['p']for r in use);t=sum(r['p']*r['e']for r in use);m1=sum(r['p']*r['e']*r['y1']for r in use)/t if t else None;m0=sum(r['p']*(1-r['e'])*r['y0']for r in use)/(mass-t)if mass!=t else None;groups.append(dict(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=None if m0 is None or m1 is None else m1-m0))\n adjusted=None if any(r['contrast']is None for r in groups)else sum(r['mass']*r['contrast']for r in groups)\n return dict(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=None if adjusted is None else adjusted-ATE)\ndef fixed_validate(a):\n rr=a['rows'];cc=a['candidates'];groups=a['requiredGroups'];eligible=[r.get('y')is not None and f(r.get('weight',1))>0 and r['role']not in ['excluded','unused']and all(c['predictions'][i]is not None for c in cc)for i,r in enumerate(rr)];out=[]\n for c in cc:\n  def risk(ids):return mean([(f(c['predictions'][i])-f(rr[i]['y']))**2 for i in ids],[f(rr[i].get('weight',1))for i in ids])\n  vr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='validation'];tr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='test'];gv=[risk([i for i in vr if rr[i]['group']==g])for g in groups];worst=None if None in gv else max(gv);criterion=risk(vr)if a.get('criterion','worst-group')=='mean'else worst;out.append(dict(id=c['id'],validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=criterion))\n available=[i for i,z in enumerate(out)if z['criterion']is not None];selected=min(available,key=lambda i:(out[i]['criterion'],i))if available else None\n return dict(commonEligibility=eligible,groups=groups,candidates=out,selectedIndex=selected,selectedID=None if selected is None else out[selected]['id'],selectedScore=None if selected is None else out[selected]['criterion'])\ndef fixed_operation(api,a):return fixed_effects(a)if api=='effects'else fixed_aipw(a)if api=='aipw'else fixed_representation(a)if api=='representation'else fixed_robust(a)if api=='robust'else fixed_validate(a)if api=='validate'else fixed_source(a['kind'])\ndef report_values(api,z):\n summary=[];series=[]\n def add(k,v,u):summary.append((k,v,u))\n if api=='effects':\n  for k in ['completeRows','ATE','ATT','observedContrast']:add(k,z[k],'rows'if k=='completeRows'else'constructed outcome units')\n  series=[('known constructed effects',[(i+1,r['effect'])for i,r in enumerate(z['rows'])])]\n elif api=='aipw':\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast']:add(k,z['overall'][k].get('value'),'constructed outcome units')\n  add('eligibleRows',z['overall']['rows'],'rows');series=[('AIPW row scores',[(i+1,r['score'].get('value'))for i,r in enumerate(z['rows'])])]\n elif api=='representation':\n  for k in ['ATE','adjustedContrast','bias']:add(k,z[k],'constructed outcome units')\n  series=[('representation contrasts',[(i+1,r['contrast'])for i,r in enumerate(z['groups'])])]\n elif api=='robust':\n  for k in ['baseline','minimum','maximum']:add(k,z[k],'declared value units')\n  for k in ['minTV','maxTV']:add(k,z[k],'probability mass')\n  series=[('minimum weights',[(i+1,v)for i,v in enumerate(z['minWeights'])]),('maximum weights',[(i+1,v)for i,v in enumerate(z['maxWeights'])])]\n elif api=='validate':\n  add('selectedIndex',z['selectedIndex'],'zero-based candidate index');add('selectedScore',z['selectedScore'],'squared outcome units');series=[('validation criterion',[(i+1,c['criterion'])for i,c in enumerate(z['candidates'])])]\n else:\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum']:add(k,z[k],z['unit'])\n  add('sourceRows',len(z['rows']),'analytical records');add('eligibleRows',sum(r['eligible']for r in z['rows']),'records');series=[('actual out-of-fold scores',[(i+1,r['score'])for i,r in enumerate(z['rows'])])]\n return summary,series\n\nFIXED={'api': 'aipw', 'variant': 'boundary-excluded', 'title': 'Boundary propensity is undefined, not a zero score', 'input': {'rows': [{'id': 'boundary', 'a': '0', 'y': '2', 'e': '0', 'mu0': '1', 'mu1': '3'}, {'id': 'interior', 'a': '1', 'y': '2', 'e': '1/2', 'mu0': '0', 'mu1': '1'}]}, 'expectedFailure': False}\n\ndef fixed_svg(points,title):\n good=[p for p in points if p['y'] is not None];xx=[float(p['x'])for p in good];yy=[float(p['y'])for p in good];xmin=min(xx)if xx else 0;xmax=max(xx)if xx else 1;ymin=min([0]+yy);ymax=max([0]+yy)\n if xmin==xmax:xmin-=.5;xmax+=.5\n if ymin==ymax:ymin-=.5;ymax+=.5\n pad=(ymax-ymin)*.08;ymin-=pad;ymax+=pad;X=lambda x:82+(float(x)-xmin)/(xmax-xmin)*608;Y=lambda y:354-(float(y)-ymin)/(ymax-ymin)*290;e=html.escape\n out=['<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"'+e(title)+'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">'+e(title)+'</text>']\n for j in range(5):\n  y=ymin+(ymax-ymin)*j/4;x=xmin+(xmax-xmin)*j/4;out.append('<line x1=\"82\" y1=\"'+str(Y(y))+'\" x2=\"690\" y2=\"'+str(Y(y))+'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"'+str(Y(y)+4)+'\" text-anchor=\"end\">'+format(y,'.3g')+'</text><text x=\"'+str(X(x))+'\" y=\"380\" text-anchor=\"middle\">'+format(x,'.3g')+'</text>')\n series=list(dict.fromkeys(p['series']for p in good))\n for j,s in enumerate(series):\n  pp=[p for p in good if p['series']==s];color=['#0f766e','#c76622','#4f46e5','#b23857'][j%4];out.append('<polyline fill=\"none\" stroke=\"'+color+'\" stroke-width=\"1.5\" points=\"'+' '.join(format(X(p['x']),'.6f')+','+format(Y(p['y']),'.6f')for p in pp)+'\"/>')\n  for p in pp:out.append('<circle cx=\"'+format(X(p['x']),'.6f')+'\" cy=\"'+format(Y(p['y']),'.6f')+'\" r=\"2.6\" fill=\"'+color+'\"><title>'+e(s+': '+str(p['y']))+'</title></circle>')\n  out.append('<text x=\"'+str(82+(j%2)*310)+'\" y=\"'+str(432+(j//2)*23)+'\" fill=\"'+color+'\">'+e(s)+'</text>')\n out.append('<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>');return''.join(out)\n\nOUT=Path(sys.argv[1]);OUT.mkdir(parents=True,exist_ok=False)\nresult=fixed_operation(FIXED['api'],FIXED['input']);summary,series=report_values(FIXED['api'],result)\ndef encode(v):\n if isinstance(v,Q):return str(v)\n if isinstance(v,dict):return{k:encode(x)for k,x in v.items()}\n if isinstance(v,(list,tuple)):return[encode(x)for x in v]\n return v\n(OUT/'full.json').write_text(json.dumps(dict(arithmetic='Exact Fraction fixed examples; factualsource and knownhypotheticallaws separate; empiricalTV notCI',result=encode(result)),ensure_ascii=False,indent=2)+'\\n',encoding='utf8')\nsummaryRows=[dict(metric=m,value=''if v is None else str(int(v))if isinstance(v,bool)else str(v),unit=u,defined=int(v is not None))for m,v,u in summary]\npoints=[dict(series=name,index=i,x=str(x),y=''if y is None else str(y),defined=int(y is not None))for name,pp in series for i,(x,y)in enumerate(pp)]\nfor name,rows in [('summary',summaryRows),('plot-points',points)]:\n with(OUT/(name+'.csv')).open('w',encoding='utf8',newline='')as f:writer=csv.DictWriter(f,fieldnames=list(rows[0]));writer.writeheader();writer.writerows(rows)\n(OUT/'plot.svg').write_text(fixed_svg([dict(p,x=number(p['x']),y=None if not p['defined']else number(p['y']))for p in points],FIXED['title']),encoding='utf8');print(FIXED['api']+'/'+FIXED['variant'])\n",
        "returnCode": 0,
        "stdout": "aipw/boundary-excluded\r\n",
        "stderr": "",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/python-aipw-boundary-excluded-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/aipw-boundary-excluded-input.json",
            "sha256": "e47e0c2661ef709b5310c393ce6299ea4e156f7112c2a1adae8ed6524e2b12e7",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/python-aipw-boundary-excluded-result/full.json",
            "sha256": "600182cfc52355a8be040a0a5c1bdf95e12737bbcb73fe34efc90a08501a1037",
            "bytes": 3674
          },
          {
            "file": "ml21-code/python-aipw-boundary-excluded-result/plot-points.csv",
            "sha256": "da304587ce8f33ecd99049b86471e39a8f01ec3a93f3e9615c0bae16c83d4660",
            "bytes": 75
          },
          {
            "file": "ml21-code/python-aipw-boundary-excluded-result/plot.svg",
            "sha256": "2edc4ca96f232082622eeb1ce4efdacc053425a54ab57512c0247aecbbc56357",
            "bytes": 1580
          },
          {
            "file": "ml21-code/python-aipw-boundary-excluded-result/summary.csv",
            "sha256": "9aa94656a3a720efe3996455041c9bad15088bbbaa746738deebd7ab0ddd44a1",
            "bytes": 211
          },
          {
            "file": "ml21-code/python-aipw-boundary-excluded-result/stdout.txt",
            "sha256": "597b8bd68c3da83db1b8e4a4200cae76428b67f53a5d3071d3302395fe4d2c03",
            "bytes": 24
          },
          {
            "file": "ml21-code/python-aipw-boundary-excluded-result/stderr.txt",
            "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "bytes": 0
          }
        ],
        "summaryRows": [
          {
            "metric": "AIPW",
            "value": "3",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "3",
            "exactFraction": "3",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "plugin",
            "value": "1",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "1",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "IPW",
            "value": "4",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "4",
            "exactFraction": "4",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "normalizedIPWContrast",
            "value": "undefined",
            "unit": "constructed outcome units",
            "defined": "false",
            "rawValue": "",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "eligibleRows",
            "value": "1",
            "unit": "rows",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "1",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          }
        ],
        "plotRows": [
          {
            "series": "AIPW row scores",
            "index": 0,
            "x": "1",
            "y": "",
            "defined": false,
            "xExact": "1",
            "yExact": ""
          },
          {
            "series": "AIPW row scores",
            "index": 1,
            "x": "2",
            "y": "3",
            "defined": true,
            "xExact": "2",
            "yExact": "3"
          }
        ],
        "plotFile": "ml21-code/python-aipw-boundary-excluded-result/plot.svg",
        "fullResultFile": "ml21-code/python-aipw-boundary-excluded-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      }
    },
    "r": {
      "residual-corrections": {
        "api": "aipw",
        "variant": "residual-corrections",
        "language": "r",
        "title": "AIPW residuals and normalized arm comparison",
        "input": {
          "rows": [
            {
              "id": "a",
              "a": "0",
              "y": "2",
              "e": "1/4",
              "mu0": "1",
              "mu1": "3"
            },
            {
              "id": "b",
              "a": "1",
              "y": "5",
              "e": "3/4",
              "mu0": "2",
              "mu1": "4"
            }
          ]
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/aipw-residual-corrections.R",
        "codeSHA256": "aa896f71ca9402f9d0dc50807b9227cb212f397d5f7696a6c4a83e9176c9298a",
        "code": "# ML21 standalone numerical fixed example, not arbitrary exact API validation.\n# Fixed inputs are declared inline and matching JSON provided for reading.\n# Realdata code uses3factual CSVs, R4.5+ toolsSHA256 and numerical ridge.\noptions(digits=17)\nfixedSource<-function(kind){\n selectedKind<-kind\n src<-file.path(dirname(sub('^--file=','',grep('^--file=',commandArgs(),value=TRUE)[1])),'data')\nreadnative<-function(n)read.csv(file.path(src,n),colClasses='character',check.names=FALSE,na.strings=NULL,stringsAsFactors=FALSE)\nnum<-function(x){v<-suppressWarnings(as.numeric(x));v[x%in%c('','.')] <- NA_real_;v}\nsha<-function(s){tf<-tempfile('ml21-group-');writeBin(charToRaw(enc2utf8(s)),tf);on.exit(unlink(tf));unname(tools::sha256sum(tf))}\nwb<-readnative('actual48-country-revised-original-2023-2024.csv');iso<-sort(unique(wb$countryISO3))\nlookup<-function(i,code,yr){r<-wb[wb$countryISO3==i&wb$indicatorID==code&wb$date==yr,,drop=FALSE];stopifnot(nrow(r)==1);num(r$originalValueToken)}\ng<-vapply(iso,lookup,numeric(1),code='NY.GDP.PCAP.KD',yr='2023');pi<-vapply(iso,lookup,numeric(1),code='FP.CPI.TOTL.ZG',yr='2023');gy<-vapply(iso,lookup,numeric(1),code='NY.GDP.MKTP.KD.ZG',yr='2024')\ncountry<-list(id=paste0(iso,':2024'),originalID=iso,sourceRow=iso,foldGroup=paste0('country:',iso),a=as.integer(g>median(g)),x=cbind(g/10000,pi/10),y=gy)\npd<-readnative('actual38408-NSW-all15-fields.csv');pre<-pd[pd$year=='1975',,drop=FALSE];post<-pd[match(pre$id,pd$id[pd$year=='1978'])+0,,drop=FALSE]\npostNative<-pd[pd$year=='1978',,drop=FALSE];post<-postNative[match(pre$id,postNative$id),,drop=FALSE]\nstopifnot(nrow(pre)==19204,nrow(post)==19204,all(pre$id==post$id),all(pre$treated==post$treated));take<-num(pre$experimental)==1;stopifnot(all(take==(pre$treated!='.')));pre<-pre[take,,drop=FALSE];post<-post[take,,drop=FALSE]\nperson<-list(id=paste0('nsw-id:',pre$id),originalID=pre$id,sourceRow=post$sourceRow,foldGroup=paste0('nsw-id:',pre$id),a=num(pre$treated),x=cbind(num(pre$age)/10,num(pre$educ)/10,num(pre$re74)/10000),y=num(post$re)/10000)\ncd<-readnative('actual410-NJPA-all46-fields.csv');before<-num(cd$EMPFT)+num(cd$EMPPT)/2+num(cd$NMGRS);after<-num(cd$EMPFT2)+num(cd$EMPPT2)/2+num(cd$NMGRS2)\ncompany<-list(id=paste0('njpa-row:',cd$sourceRow),originalID=cd$SHEET,sourceRow=cd$sourceRow,foldGroup=paste0('sheet:',cd$SHEET),a=num(cd$STATE),x=cbind(before/10,as.integer(num(cd$CHAIN)==2),num(cd$CO_OWNED)),y=after-before)\nmodels<-list(country=country,person=person,company=company)\nfor(kind in names(models)){\n m<-models[[kind]];groups<-unique(m$foldGroup);hash<-vapply(groups,function(g)sha(paste0('ML21|',kind,'|',g)),character(1));ord<-order(hash,groups);folds<-integer(length(groups));folds[ord]<-(seq_along(ord)-1L)%%4L;m$fold<-folds[match(m$foldGroup,groups)];m$eligible<-!is.na(m$y)&rowSums(is.na(m$x))==0;m$role<-ifelse(m$eligible,'analysis','excluded');models[[kind]]<-m\n}\nstopifnot(length(person$id)==722,sum(person$a)==297,sum(models$company$eligible)==384,length(country$id)==16)\nsourcefit<-function(kind,m,rep){\n N<-length(m$id);X<-if(rep=='full')m$x else if(rep=='constant')matrix(numeric(0),nrow=N,ncol=0) else if(kind=='country')matrix(m$a,ncol=1) else if(kind=='person')cbind(as.integer(m$x[,2]>1.2),as.integer(m$x[,3]>0)) else matrix(m$x[,2],ncol=1)\n group<-if(kind=='country')ifelse(m$a==1,'higher-GDP-category','lower-GDP-category')else if(kind=='person')ifelse(m$x[,2]>1.2,'schooling-over12','schooling-at-most12')else ifelse(!is.na(m$x[,2])&m$x[,2]!=0,'chain2','other-chains')\n p<-ncol(X);eRaw<-mu0<-mu1<-rep(NA_real_,N);fits<-list();coords<-list()\n for(fold in 0:3){\n  tr<-which(m$eligible&m$fold!=fold);means<-if(p)colMeans(X[tr,,drop=FALSE])else numeric(0);scales<-if(p)apply(X[tr,,drop=FALSE],2,function(x)diff(range(x)))else numeric(0);scales[scales==0]<-1;Z<-if(p)cbind(1,sweep(sweep(X,2,means,'-'),2,scales,'/'))else matrix(1,nrow=N,ncol=1);hold<-which(m$fold==fold);ok<-rowSums(is.na(Z[hold,,drop=FALSE]))==0\n  for(name in c('e','mu0','mu1')){\n   ix<-if(name=='e')tr else tr[m$a[tr]==if(name=='mu0')0 else 1];target<-if(name=='e')m$a[ix]else m$y[ix];A<-crossprod(Z[ix,,drop=FALSE])/length(ix)+diag(c(0,rep(.01,p)),nrow=p+1);b<-as.vector(crossprod(Z[ix,,drop=FALSE],target))/length(ix);theta<-as.vector(solve(A,b));minimum<-mean((as.vector(Z[ix,,drop=FALSE]%*%theta)-target)^2)/2+.01*sum(theta[-1]^2)/2;v<-as.vector(Z[hold,,drop=FALSE]%*%theta)\n   if(name=='e')eRaw[hold]<-v else if(name=='mu0')mu0[hold]<-v else mu1[hold]<-v\n   fits[[length(fits)+1L]]<-list(fold=fold,name=name,rows=length(ix),rank=p+1,theta=theta,minimumObjective=minimum,trainingIDs=m$id[ix])\n  }\n  coords[[length(coords)+1L]]<-list(fold=fold,mean=means,scale=scales)\n }\n e<-pmax(.05,pmin(.95,eRaw));nuisance<-!is.na(e)&!is.na(mu0)&!is.na(mu1);eligible<-m$eligible&nuisance;plugin<-treated<-control<-ipw<-effective<-score<-rep(NA_real_,N);ix<-which(eligible);plugin[ix]<-mu1[ix]-mu0[ix];treated[ix]<-ifelse(m$a[ix]==1,(m$y[ix]-mu1[ix])/e[ix],0);control[ix]<-ifelse(m$a[ix]==0,(m$y[ix]-mu0[ix])/(1-e[ix]),0);score[ix]<-plugin[ix]+treated[ix]-control[ix];ipw[ix]<-ifelse(m$a[ix]==1,m$y[ix]/e[ix],-m$y[ix]/(1-e[ix]));effective[ix]<-1/ifelse(m$a[ix]==1,e[ix],1-e[ix]);clipped<-!is.na(eRaw)&eRaw!=e\n list(X=X,group=group,meanX=coords,fits=fits,eRaw=eRaw,e=e,mu0=mu0,mu1=mu1,nuisance=nuisance,eligible=eligible,plugin=plugin,treated=treated,control=control,score=score,ipw=ipw,effective=effective,clipped=clipped)\n}\nextreme<-function(values,sign){N<-length(values);p<-rep(1/N,N);q<-p;upper<-pmin(1,2*p);ord<-order(round(sign*values,12),seq_along(values));donor<-ord;receiver<-rev(ord);a<-b<-1L;budget<-.1\n while(budget>1e-14&&a<=N&&b<=N){i<-donor[a];j<-receiver[b];if(sign*values[j]<=sign*values[i]+1e-14)break;move<-min(q[i],upper[j]-q[j],budget);if(move>0){q[i]<-q[i]-move;q[j]<-q[j]+move;budget<-budget-move};if(q[i]<=1e-14)a<-a+1L;if(upper[j]-q[j]<=1e-14)b<-b+1L;if(move<=0&&a<=N&&b<=N&&q[i]>1e-14&&upper[j]-q[j]>1e-14)stop('no transport progress')};list(q=q,objective=sum(q*values),TV=sum(abs(q-p))/2)\n}\n\n m<-models[[selectedKind]];z<-sourcefit(selectedKind,m,'full');ix<-which(z$eligible);v<-z$score[ix];lo<-extreme(v,-1);hi<-extreme(v,1);treated<-ix[m$a[ix]==1];control<-ix[m$a[ix]==0];norm<-sum(m$y[treated]*z$effective[treated])/sum(z$effective[treated])-sum(m$y[control]*z$effective[control])/sum(z$effective[control]);nv<-function(v)if(is.na(v))NULL else unname(v)\n rows<-lapply(seq_along(m$id),function(i)list(id=m$id[i],sourceRow=if(selectedKind=='country')m$sourceRow[i]else as.integer(m$sourceRow[i]),originalID=m$originalID[i],foldGroup=m$foldGroup[i],fold=m$fold[i],a=m$a[i],y=nv(m$y[i]),x=lapply(as.list(m$x[i,]),nv),eligible=z$eligible[i],eRaw=nv(z$eRaw[i]),e=nv(z$e[i]),mu0=nv(z$mu0[i]),mu1=nv(z$mu1[i]),plugin=nv(z$plugin[i]),score=nv(z$score[i]),IPWContribution=nv(z$ipw[i])))\n fits<-lapply(z$fits,function(fit){co<-z$meanX[[fit$fold+1L]];list(fold=fit$fold,fit=fit$name,trainingIDs=as.list(fit$trainingIDs),rows=fit$rows,rank=fit$rank,unique=TRUE,theta=as.list(fit$theta),minimumObjective=fit$minimumObjective,meanX=as.list(co$mean),scales=as.list(co$scale))});unit<-switch(selectedKind,country='GDP growth contrast, percentage points',person='native real1978earnings/10000',company='post-minus-pre FTE employees')\n list(kind=selectedKind,unit=unit,rows=rows,fits=fits,AIPW=mean(v),plugin=mean(z$plugin[ix]),IPW=mean(z$ipw[ix]),normalizedIPWContrast=norm,stressMinimum=lo$objective,stressMaximum=hi$objective,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\n\n# Owned numerical fixed-example adapters; not arbitrary exact input validators.\nnum<-function(v){if(is.null(v))return(NULL);if(is.numeric(v))return(as.numeric(v));s<-strsplit(as.character(v),'/',fixed=TRUE)[[1]];if(length(s)==2)as.numeric(s[1])/as.numeric(s[2])else as.numeric(v)}\nopt<-function(a,key,default)if(is.null(a[[key]]))default else a[[key]]\nmaybe<-function(v)if(is.null(v))list(defined=FALSE)else list(defined=TRUE,value=v)\nweighted<-function(v,w){if(!length(w)||sum(w)==0)return(NULL);sum(v*w)/sum(w)}\nfixedEffects<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){r<-a$rows[[i]];w<-num(opt(r,'weight',1));if(w<0)stop('negative-analysis-weight');y0<-num(r$y0);y1<-num(r$y1);A<-num(r$a);list(id=opt(r,'id',as.character(i-1L)),a=A,y0=y0,y1=y1,w=w,effect=if(is.null(y0)||is.null(y1))NULL else y1-y0,observed=if(is.null(A))NULL else if(A==1)y1 else y0)})\n complete<-Filter(function(r)r$w>0&&!is.null(r$effect),rr);treated<-Filter(function(r)!is.null(r$a)&&r$a==1,complete);avg<-function(rows,key)weighted(vapply(rows,function(r)r[[key]],numeric(1)),vapply(rows,function(r)r$w,numeric(1)));arm<-lapply(0:1,function(A)avg(Filter(function(r)!is.null(r$a)&&r$a==A&&!is.null(r$observed)&&r$w>0,rr),'observed'));list(rows=rr,completeRows=length(complete),ATE=avg(complete,'effect'),ATT=avg(treated,'effect'),observedContrast=if(any(vapply(arm,is.null,logical(1))))NULL else arm[[2]]-arm[[1]])\n}\nfixedAipw<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){v<-a$rows[[i]];w<-num(opt(v,'weight',1));if(w<0)stop('negative-analysis-weight');r<-list(id=opt(v,'id',as.character(i-1L)),a=num(v$a),y=num(v$y),e=num(v$e),mu0=num(v$mu0),mu1=num(v$mu1),w=w,role=opt(v,'role','analysis'),group=opt(v,'group','all'));reason<-if(w==0)'zero-weight'else if(r$role%in%c('excluded','unused'))'inactive-role'else if(any(vapply(r[c('a','y','e','mu0','mu1')],is.null,logical(1))))'missing-required-field'else if(r$e%in%c(0,1))'nonoverlap-boundary-propensity'else NULL;r$eligible<-is.null(reason);r$reason<-reason\n  if(is.null(reason)){r$plugin<-r$mu1-r$mu0;r$treatedResidual<-if(r$a==1)(r$y-r$mu1)/r$e else 0;r$controlResidual<-if(r$a==0)(r$y-r$mu0)/(1-r$e)else 0;r$score<-maybe(r$plugin+r$treatedResidual-r$controlResidual);r$IPWContribution<-if(r$a==1)r$y/r$e else-r$y/(1-r$e);r$effectiveArmWeight<-w/if(r$a==1)r$e else 1-r$e}else r$score<-maybe(NULL);r})\n summary<-function(rows){mass<-sum(vapply(rows,function(r)r$w,numeric(1)));avg<-function(key){if(!mass)return(NULL);sum(vapply(rows,function(r)r$w*if(key=='score')r$score$value else r[[key]],numeric(1)))/mass};arms<-lapply(0:1,function(A){arm<-Filter(function(r)r$a==A,rows);w<-vapply(arm,function(r)r$effectiveArmWeight,numeric(1));list(a=A,rows=length(arm),weightedArmDenominator=sum(w),normalizedMean=maybe(weighted(vapply(arm,function(r)r$y,numeric(1)),w)))});list(rows=length(rows),mass=mass,AIPW=maybe(avg('score')),plugin=maybe(avg('plugin')),IPW=maybe(avg('IPWContribution')),normalizedArmMeans=arms,normalizedIPWContrast=maybe(if(all(vapply(arms,function(r)r$normalizedMean$defined,logical(1))))arms[[2]]$normalizedMean$value-arms[[1]]$normalizedMean$value else NULL))}\n use<-Filter(function(r)r$eligible,rr);roles<-unique(vapply(rr,function(r)r$role,character(1)));groups<-unique(vapply(rr,function(r)r$group,character(1)));list(rows=rr,overall=summary(use),byRole=lapply(roles,function(role)c(list(role=role),summary(Filter(function(r)r$role==role,use)))),byGroup=lapply(groups,function(g)c(list(group=g),summary(Filter(function(r)r$group==g,use)))),overlapExcluded=as.list(vapply(Filter(function(r)identical(r$reason,'nonoverlap-boundary-propensity'),rr),function(r)r$id,character(1))))\n}\nfixedRepresentation<-function(a){\n atoms<-lapply(a$atoms,function(r)list(id=r$id,p=num(r$probability),y0=num(r$y0),y1=num(r$y1),e=num(r$e),phi=r$phi));if(abs(sum(vapply(atoms,function(r)r$p,numeric(1)))-1)>1e-12)stop('law-probabilities-must-sum-one');ATE<-sum(vapply(atoms,function(r)r$p*(r$y1-r$y0),numeric(1)));phis<-unique(vapply(Filter(function(r)r$p>0,atoms),function(r)r$phi,character(1)));groups<-lapply(phis,function(phi){use<-Filter(function(r)r$phi==phi&&r$p>0,atoms);mass<-sum(vapply(use,function(r)r$p,numeric(1)));t<-sum(vapply(use,function(r)r$p*r$e,numeric(1)));m1<-if(t>0)sum(vapply(use,function(r)r$p*r$e*r$y1,numeric(1)))/t else NULL;m0<-if(mass-t>0)sum(vapply(use,function(r)r$p*(1-r$e)*r$y0,numeric(1)))/(mass-t)else NULL;list(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=if(is.null(m0)||is.null(m1))NULL else m1-m0)});adjusted<-if(any(vapply(groups,function(r)is.null(r$contrast),logical(1))))NULL else sum(vapply(groups,function(r)r$mass*r$contrast,numeric(1)));list(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=if(is.null(adjusted))NULL else adjusted-ATE)\n}\nfixedRobust<-function(a){\n values<-vapply(a$values,num,numeric(1));p<-if(is.null(a$probabilities))rep(1/length(values),length(values))else vapply(a$probabilities,num,numeric(1));radius<-num(opt(a,'radius','1/10'));cap<-num(opt(a,'cap',2));if(cap<1||radius<0||radius>1)stop('invalid-robust-constraint')\n go<-function(sign){q<-p;upper<-pmin(1,cap*p);order<-order(sign*values,seq_along(values));lo<-order;hi<-rev(order);i<-j<-1L;budget<-radius;N<-length(values)\n while(budget>1e-14&&i<=N&&j<=N){d<-lo[i];h<-hi[j];if(sign*values[h]<=sign*values[d])break;move<-min(q[d],upper[h]-q[h],budget);if(move>0){q[d]<-q[d]-move;q[h]<-q[h]+move;budget<-budget-move};if(q[d]<=1e-14)i<-i+1L;if(upper[h]-q[h]<=1e-14)j<-j+1L};list(q=q,value=sum(q*values),TV=sum(abs(q-p))/2)};lo<-go(-1);hi<-go(1);list(values=as.list(values),p=as.list(p),radius=radius,cap=cap,baseline=sum(values*p),minimum=lo$value,maximum=hi$value,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\nfixedValidate<-function(a){\n rr<-a$rows;cc<-a$candidates;groups<-unlist(a$requiredGroups);eligible<-vapply(seq_along(rr),function(i){r<-rr[[i]];!is.null(r$y)&&num(opt(r,'weight',1))>0&&!r$role%in%c('excluded','unused')&&all(vapply(cc,function(c)!is.null(c$predictions[[i]]),logical(1)))},logical(1));out<-lapply(cc,function(c){risk<-function(ix){if(!length(ix))return(NULL);weighted(vapply(ix,function(i)(num(c$predictions[[i]])-num(rr[[i]]$y))^2,numeric(1)),vapply(ix,function(i)num(opt(rr[[i]],'weight',1)),numeric(1)))};vr<-which(eligible&vapply(rr,function(r)r$role=='validation',logical(1)));tr<-which(eligible&vapply(rr,function(r)r$role=='test',logical(1)));gv<-lapply(groups,function(g)risk(vr[vapply(rr[vr],function(r)r$group==g,logical(1))]));worst<-if(any(vapply(gv,is.null,logical(1))))NULL else max(unlist(gv));list(id=c$id,validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=if(opt(a,'criterion','worst-group')=='mean')risk(vr)else worst)});available<-which(!vapply(out,function(r)is.null(r$criterion),logical(1)));selected<-if(length(available))available[which.min(vapply(out[available],function(r)r$criterion,numeric(1)))]else NULL;list(commonEligibility=as.list(eligible),groups=as.list(groups),candidates=out,selectedIndex=if(is.null(selected))NULL else selected-1L,selectedID=if(is.null(selected))NULL else out[[selected]]$id,selectedScore=if(is.null(selected))NULL else out[[selected]]$criterion)\n}\nfixedOperation<-function(api,a)switch(api,effects=fixedEffects(a),aipw=fixedAipw(a),representation=fixedRepresentation(a),robust=fixedRobust(a),validate=fixedValidate(a),realdata=fixedSource(a$kind))\nreportValues<-function(api,z){summary<-list();points<-list();add<-function(k,v,u){if(length(v)==1&&is.na(v))v<-NULL;summary[[length(summary)+1L]]<<-list(metric=k,value=v,unit=u)};series<-function(name,values){for(i in seq_along(values)){v<-values[[i]];points[[length(points)+1L]]<<-list(series=name,index=i-1L,x=i,y=v)}}\n if(api=='effects'){for(k in c('completeRows','ATE','ATT','observedContrast'))add(k,z[[k]],if(k=='completeRows')'rows'else'constructed outcome units');series('known constructed effects',lapply(z$rows,function(r)r$effect))}\n else if(api=='aipw'){for(k in c('AIPW','plugin','IPW','normalizedIPWContrast'))add(k,z$overall[[k]]$value,'constructed outcome units');add('eligibleRows',z$overall$rows,'rows');series('AIPW row scores',lapply(z$rows,function(r)r$score$value))}\n else if(api=='representation'){for(k in c('ATE','adjustedContrast','bias'))add(k,z[[k]],'constructed outcome units');series('representation contrasts',lapply(z$groups,function(r)r$contrast))}\n else if(api=='robust'){for(k in c('baseline','minimum','maximum'))add(k,z[[k]],'declared value units');for(k in c('minTV','maxTV'))add(k,z[[k]],'probability mass');series('minimum weights',z$minWeights);series('maximum weights',z$maxWeights)}\n else if(api=='validate'){add('selectedIndex',z$selectedIndex,'zero-based candidate index');add('selectedScore',z$selectedScore,'squared outcome units');series('validation criterion',lapply(z$candidates,function(c)c$criterion))}\n else{for(k in c('AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum'))add(k,z[[k]],z$unit);add('sourceRows',length(z$rows),'analytical records');add('eligibleRows',sum(vapply(z$rows,function(r)r$eligible,logical(1))),'records');series('actual out-of-fold scores',lapply(z$rows,function(r)r$score))};list(summary=summary,points=points)\n}\n\nescapeXML<-function(s){s<-gsub('&','&amp;',s,fixed=TRUE);s<-gsub('<','&lt;',s,fixed=TRUE);s<-gsub('>','&gt;',s,fixed=TRUE);gsub('\"','&quot;',s,fixed=TRUE)}\nsvgPlot<-function(pp,title){\n xx<-vapply(pp,function(p)as.numeric(p$x),numeric(1));yy<-vapply(pp,function(p)as.numeric(p$y),numeric(1));xmin<-if(length(xx))min(xx)else 0;xmax<-if(length(xx))max(xx)else 1;ymin<-min(c(0,yy));ymax<-max(c(0,yy));if(xmin==xmax){xmin<-xmin-.5;xmax<-xmax+.5};if(ymin==ymax){ymin<-ymin-.5;ymax<-ymax+.5};pad<-(ymax-ymin)*.08;ymin<-ymin-pad;ymax<-ymax+pad;X<-function(x)82+(as.numeric(x)-xmin)/(xmax-xmin)*608;Y<-function(y)354-(as.numeric(y)-ymin)/(ymax-ymin)*290\n out<-paste0('<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"',escapeXML(title),'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">',escapeXML(title),'</text>')\n for(j in 0:4){y<-ymin+(ymax-ymin)*j/4;x<-xmin+(xmax-xmin)*j/4;out<-paste0(out,'<line x1=\"82\" y1=\"',Y(y),'\" x2=\"690\" y2=\"',Y(y),'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"',Y(y)+4,'\" text-anchor=\"end\">',sprintf('%.3g',y),'</text><text x=\"',X(x),'\" y=\"380\" text-anchor=\"middle\">',sprintf('%.3g',x),'</text>')}\n ss<-unique(vapply(pp,`[[`,character(1),'series'));cols<-c('#0f766e','#c76622','#4f46e5','#b23857')\n for(j in seq_along(ss)){rr<-Filter(function(p)p$series==ss[j],pp);xy<-vapply(rr,function(p)sprintf('%.6f,%.6f',X(p$x),Y(p$y)),character(1));col<-cols[(j-1)%%4+1];out<-paste0(out,'<polyline fill=\"none\" stroke=\"',col,'\" stroke-width=\"1.5\" points=\"',paste(xy,collapse=' '),'\"/>');for(p in rr)out<-paste0(out,'<circle cx=\"',sprintf('%.6f',X(p$x)),'\" cy=\"',sprintf('%.6f',Y(p$y)),'\" r=\"2.6\" fill=\"',col,'\"><title>',escapeXML(ss[j]),': ',escapeXML(p$y),'</title></circle>');out<-paste0(out,'<text x=\"',82+((j-1)%%2)*310,'\" y=\"',432+floor((j-1)/2)*23,'\" fill=\"',col,'\">',escapeXML(ss[j]),'</text>')}\n paste0(out,'<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>')\n}\n\ntoJSON<-function(x){\n if(is.null(x))return('null');if(is.list(x)){v<-vapply(x,toJSON,character(1));if(!is.null(names(x)))paste0('{',paste(paste0(vapply(names(x),toJSON,character(1)),':',v),collapse=','),'}')else paste0('[',paste(v,collapse=','),']')}\n else if(length(x)!=1){if(!is.null(names(x)))toJSON(as.list(x))else paste0('[',paste(vapply(as.list(x),toJSON,character(1)),collapse=','),']')}\n else if(is.na(x))'null'else if(is.logical(x))if(x)'true'else'false'else if(is.numeric(x))if(is.finite(x))sprintf('%.17g',x)else'null'else paste0('\"',gsub('\\n','\\\\n',gsub('\"','\\\\\"',gsub('\\\\','\\\\\\\\',x,fixed=TRUE),fixed=TRUE),fixed=TRUE),'\"')\n}\n\nFIXED<-list(\"api\"=\"aipw\",\"variant\"=\"residual-corrections\",\"title\"=\"AIPW residuals and normalized arm comparison\",\"input\"=list(\"rows\"=list(list(\"id\"=\"a\",\"a\"=\"0\",\"y\"=\"2\",\"e\"=\"1/4\",\"mu0\"=\"1\",\"mu1\"=\"3\"),list(\"id\"=\"b\",\"a\"=\"1\",\"y\"=\"5\",\"e\"=\"3/4\",\"mu0\"=\"2\",\"mu1\"=\"4\"))),\"expectedFailure\"=FALSE)\n\nargs<-commandArgs(trailingOnly=TRUE);out<-if(length(args))args[1]else stop('NEW output directory required');if(dir.exists(out))stop('Preserve previous output directory');dir.create(out,recursive=TRUE)\nz<-fixedOperation(FIXED$api,FIXED$input);rr<-reportValues(FIXED$api,z)\nwriteLines(toJSON(list(arithmetic='BaseR binary64 numerical counterpart; factualsource groupSHA256,lambda.01 and empiricalTVtolerances1e-14/12places; notcausalCI',result=z)),file.path(out,'full.json'),useBytes=TRUE)\nsums<-do.call(rbind,lapply(rr$summary,function(row)data.frame(metric=row$metric,value=if(is.null(row$value))''else if(is.logical(row$value))as.character(as.integer(row$value))else format(row$value,digits=17,scientific=NA,trim=TRUE),unit=row$unit,defined=as.integer(!is.null(row$value)),stringsAsFactors=FALSE)))\npoints<-do.call(rbind,lapply(rr$points,function(p)data.frame(series=p$series,index=p$index,x=p$x,y=if(is.null(p$y))NA_real_ else p$y,defined=as.integer(!is.null(p$y)),stringsAsFactors=FALSE)))\nwrite.csv(sums,file.path(out,'summary.csv'),row.names=FALSE,na='');write.csv(points,file.path(out,'plot-points.csv'),row.names=FALSE,na='');writeLines(svgPlot(Filter(function(p)!is.null(p$y),rr$points),FIXED$title),file.path(out,'plot.svg'),useBytes=TRUE);cat(FIXED$api,'/',FIXED$variant,'\\n',sep='')\n",
        "returnCode": 0,
        "stdout": "aipw/residual-corrections\r\n",
        "stderr": "During startup - Warning messages:\n1: Setting LC_COLLATE=C.UTF-8 failed \n2: Setting LC_CTYPE=C.UTF-8 failed \n3: Setting LC_MONETARY=C.UTF-8 failed \n4: Setting LC_TIME=C.UTF-8 failed ",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/r-aipw-residual-corrections-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/aipw-residual-corrections-input.json",
            "sha256": "e6b9f806e3332d025effe9986720d6421b50844ff2e8a55fa2253e882598aa88",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/r-aipw-residual-corrections-result/full.json",
            "sha256": "fba6a96952b8e83de6b568ab99c6f12a963a7e8da94b88da23a729061c82c55b",
            "bytes": 2070
          },
          {
            "file": "ml21-code/r-aipw-residual-corrections-result/plot-points.csv",
            "sha256": "594035ddf6c0984d282cbfd3651960fef49ac017e497fb7ec261a352f53a70a5",
            "bytes": 121
          },
          {
            "file": "ml21-code/r-aipw-residual-corrections-result/plot.svg",
            "sha256": "7deb91d9b6007bcb8891d9372ff5d52136f00aace11648a2d89ac60e5c644102",
            "bytes": 1696
          },
          {
            "file": "ml21-code/r-aipw-residual-corrections-result/summary.csv",
            "sha256": "90df32fd2d966d979ccd052632da87c769f44ed7d1890c0573f1ae0109f2f69a",
            "bytes": 250
          },
          {
            "file": "ml21-code/r-aipw-residual-corrections-result/stdout.txt",
            "sha256": "ce27971ab34111c5cd65f3d2d4cae2c92ec5b829e5f0496343cbf8ddd5b5b5ca",
            "bytes": 27
          },
          {
            "file": "ml21-code/r-aipw-residual-corrections-result/stderr.txt",
            "sha256": "b807bd2d0f7060ea384b0ac2317cda2d63a4f59f63b4a901b9e665fead79627d",
            "bytes": 182
          }
        ],
        "summaryRows": [
          {
            "metric": "AIPW",
            "value": "2",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "2",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "plugin",
            "value": "2",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "2",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "IPW",
            "value": "2",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "2",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "normalizedIPWContrast",
            "value": "3",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "3",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "eligibleRows",
            "value": "2",
            "unit": "rows",
            "defined": "true",
            "rawValue": "2",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          }
        ],
        "plotRows": [
          {
            "series": "AIPW row scores",
            "index": 0,
            "x": "1",
            "y": "0.66666666666666696",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "AIPW row scores",
            "index": 1,
            "x": "2",
            "y": "3.3333333333333299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          }
        ],
        "plotFile": "ml21-code/r-aipw-residual-corrections-result/plot.svg",
        "fullResultFile": "ml21-code/r-aipw-residual-corrections-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "boundary-excluded": {
        "api": "aipw",
        "variant": "boundary-excluded",
        "language": "r",
        "title": "Boundary propensity is undefined, not a zero score",
        "input": {
          "rows": [
            {
              "id": "boundary",
              "a": "0",
              "y": "2",
              "e": "0",
              "mu0": "1",
              "mu1": "3"
            },
            {
              "id": "interior",
              "a": "1",
              "y": "2",
              "e": "1/2",
              "mu0": "0",
              "mu1": "1"
            }
          ]
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/aipw-boundary-excluded.R",
        "codeSHA256": "eab423d63acadf2dc1ff8b73330675a750c2e7b98488c5a25a10c8b2c6f0672c",
        "code": "# ML21 standalone numerical fixed example, not arbitrary exact API validation.\n# Fixed inputs are declared inline and matching JSON provided for reading.\n# Realdata code uses3factual CSVs, R4.5+ toolsSHA256 and numerical ridge.\noptions(digits=17)\nfixedSource<-function(kind){\n selectedKind<-kind\n src<-file.path(dirname(sub('^--file=','',grep('^--file=',commandArgs(),value=TRUE)[1])),'data')\nreadnative<-function(n)read.csv(file.path(src,n),colClasses='character',check.names=FALSE,na.strings=NULL,stringsAsFactors=FALSE)\nnum<-function(x){v<-suppressWarnings(as.numeric(x));v[x%in%c('','.')] <- NA_real_;v}\nsha<-function(s){tf<-tempfile('ml21-group-');writeBin(charToRaw(enc2utf8(s)),tf);on.exit(unlink(tf));unname(tools::sha256sum(tf))}\nwb<-readnative('actual48-country-revised-original-2023-2024.csv');iso<-sort(unique(wb$countryISO3))\nlookup<-function(i,code,yr){r<-wb[wb$countryISO3==i&wb$indicatorID==code&wb$date==yr,,drop=FALSE];stopifnot(nrow(r)==1);num(r$originalValueToken)}\ng<-vapply(iso,lookup,numeric(1),code='NY.GDP.PCAP.KD',yr='2023');pi<-vapply(iso,lookup,numeric(1),code='FP.CPI.TOTL.ZG',yr='2023');gy<-vapply(iso,lookup,numeric(1),code='NY.GDP.MKTP.KD.ZG',yr='2024')\ncountry<-list(id=paste0(iso,':2024'),originalID=iso,sourceRow=iso,foldGroup=paste0('country:',iso),a=as.integer(g>median(g)),x=cbind(g/10000,pi/10),y=gy)\npd<-readnative('actual38408-NSW-all15-fields.csv');pre<-pd[pd$year=='1975',,drop=FALSE];post<-pd[match(pre$id,pd$id[pd$year=='1978'])+0,,drop=FALSE]\npostNative<-pd[pd$year=='1978',,drop=FALSE];post<-postNative[match(pre$id,postNative$id),,drop=FALSE]\nstopifnot(nrow(pre)==19204,nrow(post)==19204,all(pre$id==post$id),all(pre$treated==post$treated));take<-num(pre$experimental)==1;stopifnot(all(take==(pre$treated!='.')));pre<-pre[take,,drop=FALSE];post<-post[take,,drop=FALSE]\nperson<-list(id=paste0('nsw-id:',pre$id),originalID=pre$id,sourceRow=post$sourceRow,foldGroup=paste0('nsw-id:',pre$id),a=num(pre$treated),x=cbind(num(pre$age)/10,num(pre$educ)/10,num(pre$re74)/10000),y=num(post$re)/10000)\ncd<-readnative('actual410-NJPA-all46-fields.csv');before<-num(cd$EMPFT)+num(cd$EMPPT)/2+num(cd$NMGRS);after<-num(cd$EMPFT2)+num(cd$EMPPT2)/2+num(cd$NMGRS2)\ncompany<-list(id=paste0('njpa-row:',cd$sourceRow),originalID=cd$SHEET,sourceRow=cd$sourceRow,foldGroup=paste0('sheet:',cd$SHEET),a=num(cd$STATE),x=cbind(before/10,as.integer(num(cd$CHAIN)==2),num(cd$CO_OWNED)),y=after-before)\nmodels<-list(country=country,person=person,company=company)\nfor(kind in names(models)){\n m<-models[[kind]];groups<-unique(m$foldGroup);hash<-vapply(groups,function(g)sha(paste0('ML21|',kind,'|',g)),character(1));ord<-order(hash,groups);folds<-integer(length(groups));folds[ord]<-(seq_along(ord)-1L)%%4L;m$fold<-folds[match(m$foldGroup,groups)];m$eligible<-!is.na(m$y)&rowSums(is.na(m$x))==0;m$role<-ifelse(m$eligible,'analysis','excluded');models[[kind]]<-m\n}\nstopifnot(length(person$id)==722,sum(person$a)==297,sum(models$company$eligible)==384,length(country$id)==16)\nsourcefit<-function(kind,m,rep){\n N<-length(m$id);X<-if(rep=='full')m$x else if(rep=='constant')matrix(numeric(0),nrow=N,ncol=0) else if(kind=='country')matrix(m$a,ncol=1) else if(kind=='person')cbind(as.integer(m$x[,2]>1.2),as.integer(m$x[,3]>0)) else matrix(m$x[,2],ncol=1)\n group<-if(kind=='country')ifelse(m$a==1,'higher-GDP-category','lower-GDP-category')else if(kind=='person')ifelse(m$x[,2]>1.2,'schooling-over12','schooling-at-most12')else ifelse(!is.na(m$x[,2])&m$x[,2]!=0,'chain2','other-chains')\n p<-ncol(X);eRaw<-mu0<-mu1<-rep(NA_real_,N);fits<-list();coords<-list()\n for(fold in 0:3){\n  tr<-which(m$eligible&m$fold!=fold);means<-if(p)colMeans(X[tr,,drop=FALSE])else numeric(0);scales<-if(p)apply(X[tr,,drop=FALSE],2,function(x)diff(range(x)))else numeric(0);scales[scales==0]<-1;Z<-if(p)cbind(1,sweep(sweep(X,2,means,'-'),2,scales,'/'))else matrix(1,nrow=N,ncol=1);hold<-which(m$fold==fold);ok<-rowSums(is.na(Z[hold,,drop=FALSE]))==0\n  for(name in c('e','mu0','mu1')){\n   ix<-if(name=='e')tr else tr[m$a[tr]==if(name=='mu0')0 else 1];target<-if(name=='e')m$a[ix]else m$y[ix];A<-crossprod(Z[ix,,drop=FALSE])/length(ix)+diag(c(0,rep(.01,p)),nrow=p+1);b<-as.vector(crossprod(Z[ix,,drop=FALSE],target))/length(ix);theta<-as.vector(solve(A,b));minimum<-mean((as.vector(Z[ix,,drop=FALSE]%*%theta)-target)^2)/2+.01*sum(theta[-1]^2)/2;v<-as.vector(Z[hold,,drop=FALSE]%*%theta)\n   if(name=='e')eRaw[hold]<-v else if(name=='mu0')mu0[hold]<-v else mu1[hold]<-v\n   fits[[length(fits)+1L]]<-list(fold=fold,name=name,rows=length(ix),rank=p+1,theta=theta,minimumObjective=minimum,trainingIDs=m$id[ix])\n  }\n  coords[[length(coords)+1L]]<-list(fold=fold,mean=means,scale=scales)\n }\n e<-pmax(.05,pmin(.95,eRaw));nuisance<-!is.na(e)&!is.na(mu0)&!is.na(mu1);eligible<-m$eligible&nuisance;plugin<-treated<-control<-ipw<-effective<-score<-rep(NA_real_,N);ix<-which(eligible);plugin[ix]<-mu1[ix]-mu0[ix];treated[ix]<-ifelse(m$a[ix]==1,(m$y[ix]-mu1[ix])/e[ix],0);control[ix]<-ifelse(m$a[ix]==0,(m$y[ix]-mu0[ix])/(1-e[ix]),0);score[ix]<-plugin[ix]+treated[ix]-control[ix];ipw[ix]<-ifelse(m$a[ix]==1,m$y[ix]/e[ix],-m$y[ix]/(1-e[ix]));effective[ix]<-1/ifelse(m$a[ix]==1,e[ix],1-e[ix]);clipped<-!is.na(eRaw)&eRaw!=e\n list(X=X,group=group,meanX=coords,fits=fits,eRaw=eRaw,e=e,mu0=mu0,mu1=mu1,nuisance=nuisance,eligible=eligible,plugin=plugin,treated=treated,control=control,score=score,ipw=ipw,effective=effective,clipped=clipped)\n}\nextreme<-function(values,sign){N<-length(values);p<-rep(1/N,N);q<-p;upper<-pmin(1,2*p);ord<-order(round(sign*values,12),seq_along(values));donor<-ord;receiver<-rev(ord);a<-b<-1L;budget<-.1\n while(budget>1e-14&&a<=N&&b<=N){i<-donor[a];j<-receiver[b];if(sign*values[j]<=sign*values[i]+1e-14)break;move<-min(q[i],upper[j]-q[j],budget);if(move>0){q[i]<-q[i]-move;q[j]<-q[j]+move;budget<-budget-move};if(q[i]<=1e-14)a<-a+1L;if(upper[j]-q[j]<=1e-14)b<-b+1L;if(move<=0&&a<=N&&b<=N&&q[i]>1e-14&&upper[j]-q[j]>1e-14)stop('no transport progress')};list(q=q,objective=sum(q*values),TV=sum(abs(q-p))/2)\n}\n\n m<-models[[selectedKind]];z<-sourcefit(selectedKind,m,'full');ix<-which(z$eligible);v<-z$score[ix];lo<-extreme(v,-1);hi<-extreme(v,1);treated<-ix[m$a[ix]==1];control<-ix[m$a[ix]==0];norm<-sum(m$y[treated]*z$effective[treated])/sum(z$effective[treated])-sum(m$y[control]*z$effective[control])/sum(z$effective[control]);nv<-function(v)if(is.na(v))NULL else unname(v)\n rows<-lapply(seq_along(m$id),function(i)list(id=m$id[i],sourceRow=if(selectedKind=='country')m$sourceRow[i]else as.integer(m$sourceRow[i]),originalID=m$originalID[i],foldGroup=m$foldGroup[i],fold=m$fold[i],a=m$a[i],y=nv(m$y[i]),x=lapply(as.list(m$x[i,]),nv),eligible=z$eligible[i],eRaw=nv(z$eRaw[i]),e=nv(z$e[i]),mu0=nv(z$mu0[i]),mu1=nv(z$mu1[i]),plugin=nv(z$plugin[i]),score=nv(z$score[i]),IPWContribution=nv(z$ipw[i])))\n fits<-lapply(z$fits,function(fit){co<-z$meanX[[fit$fold+1L]];list(fold=fit$fold,fit=fit$name,trainingIDs=as.list(fit$trainingIDs),rows=fit$rows,rank=fit$rank,unique=TRUE,theta=as.list(fit$theta),minimumObjective=fit$minimumObjective,meanX=as.list(co$mean),scales=as.list(co$scale))});unit<-switch(selectedKind,country='GDP growth contrast, percentage points',person='native real1978earnings/10000',company='post-minus-pre FTE employees')\n list(kind=selectedKind,unit=unit,rows=rows,fits=fits,AIPW=mean(v),plugin=mean(z$plugin[ix]),IPW=mean(z$ipw[ix]),normalizedIPWContrast=norm,stressMinimum=lo$objective,stressMaximum=hi$objective,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\n\n# Owned numerical fixed-example adapters; not arbitrary exact input validators.\nnum<-function(v){if(is.null(v))return(NULL);if(is.numeric(v))return(as.numeric(v));s<-strsplit(as.character(v),'/',fixed=TRUE)[[1]];if(length(s)==2)as.numeric(s[1])/as.numeric(s[2])else as.numeric(v)}\nopt<-function(a,key,default)if(is.null(a[[key]]))default else a[[key]]\nmaybe<-function(v)if(is.null(v))list(defined=FALSE)else list(defined=TRUE,value=v)\nweighted<-function(v,w){if(!length(w)||sum(w)==0)return(NULL);sum(v*w)/sum(w)}\nfixedEffects<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){r<-a$rows[[i]];w<-num(opt(r,'weight',1));if(w<0)stop('negative-analysis-weight');y0<-num(r$y0);y1<-num(r$y1);A<-num(r$a);list(id=opt(r,'id',as.character(i-1L)),a=A,y0=y0,y1=y1,w=w,effect=if(is.null(y0)||is.null(y1))NULL else y1-y0,observed=if(is.null(A))NULL else if(A==1)y1 else y0)})\n complete<-Filter(function(r)r$w>0&&!is.null(r$effect),rr);treated<-Filter(function(r)!is.null(r$a)&&r$a==1,complete);avg<-function(rows,key)weighted(vapply(rows,function(r)r[[key]],numeric(1)),vapply(rows,function(r)r$w,numeric(1)));arm<-lapply(0:1,function(A)avg(Filter(function(r)!is.null(r$a)&&r$a==A&&!is.null(r$observed)&&r$w>0,rr),'observed'));list(rows=rr,completeRows=length(complete),ATE=avg(complete,'effect'),ATT=avg(treated,'effect'),observedContrast=if(any(vapply(arm,is.null,logical(1))))NULL else arm[[2]]-arm[[1]])\n}\nfixedAipw<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){v<-a$rows[[i]];w<-num(opt(v,'weight',1));if(w<0)stop('negative-analysis-weight');r<-list(id=opt(v,'id',as.character(i-1L)),a=num(v$a),y=num(v$y),e=num(v$e),mu0=num(v$mu0),mu1=num(v$mu1),w=w,role=opt(v,'role','analysis'),group=opt(v,'group','all'));reason<-if(w==0)'zero-weight'else if(r$role%in%c('excluded','unused'))'inactive-role'else if(any(vapply(r[c('a','y','e','mu0','mu1')],is.null,logical(1))))'missing-required-field'else if(r$e%in%c(0,1))'nonoverlap-boundary-propensity'else NULL;r$eligible<-is.null(reason);r$reason<-reason\n  if(is.null(reason)){r$plugin<-r$mu1-r$mu0;r$treatedResidual<-if(r$a==1)(r$y-r$mu1)/r$e else 0;r$controlResidual<-if(r$a==0)(r$y-r$mu0)/(1-r$e)else 0;r$score<-maybe(r$plugin+r$treatedResidual-r$controlResidual);r$IPWContribution<-if(r$a==1)r$y/r$e else-r$y/(1-r$e);r$effectiveArmWeight<-w/if(r$a==1)r$e else 1-r$e}else r$score<-maybe(NULL);r})\n summary<-function(rows){mass<-sum(vapply(rows,function(r)r$w,numeric(1)));avg<-function(key){if(!mass)return(NULL);sum(vapply(rows,function(r)r$w*if(key=='score')r$score$value else r[[key]],numeric(1)))/mass};arms<-lapply(0:1,function(A){arm<-Filter(function(r)r$a==A,rows);w<-vapply(arm,function(r)r$effectiveArmWeight,numeric(1));list(a=A,rows=length(arm),weightedArmDenominator=sum(w),normalizedMean=maybe(weighted(vapply(arm,function(r)r$y,numeric(1)),w)))});list(rows=length(rows),mass=mass,AIPW=maybe(avg('score')),plugin=maybe(avg('plugin')),IPW=maybe(avg('IPWContribution')),normalizedArmMeans=arms,normalizedIPWContrast=maybe(if(all(vapply(arms,function(r)r$normalizedMean$defined,logical(1))))arms[[2]]$normalizedMean$value-arms[[1]]$normalizedMean$value else NULL))}\n use<-Filter(function(r)r$eligible,rr);roles<-unique(vapply(rr,function(r)r$role,character(1)));groups<-unique(vapply(rr,function(r)r$group,character(1)));list(rows=rr,overall=summary(use),byRole=lapply(roles,function(role)c(list(role=role),summary(Filter(function(r)r$role==role,use)))),byGroup=lapply(groups,function(g)c(list(group=g),summary(Filter(function(r)r$group==g,use)))),overlapExcluded=as.list(vapply(Filter(function(r)identical(r$reason,'nonoverlap-boundary-propensity'),rr),function(r)r$id,character(1))))\n}\nfixedRepresentation<-function(a){\n atoms<-lapply(a$atoms,function(r)list(id=r$id,p=num(r$probability),y0=num(r$y0),y1=num(r$y1),e=num(r$e),phi=r$phi));if(abs(sum(vapply(atoms,function(r)r$p,numeric(1)))-1)>1e-12)stop('law-probabilities-must-sum-one');ATE<-sum(vapply(atoms,function(r)r$p*(r$y1-r$y0),numeric(1)));phis<-unique(vapply(Filter(function(r)r$p>0,atoms),function(r)r$phi,character(1)));groups<-lapply(phis,function(phi){use<-Filter(function(r)r$phi==phi&&r$p>0,atoms);mass<-sum(vapply(use,function(r)r$p,numeric(1)));t<-sum(vapply(use,function(r)r$p*r$e,numeric(1)));m1<-if(t>0)sum(vapply(use,function(r)r$p*r$e*r$y1,numeric(1)))/t else NULL;m0<-if(mass-t>0)sum(vapply(use,function(r)r$p*(1-r$e)*r$y0,numeric(1)))/(mass-t)else NULL;list(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=if(is.null(m0)||is.null(m1))NULL else m1-m0)});adjusted<-if(any(vapply(groups,function(r)is.null(r$contrast),logical(1))))NULL else sum(vapply(groups,function(r)r$mass*r$contrast,numeric(1)));list(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=if(is.null(adjusted))NULL else adjusted-ATE)\n}\nfixedRobust<-function(a){\n values<-vapply(a$values,num,numeric(1));p<-if(is.null(a$probabilities))rep(1/length(values),length(values))else vapply(a$probabilities,num,numeric(1));radius<-num(opt(a,'radius','1/10'));cap<-num(opt(a,'cap',2));if(cap<1||radius<0||radius>1)stop('invalid-robust-constraint')\n go<-function(sign){q<-p;upper<-pmin(1,cap*p);order<-order(sign*values,seq_along(values));lo<-order;hi<-rev(order);i<-j<-1L;budget<-radius;N<-length(values)\n while(budget>1e-14&&i<=N&&j<=N){d<-lo[i];h<-hi[j];if(sign*values[h]<=sign*values[d])break;move<-min(q[d],upper[h]-q[h],budget);if(move>0){q[d]<-q[d]-move;q[h]<-q[h]+move;budget<-budget-move};if(q[d]<=1e-14)i<-i+1L;if(upper[h]-q[h]<=1e-14)j<-j+1L};list(q=q,value=sum(q*values),TV=sum(abs(q-p))/2)};lo<-go(-1);hi<-go(1);list(values=as.list(values),p=as.list(p),radius=radius,cap=cap,baseline=sum(values*p),minimum=lo$value,maximum=hi$value,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\nfixedValidate<-function(a){\n rr<-a$rows;cc<-a$candidates;groups<-unlist(a$requiredGroups);eligible<-vapply(seq_along(rr),function(i){r<-rr[[i]];!is.null(r$y)&&num(opt(r,'weight',1))>0&&!r$role%in%c('excluded','unused')&&all(vapply(cc,function(c)!is.null(c$predictions[[i]]),logical(1)))},logical(1));out<-lapply(cc,function(c){risk<-function(ix){if(!length(ix))return(NULL);weighted(vapply(ix,function(i)(num(c$predictions[[i]])-num(rr[[i]]$y))^2,numeric(1)),vapply(ix,function(i)num(opt(rr[[i]],'weight',1)),numeric(1)))};vr<-which(eligible&vapply(rr,function(r)r$role=='validation',logical(1)));tr<-which(eligible&vapply(rr,function(r)r$role=='test',logical(1)));gv<-lapply(groups,function(g)risk(vr[vapply(rr[vr],function(r)r$group==g,logical(1))]));worst<-if(any(vapply(gv,is.null,logical(1))))NULL else max(unlist(gv));list(id=c$id,validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=if(opt(a,'criterion','worst-group')=='mean')risk(vr)else worst)});available<-which(!vapply(out,function(r)is.null(r$criterion),logical(1)));selected<-if(length(available))available[which.min(vapply(out[available],function(r)r$criterion,numeric(1)))]else NULL;list(commonEligibility=as.list(eligible),groups=as.list(groups),candidates=out,selectedIndex=if(is.null(selected))NULL else selected-1L,selectedID=if(is.null(selected))NULL else out[[selected]]$id,selectedScore=if(is.null(selected))NULL else out[[selected]]$criterion)\n}\nfixedOperation<-function(api,a)switch(api,effects=fixedEffects(a),aipw=fixedAipw(a),representation=fixedRepresentation(a),robust=fixedRobust(a),validate=fixedValidate(a),realdata=fixedSource(a$kind))\nreportValues<-function(api,z){summary<-list();points<-list();add<-function(k,v,u){if(length(v)==1&&is.na(v))v<-NULL;summary[[length(summary)+1L]]<<-list(metric=k,value=v,unit=u)};series<-function(name,values){for(i in seq_along(values)){v<-values[[i]];points[[length(points)+1L]]<<-list(series=name,index=i-1L,x=i,y=v)}}\n if(api=='effects'){for(k in c('completeRows','ATE','ATT','observedContrast'))add(k,z[[k]],if(k=='completeRows')'rows'else'constructed outcome units');series('known constructed effects',lapply(z$rows,function(r)r$effect))}\n else if(api=='aipw'){for(k in c('AIPW','plugin','IPW','normalizedIPWContrast'))add(k,z$overall[[k]]$value,'constructed outcome units');add('eligibleRows',z$overall$rows,'rows');series('AIPW row scores',lapply(z$rows,function(r)r$score$value))}\n else if(api=='representation'){for(k in c('ATE','adjustedContrast','bias'))add(k,z[[k]],'constructed outcome units');series('representation contrasts',lapply(z$groups,function(r)r$contrast))}\n else if(api=='robust'){for(k in c('baseline','minimum','maximum'))add(k,z[[k]],'declared value units');for(k in c('minTV','maxTV'))add(k,z[[k]],'probability mass');series('minimum weights',z$minWeights);series('maximum weights',z$maxWeights)}\n else if(api=='validate'){add('selectedIndex',z$selectedIndex,'zero-based candidate index');add('selectedScore',z$selectedScore,'squared outcome units');series('validation criterion',lapply(z$candidates,function(c)c$criterion))}\n else{for(k in c('AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum'))add(k,z[[k]],z$unit);add('sourceRows',length(z$rows),'analytical records');add('eligibleRows',sum(vapply(z$rows,function(r)r$eligible,logical(1))),'records');series('actual out-of-fold scores',lapply(z$rows,function(r)r$score))};list(summary=summary,points=points)\n}\n\nescapeXML<-function(s){s<-gsub('&','&amp;',s,fixed=TRUE);s<-gsub('<','&lt;',s,fixed=TRUE);s<-gsub('>','&gt;',s,fixed=TRUE);gsub('\"','&quot;',s,fixed=TRUE)}\nsvgPlot<-function(pp,title){\n xx<-vapply(pp,function(p)as.numeric(p$x),numeric(1));yy<-vapply(pp,function(p)as.numeric(p$y),numeric(1));xmin<-if(length(xx))min(xx)else 0;xmax<-if(length(xx))max(xx)else 1;ymin<-min(c(0,yy));ymax<-max(c(0,yy));if(xmin==xmax){xmin<-xmin-.5;xmax<-xmax+.5};if(ymin==ymax){ymin<-ymin-.5;ymax<-ymax+.5};pad<-(ymax-ymin)*.08;ymin<-ymin-pad;ymax<-ymax+pad;X<-function(x)82+(as.numeric(x)-xmin)/(xmax-xmin)*608;Y<-function(y)354-(as.numeric(y)-ymin)/(ymax-ymin)*290\n out<-paste0('<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"',escapeXML(title),'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">',escapeXML(title),'</text>')\n for(j in 0:4){y<-ymin+(ymax-ymin)*j/4;x<-xmin+(xmax-xmin)*j/4;out<-paste0(out,'<line x1=\"82\" y1=\"',Y(y),'\" x2=\"690\" y2=\"',Y(y),'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"',Y(y)+4,'\" text-anchor=\"end\">',sprintf('%.3g',y),'</text><text x=\"',X(x),'\" y=\"380\" text-anchor=\"middle\">',sprintf('%.3g',x),'</text>')}\n ss<-unique(vapply(pp,`[[`,character(1),'series'));cols<-c('#0f766e','#c76622','#4f46e5','#b23857')\n for(j in seq_along(ss)){rr<-Filter(function(p)p$series==ss[j],pp);xy<-vapply(rr,function(p)sprintf('%.6f,%.6f',X(p$x),Y(p$y)),character(1));col<-cols[(j-1)%%4+1];out<-paste0(out,'<polyline fill=\"none\" stroke=\"',col,'\" stroke-width=\"1.5\" points=\"',paste(xy,collapse=' '),'\"/>');for(p in rr)out<-paste0(out,'<circle cx=\"',sprintf('%.6f',X(p$x)),'\" cy=\"',sprintf('%.6f',Y(p$y)),'\" r=\"2.6\" fill=\"',col,'\"><title>',escapeXML(ss[j]),': ',escapeXML(p$y),'</title></circle>');out<-paste0(out,'<text x=\"',82+((j-1)%%2)*310,'\" y=\"',432+floor((j-1)/2)*23,'\" fill=\"',col,'\">',escapeXML(ss[j]),'</text>')}\n paste0(out,'<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>')\n}\n\ntoJSON<-function(x){\n if(is.null(x))return('null');if(is.list(x)){v<-vapply(x,toJSON,character(1));if(!is.null(names(x)))paste0('{',paste(paste0(vapply(names(x),toJSON,character(1)),':',v),collapse=','),'}')else paste0('[',paste(v,collapse=','),']')}\n else if(length(x)!=1){if(!is.null(names(x)))toJSON(as.list(x))else paste0('[',paste(vapply(as.list(x),toJSON,character(1)),collapse=','),']')}\n else if(is.na(x))'null'else if(is.logical(x))if(x)'true'else'false'else if(is.numeric(x))if(is.finite(x))sprintf('%.17g',x)else'null'else paste0('\"',gsub('\\n','\\\\n',gsub('\"','\\\\\"',gsub('\\\\','\\\\\\\\',x,fixed=TRUE),fixed=TRUE),fixed=TRUE),'\"')\n}\n\nFIXED<-list(\"api\"=\"aipw\",\"variant\"=\"boundary-excluded\",\"title\"=\"Boundary propensity is undefined, not a zero score\",\"input\"=list(\"rows\"=list(list(\"id\"=\"boundary\",\"a\"=\"0\",\"y\"=\"2\",\"e\"=\"0\",\"mu0\"=\"1\",\"mu1\"=\"3\"),list(\"id\"=\"interior\",\"a\"=\"1\",\"y\"=\"2\",\"e\"=\"1/2\",\"mu0\"=\"0\",\"mu1\"=\"1\"))),\"expectedFailure\"=FALSE)\n\nargs<-commandArgs(trailingOnly=TRUE);out<-if(length(args))args[1]else stop('NEW output directory required');if(dir.exists(out))stop('Preserve previous output directory');dir.create(out,recursive=TRUE)\nz<-fixedOperation(FIXED$api,FIXED$input);rr<-reportValues(FIXED$api,z)\nwriteLines(toJSON(list(arithmetic='BaseR binary64 numerical counterpart; factualsource groupSHA256,lambda.01 and empiricalTVtolerances1e-14/12places; notcausalCI',result=z)),file.path(out,'full.json'),useBytes=TRUE)\nsums<-do.call(rbind,lapply(rr$summary,function(row)data.frame(metric=row$metric,value=if(is.null(row$value))''else if(is.logical(row$value))as.character(as.integer(row$value))else format(row$value,digits=17,scientific=NA,trim=TRUE),unit=row$unit,defined=as.integer(!is.null(row$value)),stringsAsFactors=FALSE)))\npoints<-do.call(rbind,lapply(rr$points,function(p)data.frame(series=p$series,index=p$index,x=p$x,y=if(is.null(p$y))NA_real_ else p$y,defined=as.integer(!is.null(p$y)),stringsAsFactors=FALSE)))\nwrite.csv(sums,file.path(out,'summary.csv'),row.names=FALSE,na='');write.csv(points,file.path(out,'plot-points.csv'),row.names=FALSE,na='');writeLines(svgPlot(Filter(function(p)!is.null(p$y),rr$points),FIXED$title),file.path(out,'plot.svg'),useBytes=TRUE);cat(FIXED$api,'/',FIXED$variant,'\\n',sep='')\n",
        "returnCode": 0,
        "stdout": "aipw/boundary-excluded\r\n",
        "stderr": "During startup - Warning messages:\n1: Setting LC_COLLATE=C.UTF-8 failed \n2: Setting LC_CTYPE=C.UTF-8 failed \n3: Setting LC_MONETARY=C.UTF-8 failed \n4: Setting LC_TIME=C.UTF-8 failed ",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/r-aipw-boundary-excluded-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/aipw-boundary-excluded-input.json",
            "sha256": "e47e0c2661ef709b5310c393ce6299ea4e156f7112c2a1adae8ed6524e2b12e7",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/r-aipw-boundary-excluded-result/full.json",
            "sha256": "4913602d175497eea3bd0e4165a8465fab6ccef73ca1b20e5d3150ddc6c0bd60",
            "bytes": 1738
          },
          {
            "file": "ml21-code/r-aipw-boundary-excluded-result/plot-points.csv",
            "sha256": "1f708cd9bb0f06c19bfac98fbb9521a6d38b12f1f82074e7ed7fa95f84559226",
            "bytes": 89
          },
          {
            "file": "ml21-code/r-aipw-boundary-excluded-result/plot.svg",
            "sha256": "4a44e51505167dea493a3f6933245aa687c22c35eb4be75bd2dfc31b9c342036",
            "bytes": 1554
          },
          {
            "file": "ml21-code/r-aipw-boundary-excluded-result/summary.csv",
            "sha256": "bca2d07f51026c3eb0f0faf3456081614eb7f722a8a32a634802434d40298012",
            "bytes": 249
          },
          {
            "file": "ml21-code/r-aipw-boundary-excluded-result/stdout.txt",
            "sha256": "597b8bd68c3da83db1b8e4a4200cae76428b67f53a5d3071d3302395fe4d2c03",
            "bytes": 24
          },
          {
            "file": "ml21-code/r-aipw-boundary-excluded-result/stderr.txt",
            "sha256": "b807bd2d0f7060ea384b0ac2317cda2d63a4f59f63b4a901b9e665fead79627d",
            "bytes": 182
          }
        ],
        "summaryRows": [
          {
            "metric": "AIPW",
            "value": "3",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "3",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "plugin",
            "value": "1",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "IPW",
            "value": "4",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "4",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "normalizedIPWContrast",
            "value": "undefined",
            "unit": "constructed outcome units",
            "defined": "false",
            "rawValue": "",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "eligibleRows",
            "value": "1",
            "unit": "rows",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          }
        ],
        "plotRows": [
          {
            "series": "AIPW row scores",
            "index": 0,
            "x": "1",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "AIPW row scores",
            "index": 1,
            "x": "2",
            "y": "3",
            "defined": true,
            "xExact": "",
            "yExact": ""
          }
        ],
        "plotFile": "ml21-code/r-aipw-boundary-excluded-result/plot.svg",
        "fullResultFile": "ml21-code/r-aipw-boundary-excluded-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      }
    }
  },
  "representation": {
    "python": {
      "full-types": {
        "api": "representation",
        "variant": "full-types",
        "language": "python",
        "title": "Known two-type law with retained information",
        "input": {
          "atoms": [
            {
              "id": "low",
              "probability": "1/2",
              "y0": "0",
              "y1": "1",
              "e": "1/4",
              "phi": "low"
            },
            {
              "id": "high",
              "probability": "1/2",
              "y0": "2",
              "y1": "3",
              "e": "3/4",
              "phi": "high"
            }
          ]
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/representation-full-types.py",
        "codeSHA256": "7e2a7cc598995e0d8e9d5560562fc384044b3385b0029b93db044a940271570d",
        "code": "\"\"\"ML21 complete standalone fixed example, not a general API validator.\nRun: python this-file.py NEW-OUTDIR\nFixed literal input is also supplied as matching human-readable JSON.\nRealdata reads3factual CSVs under data/, using owned public scalar code byvalue.\nNo production engine/model/checker/computed answers are imported.\n\"\"\"\nfrom pathlib import Path\nfrom fractions import Fraction as F\nfrom collections import defaultdict,Counter\nimport csv,json,hashlib,sys,html,math\nif hasattr(sys,'set_int_max_str_digits'):sys.set_int_max_str_digits(200000)\ndef f(v):return v if isinstance(v,F)else F(str(v))\ndef ck(v,label=''):\n if not v:raise AssertionError(label)\ndef maybe(v):return dict(defined=False)if v is None else dict(defined=True,value=v)\ndef mean(v,w):return sum((a*b for a,b in zip(v,w)),F(0))/sum(w,F(0))if sum(w,F(0))else None\ndef extremum(values,p,radius,cap,sign):\n q=list(p);budget=radius;upper=[min(F(1),cap*x)for x in p]\n order=sorted(range(len(values)),key=lambda i:(sign*values[i],i))\n donors=list(order);receivers=list(reversed(order));left=right=0\n while budget>0 and left<len(q)and right<len(q):\n  i,j=donors[left],receivers[right]\n  if sign*values[j]<=sign*values[i]:break\n  move=min(q[i],upper[j]-q[j],budget)\n  if move>0:q[i]-=move;q[j]+=move;budget-=move\n  if q[i]==0:left+=1\n  if q[j]==upper[j]:right+=1\n  if move==0 and q[i]>0 and q[j]<upper[j]:raise AssertionError('transport made no progress')\n return q,sum(a*b for a,b in zip(q,values)),sum(abs(a-b)for a,b in zip(q,p))/2\n\ndef fixed_source(kind):\n selectedKind=kind\n S=Path(__file__).resolve().parent/\"data\"\n def read(n):\n  with(S/n).open(encoding=\"utf8\",newline=\"\")as stream:return list(csv.DictReader(stream))\n def source_rows():\n  rows=read('actual48-country-revised-original-2023-2024.csv');lk={(r['countryISO3'],r['indicatorID'],r['date']):r for r in rows};isos=sorted({r['countryISO3']for r in rows});g=sorted(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])for i in isos);median=(g[7]+g[8])/2\n  models={'country':[dict(id=i+':2024',originalID=i,sourceRow=i,foldGroup='country:'+i,a=int(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])>median),x=[f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])/10000,f(lk[i,'FP.CPI.TOTL.ZG','2023']['originalValueToken'])/10],y=f(lk[i,'NY.GDP.MKTP.KD.ZG','2024']['originalValueToken']))for i in isos]}\n  native=read('actual38408-NSW-all15-fields.csv');pairs=defaultdict(dict)\n  for r in native:pairs[str(int(f(r['id'])))][int(f(r['year']))]=r\n  people=[]\n  for ID,pair in pairs.items():\n   pre,post=pair[1975],pair[1978];ck(pre['treated']==post['treated'],'native stable treatment');sel=int(f(pre['experimental']))==1;ck(sel==(pre['treated']!='.'),'no recode missingtreatment')\n   if sel:people.append(dict(id='nsw-id:'+ID,originalID=ID,sourceRow=int(post['sourceRow']),foldGroup='nsw-id:'+ID,a=int(f(pre['treated'])),x=[F.from_float(float(pre['age']))/10,F.from_float(float(pre['educ']))/10,F.from_float(float(pre['re74']))/10000],y=F.from_float(float(post['re']))/10000))\n  models['person']=people;company=[]\n  for r in read('actual410-NJPA-all46-fields.csv'):\n   ys=[]\n   for suffix in['','2']:\n    v=[None if r[k+suffix]=='.'else f(r[k+suffix])for k in['EMPFT','EMPPT','NMGRS']];ys.append(None if None in v else v[0]+v[1]/2+v[2])\n   company.append(dict(id='njpa-row:'+r['sourceRow'],originalID=r['SHEET'],sourceRow=int(r['sourceRow']),foldGroup='sheet:'+r['SHEET'],a=int(r['STATE']),x=[None if ys[0]is None else ys[0]/10,None if r['CHAIN']=='.'else F(int(f(r['CHAIN'])==2)),None if r['CO_OWNED']=='.'else f(r['CO_OWNED'])],y=None if None in ys else ys[1]-ys[0]))\n  models['company']=company\n  for kind,rr in models.items():\n   groups=sorted({r['foldGroup']for r in rr},key=lambda g:(hashlib.sha256(('ML21|'+kind+'|'+g).encode()).digest(),g));folds={g:i%4 for i,g in enumerate(groups)}\n   for r in rr:r['fold']=folds[r['foldGroup']];r['eligible']=r['y']is not None and None not in r['x'];r['role']='analysis'if r['eligible']else'excluded';r['w']=F(1)\n  return models\n MODELS=source_rows()\n def solve(A,b):\n  n=len(b);M=[list(a)+[v]for a,v in zip(A,b)];pivot=[];i=0\n  for j in range(n):\n   k=next((k for k in range(i,n)if M[k][j]!=0),None)\n   if k is None:continue\n   M[i],M[k]=M[k],M[i];v=M[i][j];M[i]=[z/v for z in M[i]]\n   for k in range(n):\n    if k!=i:\n     v=M[k][j];M[k]=[a-v*b for a,b in zip(M[k],M[i])]\n   pivot.append(j);i+=1\n   if i==n:break\n  beta=[F(0)]*n\n  for i,j in enumerate(pivot):beta[j]=M[i][-1]\n  null=[]\n  for j in range(n):\n   if j in pivot:continue\n   v=[F(0)]*n;v[j]=F(1)\n   for i,k in enumerate(pivot):v[k]=-M[i][j]\n   null.append(v)\n  return beta,null,len(pivot)\n def source_expected(a):\n  base=MODELS[a.get('kind','person')];rep=a.get('representation','full');rr=[]\n  for r in base:\n   full=r['x'];x=full if rep=='full'else[]if rep=='constant'else[F(r['a'])]if a.get('kind','person')=='country'else[F(full[1]>F(6,5)),F(full[2]>0)]if a.get('kind','person')=='person'else[full[1]]\n   group=('higher-GDP-category'if r['a']else'lower-GDP-category')if a.get('kind','person')=='country'else('schooling-over12'if full[1]>F(6,5)else'schooling-at-most12')if a.get('kind','person')=='person'else('chain2'if full[1]else'other-chains');rr.append(dict(r,x=x,fullX=full,group=group))\n  eligible=[r for r in rr if r['eligible']];limit=a.get('trainingLimit',len(eligible));keep={r['id']for r in eligible[:limit]};lam=f(a.get('lambda','1/100'));eps=f(a.get('clip','1/20'));nuisance=[];out={};dimension=len(rr[0]['x'])+1\n  for fold in range(4):\n   tr=[r for r in rr if r['eligible']and r['id']in keep and r['fold']!=fold];fits={};means=[sum(r['x'][j]for r in tr)/len(tr)for j in range(dimension-1)]if tr else[];scales=[max(r['x'][j]for r in tr)-min(r['x'][j]for r in tr)or F(1)for j in range(dimension-1)]if tr else[]\n   def z(r):return None if not tr or None in r['x']else[F(1)]+[(v-m)/s for v,m,s in zip(r['x'],means,scales)]\n   for name in['e','mu0','mu1']:\n    use=[r for r in tr if name=='e'or r['a']==int(name[-1])]\n    if not use:fits[name]=dict(defined=False);continue\n    Z=[z(r)for r in use];Y=[F(r['a'])if name=='e'else r['y']for r in use];N=len(use);A=[[sum(v[j]*v[k]for v in Z)/N+(lam if j==k and j else 0)for k in range(dimension)]for j in range(dimension)];b=[sum(y*v[j]for v,y in zip(Z,Y))/N for j in range(dimension)];beta,null,rank=solve(A,b);minimum=sum((sum(b*z for b,z in zip(beta,v))-y)**2 for v,y in zip(Z,Y))/(2*N)+lam*sum(v*v for v in beta[1:])/2;fits[name]=dict(defined=True,trainingIDs=[r['id']for r in use],rows=N,rank=rank,unique=rank==dimension,theta=beta,nullspace=null,minimumObjective=minimum,meanX=means,scales=scales)\n   nuisance.append(dict(fold=fold,complementRows=len(tr),fits=fits))\n   for r in rr:\n    if r['fold']!=fold:continue\n    zz=z(r);pred={name:None if zz is None or not fit['defined']else sum(v*b for v,b in zip(zz,fit['theta']))for name,fit in fits.items()};eRaw=pred['e'];e=None if eRaw is None else max(eps,min(1-eps,eRaw));inv={name:zz is not None and fit['defined']and all(sum(a*b for a,b in zip(v,zz))==0 for v in fit['nullspace'])for name,fit in fits.items()};out[r['id']]=dict(r,mu0=pred['mu0'],mu1=pred['mu1'],e=e,eRaw=eRaw,propensityClipped=e is not None and e!=eRaw,nuisancePredictionDefined=all(v is not None for v in pred.values()),queryInvariantAcrossMinimizers=inv)\n  return rr,nuisance,[out[r['id']]for r in rr]\n def aipw_expected(rows,role='all'):\n  out=[]\n  for r in rows:\n   reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n   if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n   plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n  def summary(use):\n   ww=[r['w']for r in use];arms=[]\n   for A in[0,1]:\n    arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n   return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n  use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n raw,nuisance,oo=source_expected(dict(kind=selectedKind,representation='full'));scores=aipw_expected(oo);use=[r for r in scores['rows']if r['eligible']];values=[r['score']['value']for r in use];p=[F(1,len(use))for _ in use];lo,low,ltv=extremum(values,p,F(1,10),F(2),-1);hi,high,htv=extremum(values,p,F(1,10),F(2),1);fits=[]\n for n in nuisance:\n  for name,z in n['fits'].items():fits.append(dict(fold=n['fold'],fit=name,trainingIDs=z['trainingIDs'],rows=z['rows'],rank=z['rank'],unique=z['unique'],theta=z['theta'],minimumObjective=z['minimumObjective'],meanX=z['meanX'],scales=z['scales']))\n rr=[]\n for r in scores['rows']:rr.append(dict(id=r['id'],sourceRow=r['sourceRow'],originalID=r['originalID'],foldGroup=r['foldGroup'],fold=r['fold'],a=r['a'],y=r['y'],x=r['fullX'],eligible=r['eligible'],eRaw=r['eRaw'],e=r['e'],mu0=r['mu0'],mu1=r['mu1'],plugin=r.get('plugin'),score=r['score'].get('value'),IPWContribution=r.get('IPWContribution')))\n unit={'country':'GDP growth contrast, percentage points','person':'native real1978earnings/10000','company':'post-minus-pre FTE employees'}[selectedKind]\n return dict(kind=selectedKind,unit=unit,rows=rr,fits=fits,AIPW=scores['overall']['AIPW'].get('value'),plugin=scores['overall']['plugin'].get('value'),IPW=scores['overall']['IPW'].get('value'),normalizedIPWContrast=scores['overall']['normalizedIPWContrast'].get('value'),stressMinimum=low,stressMaximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\n\ndef aipw_expected(rows,role='all'):\n out=[]\n for r in rows:\n  reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n  if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n  plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n def summary(use):\n  ww=[r['w']for r in use];arms=[]\n  for A in[0,1]:\n   arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n  return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n\n# Owned standalone fixed-example adapters; no production engine import.\nQ=F\nnumber=f\ndef fixed_robust(a):\n values=list(map(f,a['values']));p=list(map(f,a.get('probabilities',[F(1,len(values))for _ in values])));radius=f(a.get('radius','1/10'));cap=f(a.get('cap',2))\n if cap<1 or not 0<=radius<=1:raise ValueError('invalid-robust-constraint')\n lo,low,ltv=extremum(values,p,radius,cap,-1);hi,high,htv=extremum(values,p,radius,cap,1)\n return dict(values=values,p=p,radius=radius,cap=cap,baseline=sum(v*w for v,w in zip(values,p)),minimum=low,maximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\ndef fixed_aipw(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  rr.append(dict(id=r.get('id',str(i)),a=None if r.get('a')is None else int(f(r['a'])),**{k:None if r.get(k)is None else f(r[k])for k in ['y','e','mu0','mu1']},w=w,role=r.get('role','analysis'),group=r.get('group','all')))\n return aipw_expected(rr)\ndef fixed_effects(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  y0=None if r.get('y0')is None else f(r['y0']);y1=None if r.get('y1')is None else f(r['y1']);A=r.get('a');A=None if A is None else int(f(A));rr.append(dict(id=r.get('id',str(i)),a=A,y0=y0,y1=y1,w=w,effect=None if y0 is None or y1 is None else y1-y0,observed=y1 if A==1 else y0 if A==0 else None))\n complete=[r for r in rr if r['w']>0 and r['effect']is not None];treated=[r for r in complete if r['a']==1];arms=[mean([r['observed']for r in rr if r['a']==A and r['observed']is not None and r['w']>0],[r['w']for r in rr if r['a']==A and r['observed']is not None and r['w']>0])for A in [0,1]]\n return dict(rows=rr,completeRows=len(complete),ATE=mean([r['effect']for r in complete],[r['w']for r in complete]),ATT=mean([r['effect']for r in treated],[r['w']for r in treated]),observedContrast=None if None in arms else arms[1]-arms[0])\ndef fixed_representation(a):\n atoms=[dict(id=r['id'],p=f(r['probability']),y0=f(r['y0']),y1=f(r['y1']),e=f(r['e']),phi=r['phi'])for r in a['atoms']];groups=[];ATE=sum(r['p']*(r['y1']-r['y0'])for r in atoms)\n if sum(r['p']for r in atoms)!=1:raise ValueError('law-probabilities-must-sum-one')\n for phi in dict.fromkeys(r['phi']for r in atoms if r['p']):\n  use=[r for r in atoms if r['phi']==phi and r['p']];mass=sum(r['p']for r in use);t=sum(r['p']*r['e']for r in use);m1=sum(r['p']*r['e']*r['y1']for r in use)/t if t else None;m0=sum(r['p']*(1-r['e'])*r['y0']for r in use)/(mass-t)if mass!=t else None;groups.append(dict(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=None if m0 is None or m1 is None else m1-m0))\n adjusted=None if any(r['contrast']is None for r in groups)else sum(r['mass']*r['contrast']for r in groups)\n return dict(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=None if adjusted is None else adjusted-ATE)\ndef fixed_validate(a):\n rr=a['rows'];cc=a['candidates'];groups=a['requiredGroups'];eligible=[r.get('y')is not None and f(r.get('weight',1))>0 and r['role']not in ['excluded','unused']and all(c['predictions'][i]is not None for c in cc)for i,r in enumerate(rr)];out=[]\n for c in cc:\n  def risk(ids):return mean([(f(c['predictions'][i])-f(rr[i]['y']))**2 for i in ids],[f(rr[i].get('weight',1))for i in ids])\n  vr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='validation'];tr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='test'];gv=[risk([i for i in vr if rr[i]['group']==g])for g in groups];worst=None if None in gv else max(gv);criterion=risk(vr)if a.get('criterion','worst-group')=='mean'else worst;out.append(dict(id=c['id'],validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=criterion))\n available=[i for i,z in enumerate(out)if z['criterion']is not None];selected=min(available,key=lambda i:(out[i]['criterion'],i))if available else None\n return dict(commonEligibility=eligible,groups=groups,candidates=out,selectedIndex=selected,selectedID=None if selected is None else out[selected]['id'],selectedScore=None if selected is None else out[selected]['criterion'])\ndef fixed_operation(api,a):return fixed_effects(a)if api=='effects'else fixed_aipw(a)if api=='aipw'else fixed_representation(a)if api=='representation'else fixed_robust(a)if api=='robust'else fixed_validate(a)if api=='validate'else fixed_source(a['kind'])\ndef report_values(api,z):\n summary=[];series=[]\n def add(k,v,u):summary.append((k,v,u))\n if api=='effects':\n  for k in ['completeRows','ATE','ATT','observedContrast']:add(k,z[k],'rows'if k=='completeRows'else'constructed outcome units')\n  series=[('known constructed effects',[(i+1,r['effect'])for i,r in enumerate(z['rows'])])]\n elif api=='aipw':\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast']:add(k,z['overall'][k].get('value'),'constructed outcome units')\n  add('eligibleRows',z['overall']['rows'],'rows');series=[('AIPW row scores',[(i+1,r['score'].get('value'))for i,r in enumerate(z['rows'])])]\n elif api=='representation':\n  for k in ['ATE','adjustedContrast','bias']:add(k,z[k],'constructed outcome units')\n  series=[('representation contrasts',[(i+1,r['contrast'])for i,r in enumerate(z['groups'])])]\n elif api=='robust':\n  for k in ['baseline','minimum','maximum']:add(k,z[k],'declared value units')\n  for k in ['minTV','maxTV']:add(k,z[k],'probability mass')\n  series=[('minimum weights',[(i+1,v)for i,v in enumerate(z['minWeights'])]),('maximum weights',[(i+1,v)for i,v in enumerate(z['maxWeights'])])]\n elif api=='validate':\n  add('selectedIndex',z['selectedIndex'],'zero-based candidate index');add('selectedScore',z['selectedScore'],'squared outcome units');series=[('validation criterion',[(i+1,c['criterion'])for i,c in enumerate(z['candidates'])])]\n else:\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum']:add(k,z[k],z['unit'])\n  add('sourceRows',len(z['rows']),'analytical records');add('eligibleRows',sum(r['eligible']for r in z['rows']),'records');series=[('actual out-of-fold scores',[(i+1,r['score'])for i,r in enumerate(z['rows'])])]\n return summary,series\n\nFIXED={'api': 'representation', 'variant': 'full-types', 'title': 'Known two-type law with retained information', 'input': {'atoms': [{'id': 'low', 'probability': '1/2', 'y0': '0', 'y1': '1', 'e': '1/4', 'phi': 'low'}, {'id': 'high', 'probability': '1/2', 'y0': '2', 'y1': '3', 'e': '3/4', 'phi': 'high'}]}, 'expectedFailure': False}\n\ndef fixed_svg(points,title):\n good=[p for p in points if p['y'] is not None];xx=[float(p['x'])for p in good];yy=[float(p['y'])for p in good];xmin=min(xx)if xx else 0;xmax=max(xx)if xx else 1;ymin=min([0]+yy);ymax=max([0]+yy)\n if xmin==xmax:xmin-=.5;xmax+=.5\n if ymin==ymax:ymin-=.5;ymax+=.5\n pad=(ymax-ymin)*.08;ymin-=pad;ymax+=pad;X=lambda x:82+(float(x)-xmin)/(xmax-xmin)*608;Y=lambda y:354-(float(y)-ymin)/(ymax-ymin)*290;e=html.escape\n out=['<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"'+e(title)+'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">'+e(title)+'</text>']\n for j in range(5):\n  y=ymin+(ymax-ymin)*j/4;x=xmin+(xmax-xmin)*j/4;out.append('<line x1=\"82\" y1=\"'+str(Y(y))+'\" x2=\"690\" y2=\"'+str(Y(y))+'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"'+str(Y(y)+4)+'\" text-anchor=\"end\">'+format(y,'.3g')+'</text><text x=\"'+str(X(x))+'\" y=\"380\" text-anchor=\"middle\">'+format(x,'.3g')+'</text>')\n series=list(dict.fromkeys(p['series']for p in good))\n for j,s in enumerate(series):\n  pp=[p for p in good if p['series']==s];color=['#0f766e','#c76622','#4f46e5','#b23857'][j%4];out.append('<polyline fill=\"none\" stroke=\"'+color+'\" stroke-width=\"1.5\" points=\"'+' '.join(format(X(p['x']),'.6f')+','+format(Y(p['y']),'.6f')for p in pp)+'\"/>')\n  for p in pp:out.append('<circle cx=\"'+format(X(p['x']),'.6f')+'\" cy=\"'+format(Y(p['y']),'.6f')+'\" r=\"2.6\" fill=\"'+color+'\"><title>'+e(s+': '+str(p['y']))+'</title></circle>')\n  out.append('<text x=\"'+str(82+(j%2)*310)+'\" y=\"'+str(432+(j//2)*23)+'\" fill=\"'+color+'\">'+e(s)+'</text>')\n out.append('<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>');return''.join(out)\n\nOUT=Path(sys.argv[1]);OUT.mkdir(parents=True,exist_ok=False)\nresult=fixed_operation(FIXED['api'],FIXED['input']);summary,series=report_values(FIXED['api'],result)\ndef encode(v):\n if isinstance(v,Q):return str(v)\n if isinstance(v,dict):return{k:encode(x)for k,x in v.items()}\n if isinstance(v,(list,tuple)):return[encode(x)for x in v]\n return v\n(OUT/'full.json').write_text(json.dumps(dict(arithmetic='Exact Fraction fixed examples; factualsource and knownhypotheticallaws separate; empiricalTV notCI',result=encode(result)),ensure_ascii=False,indent=2)+'\\n',encoding='utf8')\nsummaryRows=[dict(metric=m,value=''if v is None else str(int(v))if isinstance(v,bool)else str(v),unit=u,defined=int(v is not None))for m,v,u in summary]\npoints=[dict(series=name,index=i,x=str(x),y=''if y is None else str(y),defined=int(y is not None))for name,pp in series for i,(x,y)in enumerate(pp)]\nfor name,rows in [('summary',summaryRows),('plot-points',points)]:\n with(OUT/(name+'.csv')).open('w',encoding='utf8',newline='')as f:writer=csv.DictWriter(f,fieldnames=list(rows[0]));writer.writeheader();writer.writerows(rows)\n(OUT/'plot.svg').write_text(fixed_svg([dict(p,x=number(p['x']),y=None if not p['defined']else number(p['y']))for p in points],FIXED['title']),encoding='utf8');print(FIXED['api']+'/'+FIXED['variant'])\n",
        "returnCode": 0,
        "stdout": "representation/full-types\r\n",
        "stderr": "",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/python-representation-full-types-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/representation-full-types-input.json",
            "sha256": "f5e99968c99a8eac4ab7add13b020aa4565d0e168bc29e4603720054c0e0b96d",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/python-representation-full-types-result/full.json",
            "sha256": "df98af438d91a81b730e6d0038d3ee5c65414e38cdc215ca731e347c165012e3",
            "bytes": 857
          },
          {
            "file": "ml21-code/python-representation-full-types-result/plot-points.csv",
            "sha256": "edef17ec93114ee8af87eb891b40709761299698becd3fa210c181bc42b0e482",
            "bytes": 94
          },
          {
            "file": "ml21-code/python-representation-full-types-result/plot.svg",
            "sha256": "ace9a6a6ca8219d3bc086abaa93b69b8e449eabc39ffbda339cf69c6f3312e0e",
            "bytes": 1716
          },
          {
            "file": "ml21-code/python-representation-full-types-result/summary.csv",
            "sha256": "82ae02a9b92008bce9c06d6af9a029d84ec8d74067489fe97f89b88c196f346d",
            "bytes": 146
          },
          {
            "file": "ml21-code/python-representation-full-types-result/stdout.txt",
            "sha256": "0369df8bee41b9e05f810c3a200c6d338090989af355099ead9bbbbdfe7bf9cb",
            "bytes": 27
          },
          {
            "file": "ml21-code/python-representation-full-types-result/stderr.txt",
            "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "bytes": 0
          }
        ],
        "summaryRows": [
          {
            "metric": "ATE",
            "value": "1",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "1",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "adjustedContrast",
            "value": "1",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "1",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "bias",
            "value": "0",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "0",
            "exactFraction": "0",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": true,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          }
        ],
        "plotRows": [
          {
            "series": "representation contrasts",
            "index": 0,
            "x": "1",
            "y": "1",
            "defined": true,
            "xExact": "1",
            "yExact": "1"
          },
          {
            "series": "representation contrasts",
            "index": 1,
            "x": "2",
            "y": "1",
            "defined": true,
            "xExact": "2",
            "yExact": "1"
          }
        ],
        "plotFile": "ml21-code/python-representation-full-types-result/plot.svg",
        "fullResultFile": "ml21-code/python-representation-full-types-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "constant": {
        "api": "representation",
        "variant": "constant",
        "language": "python",
        "title": "Constant balance can hide causal comparison bias",
        "input": {
          "atoms": [
            {
              "id": "low",
              "probability": "1/2",
              "y0": "0",
              "y1": "1",
              "e": "1/4",
              "phi": "constant"
            },
            {
              "id": "high",
              "probability": "1/2",
              "y0": "2",
              "y1": "3",
              "e": "3/4",
              "phi": "constant"
            }
          ]
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/representation-constant.py",
        "codeSHA256": "f18cded9f6e087bc22a74e6bcfc04e48d1eca520bfcd877f13d98fe4bed8becb",
        "code": "\"\"\"ML21 complete standalone fixed example, not a general API validator.\nRun: python this-file.py NEW-OUTDIR\nFixed literal input is also supplied as matching human-readable JSON.\nRealdata reads3factual CSVs under data/, using owned public scalar code byvalue.\nNo production engine/model/checker/computed answers are imported.\n\"\"\"\nfrom pathlib import Path\nfrom fractions import Fraction as F\nfrom collections import defaultdict,Counter\nimport csv,json,hashlib,sys,html,math\nif hasattr(sys,'set_int_max_str_digits'):sys.set_int_max_str_digits(200000)\ndef f(v):return v if isinstance(v,F)else F(str(v))\ndef ck(v,label=''):\n if not v:raise AssertionError(label)\ndef maybe(v):return dict(defined=False)if v is None else dict(defined=True,value=v)\ndef mean(v,w):return sum((a*b for a,b in zip(v,w)),F(0))/sum(w,F(0))if sum(w,F(0))else None\ndef extremum(values,p,radius,cap,sign):\n q=list(p);budget=radius;upper=[min(F(1),cap*x)for x in p]\n order=sorted(range(len(values)),key=lambda i:(sign*values[i],i))\n donors=list(order);receivers=list(reversed(order));left=right=0\n while budget>0 and left<len(q)and right<len(q):\n  i,j=donors[left],receivers[right]\n  if sign*values[j]<=sign*values[i]:break\n  move=min(q[i],upper[j]-q[j],budget)\n  if move>0:q[i]-=move;q[j]+=move;budget-=move\n  if q[i]==0:left+=1\n  if q[j]==upper[j]:right+=1\n  if move==0 and q[i]>0 and q[j]<upper[j]:raise AssertionError('transport made no progress')\n return q,sum(a*b for a,b in zip(q,values)),sum(abs(a-b)for a,b in zip(q,p))/2\n\ndef fixed_source(kind):\n selectedKind=kind\n S=Path(__file__).resolve().parent/\"data\"\n def read(n):\n  with(S/n).open(encoding=\"utf8\",newline=\"\")as stream:return list(csv.DictReader(stream))\n def source_rows():\n  rows=read('actual48-country-revised-original-2023-2024.csv');lk={(r['countryISO3'],r['indicatorID'],r['date']):r for r in rows};isos=sorted({r['countryISO3']for r in rows});g=sorted(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])for i in isos);median=(g[7]+g[8])/2\n  models={'country':[dict(id=i+':2024',originalID=i,sourceRow=i,foldGroup='country:'+i,a=int(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])>median),x=[f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])/10000,f(lk[i,'FP.CPI.TOTL.ZG','2023']['originalValueToken'])/10],y=f(lk[i,'NY.GDP.MKTP.KD.ZG','2024']['originalValueToken']))for i in isos]}\n  native=read('actual38408-NSW-all15-fields.csv');pairs=defaultdict(dict)\n  for r in native:pairs[str(int(f(r['id'])))][int(f(r['year']))]=r\n  people=[]\n  for ID,pair in pairs.items():\n   pre,post=pair[1975],pair[1978];ck(pre['treated']==post['treated'],'native stable treatment');sel=int(f(pre['experimental']))==1;ck(sel==(pre['treated']!='.'),'no recode missingtreatment')\n   if sel:people.append(dict(id='nsw-id:'+ID,originalID=ID,sourceRow=int(post['sourceRow']),foldGroup='nsw-id:'+ID,a=int(f(pre['treated'])),x=[F.from_float(float(pre['age']))/10,F.from_float(float(pre['educ']))/10,F.from_float(float(pre['re74']))/10000],y=F.from_float(float(post['re']))/10000))\n  models['person']=people;company=[]\n  for r in read('actual410-NJPA-all46-fields.csv'):\n   ys=[]\n   for suffix in['','2']:\n    v=[None if r[k+suffix]=='.'else f(r[k+suffix])for k in['EMPFT','EMPPT','NMGRS']];ys.append(None if None in v else v[0]+v[1]/2+v[2])\n   company.append(dict(id='njpa-row:'+r['sourceRow'],originalID=r['SHEET'],sourceRow=int(r['sourceRow']),foldGroup='sheet:'+r['SHEET'],a=int(r['STATE']),x=[None if ys[0]is None else ys[0]/10,None if r['CHAIN']=='.'else F(int(f(r['CHAIN'])==2)),None if r['CO_OWNED']=='.'else f(r['CO_OWNED'])],y=None if None in ys else ys[1]-ys[0]))\n  models['company']=company\n  for kind,rr in models.items():\n   groups=sorted({r['foldGroup']for r in rr},key=lambda g:(hashlib.sha256(('ML21|'+kind+'|'+g).encode()).digest(),g));folds={g:i%4 for i,g in enumerate(groups)}\n   for r in rr:r['fold']=folds[r['foldGroup']];r['eligible']=r['y']is not None and None not in r['x'];r['role']='analysis'if r['eligible']else'excluded';r['w']=F(1)\n  return models\n MODELS=source_rows()\n def solve(A,b):\n  n=len(b);M=[list(a)+[v]for a,v in zip(A,b)];pivot=[];i=0\n  for j in range(n):\n   k=next((k for k in range(i,n)if M[k][j]!=0),None)\n   if k is None:continue\n   M[i],M[k]=M[k],M[i];v=M[i][j];M[i]=[z/v for z in M[i]]\n   for k in range(n):\n    if k!=i:\n     v=M[k][j];M[k]=[a-v*b for a,b in zip(M[k],M[i])]\n   pivot.append(j);i+=1\n   if i==n:break\n  beta=[F(0)]*n\n  for i,j in enumerate(pivot):beta[j]=M[i][-1]\n  null=[]\n  for j in range(n):\n   if j in pivot:continue\n   v=[F(0)]*n;v[j]=F(1)\n   for i,k in enumerate(pivot):v[k]=-M[i][j]\n   null.append(v)\n  return beta,null,len(pivot)\n def source_expected(a):\n  base=MODELS[a.get('kind','person')];rep=a.get('representation','full');rr=[]\n  for r in base:\n   full=r['x'];x=full if rep=='full'else[]if rep=='constant'else[F(r['a'])]if a.get('kind','person')=='country'else[F(full[1]>F(6,5)),F(full[2]>0)]if a.get('kind','person')=='person'else[full[1]]\n   group=('higher-GDP-category'if r['a']else'lower-GDP-category')if a.get('kind','person')=='country'else('schooling-over12'if full[1]>F(6,5)else'schooling-at-most12')if a.get('kind','person')=='person'else('chain2'if full[1]else'other-chains');rr.append(dict(r,x=x,fullX=full,group=group))\n  eligible=[r for r in rr if r['eligible']];limit=a.get('trainingLimit',len(eligible));keep={r['id']for r in eligible[:limit]};lam=f(a.get('lambda','1/100'));eps=f(a.get('clip','1/20'));nuisance=[];out={};dimension=len(rr[0]['x'])+1\n  for fold in range(4):\n   tr=[r for r in rr if r['eligible']and r['id']in keep and r['fold']!=fold];fits={};means=[sum(r['x'][j]for r in tr)/len(tr)for j in range(dimension-1)]if tr else[];scales=[max(r['x'][j]for r in tr)-min(r['x'][j]for r in tr)or F(1)for j in range(dimension-1)]if tr else[]\n   def z(r):return None if not tr or None in r['x']else[F(1)]+[(v-m)/s for v,m,s in zip(r['x'],means,scales)]\n   for name in['e','mu0','mu1']:\n    use=[r for r in tr if name=='e'or r['a']==int(name[-1])]\n    if not use:fits[name]=dict(defined=False);continue\n    Z=[z(r)for r in use];Y=[F(r['a'])if name=='e'else r['y']for r in use];N=len(use);A=[[sum(v[j]*v[k]for v in Z)/N+(lam if j==k and j else 0)for k in range(dimension)]for j in range(dimension)];b=[sum(y*v[j]for v,y in zip(Z,Y))/N for j in range(dimension)];beta,null,rank=solve(A,b);minimum=sum((sum(b*z for b,z in zip(beta,v))-y)**2 for v,y in zip(Z,Y))/(2*N)+lam*sum(v*v for v in beta[1:])/2;fits[name]=dict(defined=True,trainingIDs=[r['id']for r in use],rows=N,rank=rank,unique=rank==dimension,theta=beta,nullspace=null,minimumObjective=minimum,meanX=means,scales=scales)\n   nuisance.append(dict(fold=fold,complementRows=len(tr),fits=fits))\n   for r in rr:\n    if r['fold']!=fold:continue\n    zz=z(r);pred={name:None if zz is None or not fit['defined']else sum(v*b for v,b in zip(zz,fit['theta']))for name,fit in fits.items()};eRaw=pred['e'];e=None if eRaw is None else max(eps,min(1-eps,eRaw));inv={name:zz is not None and fit['defined']and all(sum(a*b for a,b in zip(v,zz))==0 for v in fit['nullspace'])for name,fit in fits.items()};out[r['id']]=dict(r,mu0=pred['mu0'],mu1=pred['mu1'],e=e,eRaw=eRaw,propensityClipped=e is not None and e!=eRaw,nuisancePredictionDefined=all(v is not None for v in pred.values()),queryInvariantAcrossMinimizers=inv)\n  return rr,nuisance,[out[r['id']]for r in rr]\n def aipw_expected(rows,role='all'):\n  out=[]\n  for r in rows:\n   reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n   if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n   plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n  def summary(use):\n   ww=[r['w']for r in use];arms=[]\n   for A in[0,1]:\n    arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n   return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n  use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n raw,nuisance,oo=source_expected(dict(kind=selectedKind,representation='full'));scores=aipw_expected(oo);use=[r for r in scores['rows']if r['eligible']];values=[r['score']['value']for r in use];p=[F(1,len(use))for _ in use];lo,low,ltv=extremum(values,p,F(1,10),F(2),-1);hi,high,htv=extremum(values,p,F(1,10),F(2),1);fits=[]\n for n in nuisance:\n  for name,z in n['fits'].items():fits.append(dict(fold=n['fold'],fit=name,trainingIDs=z['trainingIDs'],rows=z['rows'],rank=z['rank'],unique=z['unique'],theta=z['theta'],minimumObjective=z['minimumObjective'],meanX=z['meanX'],scales=z['scales']))\n rr=[]\n for r in scores['rows']:rr.append(dict(id=r['id'],sourceRow=r['sourceRow'],originalID=r['originalID'],foldGroup=r['foldGroup'],fold=r['fold'],a=r['a'],y=r['y'],x=r['fullX'],eligible=r['eligible'],eRaw=r['eRaw'],e=r['e'],mu0=r['mu0'],mu1=r['mu1'],plugin=r.get('plugin'),score=r['score'].get('value'),IPWContribution=r.get('IPWContribution')))\n unit={'country':'GDP growth contrast, percentage points','person':'native real1978earnings/10000','company':'post-minus-pre FTE employees'}[selectedKind]\n return dict(kind=selectedKind,unit=unit,rows=rr,fits=fits,AIPW=scores['overall']['AIPW'].get('value'),plugin=scores['overall']['plugin'].get('value'),IPW=scores['overall']['IPW'].get('value'),normalizedIPWContrast=scores['overall']['normalizedIPWContrast'].get('value'),stressMinimum=low,stressMaximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\n\ndef aipw_expected(rows,role='all'):\n out=[]\n for r in rows:\n  reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n  if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n  plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n def summary(use):\n  ww=[r['w']for r in use];arms=[]\n  for A in[0,1]:\n   arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n  return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n\n# Owned standalone fixed-example adapters; no production engine import.\nQ=F\nnumber=f\ndef fixed_robust(a):\n values=list(map(f,a['values']));p=list(map(f,a.get('probabilities',[F(1,len(values))for _ in values])));radius=f(a.get('radius','1/10'));cap=f(a.get('cap',2))\n if cap<1 or not 0<=radius<=1:raise ValueError('invalid-robust-constraint')\n lo,low,ltv=extremum(values,p,radius,cap,-1);hi,high,htv=extremum(values,p,radius,cap,1)\n return dict(values=values,p=p,radius=radius,cap=cap,baseline=sum(v*w for v,w in zip(values,p)),minimum=low,maximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\ndef fixed_aipw(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  rr.append(dict(id=r.get('id',str(i)),a=None if r.get('a')is None else int(f(r['a'])),**{k:None if r.get(k)is None else f(r[k])for k in ['y','e','mu0','mu1']},w=w,role=r.get('role','analysis'),group=r.get('group','all')))\n return aipw_expected(rr)\ndef fixed_effects(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  y0=None if r.get('y0')is None else f(r['y0']);y1=None if r.get('y1')is None else f(r['y1']);A=r.get('a');A=None if A is None else int(f(A));rr.append(dict(id=r.get('id',str(i)),a=A,y0=y0,y1=y1,w=w,effect=None if y0 is None or y1 is None else y1-y0,observed=y1 if A==1 else y0 if A==0 else None))\n complete=[r for r in rr if r['w']>0 and r['effect']is not None];treated=[r for r in complete if r['a']==1];arms=[mean([r['observed']for r in rr if r['a']==A and r['observed']is not None and r['w']>0],[r['w']for r in rr if r['a']==A and r['observed']is not None and r['w']>0])for A in [0,1]]\n return dict(rows=rr,completeRows=len(complete),ATE=mean([r['effect']for r in complete],[r['w']for r in complete]),ATT=mean([r['effect']for r in treated],[r['w']for r in treated]),observedContrast=None if None in arms else arms[1]-arms[0])\ndef fixed_representation(a):\n atoms=[dict(id=r['id'],p=f(r['probability']),y0=f(r['y0']),y1=f(r['y1']),e=f(r['e']),phi=r['phi'])for r in a['atoms']];groups=[];ATE=sum(r['p']*(r['y1']-r['y0'])for r in atoms)\n if sum(r['p']for r in atoms)!=1:raise ValueError('law-probabilities-must-sum-one')\n for phi in dict.fromkeys(r['phi']for r in atoms if r['p']):\n  use=[r for r in atoms if r['phi']==phi and r['p']];mass=sum(r['p']for r in use);t=sum(r['p']*r['e']for r in use);m1=sum(r['p']*r['e']*r['y1']for r in use)/t if t else None;m0=sum(r['p']*(1-r['e'])*r['y0']for r in use)/(mass-t)if mass!=t else None;groups.append(dict(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=None if m0 is None or m1 is None else m1-m0))\n adjusted=None if any(r['contrast']is None for r in groups)else sum(r['mass']*r['contrast']for r in groups)\n return dict(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=None if adjusted is None else adjusted-ATE)\ndef fixed_validate(a):\n rr=a['rows'];cc=a['candidates'];groups=a['requiredGroups'];eligible=[r.get('y')is not None and f(r.get('weight',1))>0 and r['role']not in ['excluded','unused']and all(c['predictions'][i]is not None for c in cc)for i,r in enumerate(rr)];out=[]\n for c in cc:\n  def risk(ids):return mean([(f(c['predictions'][i])-f(rr[i]['y']))**2 for i in ids],[f(rr[i].get('weight',1))for i in ids])\n  vr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='validation'];tr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='test'];gv=[risk([i for i in vr if rr[i]['group']==g])for g in groups];worst=None if None in gv else max(gv);criterion=risk(vr)if a.get('criterion','worst-group')=='mean'else worst;out.append(dict(id=c['id'],validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=criterion))\n available=[i for i,z in enumerate(out)if z['criterion']is not None];selected=min(available,key=lambda i:(out[i]['criterion'],i))if available else None\n return dict(commonEligibility=eligible,groups=groups,candidates=out,selectedIndex=selected,selectedID=None if selected is None else out[selected]['id'],selectedScore=None if selected is None else out[selected]['criterion'])\ndef fixed_operation(api,a):return fixed_effects(a)if api=='effects'else fixed_aipw(a)if api=='aipw'else fixed_representation(a)if api=='representation'else fixed_robust(a)if api=='robust'else fixed_validate(a)if api=='validate'else fixed_source(a['kind'])\ndef report_values(api,z):\n summary=[];series=[]\n def add(k,v,u):summary.append((k,v,u))\n if api=='effects':\n  for k in ['completeRows','ATE','ATT','observedContrast']:add(k,z[k],'rows'if k=='completeRows'else'constructed outcome units')\n  series=[('known constructed effects',[(i+1,r['effect'])for i,r in enumerate(z['rows'])])]\n elif api=='aipw':\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast']:add(k,z['overall'][k].get('value'),'constructed outcome units')\n  add('eligibleRows',z['overall']['rows'],'rows');series=[('AIPW row scores',[(i+1,r['score'].get('value'))for i,r in enumerate(z['rows'])])]\n elif api=='representation':\n  for k in ['ATE','adjustedContrast','bias']:add(k,z[k],'constructed outcome units')\n  series=[('representation contrasts',[(i+1,r['contrast'])for i,r in enumerate(z['groups'])])]\n elif api=='robust':\n  for k in ['baseline','minimum','maximum']:add(k,z[k],'declared value units')\n  for k in ['minTV','maxTV']:add(k,z[k],'probability mass')\n  series=[('minimum weights',[(i+1,v)for i,v in enumerate(z['minWeights'])]),('maximum weights',[(i+1,v)for i,v in enumerate(z['maxWeights'])])]\n elif api=='validate':\n  add('selectedIndex',z['selectedIndex'],'zero-based candidate index');add('selectedScore',z['selectedScore'],'squared outcome units');series=[('validation criterion',[(i+1,c['criterion'])for i,c in enumerate(z['candidates'])])]\n else:\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum']:add(k,z[k],z['unit'])\n  add('sourceRows',len(z['rows']),'analytical records');add('eligibleRows',sum(r['eligible']for r in z['rows']),'records');series=[('actual out-of-fold scores',[(i+1,r['score'])for i,r in enumerate(z['rows'])])]\n return summary,series\n\nFIXED={'api': 'representation', 'variant': 'constant', 'title': 'Constant balance can hide causal comparison bias', 'input': {'atoms': [{'id': 'low', 'probability': '1/2', 'y0': '0', 'y1': '1', 'e': '1/4', 'phi': 'constant'}, {'id': 'high', 'probability': '1/2', 'y0': '2', 'y1': '3', 'e': '3/4', 'phi': 'constant'}]}, 'expectedFailure': False}\n\ndef fixed_svg(points,title):\n good=[p for p in points if p['y'] is not None];xx=[float(p['x'])for p in good];yy=[float(p['y'])for p in good];xmin=min(xx)if xx else 0;xmax=max(xx)if xx else 1;ymin=min([0]+yy);ymax=max([0]+yy)\n if xmin==xmax:xmin-=.5;xmax+=.5\n if ymin==ymax:ymin-=.5;ymax+=.5\n pad=(ymax-ymin)*.08;ymin-=pad;ymax+=pad;X=lambda x:82+(float(x)-xmin)/(xmax-xmin)*608;Y=lambda y:354-(float(y)-ymin)/(ymax-ymin)*290;e=html.escape\n out=['<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"'+e(title)+'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">'+e(title)+'</text>']\n for j in range(5):\n  y=ymin+(ymax-ymin)*j/4;x=xmin+(xmax-xmin)*j/4;out.append('<line x1=\"82\" y1=\"'+str(Y(y))+'\" x2=\"690\" y2=\"'+str(Y(y))+'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"'+str(Y(y)+4)+'\" text-anchor=\"end\">'+format(y,'.3g')+'</text><text x=\"'+str(X(x))+'\" y=\"380\" text-anchor=\"middle\">'+format(x,'.3g')+'</text>')\n series=list(dict.fromkeys(p['series']for p in good))\n for j,s in enumerate(series):\n  pp=[p for p in good if p['series']==s];color=['#0f766e','#c76622','#4f46e5','#b23857'][j%4];out.append('<polyline fill=\"none\" stroke=\"'+color+'\" stroke-width=\"1.5\" points=\"'+' '.join(format(X(p['x']),'.6f')+','+format(Y(p['y']),'.6f')for p in pp)+'\"/>')\n  for p in pp:out.append('<circle cx=\"'+format(X(p['x']),'.6f')+'\" cy=\"'+format(Y(p['y']),'.6f')+'\" r=\"2.6\" fill=\"'+color+'\"><title>'+e(s+': '+str(p['y']))+'</title></circle>')\n  out.append('<text x=\"'+str(82+(j%2)*310)+'\" y=\"'+str(432+(j//2)*23)+'\" fill=\"'+color+'\">'+e(s)+'</text>')\n out.append('<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>');return''.join(out)\n\nOUT=Path(sys.argv[1]);OUT.mkdir(parents=True,exist_ok=False)\nresult=fixed_operation(FIXED['api'],FIXED['input']);summary,series=report_values(FIXED['api'],result)\ndef encode(v):\n if isinstance(v,Q):return str(v)\n if isinstance(v,dict):return{k:encode(x)for k,x in v.items()}\n if isinstance(v,(list,tuple)):return[encode(x)for x in v]\n return v\n(OUT/'full.json').write_text(json.dumps(dict(arithmetic='Exact Fraction fixed examples; factualsource and knownhypotheticallaws separate; empiricalTV notCI',result=encode(result)),ensure_ascii=False,indent=2)+'\\n',encoding='utf8')\nsummaryRows=[dict(metric=m,value=''if v is None else str(int(v))if isinstance(v,bool)else str(v),unit=u,defined=int(v is not None))for m,v,u in summary]\npoints=[dict(series=name,index=i,x=str(x),y=''if y is None else str(y),defined=int(y is not None))for name,pp in series for i,(x,y)in enumerate(pp)]\nfor name,rows in [('summary',summaryRows),('plot-points',points)]:\n with(OUT/(name+'.csv')).open('w',encoding='utf8',newline='')as f:writer=csv.DictWriter(f,fieldnames=list(rows[0]));writer.writeheader();writer.writerows(rows)\n(OUT/'plot.svg').write_text(fixed_svg([dict(p,x=number(p['x']),y=None if not p['defined']else number(p['y']))for p in points],FIXED['title']),encoding='utf8');print(FIXED['api']+'/'+FIXED['variant'])\n",
        "returnCode": 0,
        "stdout": "representation/constant\r\n",
        "stderr": "",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/python-representation-constant-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/representation-constant-input.json",
            "sha256": "11ca36ae1160b9f8db5c52fe84720ce737c2059e6fab793d92b85ffc5fb929ff",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/python-representation-constant-result/full.json",
            "sha256": "fc12a9662cb75bc16bf600fe17ebdaadff94761c568c7c01f283372f29eaca8d",
            "bytes": 718
          },
          {
            "file": "ml21-code/python-representation-constant-result/plot-points.csv",
            "sha256": "c8979794b5f005b9012ded5af860318c8f66b894144c2af8655aa9ff3c58ae28",
            "bytes": 60
          },
          {
            "file": "ml21-code/python-representation-constant-result/plot.svg",
            "sha256": "fe9fdd7ee06205233c6fccbb0ddc6fad11c043ca57b5c3eff01d473e33a5ceb1",
            "bytes": 1592
          },
          {
            "file": "ml21-code/python-representation-constant-result/summary.csv",
            "sha256": "348dfa73c0c6ab0f9b24750d58a292849f323a09ff1ce746306b964611b71246",
            "bytes": 146
          },
          {
            "file": "ml21-code/python-representation-constant-result/stdout.txt",
            "sha256": "4b89042f70e6c47addf7d591fc83aa1efe61646c2b201339e55349f6a397e6ef",
            "bytes": 25
          },
          {
            "file": "ml21-code/python-representation-constant-result/stderr.txt",
            "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "bytes": 0
          }
        ],
        "summaryRows": [
          {
            "metric": "ATE",
            "value": "1",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "1",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "adjustedContrast",
            "value": "2",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "2",
            "exactFraction": "2",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "bias",
            "value": "1",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "1",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          }
        ],
        "plotRows": [
          {
            "series": "representation contrasts",
            "index": 0,
            "x": "1",
            "y": "2",
            "defined": true,
            "xExact": "1",
            "yExact": "2"
          }
        ],
        "plotFile": "ml21-code/python-representation-constant-result/plot.svg",
        "fullResultFile": "ml21-code/python-representation-constant-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      }
    },
    "r": {
      "full-types": {
        "api": "representation",
        "variant": "full-types",
        "language": "r",
        "title": "Known two-type law with retained information",
        "input": {
          "atoms": [
            {
              "id": "low",
              "probability": "1/2",
              "y0": "0",
              "y1": "1",
              "e": "1/4",
              "phi": "low"
            },
            {
              "id": "high",
              "probability": "1/2",
              "y0": "2",
              "y1": "3",
              "e": "3/4",
              "phi": "high"
            }
          ]
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/representation-full-types.R",
        "codeSHA256": "e03f43541d7d841f37fe3e37c14b01c747b1e2f56e29d10aabf70cfd3c2875d2",
        "code": "# ML21 standalone numerical fixed example, not arbitrary exact API validation.\n# Fixed inputs are declared inline and matching JSON provided for reading.\n# Realdata code uses3factual CSVs, R4.5+ toolsSHA256 and numerical ridge.\noptions(digits=17)\nfixedSource<-function(kind){\n selectedKind<-kind\n src<-file.path(dirname(sub('^--file=','',grep('^--file=',commandArgs(),value=TRUE)[1])),'data')\nreadnative<-function(n)read.csv(file.path(src,n),colClasses='character',check.names=FALSE,na.strings=NULL,stringsAsFactors=FALSE)\nnum<-function(x){v<-suppressWarnings(as.numeric(x));v[x%in%c('','.')] <- NA_real_;v}\nsha<-function(s){tf<-tempfile('ml21-group-');writeBin(charToRaw(enc2utf8(s)),tf);on.exit(unlink(tf));unname(tools::sha256sum(tf))}\nwb<-readnative('actual48-country-revised-original-2023-2024.csv');iso<-sort(unique(wb$countryISO3))\nlookup<-function(i,code,yr){r<-wb[wb$countryISO3==i&wb$indicatorID==code&wb$date==yr,,drop=FALSE];stopifnot(nrow(r)==1);num(r$originalValueToken)}\ng<-vapply(iso,lookup,numeric(1),code='NY.GDP.PCAP.KD',yr='2023');pi<-vapply(iso,lookup,numeric(1),code='FP.CPI.TOTL.ZG',yr='2023');gy<-vapply(iso,lookup,numeric(1),code='NY.GDP.MKTP.KD.ZG',yr='2024')\ncountry<-list(id=paste0(iso,':2024'),originalID=iso,sourceRow=iso,foldGroup=paste0('country:',iso),a=as.integer(g>median(g)),x=cbind(g/10000,pi/10),y=gy)\npd<-readnative('actual38408-NSW-all15-fields.csv');pre<-pd[pd$year=='1975',,drop=FALSE];post<-pd[match(pre$id,pd$id[pd$year=='1978'])+0,,drop=FALSE]\npostNative<-pd[pd$year=='1978',,drop=FALSE];post<-postNative[match(pre$id,postNative$id),,drop=FALSE]\nstopifnot(nrow(pre)==19204,nrow(post)==19204,all(pre$id==post$id),all(pre$treated==post$treated));take<-num(pre$experimental)==1;stopifnot(all(take==(pre$treated!='.')));pre<-pre[take,,drop=FALSE];post<-post[take,,drop=FALSE]\nperson<-list(id=paste0('nsw-id:',pre$id),originalID=pre$id,sourceRow=post$sourceRow,foldGroup=paste0('nsw-id:',pre$id),a=num(pre$treated),x=cbind(num(pre$age)/10,num(pre$educ)/10,num(pre$re74)/10000),y=num(post$re)/10000)\ncd<-readnative('actual410-NJPA-all46-fields.csv');before<-num(cd$EMPFT)+num(cd$EMPPT)/2+num(cd$NMGRS);after<-num(cd$EMPFT2)+num(cd$EMPPT2)/2+num(cd$NMGRS2)\ncompany<-list(id=paste0('njpa-row:',cd$sourceRow),originalID=cd$SHEET,sourceRow=cd$sourceRow,foldGroup=paste0('sheet:',cd$SHEET),a=num(cd$STATE),x=cbind(before/10,as.integer(num(cd$CHAIN)==2),num(cd$CO_OWNED)),y=after-before)\nmodels<-list(country=country,person=person,company=company)\nfor(kind in names(models)){\n m<-models[[kind]];groups<-unique(m$foldGroup);hash<-vapply(groups,function(g)sha(paste0('ML21|',kind,'|',g)),character(1));ord<-order(hash,groups);folds<-integer(length(groups));folds[ord]<-(seq_along(ord)-1L)%%4L;m$fold<-folds[match(m$foldGroup,groups)];m$eligible<-!is.na(m$y)&rowSums(is.na(m$x))==0;m$role<-ifelse(m$eligible,'analysis','excluded');models[[kind]]<-m\n}\nstopifnot(length(person$id)==722,sum(person$a)==297,sum(models$company$eligible)==384,length(country$id)==16)\nsourcefit<-function(kind,m,rep){\n N<-length(m$id);X<-if(rep=='full')m$x else if(rep=='constant')matrix(numeric(0),nrow=N,ncol=0) else if(kind=='country')matrix(m$a,ncol=1) else if(kind=='person')cbind(as.integer(m$x[,2]>1.2),as.integer(m$x[,3]>0)) else matrix(m$x[,2],ncol=1)\n group<-if(kind=='country')ifelse(m$a==1,'higher-GDP-category','lower-GDP-category')else if(kind=='person')ifelse(m$x[,2]>1.2,'schooling-over12','schooling-at-most12')else ifelse(!is.na(m$x[,2])&m$x[,2]!=0,'chain2','other-chains')\n p<-ncol(X);eRaw<-mu0<-mu1<-rep(NA_real_,N);fits<-list();coords<-list()\n for(fold in 0:3){\n  tr<-which(m$eligible&m$fold!=fold);means<-if(p)colMeans(X[tr,,drop=FALSE])else numeric(0);scales<-if(p)apply(X[tr,,drop=FALSE],2,function(x)diff(range(x)))else numeric(0);scales[scales==0]<-1;Z<-if(p)cbind(1,sweep(sweep(X,2,means,'-'),2,scales,'/'))else matrix(1,nrow=N,ncol=1);hold<-which(m$fold==fold);ok<-rowSums(is.na(Z[hold,,drop=FALSE]))==0\n  for(name in c('e','mu0','mu1')){\n   ix<-if(name=='e')tr else tr[m$a[tr]==if(name=='mu0')0 else 1];target<-if(name=='e')m$a[ix]else m$y[ix];A<-crossprod(Z[ix,,drop=FALSE])/length(ix)+diag(c(0,rep(.01,p)),nrow=p+1);b<-as.vector(crossprod(Z[ix,,drop=FALSE],target))/length(ix);theta<-as.vector(solve(A,b));minimum<-mean((as.vector(Z[ix,,drop=FALSE]%*%theta)-target)^2)/2+.01*sum(theta[-1]^2)/2;v<-as.vector(Z[hold,,drop=FALSE]%*%theta)\n   if(name=='e')eRaw[hold]<-v else if(name=='mu0')mu0[hold]<-v else mu1[hold]<-v\n   fits[[length(fits)+1L]]<-list(fold=fold,name=name,rows=length(ix),rank=p+1,theta=theta,minimumObjective=minimum,trainingIDs=m$id[ix])\n  }\n  coords[[length(coords)+1L]]<-list(fold=fold,mean=means,scale=scales)\n }\n e<-pmax(.05,pmin(.95,eRaw));nuisance<-!is.na(e)&!is.na(mu0)&!is.na(mu1);eligible<-m$eligible&nuisance;plugin<-treated<-control<-ipw<-effective<-score<-rep(NA_real_,N);ix<-which(eligible);plugin[ix]<-mu1[ix]-mu0[ix];treated[ix]<-ifelse(m$a[ix]==1,(m$y[ix]-mu1[ix])/e[ix],0);control[ix]<-ifelse(m$a[ix]==0,(m$y[ix]-mu0[ix])/(1-e[ix]),0);score[ix]<-plugin[ix]+treated[ix]-control[ix];ipw[ix]<-ifelse(m$a[ix]==1,m$y[ix]/e[ix],-m$y[ix]/(1-e[ix]));effective[ix]<-1/ifelse(m$a[ix]==1,e[ix],1-e[ix]);clipped<-!is.na(eRaw)&eRaw!=e\n list(X=X,group=group,meanX=coords,fits=fits,eRaw=eRaw,e=e,mu0=mu0,mu1=mu1,nuisance=nuisance,eligible=eligible,plugin=plugin,treated=treated,control=control,score=score,ipw=ipw,effective=effective,clipped=clipped)\n}\nextreme<-function(values,sign){N<-length(values);p<-rep(1/N,N);q<-p;upper<-pmin(1,2*p);ord<-order(round(sign*values,12),seq_along(values));donor<-ord;receiver<-rev(ord);a<-b<-1L;budget<-.1\n while(budget>1e-14&&a<=N&&b<=N){i<-donor[a];j<-receiver[b];if(sign*values[j]<=sign*values[i]+1e-14)break;move<-min(q[i],upper[j]-q[j],budget);if(move>0){q[i]<-q[i]-move;q[j]<-q[j]+move;budget<-budget-move};if(q[i]<=1e-14)a<-a+1L;if(upper[j]-q[j]<=1e-14)b<-b+1L;if(move<=0&&a<=N&&b<=N&&q[i]>1e-14&&upper[j]-q[j]>1e-14)stop('no transport progress')};list(q=q,objective=sum(q*values),TV=sum(abs(q-p))/2)\n}\n\n m<-models[[selectedKind]];z<-sourcefit(selectedKind,m,'full');ix<-which(z$eligible);v<-z$score[ix];lo<-extreme(v,-1);hi<-extreme(v,1);treated<-ix[m$a[ix]==1];control<-ix[m$a[ix]==0];norm<-sum(m$y[treated]*z$effective[treated])/sum(z$effective[treated])-sum(m$y[control]*z$effective[control])/sum(z$effective[control]);nv<-function(v)if(is.na(v))NULL else unname(v)\n rows<-lapply(seq_along(m$id),function(i)list(id=m$id[i],sourceRow=if(selectedKind=='country')m$sourceRow[i]else as.integer(m$sourceRow[i]),originalID=m$originalID[i],foldGroup=m$foldGroup[i],fold=m$fold[i],a=m$a[i],y=nv(m$y[i]),x=lapply(as.list(m$x[i,]),nv),eligible=z$eligible[i],eRaw=nv(z$eRaw[i]),e=nv(z$e[i]),mu0=nv(z$mu0[i]),mu1=nv(z$mu1[i]),plugin=nv(z$plugin[i]),score=nv(z$score[i]),IPWContribution=nv(z$ipw[i])))\n fits<-lapply(z$fits,function(fit){co<-z$meanX[[fit$fold+1L]];list(fold=fit$fold,fit=fit$name,trainingIDs=as.list(fit$trainingIDs),rows=fit$rows,rank=fit$rank,unique=TRUE,theta=as.list(fit$theta),minimumObjective=fit$minimumObjective,meanX=as.list(co$mean),scales=as.list(co$scale))});unit<-switch(selectedKind,country='GDP growth contrast, percentage points',person='native real1978earnings/10000',company='post-minus-pre FTE employees')\n list(kind=selectedKind,unit=unit,rows=rows,fits=fits,AIPW=mean(v),plugin=mean(z$plugin[ix]),IPW=mean(z$ipw[ix]),normalizedIPWContrast=norm,stressMinimum=lo$objective,stressMaximum=hi$objective,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\n\n# Owned numerical fixed-example adapters; not arbitrary exact input validators.\nnum<-function(v){if(is.null(v))return(NULL);if(is.numeric(v))return(as.numeric(v));s<-strsplit(as.character(v),'/',fixed=TRUE)[[1]];if(length(s)==2)as.numeric(s[1])/as.numeric(s[2])else as.numeric(v)}\nopt<-function(a,key,default)if(is.null(a[[key]]))default else a[[key]]\nmaybe<-function(v)if(is.null(v))list(defined=FALSE)else list(defined=TRUE,value=v)\nweighted<-function(v,w){if(!length(w)||sum(w)==0)return(NULL);sum(v*w)/sum(w)}\nfixedEffects<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){r<-a$rows[[i]];w<-num(opt(r,'weight',1));if(w<0)stop('negative-analysis-weight');y0<-num(r$y0);y1<-num(r$y1);A<-num(r$a);list(id=opt(r,'id',as.character(i-1L)),a=A,y0=y0,y1=y1,w=w,effect=if(is.null(y0)||is.null(y1))NULL else y1-y0,observed=if(is.null(A))NULL else if(A==1)y1 else y0)})\n complete<-Filter(function(r)r$w>0&&!is.null(r$effect),rr);treated<-Filter(function(r)!is.null(r$a)&&r$a==1,complete);avg<-function(rows,key)weighted(vapply(rows,function(r)r[[key]],numeric(1)),vapply(rows,function(r)r$w,numeric(1)));arm<-lapply(0:1,function(A)avg(Filter(function(r)!is.null(r$a)&&r$a==A&&!is.null(r$observed)&&r$w>0,rr),'observed'));list(rows=rr,completeRows=length(complete),ATE=avg(complete,'effect'),ATT=avg(treated,'effect'),observedContrast=if(any(vapply(arm,is.null,logical(1))))NULL else arm[[2]]-arm[[1]])\n}\nfixedAipw<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){v<-a$rows[[i]];w<-num(opt(v,'weight',1));if(w<0)stop('negative-analysis-weight');r<-list(id=opt(v,'id',as.character(i-1L)),a=num(v$a),y=num(v$y),e=num(v$e),mu0=num(v$mu0),mu1=num(v$mu1),w=w,role=opt(v,'role','analysis'),group=opt(v,'group','all'));reason<-if(w==0)'zero-weight'else if(r$role%in%c('excluded','unused'))'inactive-role'else if(any(vapply(r[c('a','y','e','mu0','mu1')],is.null,logical(1))))'missing-required-field'else if(r$e%in%c(0,1))'nonoverlap-boundary-propensity'else NULL;r$eligible<-is.null(reason);r$reason<-reason\n  if(is.null(reason)){r$plugin<-r$mu1-r$mu0;r$treatedResidual<-if(r$a==1)(r$y-r$mu1)/r$e else 0;r$controlResidual<-if(r$a==0)(r$y-r$mu0)/(1-r$e)else 0;r$score<-maybe(r$plugin+r$treatedResidual-r$controlResidual);r$IPWContribution<-if(r$a==1)r$y/r$e else-r$y/(1-r$e);r$effectiveArmWeight<-w/if(r$a==1)r$e else 1-r$e}else r$score<-maybe(NULL);r})\n summary<-function(rows){mass<-sum(vapply(rows,function(r)r$w,numeric(1)));avg<-function(key){if(!mass)return(NULL);sum(vapply(rows,function(r)r$w*if(key=='score')r$score$value else r[[key]],numeric(1)))/mass};arms<-lapply(0:1,function(A){arm<-Filter(function(r)r$a==A,rows);w<-vapply(arm,function(r)r$effectiveArmWeight,numeric(1));list(a=A,rows=length(arm),weightedArmDenominator=sum(w),normalizedMean=maybe(weighted(vapply(arm,function(r)r$y,numeric(1)),w)))});list(rows=length(rows),mass=mass,AIPW=maybe(avg('score')),plugin=maybe(avg('plugin')),IPW=maybe(avg('IPWContribution')),normalizedArmMeans=arms,normalizedIPWContrast=maybe(if(all(vapply(arms,function(r)r$normalizedMean$defined,logical(1))))arms[[2]]$normalizedMean$value-arms[[1]]$normalizedMean$value else NULL))}\n use<-Filter(function(r)r$eligible,rr);roles<-unique(vapply(rr,function(r)r$role,character(1)));groups<-unique(vapply(rr,function(r)r$group,character(1)));list(rows=rr,overall=summary(use),byRole=lapply(roles,function(role)c(list(role=role),summary(Filter(function(r)r$role==role,use)))),byGroup=lapply(groups,function(g)c(list(group=g),summary(Filter(function(r)r$group==g,use)))),overlapExcluded=as.list(vapply(Filter(function(r)identical(r$reason,'nonoverlap-boundary-propensity'),rr),function(r)r$id,character(1))))\n}\nfixedRepresentation<-function(a){\n atoms<-lapply(a$atoms,function(r)list(id=r$id,p=num(r$probability),y0=num(r$y0),y1=num(r$y1),e=num(r$e),phi=r$phi));if(abs(sum(vapply(atoms,function(r)r$p,numeric(1)))-1)>1e-12)stop('law-probabilities-must-sum-one');ATE<-sum(vapply(atoms,function(r)r$p*(r$y1-r$y0),numeric(1)));phis<-unique(vapply(Filter(function(r)r$p>0,atoms),function(r)r$phi,character(1)));groups<-lapply(phis,function(phi){use<-Filter(function(r)r$phi==phi&&r$p>0,atoms);mass<-sum(vapply(use,function(r)r$p,numeric(1)));t<-sum(vapply(use,function(r)r$p*r$e,numeric(1)));m1<-if(t>0)sum(vapply(use,function(r)r$p*r$e*r$y1,numeric(1)))/t else NULL;m0<-if(mass-t>0)sum(vapply(use,function(r)r$p*(1-r$e)*r$y0,numeric(1)))/(mass-t)else NULL;list(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=if(is.null(m0)||is.null(m1))NULL else m1-m0)});adjusted<-if(any(vapply(groups,function(r)is.null(r$contrast),logical(1))))NULL else sum(vapply(groups,function(r)r$mass*r$contrast,numeric(1)));list(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=if(is.null(adjusted))NULL else adjusted-ATE)\n}\nfixedRobust<-function(a){\n values<-vapply(a$values,num,numeric(1));p<-if(is.null(a$probabilities))rep(1/length(values),length(values))else vapply(a$probabilities,num,numeric(1));radius<-num(opt(a,'radius','1/10'));cap<-num(opt(a,'cap',2));if(cap<1||radius<0||radius>1)stop('invalid-robust-constraint')\n go<-function(sign){q<-p;upper<-pmin(1,cap*p);order<-order(sign*values,seq_along(values));lo<-order;hi<-rev(order);i<-j<-1L;budget<-radius;N<-length(values)\n while(budget>1e-14&&i<=N&&j<=N){d<-lo[i];h<-hi[j];if(sign*values[h]<=sign*values[d])break;move<-min(q[d],upper[h]-q[h],budget);if(move>0){q[d]<-q[d]-move;q[h]<-q[h]+move;budget<-budget-move};if(q[d]<=1e-14)i<-i+1L;if(upper[h]-q[h]<=1e-14)j<-j+1L};list(q=q,value=sum(q*values),TV=sum(abs(q-p))/2)};lo<-go(-1);hi<-go(1);list(values=as.list(values),p=as.list(p),radius=radius,cap=cap,baseline=sum(values*p),minimum=lo$value,maximum=hi$value,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\nfixedValidate<-function(a){\n rr<-a$rows;cc<-a$candidates;groups<-unlist(a$requiredGroups);eligible<-vapply(seq_along(rr),function(i){r<-rr[[i]];!is.null(r$y)&&num(opt(r,'weight',1))>0&&!r$role%in%c('excluded','unused')&&all(vapply(cc,function(c)!is.null(c$predictions[[i]]),logical(1)))},logical(1));out<-lapply(cc,function(c){risk<-function(ix){if(!length(ix))return(NULL);weighted(vapply(ix,function(i)(num(c$predictions[[i]])-num(rr[[i]]$y))^2,numeric(1)),vapply(ix,function(i)num(opt(rr[[i]],'weight',1)),numeric(1)))};vr<-which(eligible&vapply(rr,function(r)r$role=='validation',logical(1)));tr<-which(eligible&vapply(rr,function(r)r$role=='test',logical(1)));gv<-lapply(groups,function(g)risk(vr[vapply(rr[vr],function(r)r$group==g,logical(1))]));worst<-if(any(vapply(gv,is.null,logical(1))))NULL else max(unlist(gv));list(id=c$id,validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=if(opt(a,'criterion','worst-group')=='mean')risk(vr)else worst)});available<-which(!vapply(out,function(r)is.null(r$criterion),logical(1)));selected<-if(length(available))available[which.min(vapply(out[available],function(r)r$criterion,numeric(1)))]else NULL;list(commonEligibility=as.list(eligible),groups=as.list(groups),candidates=out,selectedIndex=if(is.null(selected))NULL else selected-1L,selectedID=if(is.null(selected))NULL else out[[selected]]$id,selectedScore=if(is.null(selected))NULL else out[[selected]]$criterion)\n}\nfixedOperation<-function(api,a)switch(api,effects=fixedEffects(a),aipw=fixedAipw(a),representation=fixedRepresentation(a),robust=fixedRobust(a),validate=fixedValidate(a),realdata=fixedSource(a$kind))\nreportValues<-function(api,z){summary<-list();points<-list();add<-function(k,v,u){if(length(v)==1&&is.na(v))v<-NULL;summary[[length(summary)+1L]]<<-list(metric=k,value=v,unit=u)};series<-function(name,values){for(i in seq_along(values)){v<-values[[i]];points[[length(points)+1L]]<<-list(series=name,index=i-1L,x=i,y=v)}}\n if(api=='effects'){for(k in c('completeRows','ATE','ATT','observedContrast'))add(k,z[[k]],if(k=='completeRows')'rows'else'constructed outcome units');series('known constructed effects',lapply(z$rows,function(r)r$effect))}\n else if(api=='aipw'){for(k in c('AIPW','plugin','IPW','normalizedIPWContrast'))add(k,z$overall[[k]]$value,'constructed outcome units');add('eligibleRows',z$overall$rows,'rows');series('AIPW row scores',lapply(z$rows,function(r)r$score$value))}\n else if(api=='representation'){for(k in c('ATE','adjustedContrast','bias'))add(k,z[[k]],'constructed outcome units');series('representation contrasts',lapply(z$groups,function(r)r$contrast))}\n else if(api=='robust'){for(k in c('baseline','minimum','maximum'))add(k,z[[k]],'declared value units');for(k in c('minTV','maxTV'))add(k,z[[k]],'probability mass');series('minimum weights',z$minWeights);series('maximum weights',z$maxWeights)}\n else if(api=='validate'){add('selectedIndex',z$selectedIndex,'zero-based candidate index');add('selectedScore',z$selectedScore,'squared outcome units');series('validation criterion',lapply(z$candidates,function(c)c$criterion))}\n else{for(k in c('AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum'))add(k,z[[k]],z$unit);add('sourceRows',length(z$rows),'analytical records');add('eligibleRows',sum(vapply(z$rows,function(r)r$eligible,logical(1))),'records');series('actual out-of-fold scores',lapply(z$rows,function(r)r$score))};list(summary=summary,points=points)\n}\n\nescapeXML<-function(s){s<-gsub('&','&amp;',s,fixed=TRUE);s<-gsub('<','&lt;',s,fixed=TRUE);s<-gsub('>','&gt;',s,fixed=TRUE);gsub('\"','&quot;',s,fixed=TRUE)}\nsvgPlot<-function(pp,title){\n xx<-vapply(pp,function(p)as.numeric(p$x),numeric(1));yy<-vapply(pp,function(p)as.numeric(p$y),numeric(1));xmin<-if(length(xx))min(xx)else 0;xmax<-if(length(xx))max(xx)else 1;ymin<-min(c(0,yy));ymax<-max(c(0,yy));if(xmin==xmax){xmin<-xmin-.5;xmax<-xmax+.5};if(ymin==ymax){ymin<-ymin-.5;ymax<-ymax+.5};pad<-(ymax-ymin)*.08;ymin<-ymin-pad;ymax<-ymax+pad;X<-function(x)82+(as.numeric(x)-xmin)/(xmax-xmin)*608;Y<-function(y)354-(as.numeric(y)-ymin)/(ymax-ymin)*290\n out<-paste0('<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"',escapeXML(title),'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">',escapeXML(title),'</text>')\n for(j in 0:4){y<-ymin+(ymax-ymin)*j/4;x<-xmin+(xmax-xmin)*j/4;out<-paste0(out,'<line x1=\"82\" y1=\"',Y(y),'\" x2=\"690\" y2=\"',Y(y),'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"',Y(y)+4,'\" text-anchor=\"end\">',sprintf('%.3g',y),'</text><text x=\"',X(x),'\" y=\"380\" text-anchor=\"middle\">',sprintf('%.3g',x),'</text>')}\n ss<-unique(vapply(pp,`[[`,character(1),'series'));cols<-c('#0f766e','#c76622','#4f46e5','#b23857')\n for(j in seq_along(ss)){rr<-Filter(function(p)p$series==ss[j],pp);xy<-vapply(rr,function(p)sprintf('%.6f,%.6f',X(p$x),Y(p$y)),character(1));col<-cols[(j-1)%%4+1];out<-paste0(out,'<polyline fill=\"none\" stroke=\"',col,'\" stroke-width=\"1.5\" points=\"',paste(xy,collapse=' '),'\"/>');for(p in rr)out<-paste0(out,'<circle cx=\"',sprintf('%.6f',X(p$x)),'\" cy=\"',sprintf('%.6f',Y(p$y)),'\" r=\"2.6\" fill=\"',col,'\"><title>',escapeXML(ss[j]),': ',escapeXML(p$y),'</title></circle>');out<-paste0(out,'<text x=\"',82+((j-1)%%2)*310,'\" y=\"',432+floor((j-1)/2)*23,'\" fill=\"',col,'\">',escapeXML(ss[j]),'</text>')}\n paste0(out,'<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>')\n}\n\ntoJSON<-function(x){\n if(is.null(x))return('null');if(is.list(x)){v<-vapply(x,toJSON,character(1));if(!is.null(names(x)))paste0('{',paste(paste0(vapply(names(x),toJSON,character(1)),':',v),collapse=','),'}')else paste0('[',paste(v,collapse=','),']')}\n else if(length(x)!=1){if(!is.null(names(x)))toJSON(as.list(x))else paste0('[',paste(vapply(as.list(x),toJSON,character(1)),collapse=','),']')}\n else if(is.na(x))'null'else if(is.logical(x))if(x)'true'else'false'else if(is.numeric(x))if(is.finite(x))sprintf('%.17g',x)else'null'else paste0('\"',gsub('\\n','\\\\n',gsub('\"','\\\\\"',gsub('\\\\','\\\\\\\\',x,fixed=TRUE),fixed=TRUE),fixed=TRUE),'\"')\n}\n\nFIXED<-list(\"api\"=\"representation\",\"variant\"=\"full-types\",\"title\"=\"Known two-type law with retained information\",\"input\"=list(\"atoms\"=list(list(\"id\"=\"low\",\"probability\"=\"1/2\",\"y0\"=\"0\",\"y1\"=\"1\",\"e\"=\"1/4\",\"phi\"=\"low\"),list(\"id\"=\"high\",\"probability\"=\"1/2\",\"y0\"=\"2\",\"y1\"=\"3\",\"e\"=\"3/4\",\"phi\"=\"high\"))),\"expectedFailure\"=FALSE)\n\nargs<-commandArgs(trailingOnly=TRUE);out<-if(length(args))args[1]else stop('NEW output directory required');if(dir.exists(out))stop('Preserve previous output directory');dir.create(out,recursive=TRUE)\nz<-fixedOperation(FIXED$api,FIXED$input);rr<-reportValues(FIXED$api,z)\nwriteLines(toJSON(list(arithmetic='BaseR binary64 numerical counterpart; factualsource groupSHA256,lambda.01 and empiricalTVtolerances1e-14/12places; notcausalCI',result=z)),file.path(out,'full.json'),useBytes=TRUE)\nsums<-do.call(rbind,lapply(rr$summary,function(row)data.frame(metric=row$metric,value=if(is.null(row$value))''else if(is.logical(row$value))as.character(as.integer(row$value))else format(row$value,digits=17,scientific=NA,trim=TRUE),unit=row$unit,defined=as.integer(!is.null(row$value)),stringsAsFactors=FALSE)))\npoints<-do.call(rbind,lapply(rr$points,function(p)data.frame(series=p$series,index=p$index,x=p$x,y=if(is.null(p$y))NA_real_ else p$y,defined=as.integer(!is.null(p$y)),stringsAsFactors=FALSE)))\nwrite.csv(sums,file.path(out,'summary.csv'),row.names=FALSE,na='');write.csv(points,file.path(out,'plot-points.csv'),row.names=FALSE,na='');writeLines(svgPlot(Filter(function(p)!is.null(p$y),rr$points),FIXED$title),file.path(out,'plot.svg'),useBytes=TRUE);cat(FIXED$api,'/',FIXED$variant,'\\n',sep='')\n",
        "returnCode": 0,
        "stdout": "representation/full-types\r\n",
        "stderr": "During startup - Warning messages:\n1: Setting LC_COLLATE=C.UTF-8 failed \n2: Setting LC_CTYPE=C.UTF-8 failed \n3: Setting LC_MONETARY=C.UTF-8 failed \n4: Setting LC_TIME=C.UTF-8 failed ",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/r-representation-full-types-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/representation-full-types-input.json",
            "sha256": "f5e99968c99a8eac4ab7add13b020aa4565d0e168bc29e4603720054c0e0b96d",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/r-representation-full-types-result/full.json",
            "sha256": "ce1b6e241044c2e4eae0cdf517da350fe488b25792bd5131b43caaaaf68cc934",
            "bytes": 456
          },
          {
            "file": "ml21-code/r-representation-full-types-result/plot-points.csv",
            "sha256": "eabf3af6d2df92286f2c7bc75e5ae42ee63d9422e81c0785624e4d471b22804a",
            "bytes": 108
          },
          {
            "file": "ml21-code/r-representation-full-types-result/plot.svg",
            "sha256": "faa62f482392ab4ac5340058b82cf3bcf0fbc3d9f4a41f72096f51a8713036af",
            "bytes": 1690
          },
          {
            "file": "ml21-code/r-representation-full-types-result/summary.csv",
            "sha256": "dfc00e6afe9400c6b5721c6f0e52174579ebba130d2a90299578401771de2785",
            "bytes": 172
          },
          {
            "file": "ml21-code/r-representation-full-types-result/stdout.txt",
            "sha256": "0369df8bee41b9e05f810c3a200c6d338090989af355099ead9bbbbdfe7bf9cb",
            "bytes": 27
          },
          {
            "file": "ml21-code/r-representation-full-types-result/stderr.txt",
            "sha256": "b807bd2d0f7060ea384b0ac2317cda2d63a4f59f63b4a901b9e665fead79627d",
            "bytes": 182
          }
        ],
        "summaryRows": [
          {
            "metric": "ATE",
            "value": "1",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "adjustedContrast",
            "value": "1",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "bias",
            "value": "0",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "0",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          }
        ],
        "plotRows": [
          {
            "series": "representation contrasts",
            "index": 0,
            "x": "1",
            "y": "1",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "representation contrasts",
            "index": 1,
            "x": "2",
            "y": "1",
            "defined": true,
            "xExact": "",
            "yExact": ""
          }
        ],
        "plotFile": "ml21-code/r-representation-full-types-result/plot.svg",
        "fullResultFile": "ml21-code/r-representation-full-types-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "constant": {
        "api": "representation",
        "variant": "constant",
        "language": "r",
        "title": "Constant balance can hide causal comparison bias",
        "input": {
          "atoms": [
            {
              "id": "low",
              "probability": "1/2",
              "y0": "0",
              "y1": "1",
              "e": "1/4",
              "phi": "constant"
            },
            {
              "id": "high",
              "probability": "1/2",
              "y0": "2",
              "y1": "3",
              "e": "3/4",
              "phi": "constant"
            }
          ]
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/representation-constant.R",
        "codeSHA256": "880e7f3204bd05e3c57da1f5dbe722b7c533fad1b57ee53b5de3afd4d6d238e0",
        "code": "# ML21 standalone numerical fixed example, not arbitrary exact API validation.\n# Fixed inputs are declared inline and matching JSON provided for reading.\n# Realdata code uses3factual CSVs, R4.5+ toolsSHA256 and numerical ridge.\noptions(digits=17)\nfixedSource<-function(kind){\n selectedKind<-kind\n src<-file.path(dirname(sub('^--file=','',grep('^--file=',commandArgs(),value=TRUE)[1])),'data')\nreadnative<-function(n)read.csv(file.path(src,n),colClasses='character',check.names=FALSE,na.strings=NULL,stringsAsFactors=FALSE)\nnum<-function(x){v<-suppressWarnings(as.numeric(x));v[x%in%c('','.')] <- NA_real_;v}\nsha<-function(s){tf<-tempfile('ml21-group-');writeBin(charToRaw(enc2utf8(s)),tf);on.exit(unlink(tf));unname(tools::sha256sum(tf))}\nwb<-readnative('actual48-country-revised-original-2023-2024.csv');iso<-sort(unique(wb$countryISO3))\nlookup<-function(i,code,yr){r<-wb[wb$countryISO3==i&wb$indicatorID==code&wb$date==yr,,drop=FALSE];stopifnot(nrow(r)==1);num(r$originalValueToken)}\ng<-vapply(iso,lookup,numeric(1),code='NY.GDP.PCAP.KD',yr='2023');pi<-vapply(iso,lookup,numeric(1),code='FP.CPI.TOTL.ZG',yr='2023');gy<-vapply(iso,lookup,numeric(1),code='NY.GDP.MKTP.KD.ZG',yr='2024')\ncountry<-list(id=paste0(iso,':2024'),originalID=iso,sourceRow=iso,foldGroup=paste0('country:',iso),a=as.integer(g>median(g)),x=cbind(g/10000,pi/10),y=gy)\npd<-readnative('actual38408-NSW-all15-fields.csv');pre<-pd[pd$year=='1975',,drop=FALSE];post<-pd[match(pre$id,pd$id[pd$year=='1978'])+0,,drop=FALSE]\npostNative<-pd[pd$year=='1978',,drop=FALSE];post<-postNative[match(pre$id,postNative$id),,drop=FALSE]\nstopifnot(nrow(pre)==19204,nrow(post)==19204,all(pre$id==post$id),all(pre$treated==post$treated));take<-num(pre$experimental)==1;stopifnot(all(take==(pre$treated!='.')));pre<-pre[take,,drop=FALSE];post<-post[take,,drop=FALSE]\nperson<-list(id=paste0('nsw-id:',pre$id),originalID=pre$id,sourceRow=post$sourceRow,foldGroup=paste0('nsw-id:',pre$id),a=num(pre$treated),x=cbind(num(pre$age)/10,num(pre$educ)/10,num(pre$re74)/10000),y=num(post$re)/10000)\ncd<-readnative('actual410-NJPA-all46-fields.csv');before<-num(cd$EMPFT)+num(cd$EMPPT)/2+num(cd$NMGRS);after<-num(cd$EMPFT2)+num(cd$EMPPT2)/2+num(cd$NMGRS2)\ncompany<-list(id=paste0('njpa-row:',cd$sourceRow),originalID=cd$SHEET,sourceRow=cd$sourceRow,foldGroup=paste0('sheet:',cd$SHEET),a=num(cd$STATE),x=cbind(before/10,as.integer(num(cd$CHAIN)==2),num(cd$CO_OWNED)),y=after-before)\nmodels<-list(country=country,person=person,company=company)\nfor(kind in names(models)){\n m<-models[[kind]];groups<-unique(m$foldGroup);hash<-vapply(groups,function(g)sha(paste0('ML21|',kind,'|',g)),character(1));ord<-order(hash,groups);folds<-integer(length(groups));folds[ord]<-(seq_along(ord)-1L)%%4L;m$fold<-folds[match(m$foldGroup,groups)];m$eligible<-!is.na(m$y)&rowSums(is.na(m$x))==0;m$role<-ifelse(m$eligible,'analysis','excluded');models[[kind]]<-m\n}\nstopifnot(length(person$id)==722,sum(person$a)==297,sum(models$company$eligible)==384,length(country$id)==16)\nsourcefit<-function(kind,m,rep){\n N<-length(m$id);X<-if(rep=='full')m$x else if(rep=='constant')matrix(numeric(0),nrow=N,ncol=0) else if(kind=='country')matrix(m$a,ncol=1) else if(kind=='person')cbind(as.integer(m$x[,2]>1.2),as.integer(m$x[,3]>0)) else matrix(m$x[,2],ncol=1)\n group<-if(kind=='country')ifelse(m$a==1,'higher-GDP-category','lower-GDP-category')else if(kind=='person')ifelse(m$x[,2]>1.2,'schooling-over12','schooling-at-most12')else ifelse(!is.na(m$x[,2])&m$x[,2]!=0,'chain2','other-chains')\n p<-ncol(X);eRaw<-mu0<-mu1<-rep(NA_real_,N);fits<-list();coords<-list()\n for(fold in 0:3){\n  tr<-which(m$eligible&m$fold!=fold);means<-if(p)colMeans(X[tr,,drop=FALSE])else numeric(0);scales<-if(p)apply(X[tr,,drop=FALSE],2,function(x)diff(range(x)))else numeric(0);scales[scales==0]<-1;Z<-if(p)cbind(1,sweep(sweep(X,2,means,'-'),2,scales,'/'))else matrix(1,nrow=N,ncol=1);hold<-which(m$fold==fold);ok<-rowSums(is.na(Z[hold,,drop=FALSE]))==0\n  for(name in c('e','mu0','mu1')){\n   ix<-if(name=='e')tr else tr[m$a[tr]==if(name=='mu0')0 else 1];target<-if(name=='e')m$a[ix]else m$y[ix];A<-crossprod(Z[ix,,drop=FALSE])/length(ix)+diag(c(0,rep(.01,p)),nrow=p+1);b<-as.vector(crossprod(Z[ix,,drop=FALSE],target))/length(ix);theta<-as.vector(solve(A,b));minimum<-mean((as.vector(Z[ix,,drop=FALSE]%*%theta)-target)^2)/2+.01*sum(theta[-1]^2)/2;v<-as.vector(Z[hold,,drop=FALSE]%*%theta)\n   if(name=='e')eRaw[hold]<-v else if(name=='mu0')mu0[hold]<-v else mu1[hold]<-v\n   fits[[length(fits)+1L]]<-list(fold=fold,name=name,rows=length(ix),rank=p+1,theta=theta,minimumObjective=minimum,trainingIDs=m$id[ix])\n  }\n  coords[[length(coords)+1L]]<-list(fold=fold,mean=means,scale=scales)\n }\n e<-pmax(.05,pmin(.95,eRaw));nuisance<-!is.na(e)&!is.na(mu0)&!is.na(mu1);eligible<-m$eligible&nuisance;plugin<-treated<-control<-ipw<-effective<-score<-rep(NA_real_,N);ix<-which(eligible);plugin[ix]<-mu1[ix]-mu0[ix];treated[ix]<-ifelse(m$a[ix]==1,(m$y[ix]-mu1[ix])/e[ix],0);control[ix]<-ifelse(m$a[ix]==0,(m$y[ix]-mu0[ix])/(1-e[ix]),0);score[ix]<-plugin[ix]+treated[ix]-control[ix];ipw[ix]<-ifelse(m$a[ix]==1,m$y[ix]/e[ix],-m$y[ix]/(1-e[ix]));effective[ix]<-1/ifelse(m$a[ix]==1,e[ix],1-e[ix]);clipped<-!is.na(eRaw)&eRaw!=e\n list(X=X,group=group,meanX=coords,fits=fits,eRaw=eRaw,e=e,mu0=mu0,mu1=mu1,nuisance=nuisance,eligible=eligible,plugin=plugin,treated=treated,control=control,score=score,ipw=ipw,effective=effective,clipped=clipped)\n}\nextreme<-function(values,sign){N<-length(values);p<-rep(1/N,N);q<-p;upper<-pmin(1,2*p);ord<-order(round(sign*values,12),seq_along(values));donor<-ord;receiver<-rev(ord);a<-b<-1L;budget<-.1\n while(budget>1e-14&&a<=N&&b<=N){i<-donor[a];j<-receiver[b];if(sign*values[j]<=sign*values[i]+1e-14)break;move<-min(q[i],upper[j]-q[j],budget);if(move>0){q[i]<-q[i]-move;q[j]<-q[j]+move;budget<-budget-move};if(q[i]<=1e-14)a<-a+1L;if(upper[j]-q[j]<=1e-14)b<-b+1L;if(move<=0&&a<=N&&b<=N&&q[i]>1e-14&&upper[j]-q[j]>1e-14)stop('no transport progress')};list(q=q,objective=sum(q*values),TV=sum(abs(q-p))/2)\n}\n\n m<-models[[selectedKind]];z<-sourcefit(selectedKind,m,'full');ix<-which(z$eligible);v<-z$score[ix];lo<-extreme(v,-1);hi<-extreme(v,1);treated<-ix[m$a[ix]==1];control<-ix[m$a[ix]==0];norm<-sum(m$y[treated]*z$effective[treated])/sum(z$effective[treated])-sum(m$y[control]*z$effective[control])/sum(z$effective[control]);nv<-function(v)if(is.na(v))NULL else unname(v)\n rows<-lapply(seq_along(m$id),function(i)list(id=m$id[i],sourceRow=if(selectedKind=='country')m$sourceRow[i]else as.integer(m$sourceRow[i]),originalID=m$originalID[i],foldGroup=m$foldGroup[i],fold=m$fold[i],a=m$a[i],y=nv(m$y[i]),x=lapply(as.list(m$x[i,]),nv),eligible=z$eligible[i],eRaw=nv(z$eRaw[i]),e=nv(z$e[i]),mu0=nv(z$mu0[i]),mu1=nv(z$mu1[i]),plugin=nv(z$plugin[i]),score=nv(z$score[i]),IPWContribution=nv(z$ipw[i])))\n fits<-lapply(z$fits,function(fit){co<-z$meanX[[fit$fold+1L]];list(fold=fit$fold,fit=fit$name,trainingIDs=as.list(fit$trainingIDs),rows=fit$rows,rank=fit$rank,unique=TRUE,theta=as.list(fit$theta),minimumObjective=fit$minimumObjective,meanX=as.list(co$mean),scales=as.list(co$scale))});unit<-switch(selectedKind,country='GDP growth contrast, percentage points',person='native real1978earnings/10000',company='post-minus-pre FTE employees')\n list(kind=selectedKind,unit=unit,rows=rows,fits=fits,AIPW=mean(v),plugin=mean(z$plugin[ix]),IPW=mean(z$ipw[ix]),normalizedIPWContrast=norm,stressMinimum=lo$objective,stressMaximum=hi$objective,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\n\n# Owned numerical fixed-example adapters; not arbitrary exact input validators.\nnum<-function(v){if(is.null(v))return(NULL);if(is.numeric(v))return(as.numeric(v));s<-strsplit(as.character(v),'/',fixed=TRUE)[[1]];if(length(s)==2)as.numeric(s[1])/as.numeric(s[2])else as.numeric(v)}\nopt<-function(a,key,default)if(is.null(a[[key]]))default else a[[key]]\nmaybe<-function(v)if(is.null(v))list(defined=FALSE)else list(defined=TRUE,value=v)\nweighted<-function(v,w){if(!length(w)||sum(w)==0)return(NULL);sum(v*w)/sum(w)}\nfixedEffects<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){r<-a$rows[[i]];w<-num(opt(r,'weight',1));if(w<0)stop('negative-analysis-weight');y0<-num(r$y0);y1<-num(r$y1);A<-num(r$a);list(id=opt(r,'id',as.character(i-1L)),a=A,y0=y0,y1=y1,w=w,effect=if(is.null(y0)||is.null(y1))NULL else y1-y0,observed=if(is.null(A))NULL else if(A==1)y1 else y0)})\n complete<-Filter(function(r)r$w>0&&!is.null(r$effect),rr);treated<-Filter(function(r)!is.null(r$a)&&r$a==1,complete);avg<-function(rows,key)weighted(vapply(rows,function(r)r[[key]],numeric(1)),vapply(rows,function(r)r$w,numeric(1)));arm<-lapply(0:1,function(A)avg(Filter(function(r)!is.null(r$a)&&r$a==A&&!is.null(r$observed)&&r$w>0,rr),'observed'));list(rows=rr,completeRows=length(complete),ATE=avg(complete,'effect'),ATT=avg(treated,'effect'),observedContrast=if(any(vapply(arm,is.null,logical(1))))NULL else arm[[2]]-arm[[1]])\n}\nfixedAipw<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){v<-a$rows[[i]];w<-num(opt(v,'weight',1));if(w<0)stop('negative-analysis-weight');r<-list(id=opt(v,'id',as.character(i-1L)),a=num(v$a),y=num(v$y),e=num(v$e),mu0=num(v$mu0),mu1=num(v$mu1),w=w,role=opt(v,'role','analysis'),group=opt(v,'group','all'));reason<-if(w==0)'zero-weight'else if(r$role%in%c('excluded','unused'))'inactive-role'else if(any(vapply(r[c('a','y','e','mu0','mu1')],is.null,logical(1))))'missing-required-field'else if(r$e%in%c(0,1))'nonoverlap-boundary-propensity'else NULL;r$eligible<-is.null(reason);r$reason<-reason\n  if(is.null(reason)){r$plugin<-r$mu1-r$mu0;r$treatedResidual<-if(r$a==1)(r$y-r$mu1)/r$e else 0;r$controlResidual<-if(r$a==0)(r$y-r$mu0)/(1-r$e)else 0;r$score<-maybe(r$plugin+r$treatedResidual-r$controlResidual);r$IPWContribution<-if(r$a==1)r$y/r$e else-r$y/(1-r$e);r$effectiveArmWeight<-w/if(r$a==1)r$e else 1-r$e}else r$score<-maybe(NULL);r})\n summary<-function(rows){mass<-sum(vapply(rows,function(r)r$w,numeric(1)));avg<-function(key){if(!mass)return(NULL);sum(vapply(rows,function(r)r$w*if(key=='score')r$score$value else r[[key]],numeric(1)))/mass};arms<-lapply(0:1,function(A){arm<-Filter(function(r)r$a==A,rows);w<-vapply(arm,function(r)r$effectiveArmWeight,numeric(1));list(a=A,rows=length(arm),weightedArmDenominator=sum(w),normalizedMean=maybe(weighted(vapply(arm,function(r)r$y,numeric(1)),w)))});list(rows=length(rows),mass=mass,AIPW=maybe(avg('score')),plugin=maybe(avg('plugin')),IPW=maybe(avg('IPWContribution')),normalizedArmMeans=arms,normalizedIPWContrast=maybe(if(all(vapply(arms,function(r)r$normalizedMean$defined,logical(1))))arms[[2]]$normalizedMean$value-arms[[1]]$normalizedMean$value else NULL))}\n use<-Filter(function(r)r$eligible,rr);roles<-unique(vapply(rr,function(r)r$role,character(1)));groups<-unique(vapply(rr,function(r)r$group,character(1)));list(rows=rr,overall=summary(use),byRole=lapply(roles,function(role)c(list(role=role),summary(Filter(function(r)r$role==role,use)))),byGroup=lapply(groups,function(g)c(list(group=g),summary(Filter(function(r)r$group==g,use)))),overlapExcluded=as.list(vapply(Filter(function(r)identical(r$reason,'nonoverlap-boundary-propensity'),rr),function(r)r$id,character(1))))\n}\nfixedRepresentation<-function(a){\n atoms<-lapply(a$atoms,function(r)list(id=r$id,p=num(r$probability),y0=num(r$y0),y1=num(r$y1),e=num(r$e),phi=r$phi));if(abs(sum(vapply(atoms,function(r)r$p,numeric(1)))-1)>1e-12)stop('law-probabilities-must-sum-one');ATE<-sum(vapply(atoms,function(r)r$p*(r$y1-r$y0),numeric(1)));phis<-unique(vapply(Filter(function(r)r$p>0,atoms),function(r)r$phi,character(1)));groups<-lapply(phis,function(phi){use<-Filter(function(r)r$phi==phi&&r$p>0,atoms);mass<-sum(vapply(use,function(r)r$p,numeric(1)));t<-sum(vapply(use,function(r)r$p*r$e,numeric(1)));m1<-if(t>0)sum(vapply(use,function(r)r$p*r$e*r$y1,numeric(1)))/t else NULL;m0<-if(mass-t>0)sum(vapply(use,function(r)r$p*(1-r$e)*r$y0,numeric(1)))/(mass-t)else NULL;list(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=if(is.null(m0)||is.null(m1))NULL else m1-m0)});adjusted<-if(any(vapply(groups,function(r)is.null(r$contrast),logical(1))))NULL else sum(vapply(groups,function(r)r$mass*r$contrast,numeric(1)));list(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=if(is.null(adjusted))NULL else adjusted-ATE)\n}\nfixedRobust<-function(a){\n values<-vapply(a$values,num,numeric(1));p<-if(is.null(a$probabilities))rep(1/length(values),length(values))else vapply(a$probabilities,num,numeric(1));radius<-num(opt(a,'radius','1/10'));cap<-num(opt(a,'cap',2));if(cap<1||radius<0||radius>1)stop('invalid-robust-constraint')\n go<-function(sign){q<-p;upper<-pmin(1,cap*p);order<-order(sign*values,seq_along(values));lo<-order;hi<-rev(order);i<-j<-1L;budget<-radius;N<-length(values)\n while(budget>1e-14&&i<=N&&j<=N){d<-lo[i];h<-hi[j];if(sign*values[h]<=sign*values[d])break;move<-min(q[d],upper[h]-q[h],budget);if(move>0){q[d]<-q[d]-move;q[h]<-q[h]+move;budget<-budget-move};if(q[d]<=1e-14)i<-i+1L;if(upper[h]-q[h]<=1e-14)j<-j+1L};list(q=q,value=sum(q*values),TV=sum(abs(q-p))/2)};lo<-go(-1);hi<-go(1);list(values=as.list(values),p=as.list(p),radius=radius,cap=cap,baseline=sum(values*p),minimum=lo$value,maximum=hi$value,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\nfixedValidate<-function(a){\n rr<-a$rows;cc<-a$candidates;groups<-unlist(a$requiredGroups);eligible<-vapply(seq_along(rr),function(i){r<-rr[[i]];!is.null(r$y)&&num(opt(r,'weight',1))>0&&!r$role%in%c('excluded','unused')&&all(vapply(cc,function(c)!is.null(c$predictions[[i]]),logical(1)))},logical(1));out<-lapply(cc,function(c){risk<-function(ix){if(!length(ix))return(NULL);weighted(vapply(ix,function(i)(num(c$predictions[[i]])-num(rr[[i]]$y))^2,numeric(1)),vapply(ix,function(i)num(opt(rr[[i]],'weight',1)),numeric(1)))};vr<-which(eligible&vapply(rr,function(r)r$role=='validation',logical(1)));tr<-which(eligible&vapply(rr,function(r)r$role=='test',logical(1)));gv<-lapply(groups,function(g)risk(vr[vapply(rr[vr],function(r)r$group==g,logical(1))]));worst<-if(any(vapply(gv,is.null,logical(1))))NULL else max(unlist(gv));list(id=c$id,validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=if(opt(a,'criterion','worst-group')=='mean')risk(vr)else worst)});available<-which(!vapply(out,function(r)is.null(r$criterion),logical(1)));selected<-if(length(available))available[which.min(vapply(out[available],function(r)r$criterion,numeric(1)))]else NULL;list(commonEligibility=as.list(eligible),groups=as.list(groups),candidates=out,selectedIndex=if(is.null(selected))NULL else selected-1L,selectedID=if(is.null(selected))NULL else out[[selected]]$id,selectedScore=if(is.null(selected))NULL else out[[selected]]$criterion)\n}\nfixedOperation<-function(api,a)switch(api,effects=fixedEffects(a),aipw=fixedAipw(a),representation=fixedRepresentation(a),robust=fixedRobust(a),validate=fixedValidate(a),realdata=fixedSource(a$kind))\nreportValues<-function(api,z){summary<-list();points<-list();add<-function(k,v,u){if(length(v)==1&&is.na(v))v<-NULL;summary[[length(summary)+1L]]<<-list(metric=k,value=v,unit=u)};series<-function(name,values){for(i in seq_along(values)){v<-values[[i]];points[[length(points)+1L]]<<-list(series=name,index=i-1L,x=i,y=v)}}\n if(api=='effects'){for(k in c('completeRows','ATE','ATT','observedContrast'))add(k,z[[k]],if(k=='completeRows')'rows'else'constructed outcome units');series('known constructed effects',lapply(z$rows,function(r)r$effect))}\n else if(api=='aipw'){for(k in c('AIPW','plugin','IPW','normalizedIPWContrast'))add(k,z$overall[[k]]$value,'constructed outcome units');add('eligibleRows',z$overall$rows,'rows');series('AIPW row scores',lapply(z$rows,function(r)r$score$value))}\n else if(api=='representation'){for(k in c('ATE','adjustedContrast','bias'))add(k,z[[k]],'constructed outcome units');series('representation contrasts',lapply(z$groups,function(r)r$contrast))}\n else if(api=='robust'){for(k in c('baseline','minimum','maximum'))add(k,z[[k]],'declared value units');for(k in c('minTV','maxTV'))add(k,z[[k]],'probability mass');series('minimum weights',z$minWeights);series('maximum weights',z$maxWeights)}\n else if(api=='validate'){add('selectedIndex',z$selectedIndex,'zero-based candidate index');add('selectedScore',z$selectedScore,'squared outcome units');series('validation criterion',lapply(z$candidates,function(c)c$criterion))}\n else{for(k in c('AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum'))add(k,z[[k]],z$unit);add('sourceRows',length(z$rows),'analytical records');add('eligibleRows',sum(vapply(z$rows,function(r)r$eligible,logical(1))),'records');series('actual out-of-fold scores',lapply(z$rows,function(r)r$score))};list(summary=summary,points=points)\n}\n\nescapeXML<-function(s){s<-gsub('&','&amp;',s,fixed=TRUE);s<-gsub('<','&lt;',s,fixed=TRUE);s<-gsub('>','&gt;',s,fixed=TRUE);gsub('\"','&quot;',s,fixed=TRUE)}\nsvgPlot<-function(pp,title){\n xx<-vapply(pp,function(p)as.numeric(p$x),numeric(1));yy<-vapply(pp,function(p)as.numeric(p$y),numeric(1));xmin<-if(length(xx))min(xx)else 0;xmax<-if(length(xx))max(xx)else 1;ymin<-min(c(0,yy));ymax<-max(c(0,yy));if(xmin==xmax){xmin<-xmin-.5;xmax<-xmax+.5};if(ymin==ymax){ymin<-ymin-.5;ymax<-ymax+.5};pad<-(ymax-ymin)*.08;ymin<-ymin-pad;ymax<-ymax+pad;X<-function(x)82+(as.numeric(x)-xmin)/(xmax-xmin)*608;Y<-function(y)354-(as.numeric(y)-ymin)/(ymax-ymin)*290\n out<-paste0('<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"',escapeXML(title),'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">',escapeXML(title),'</text>')\n for(j in 0:4){y<-ymin+(ymax-ymin)*j/4;x<-xmin+(xmax-xmin)*j/4;out<-paste0(out,'<line x1=\"82\" y1=\"',Y(y),'\" x2=\"690\" y2=\"',Y(y),'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"',Y(y)+4,'\" text-anchor=\"end\">',sprintf('%.3g',y),'</text><text x=\"',X(x),'\" y=\"380\" text-anchor=\"middle\">',sprintf('%.3g',x),'</text>')}\n ss<-unique(vapply(pp,`[[`,character(1),'series'));cols<-c('#0f766e','#c76622','#4f46e5','#b23857')\n for(j in seq_along(ss)){rr<-Filter(function(p)p$series==ss[j],pp);xy<-vapply(rr,function(p)sprintf('%.6f,%.6f',X(p$x),Y(p$y)),character(1));col<-cols[(j-1)%%4+1];out<-paste0(out,'<polyline fill=\"none\" stroke=\"',col,'\" stroke-width=\"1.5\" points=\"',paste(xy,collapse=' '),'\"/>');for(p in rr)out<-paste0(out,'<circle cx=\"',sprintf('%.6f',X(p$x)),'\" cy=\"',sprintf('%.6f',Y(p$y)),'\" r=\"2.6\" fill=\"',col,'\"><title>',escapeXML(ss[j]),': ',escapeXML(p$y),'</title></circle>');out<-paste0(out,'<text x=\"',82+((j-1)%%2)*310,'\" y=\"',432+floor((j-1)/2)*23,'\" fill=\"',col,'\">',escapeXML(ss[j]),'</text>')}\n paste0(out,'<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>')\n}\n\ntoJSON<-function(x){\n if(is.null(x))return('null');if(is.list(x)){v<-vapply(x,toJSON,character(1));if(!is.null(names(x)))paste0('{',paste(paste0(vapply(names(x),toJSON,character(1)),':',v),collapse=','),'}')else paste0('[',paste(v,collapse=','),']')}\n else if(length(x)!=1){if(!is.null(names(x)))toJSON(as.list(x))else paste0('[',paste(vapply(as.list(x),toJSON,character(1)),collapse=','),']')}\n else if(is.na(x))'null'else if(is.logical(x))if(x)'true'else'false'else if(is.numeric(x))if(is.finite(x))sprintf('%.17g',x)else'null'else paste0('\"',gsub('\\n','\\\\n',gsub('\"','\\\\\"',gsub('\\\\','\\\\\\\\',x,fixed=TRUE),fixed=TRUE),fixed=TRUE),'\"')\n}\n\nFIXED<-list(\"api\"=\"representation\",\"variant\"=\"constant\",\"title\"=\"Constant balance can hide causal comparison bias\",\"input\"=list(\"atoms\"=list(list(\"id\"=\"low\",\"probability\"=\"1/2\",\"y0\"=\"0\",\"y1\"=\"1\",\"e\"=\"1/4\",\"phi\"=\"constant\"),list(\"id\"=\"high\",\"probability\"=\"1/2\",\"y0\"=\"2\",\"y1\"=\"3\",\"e\"=\"3/4\",\"phi\"=\"constant\"))),\"expectedFailure\"=FALSE)\n\nargs<-commandArgs(trailingOnly=TRUE);out<-if(length(args))args[1]else stop('NEW output directory required');if(dir.exists(out))stop('Preserve previous output directory');dir.create(out,recursive=TRUE)\nz<-fixedOperation(FIXED$api,FIXED$input);rr<-reportValues(FIXED$api,z)\nwriteLines(toJSON(list(arithmetic='BaseR binary64 numerical counterpart; factualsource groupSHA256,lambda.01 and empiricalTVtolerances1e-14/12places; notcausalCI',result=z)),file.path(out,'full.json'),useBytes=TRUE)\nsums<-do.call(rbind,lapply(rr$summary,function(row)data.frame(metric=row$metric,value=if(is.null(row$value))''else if(is.logical(row$value))as.character(as.integer(row$value))else format(row$value,digits=17,scientific=NA,trim=TRUE),unit=row$unit,defined=as.integer(!is.null(row$value)),stringsAsFactors=FALSE)))\npoints<-do.call(rbind,lapply(rr$points,function(p)data.frame(series=p$series,index=p$index,x=p$x,y=if(is.null(p$y))NA_real_ else p$y,defined=as.integer(!is.null(p$y)),stringsAsFactors=FALSE)))\nwrite.csv(sums,file.path(out,'summary.csv'),row.names=FALSE,na='');write.csv(points,file.path(out,'plot-points.csv'),row.names=FALSE,na='');writeLines(svgPlot(Filter(function(p)!is.null(p$y),rr$points),FIXED$title),file.path(out,'plot.svg'),useBytes=TRUE);cat(FIXED$api,'/',FIXED$variant,'\\n',sep='')\n",
        "returnCode": 0,
        "stdout": "representation/constant\r\n",
        "stderr": "During startup - Warning messages:\n1: Setting LC_COLLATE=C.UTF-8 failed \n2: Setting LC_CTYPE=C.UTF-8 failed \n3: Setting LC_MONETARY=C.UTF-8 failed \n4: Setting LC_TIME=C.UTF-8 failed ",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/r-representation-constant-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/representation-constant-input.json",
            "sha256": "11ca36ae1160b9f8db5c52fe84720ce737c2059e6fab793d92b85ffc5fb929ff",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/r-representation-constant-result/full.json",
            "sha256": "70bb682cd0c871c099f7c4ff4a625b64565573c00971b8156ee8abeab1d995ac",
            "bytes": 407
          },
          {
            "file": "ml21-code/r-representation-constant-result/plot-points.csv",
            "sha256": "14eca24ab3ce8454510aeb496cd788c088c2deb0451f67d82df9e03b8a44710d",
            "bytes": 72
          },
          {
            "file": "ml21-code/r-representation-constant-result/plot.svg",
            "sha256": "412803f557e8af7e0cee1ff0c6f7118c25503ea5494d38c69dfa665fce0c0c10",
            "bytes": 1566
          },
          {
            "file": "ml21-code/r-representation-constant-result/summary.csv",
            "sha256": "ffd8ae33e504b3ec11c821039aac6560604127934dd4b2faf3d1d7b8810c84bf",
            "bytes": 172
          },
          {
            "file": "ml21-code/r-representation-constant-result/stdout.txt",
            "sha256": "4b89042f70e6c47addf7d591fc83aa1efe61646c2b201339e55349f6a397e6ef",
            "bytes": 25
          },
          {
            "file": "ml21-code/r-representation-constant-result/stderr.txt",
            "sha256": "b807bd2d0f7060ea384b0ac2317cda2d63a4f59f63b4a901b9e665fead79627d",
            "bytes": 182
          }
        ],
        "summaryRows": [
          {
            "metric": "ATE",
            "value": "1",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "adjustedContrast",
            "value": "2",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "2",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "bias",
            "value": "1",
            "unit": "constructed outcome units",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          }
        ],
        "plotRows": [
          {
            "series": "representation contrasts",
            "index": 0,
            "x": "1",
            "y": "2",
            "defined": true,
            "xExact": "",
            "yExact": ""
          }
        ],
        "plotFile": "ml21-code/r-representation-constant-result/plot.svg",
        "fullResultFile": "ml21-code/r-representation-constant-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      }
    }
  },
  "robust": {
    "python": {
      "mass-transfer": {
        "api": "robust",
        "variant": "mass-transfer",
        "language": "python",
        "title": "Finite total-variation mass transfer",
        "input": {
          "values": [
            "0",
            "2"
          ],
          "probabilities": [
            "1/2",
            "1/2"
          ],
          "radius": "1/4",
          "cap": "2"
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/robust-mass-transfer.py",
        "codeSHA256": "d424fbf5f607678aec10edfd6c0ccd652c53836a064b459f28e95727fe2677a2",
        "code": "\"\"\"ML21 complete standalone fixed example, not a general API validator.\nRun: python this-file.py NEW-OUTDIR\nFixed literal input is also supplied as matching human-readable JSON.\nRealdata reads3factual CSVs under data/, using owned public scalar code byvalue.\nNo production engine/model/checker/computed answers are imported.\n\"\"\"\nfrom pathlib import Path\nfrom fractions import Fraction as F\nfrom collections import defaultdict,Counter\nimport csv,json,hashlib,sys,html,math\nif hasattr(sys,'set_int_max_str_digits'):sys.set_int_max_str_digits(200000)\ndef f(v):return v if isinstance(v,F)else F(str(v))\ndef ck(v,label=''):\n if not v:raise AssertionError(label)\ndef maybe(v):return dict(defined=False)if v is None else dict(defined=True,value=v)\ndef mean(v,w):return sum((a*b for a,b in zip(v,w)),F(0))/sum(w,F(0))if sum(w,F(0))else None\ndef extremum(values,p,radius,cap,sign):\n q=list(p);budget=radius;upper=[min(F(1),cap*x)for x in p]\n order=sorted(range(len(values)),key=lambda i:(sign*values[i],i))\n donors=list(order);receivers=list(reversed(order));left=right=0\n while budget>0 and left<len(q)and right<len(q):\n  i,j=donors[left],receivers[right]\n  if sign*values[j]<=sign*values[i]:break\n  move=min(q[i],upper[j]-q[j],budget)\n  if move>0:q[i]-=move;q[j]+=move;budget-=move\n  if q[i]==0:left+=1\n  if q[j]==upper[j]:right+=1\n  if move==0 and q[i]>0 and q[j]<upper[j]:raise AssertionError('transport made no progress')\n return q,sum(a*b for a,b in zip(q,values)),sum(abs(a-b)for a,b in zip(q,p))/2\n\ndef fixed_source(kind):\n selectedKind=kind\n S=Path(__file__).resolve().parent/\"data\"\n def read(n):\n  with(S/n).open(encoding=\"utf8\",newline=\"\")as stream:return list(csv.DictReader(stream))\n def source_rows():\n  rows=read('actual48-country-revised-original-2023-2024.csv');lk={(r['countryISO3'],r['indicatorID'],r['date']):r for r in rows};isos=sorted({r['countryISO3']for r in rows});g=sorted(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])for i in isos);median=(g[7]+g[8])/2\n  models={'country':[dict(id=i+':2024',originalID=i,sourceRow=i,foldGroup='country:'+i,a=int(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])>median),x=[f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])/10000,f(lk[i,'FP.CPI.TOTL.ZG','2023']['originalValueToken'])/10],y=f(lk[i,'NY.GDP.MKTP.KD.ZG','2024']['originalValueToken']))for i in isos]}\n  native=read('actual38408-NSW-all15-fields.csv');pairs=defaultdict(dict)\n  for r in native:pairs[str(int(f(r['id'])))][int(f(r['year']))]=r\n  people=[]\n  for ID,pair in pairs.items():\n   pre,post=pair[1975],pair[1978];ck(pre['treated']==post['treated'],'native stable treatment');sel=int(f(pre['experimental']))==1;ck(sel==(pre['treated']!='.'),'no recode missingtreatment')\n   if sel:people.append(dict(id='nsw-id:'+ID,originalID=ID,sourceRow=int(post['sourceRow']),foldGroup='nsw-id:'+ID,a=int(f(pre['treated'])),x=[F.from_float(float(pre['age']))/10,F.from_float(float(pre['educ']))/10,F.from_float(float(pre['re74']))/10000],y=F.from_float(float(post['re']))/10000))\n  models['person']=people;company=[]\n  for r in read('actual410-NJPA-all46-fields.csv'):\n   ys=[]\n   for suffix in['','2']:\n    v=[None if r[k+suffix]=='.'else f(r[k+suffix])for k in['EMPFT','EMPPT','NMGRS']];ys.append(None if None in v else v[0]+v[1]/2+v[2])\n   company.append(dict(id='njpa-row:'+r['sourceRow'],originalID=r['SHEET'],sourceRow=int(r['sourceRow']),foldGroup='sheet:'+r['SHEET'],a=int(r['STATE']),x=[None if ys[0]is None else ys[0]/10,None if r['CHAIN']=='.'else F(int(f(r['CHAIN'])==2)),None if r['CO_OWNED']=='.'else f(r['CO_OWNED'])],y=None if None in ys else ys[1]-ys[0]))\n  models['company']=company\n  for kind,rr in models.items():\n   groups=sorted({r['foldGroup']for r in rr},key=lambda g:(hashlib.sha256(('ML21|'+kind+'|'+g).encode()).digest(),g));folds={g:i%4 for i,g in enumerate(groups)}\n   for r in rr:r['fold']=folds[r['foldGroup']];r['eligible']=r['y']is not None and None not in r['x'];r['role']='analysis'if r['eligible']else'excluded';r['w']=F(1)\n  return models\n MODELS=source_rows()\n def solve(A,b):\n  n=len(b);M=[list(a)+[v]for a,v in zip(A,b)];pivot=[];i=0\n  for j in range(n):\n   k=next((k for k in range(i,n)if M[k][j]!=0),None)\n   if k is None:continue\n   M[i],M[k]=M[k],M[i];v=M[i][j];M[i]=[z/v for z in M[i]]\n   for k in range(n):\n    if k!=i:\n     v=M[k][j];M[k]=[a-v*b for a,b in zip(M[k],M[i])]\n   pivot.append(j);i+=1\n   if i==n:break\n  beta=[F(0)]*n\n  for i,j in enumerate(pivot):beta[j]=M[i][-1]\n  null=[]\n  for j in range(n):\n   if j in pivot:continue\n   v=[F(0)]*n;v[j]=F(1)\n   for i,k in enumerate(pivot):v[k]=-M[i][j]\n   null.append(v)\n  return beta,null,len(pivot)\n def source_expected(a):\n  base=MODELS[a.get('kind','person')];rep=a.get('representation','full');rr=[]\n  for r in base:\n   full=r['x'];x=full if rep=='full'else[]if rep=='constant'else[F(r['a'])]if a.get('kind','person')=='country'else[F(full[1]>F(6,5)),F(full[2]>0)]if a.get('kind','person')=='person'else[full[1]]\n   group=('higher-GDP-category'if r['a']else'lower-GDP-category')if a.get('kind','person')=='country'else('schooling-over12'if full[1]>F(6,5)else'schooling-at-most12')if a.get('kind','person')=='person'else('chain2'if full[1]else'other-chains');rr.append(dict(r,x=x,fullX=full,group=group))\n  eligible=[r for r in rr if r['eligible']];limit=a.get('trainingLimit',len(eligible));keep={r['id']for r in eligible[:limit]};lam=f(a.get('lambda','1/100'));eps=f(a.get('clip','1/20'));nuisance=[];out={};dimension=len(rr[0]['x'])+1\n  for fold in range(4):\n   tr=[r for r in rr if r['eligible']and r['id']in keep and r['fold']!=fold];fits={};means=[sum(r['x'][j]for r in tr)/len(tr)for j in range(dimension-1)]if tr else[];scales=[max(r['x'][j]for r in tr)-min(r['x'][j]for r in tr)or F(1)for j in range(dimension-1)]if tr else[]\n   def z(r):return None if not tr or None in r['x']else[F(1)]+[(v-m)/s for v,m,s in zip(r['x'],means,scales)]\n   for name in['e','mu0','mu1']:\n    use=[r for r in tr if name=='e'or r['a']==int(name[-1])]\n    if not use:fits[name]=dict(defined=False);continue\n    Z=[z(r)for r in use];Y=[F(r['a'])if name=='e'else r['y']for r in use];N=len(use);A=[[sum(v[j]*v[k]for v in Z)/N+(lam if j==k and j else 0)for k in range(dimension)]for j in range(dimension)];b=[sum(y*v[j]for v,y in zip(Z,Y))/N for j in range(dimension)];beta,null,rank=solve(A,b);minimum=sum((sum(b*z for b,z in zip(beta,v))-y)**2 for v,y in zip(Z,Y))/(2*N)+lam*sum(v*v for v in beta[1:])/2;fits[name]=dict(defined=True,trainingIDs=[r['id']for r in use],rows=N,rank=rank,unique=rank==dimension,theta=beta,nullspace=null,minimumObjective=minimum,meanX=means,scales=scales)\n   nuisance.append(dict(fold=fold,complementRows=len(tr),fits=fits))\n   for r in rr:\n    if r['fold']!=fold:continue\n    zz=z(r);pred={name:None if zz is None or not fit['defined']else sum(v*b for v,b in zip(zz,fit['theta']))for name,fit in fits.items()};eRaw=pred['e'];e=None if eRaw is None else max(eps,min(1-eps,eRaw));inv={name:zz is not None and fit['defined']and all(sum(a*b for a,b in zip(v,zz))==0 for v in fit['nullspace'])for name,fit in fits.items()};out[r['id']]=dict(r,mu0=pred['mu0'],mu1=pred['mu1'],e=e,eRaw=eRaw,propensityClipped=e is not None and e!=eRaw,nuisancePredictionDefined=all(v is not None for v in pred.values()),queryInvariantAcrossMinimizers=inv)\n  return rr,nuisance,[out[r['id']]for r in rr]\n def aipw_expected(rows,role='all'):\n  out=[]\n  for r in rows:\n   reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n   if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n   plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n  def summary(use):\n   ww=[r['w']for r in use];arms=[]\n   for A in[0,1]:\n    arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n   return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n  use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n raw,nuisance,oo=source_expected(dict(kind=selectedKind,representation='full'));scores=aipw_expected(oo);use=[r for r in scores['rows']if r['eligible']];values=[r['score']['value']for r in use];p=[F(1,len(use))for _ in use];lo,low,ltv=extremum(values,p,F(1,10),F(2),-1);hi,high,htv=extremum(values,p,F(1,10),F(2),1);fits=[]\n for n in nuisance:\n  for name,z in n['fits'].items():fits.append(dict(fold=n['fold'],fit=name,trainingIDs=z['trainingIDs'],rows=z['rows'],rank=z['rank'],unique=z['unique'],theta=z['theta'],minimumObjective=z['minimumObjective'],meanX=z['meanX'],scales=z['scales']))\n rr=[]\n for r in scores['rows']:rr.append(dict(id=r['id'],sourceRow=r['sourceRow'],originalID=r['originalID'],foldGroup=r['foldGroup'],fold=r['fold'],a=r['a'],y=r['y'],x=r['fullX'],eligible=r['eligible'],eRaw=r['eRaw'],e=r['e'],mu0=r['mu0'],mu1=r['mu1'],plugin=r.get('plugin'),score=r['score'].get('value'),IPWContribution=r.get('IPWContribution')))\n unit={'country':'GDP growth contrast, percentage points','person':'native real1978earnings/10000','company':'post-minus-pre FTE employees'}[selectedKind]\n return dict(kind=selectedKind,unit=unit,rows=rr,fits=fits,AIPW=scores['overall']['AIPW'].get('value'),plugin=scores['overall']['plugin'].get('value'),IPW=scores['overall']['IPW'].get('value'),normalizedIPWContrast=scores['overall']['normalizedIPWContrast'].get('value'),stressMinimum=low,stressMaximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\n\ndef aipw_expected(rows,role='all'):\n out=[]\n for r in rows:\n  reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n  if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n  plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n def summary(use):\n  ww=[r['w']for r in use];arms=[]\n  for A in[0,1]:\n   arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n  return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n\n# Owned standalone fixed-example adapters; no production engine import.\nQ=F\nnumber=f\ndef fixed_robust(a):\n values=list(map(f,a['values']));p=list(map(f,a.get('probabilities',[F(1,len(values))for _ in values])));radius=f(a.get('radius','1/10'));cap=f(a.get('cap',2))\n if cap<1 or not 0<=radius<=1:raise ValueError('invalid-robust-constraint')\n lo,low,ltv=extremum(values,p,radius,cap,-1);hi,high,htv=extremum(values,p,radius,cap,1)\n return dict(values=values,p=p,radius=radius,cap=cap,baseline=sum(v*w for v,w in zip(values,p)),minimum=low,maximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\ndef fixed_aipw(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  rr.append(dict(id=r.get('id',str(i)),a=None if r.get('a')is None else int(f(r['a'])),**{k:None if r.get(k)is None else f(r[k])for k in ['y','e','mu0','mu1']},w=w,role=r.get('role','analysis'),group=r.get('group','all')))\n return aipw_expected(rr)\ndef fixed_effects(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  y0=None if r.get('y0')is None else f(r['y0']);y1=None if r.get('y1')is None else f(r['y1']);A=r.get('a');A=None if A is None else int(f(A));rr.append(dict(id=r.get('id',str(i)),a=A,y0=y0,y1=y1,w=w,effect=None if y0 is None or y1 is None else y1-y0,observed=y1 if A==1 else y0 if A==0 else None))\n complete=[r for r in rr if r['w']>0 and r['effect']is not None];treated=[r for r in complete if r['a']==1];arms=[mean([r['observed']for r in rr if r['a']==A and r['observed']is not None and r['w']>0],[r['w']for r in rr if r['a']==A and r['observed']is not None and r['w']>0])for A in [0,1]]\n return dict(rows=rr,completeRows=len(complete),ATE=mean([r['effect']for r in complete],[r['w']for r in complete]),ATT=mean([r['effect']for r in treated],[r['w']for r in treated]),observedContrast=None if None in arms else arms[1]-arms[0])\ndef fixed_representation(a):\n atoms=[dict(id=r['id'],p=f(r['probability']),y0=f(r['y0']),y1=f(r['y1']),e=f(r['e']),phi=r['phi'])for r in a['atoms']];groups=[];ATE=sum(r['p']*(r['y1']-r['y0'])for r in atoms)\n if sum(r['p']for r in atoms)!=1:raise ValueError('law-probabilities-must-sum-one')\n for phi in dict.fromkeys(r['phi']for r in atoms if r['p']):\n  use=[r for r in atoms if r['phi']==phi and r['p']];mass=sum(r['p']for r in use);t=sum(r['p']*r['e']for r in use);m1=sum(r['p']*r['e']*r['y1']for r in use)/t if t else None;m0=sum(r['p']*(1-r['e'])*r['y0']for r in use)/(mass-t)if mass!=t else None;groups.append(dict(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=None if m0 is None or m1 is None else m1-m0))\n adjusted=None if any(r['contrast']is None for r in groups)else sum(r['mass']*r['contrast']for r in groups)\n return dict(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=None if adjusted is None else adjusted-ATE)\ndef fixed_validate(a):\n rr=a['rows'];cc=a['candidates'];groups=a['requiredGroups'];eligible=[r.get('y')is not None and f(r.get('weight',1))>0 and r['role']not in ['excluded','unused']and all(c['predictions'][i]is not None for c in cc)for i,r in enumerate(rr)];out=[]\n for c in cc:\n  def risk(ids):return mean([(f(c['predictions'][i])-f(rr[i]['y']))**2 for i in ids],[f(rr[i].get('weight',1))for i in ids])\n  vr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='validation'];tr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='test'];gv=[risk([i for i in vr if rr[i]['group']==g])for g in groups];worst=None if None in gv else max(gv);criterion=risk(vr)if a.get('criterion','worst-group')=='mean'else worst;out.append(dict(id=c['id'],validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=criterion))\n available=[i for i,z in enumerate(out)if z['criterion']is not None];selected=min(available,key=lambda i:(out[i]['criterion'],i))if available else None\n return dict(commonEligibility=eligible,groups=groups,candidates=out,selectedIndex=selected,selectedID=None if selected is None else out[selected]['id'],selectedScore=None if selected is None else out[selected]['criterion'])\ndef fixed_operation(api,a):return fixed_effects(a)if api=='effects'else fixed_aipw(a)if api=='aipw'else fixed_representation(a)if api=='representation'else fixed_robust(a)if api=='robust'else fixed_validate(a)if api=='validate'else fixed_source(a['kind'])\ndef report_values(api,z):\n summary=[];series=[]\n def add(k,v,u):summary.append((k,v,u))\n if api=='effects':\n  for k in ['completeRows','ATE','ATT','observedContrast']:add(k,z[k],'rows'if k=='completeRows'else'constructed outcome units')\n  series=[('known constructed effects',[(i+1,r['effect'])for i,r in enumerate(z['rows'])])]\n elif api=='aipw':\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast']:add(k,z['overall'][k].get('value'),'constructed outcome units')\n  add('eligibleRows',z['overall']['rows'],'rows');series=[('AIPW row scores',[(i+1,r['score'].get('value'))for i,r in enumerate(z['rows'])])]\n elif api=='representation':\n  for k in ['ATE','adjustedContrast','bias']:add(k,z[k],'constructed outcome units')\n  series=[('representation contrasts',[(i+1,r['contrast'])for i,r in enumerate(z['groups'])])]\n elif api=='robust':\n  for k in ['baseline','minimum','maximum']:add(k,z[k],'declared value units')\n  for k in ['minTV','maxTV']:add(k,z[k],'probability mass')\n  series=[('minimum weights',[(i+1,v)for i,v in enumerate(z['minWeights'])]),('maximum weights',[(i+1,v)for i,v in enumerate(z['maxWeights'])])]\n elif api=='validate':\n  add('selectedIndex',z['selectedIndex'],'zero-based candidate index');add('selectedScore',z['selectedScore'],'squared outcome units');series=[('validation criterion',[(i+1,c['criterion'])for i,c in enumerate(z['candidates'])])]\n else:\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum']:add(k,z[k],z['unit'])\n  add('sourceRows',len(z['rows']),'analytical records');add('eligibleRows',sum(r['eligible']for r in z['rows']),'records');series=[('actual out-of-fold scores',[(i+1,r['score'])for i,r in enumerate(z['rows'])])]\n return summary,series\n\nFIXED={'api': 'robust', 'variant': 'mass-transfer', 'title': 'Finite total-variation mass transfer', 'input': {'values': ['0', '2'], 'probabilities': ['1/2', '1/2'], 'radius': '1/4', 'cap': '2'}, 'expectedFailure': False}\n\ndef fixed_svg(points,title):\n good=[p for p in points if p['y'] is not None];xx=[float(p['x'])for p in good];yy=[float(p['y'])for p in good];xmin=min(xx)if xx else 0;xmax=max(xx)if xx else 1;ymin=min([0]+yy);ymax=max([0]+yy)\n if xmin==xmax:xmin-=.5;xmax+=.5\n if ymin==ymax:ymin-=.5;ymax+=.5\n pad=(ymax-ymin)*.08;ymin-=pad;ymax+=pad;X=lambda x:82+(float(x)-xmin)/(xmax-xmin)*608;Y=lambda y:354-(float(y)-ymin)/(ymax-ymin)*290;e=html.escape\n out=['<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"'+e(title)+'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">'+e(title)+'</text>']\n for j in range(5):\n  y=ymin+(ymax-ymin)*j/4;x=xmin+(xmax-xmin)*j/4;out.append('<line x1=\"82\" y1=\"'+str(Y(y))+'\" x2=\"690\" y2=\"'+str(Y(y))+'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"'+str(Y(y)+4)+'\" text-anchor=\"end\">'+format(y,'.3g')+'</text><text x=\"'+str(X(x))+'\" y=\"380\" text-anchor=\"middle\">'+format(x,'.3g')+'</text>')\n series=list(dict.fromkeys(p['series']for p in good))\n for j,s in enumerate(series):\n  pp=[p for p in good if p['series']==s];color=['#0f766e','#c76622','#4f46e5','#b23857'][j%4];out.append('<polyline fill=\"none\" stroke=\"'+color+'\" stroke-width=\"1.5\" points=\"'+' '.join(format(X(p['x']),'.6f')+','+format(Y(p['y']),'.6f')for p in pp)+'\"/>')\n  for p in pp:out.append('<circle cx=\"'+format(X(p['x']),'.6f')+'\" cy=\"'+format(Y(p['y']),'.6f')+'\" r=\"2.6\" fill=\"'+color+'\"><title>'+e(s+': '+str(p['y']))+'</title></circle>')\n  out.append('<text x=\"'+str(82+(j%2)*310)+'\" y=\"'+str(432+(j//2)*23)+'\" fill=\"'+color+'\">'+e(s)+'</text>')\n out.append('<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>');return''.join(out)\n\nOUT=Path(sys.argv[1]);OUT.mkdir(parents=True,exist_ok=False)\nresult=fixed_operation(FIXED['api'],FIXED['input']);summary,series=report_values(FIXED['api'],result)\ndef encode(v):\n if isinstance(v,Q):return str(v)\n if isinstance(v,dict):return{k:encode(x)for k,x in v.items()}\n if isinstance(v,(list,tuple)):return[encode(x)for x in v]\n return v\n(OUT/'full.json').write_text(json.dumps(dict(arithmetic='Exact Fraction fixed examples; factualsource and knownhypotheticallaws separate; empiricalTV notCI',result=encode(result)),ensure_ascii=False,indent=2)+'\\n',encoding='utf8')\nsummaryRows=[dict(metric=m,value=''if v is None else str(int(v))if isinstance(v,bool)else str(v),unit=u,defined=int(v is not None))for m,v,u in summary]\npoints=[dict(series=name,index=i,x=str(x),y=''if y is None else str(y),defined=int(y is not None))for name,pp in series for i,(x,y)in enumerate(pp)]\nfor name,rows in [('summary',summaryRows),('plot-points',points)]:\n with(OUT/(name+'.csv')).open('w',encoding='utf8',newline='')as f:writer=csv.DictWriter(f,fieldnames=list(rows[0]));writer.writeheader();writer.writerows(rows)\n(OUT/'plot.svg').write_text(fixed_svg([dict(p,x=number(p['x']),y=None if not p['defined']else number(p['y']))for p in points],FIXED['title']),encoding='utf8');print(FIXED['api']+'/'+FIXED['variant'])\n",
        "returnCode": 0,
        "stdout": "robust/mass-transfer\r\n",
        "stderr": "",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/python-robust-mass-transfer-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/robust-mass-transfer-input.json",
            "sha256": "3c9c185a9e8bd24c9f069a9b40640da8b7ef1948313a501d09954aaf61d04a4c",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/python-robust-mass-transfer-result/full.json",
            "sha256": "c8d32482d4b8e722bcf8de85356202b979eade64bffeb162ed2c9093a3f958ee",
            "bytes": 500
          },
          {
            "file": "ml21-code/python-robust-mass-transfer-result/plot-points.csv",
            "sha256": "82bfaf00971e9da493e138da87df2f3306e41a8725a871c0fde429360d17ca02",
            "bytes": 134
          },
          {
            "file": "ml21-code/python-robust-mass-transfer-result/plot.svg",
            "sha256": "8f8b6ddf0b3f91f2b421e81e0ccfd97df1c12f6a3b51fd443d1f705b89e41101",
            "bytes": 2064
          },
          {
            "file": "ml21-code/python-robust-mass-transfer-result/summary.csv",
            "sha256": "1a43e035558ba6bc56a04dfbe632818202e0e8a889a7250f31f288353cfe11f4",
            "bytes": 194
          },
          {
            "file": "ml21-code/python-robust-mass-transfer-result/stdout.txt",
            "sha256": "19ce6939248ae611b6ada5f855433500865c35d863ec0a6efc062b487e27e180",
            "bytes": 22
          },
          {
            "file": "ml21-code/python-robust-mass-transfer-result/stderr.txt",
            "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "bytes": 0
          }
        ],
        "summaryRows": [
          {
            "metric": "baseline",
            "value": "1",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "1",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "minimum",
            "value": "0.5",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "1/2",
            "exactFraction": "1/2",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "maximum",
            "value": "1.5",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "3/2",
            "exactFraction": "3/2",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "minTV",
            "value": "0.25",
            "unit": "probability mass",
            "defined": "true",
            "rawValue": "1/4",
            "exactFraction": "1/4",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "maxTV",
            "value": "0.25",
            "unit": "probability mass",
            "defined": "true",
            "rawValue": "1/4",
            "exactFraction": "1/4",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          }
        ],
        "plotRows": [
          {
            "series": "minimum weights",
            "index": 0,
            "x": "1",
            "y": "0.75",
            "defined": true,
            "xExact": "1",
            "yExact": "3/4"
          },
          {
            "series": "minimum weights",
            "index": 1,
            "x": "2",
            "y": "0.25",
            "defined": true,
            "xExact": "2",
            "yExact": "1/4"
          },
          {
            "series": "maximum weights",
            "index": 0,
            "x": "1",
            "y": "0.25",
            "defined": true,
            "xExact": "1",
            "yExact": "1/4"
          },
          {
            "series": "maximum weights",
            "index": 1,
            "x": "2",
            "y": "0.75",
            "defined": true,
            "xExact": "2",
            "yExact": "3/4"
          }
        ],
        "plotFile": "ml21-code/python-robust-mass-transfer-result/plot.svg",
        "fullResultFile": "ml21-code/python-robust-mass-transfer-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "zero-support": {
        "api": "robust",
        "variant": "zero-support",
        "language": "python",
        "title": "A finite density cap preserves zero support",
        "input": {
          "values": [
            "0",
            "999"
          ],
          "probabilities": [
            "1",
            "0"
          ],
          "radius": "1",
          "cap": "100"
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/robust-zero-support.py",
        "codeSHA256": "99d762b17b08480513203bb6e6b528443d433174e1d8726da7cf437f6388bb3b",
        "code": "\"\"\"ML21 complete standalone fixed example, not a general API validator.\nRun: python this-file.py NEW-OUTDIR\nFixed literal input is also supplied as matching human-readable JSON.\nRealdata reads3factual CSVs under data/, using owned public scalar code byvalue.\nNo production engine/model/checker/computed answers are imported.\n\"\"\"\nfrom pathlib import Path\nfrom fractions import Fraction as F\nfrom collections import defaultdict,Counter\nimport csv,json,hashlib,sys,html,math\nif hasattr(sys,'set_int_max_str_digits'):sys.set_int_max_str_digits(200000)\ndef f(v):return v if isinstance(v,F)else F(str(v))\ndef ck(v,label=''):\n if not v:raise AssertionError(label)\ndef maybe(v):return dict(defined=False)if v is None else dict(defined=True,value=v)\ndef mean(v,w):return sum((a*b for a,b in zip(v,w)),F(0))/sum(w,F(0))if sum(w,F(0))else None\ndef extremum(values,p,radius,cap,sign):\n q=list(p);budget=radius;upper=[min(F(1),cap*x)for x in p]\n order=sorted(range(len(values)),key=lambda i:(sign*values[i],i))\n donors=list(order);receivers=list(reversed(order));left=right=0\n while budget>0 and left<len(q)and right<len(q):\n  i,j=donors[left],receivers[right]\n  if sign*values[j]<=sign*values[i]:break\n  move=min(q[i],upper[j]-q[j],budget)\n  if move>0:q[i]-=move;q[j]+=move;budget-=move\n  if q[i]==0:left+=1\n  if q[j]==upper[j]:right+=1\n  if move==0 and q[i]>0 and q[j]<upper[j]:raise AssertionError('transport made no progress')\n return q,sum(a*b for a,b in zip(q,values)),sum(abs(a-b)for a,b in zip(q,p))/2\n\ndef fixed_source(kind):\n selectedKind=kind\n S=Path(__file__).resolve().parent/\"data\"\n def read(n):\n  with(S/n).open(encoding=\"utf8\",newline=\"\")as stream:return list(csv.DictReader(stream))\n def source_rows():\n  rows=read('actual48-country-revised-original-2023-2024.csv');lk={(r['countryISO3'],r['indicatorID'],r['date']):r for r in rows};isos=sorted({r['countryISO3']for r in rows});g=sorted(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])for i in isos);median=(g[7]+g[8])/2\n  models={'country':[dict(id=i+':2024',originalID=i,sourceRow=i,foldGroup='country:'+i,a=int(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])>median),x=[f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])/10000,f(lk[i,'FP.CPI.TOTL.ZG','2023']['originalValueToken'])/10],y=f(lk[i,'NY.GDP.MKTP.KD.ZG','2024']['originalValueToken']))for i in isos]}\n  native=read('actual38408-NSW-all15-fields.csv');pairs=defaultdict(dict)\n  for r in native:pairs[str(int(f(r['id'])))][int(f(r['year']))]=r\n  people=[]\n  for ID,pair in pairs.items():\n   pre,post=pair[1975],pair[1978];ck(pre['treated']==post['treated'],'native stable treatment');sel=int(f(pre['experimental']))==1;ck(sel==(pre['treated']!='.'),'no recode missingtreatment')\n   if sel:people.append(dict(id='nsw-id:'+ID,originalID=ID,sourceRow=int(post['sourceRow']),foldGroup='nsw-id:'+ID,a=int(f(pre['treated'])),x=[F.from_float(float(pre['age']))/10,F.from_float(float(pre['educ']))/10,F.from_float(float(pre['re74']))/10000],y=F.from_float(float(post['re']))/10000))\n  models['person']=people;company=[]\n  for r in read('actual410-NJPA-all46-fields.csv'):\n   ys=[]\n   for suffix in['','2']:\n    v=[None if r[k+suffix]=='.'else f(r[k+suffix])for k in['EMPFT','EMPPT','NMGRS']];ys.append(None if None in v else v[0]+v[1]/2+v[2])\n   company.append(dict(id='njpa-row:'+r['sourceRow'],originalID=r['SHEET'],sourceRow=int(r['sourceRow']),foldGroup='sheet:'+r['SHEET'],a=int(r['STATE']),x=[None if ys[0]is None else ys[0]/10,None if r['CHAIN']=='.'else F(int(f(r['CHAIN'])==2)),None if r['CO_OWNED']=='.'else f(r['CO_OWNED'])],y=None if None in ys else ys[1]-ys[0]))\n  models['company']=company\n  for kind,rr in models.items():\n   groups=sorted({r['foldGroup']for r in rr},key=lambda g:(hashlib.sha256(('ML21|'+kind+'|'+g).encode()).digest(),g));folds={g:i%4 for i,g in enumerate(groups)}\n   for r in rr:r['fold']=folds[r['foldGroup']];r['eligible']=r['y']is not None and None not in r['x'];r['role']='analysis'if r['eligible']else'excluded';r['w']=F(1)\n  return models\n MODELS=source_rows()\n def solve(A,b):\n  n=len(b);M=[list(a)+[v]for a,v in zip(A,b)];pivot=[];i=0\n  for j in range(n):\n   k=next((k for k in range(i,n)if M[k][j]!=0),None)\n   if k is None:continue\n   M[i],M[k]=M[k],M[i];v=M[i][j];M[i]=[z/v for z in M[i]]\n   for k in range(n):\n    if k!=i:\n     v=M[k][j];M[k]=[a-v*b for a,b in zip(M[k],M[i])]\n   pivot.append(j);i+=1\n   if i==n:break\n  beta=[F(0)]*n\n  for i,j in enumerate(pivot):beta[j]=M[i][-1]\n  null=[]\n  for j in range(n):\n   if j in pivot:continue\n   v=[F(0)]*n;v[j]=F(1)\n   for i,k in enumerate(pivot):v[k]=-M[i][j]\n   null.append(v)\n  return beta,null,len(pivot)\n def source_expected(a):\n  base=MODELS[a.get('kind','person')];rep=a.get('representation','full');rr=[]\n  for r in base:\n   full=r['x'];x=full if rep=='full'else[]if rep=='constant'else[F(r['a'])]if a.get('kind','person')=='country'else[F(full[1]>F(6,5)),F(full[2]>0)]if a.get('kind','person')=='person'else[full[1]]\n   group=('higher-GDP-category'if r['a']else'lower-GDP-category')if a.get('kind','person')=='country'else('schooling-over12'if full[1]>F(6,5)else'schooling-at-most12')if a.get('kind','person')=='person'else('chain2'if full[1]else'other-chains');rr.append(dict(r,x=x,fullX=full,group=group))\n  eligible=[r for r in rr if r['eligible']];limit=a.get('trainingLimit',len(eligible));keep={r['id']for r in eligible[:limit]};lam=f(a.get('lambda','1/100'));eps=f(a.get('clip','1/20'));nuisance=[];out={};dimension=len(rr[0]['x'])+1\n  for fold in range(4):\n   tr=[r for r in rr if r['eligible']and r['id']in keep and r['fold']!=fold];fits={};means=[sum(r['x'][j]for r in tr)/len(tr)for j in range(dimension-1)]if tr else[];scales=[max(r['x'][j]for r in tr)-min(r['x'][j]for r in tr)or F(1)for j in range(dimension-1)]if tr else[]\n   def z(r):return None if not tr or None in r['x']else[F(1)]+[(v-m)/s for v,m,s in zip(r['x'],means,scales)]\n   for name in['e','mu0','mu1']:\n    use=[r for r in tr if name=='e'or r['a']==int(name[-1])]\n    if not use:fits[name]=dict(defined=False);continue\n    Z=[z(r)for r in use];Y=[F(r['a'])if name=='e'else r['y']for r in use];N=len(use);A=[[sum(v[j]*v[k]for v in Z)/N+(lam if j==k and j else 0)for k in range(dimension)]for j in range(dimension)];b=[sum(y*v[j]for v,y in zip(Z,Y))/N for j in range(dimension)];beta,null,rank=solve(A,b);minimum=sum((sum(b*z for b,z in zip(beta,v))-y)**2 for v,y in zip(Z,Y))/(2*N)+lam*sum(v*v for v in beta[1:])/2;fits[name]=dict(defined=True,trainingIDs=[r['id']for r in use],rows=N,rank=rank,unique=rank==dimension,theta=beta,nullspace=null,minimumObjective=minimum,meanX=means,scales=scales)\n   nuisance.append(dict(fold=fold,complementRows=len(tr),fits=fits))\n   for r in rr:\n    if r['fold']!=fold:continue\n    zz=z(r);pred={name:None if zz is None or not fit['defined']else sum(v*b for v,b in zip(zz,fit['theta']))for name,fit in fits.items()};eRaw=pred['e'];e=None if eRaw is None else max(eps,min(1-eps,eRaw));inv={name:zz is not None and fit['defined']and all(sum(a*b for a,b in zip(v,zz))==0 for v in fit['nullspace'])for name,fit in fits.items()};out[r['id']]=dict(r,mu0=pred['mu0'],mu1=pred['mu1'],e=e,eRaw=eRaw,propensityClipped=e is not None and e!=eRaw,nuisancePredictionDefined=all(v is not None for v in pred.values()),queryInvariantAcrossMinimizers=inv)\n  return rr,nuisance,[out[r['id']]for r in rr]\n def aipw_expected(rows,role='all'):\n  out=[]\n  for r in rows:\n   reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n   if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n   plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n  def summary(use):\n   ww=[r['w']for r in use];arms=[]\n   for A in[0,1]:\n    arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n   return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n  use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n raw,nuisance,oo=source_expected(dict(kind=selectedKind,representation='full'));scores=aipw_expected(oo);use=[r for r in scores['rows']if r['eligible']];values=[r['score']['value']for r in use];p=[F(1,len(use))for _ in use];lo,low,ltv=extremum(values,p,F(1,10),F(2),-1);hi,high,htv=extremum(values,p,F(1,10),F(2),1);fits=[]\n for n in nuisance:\n  for name,z in n['fits'].items():fits.append(dict(fold=n['fold'],fit=name,trainingIDs=z['trainingIDs'],rows=z['rows'],rank=z['rank'],unique=z['unique'],theta=z['theta'],minimumObjective=z['minimumObjective'],meanX=z['meanX'],scales=z['scales']))\n rr=[]\n for r in scores['rows']:rr.append(dict(id=r['id'],sourceRow=r['sourceRow'],originalID=r['originalID'],foldGroup=r['foldGroup'],fold=r['fold'],a=r['a'],y=r['y'],x=r['fullX'],eligible=r['eligible'],eRaw=r['eRaw'],e=r['e'],mu0=r['mu0'],mu1=r['mu1'],plugin=r.get('plugin'),score=r['score'].get('value'),IPWContribution=r.get('IPWContribution')))\n unit={'country':'GDP growth contrast, percentage points','person':'native real1978earnings/10000','company':'post-minus-pre FTE employees'}[selectedKind]\n return dict(kind=selectedKind,unit=unit,rows=rr,fits=fits,AIPW=scores['overall']['AIPW'].get('value'),plugin=scores['overall']['plugin'].get('value'),IPW=scores['overall']['IPW'].get('value'),normalizedIPWContrast=scores['overall']['normalizedIPWContrast'].get('value'),stressMinimum=low,stressMaximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\n\ndef aipw_expected(rows,role='all'):\n out=[]\n for r in rows:\n  reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n  if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n  plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n def summary(use):\n  ww=[r['w']for r in use];arms=[]\n  for A in[0,1]:\n   arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n  return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n\n# Owned standalone fixed-example adapters; no production engine import.\nQ=F\nnumber=f\ndef fixed_robust(a):\n values=list(map(f,a['values']));p=list(map(f,a.get('probabilities',[F(1,len(values))for _ in values])));radius=f(a.get('radius','1/10'));cap=f(a.get('cap',2))\n if cap<1 or not 0<=radius<=1:raise ValueError('invalid-robust-constraint')\n lo,low,ltv=extremum(values,p,radius,cap,-1);hi,high,htv=extremum(values,p,radius,cap,1)\n return dict(values=values,p=p,radius=radius,cap=cap,baseline=sum(v*w for v,w in zip(values,p)),minimum=low,maximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\ndef fixed_aipw(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  rr.append(dict(id=r.get('id',str(i)),a=None if r.get('a')is None else int(f(r['a'])),**{k:None if r.get(k)is None else f(r[k])for k in ['y','e','mu0','mu1']},w=w,role=r.get('role','analysis'),group=r.get('group','all')))\n return aipw_expected(rr)\ndef fixed_effects(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  y0=None if r.get('y0')is None else f(r['y0']);y1=None if r.get('y1')is None else f(r['y1']);A=r.get('a');A=None if A is None else int(f(A));rr.append(dict(id=r.get('id',str(i)),a=A,y0=y0,y1=y1,w=w,effect=None if y0 is None or y1 is None else y1-y0,observed=y1 if A==1 else y0 if A==0 else None))\n complete=[r for r in rr if r['w']>0 and r['effect']is not None];treated=[r for r in complete if r['a']==1];arms=[mean([r['observed']for r in rr if r['a']==A and r['observed']is not None and r['w']>0],[r['w']for r in rr if r['a']==A and r['observed']is not None and r['w']>0])for A in [0,1]]\n return dict(rows=rr,completeRows=len(complete),ATE=mean([r['effect']for r in complete],[r['w']for r in complete]),ATT=mean([r['effect']for r in treated],[r['w']for r in treated]),observedContrast=None if None in arms else arms[1]-arms[0])\ndef fixed_representation(a):\n atoms=[dict(id=r['id'],p=f(r['probability']),y0=f(r['y0']),y1=f(r['y1']),e=f(r['e']),phi=r['phi'])for r in a['atoms']];groups=[];ATE=sum(r['p']*(r['y1']-r['y0'])for r in atoms)\n if sum(r['p']for r in atoms)!=1:raise ValueError('law-probabilities-must-sum-one')\n for phi in dict.fromkeys(r['phi']for r in atoms if r['p']):\n  use=[r for r in atoms if r['phi']==phi and r['p']];mass=sum(r['p']for r in use);t=sum(r['p']*r['e']for r in use);m1=sum(r['p']*r['e']*r['y1']for r in use)/t if t else None;m0=sum(r['p']*(1-r['e'])*r['y0']for r in use)/(mass-t)if mass!=t else None;groups.append(dict(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=None if m0 is None or m1 is None else m1-m0))\n adjusted=None if any(r['contrast']is None for r in groups)else sum(r['mass']*r['contrast']for r in groups)\n return dict(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=None if adjusted is None else adjusted-ATE)\ndef fixed_validate(a):\n rr=a['rows'];cc=a['candidates'];groups=a['requiredGroups'];eligible=[r.get('y')is not None and f(r.get('weight',1))>0 and r['role']not in ['excluded','unused']and all(c['predictions'][i]is not None for c in cc)for i,r in enumerate(rr)];out=[]\n for c in cc:\n  def risk(ids):return mean([(f(c['predictions'][i])-f(rr[i]['y']))**2 for i in ids],[f(rr[i].get('weight',1))for i in ids])\n  vr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='validation'];tr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='test'];gv=[risk([i for i in vr if rr[i]['group']==g])for g in groups];worst=None if None in gv else max(gv);criterion=risk(vr)if a.get('criterion','worst-group')=='mean'else worst;out.append(dict(id=c['id'],validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=criterion))\n available=[i for i,z in enumerate(out)if z['criterion']is not None];selected=min(available,key=lambda i:(out[i]['criterion'],i))if available else None\n return dict(commonEligibility=eligible,groups=groups,candidates=out,selectedIndex=selected,selectedID=None if selected is None else out[selected]['id'],selectedScore=None if selected is None else out[selected]['criterion'])\ndef fixed_operation(api,a):return fixed_effects(a)if api=='effects'else fixed_aipw(a)if api=='aipw'else fixed_representation(a)if api=='representation'else fixed_robust(a)if api=='robust'else fixed_validate(a)if api=='validate'else fixed_source(a['kind'])\ndef report_values(api,z):\n summary=[];series=[]\n def add(k,v,u):summary.append((k,v,u))\n if api=='effects':\n  for k in ['completeRows','ATE','ATT','observedContrast']:add(k,z[k],'rows'if k=='completeRows'else'constructed outcome units')\n  series=[('known constructed effects',[(i+1,r['effect'])for i,r in enumerate(z['rows'])])]\n elif api=='aipw':\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast']:add(k,z['overall'][k].get('value'),'constructed outcome units')\n  add('eligibleRows',z['overall']['rows'],'rows');series=[('AIPW row scores',[(i+1,r['score'].get('value'))for i,r in enumerate(z['rows'])])]\n elif api=='representation':\n  for k in ['ATE','adjustedContrast','bias']:add(k,z[k],'constructed outcome units')\n  series=[('representation contrasts',[(i+1,r['contrast'])for i,r in enumerate(z['groups'])])]\n elif api=='robust':\n  for k in ['baseline','minimum','maximum']:add(k,z[k],'declared value units')\n  for k in ['minTV','maxTV']:add(k,z[k],'probability mass')\n  series=[('minimum weights',[(i+1,v)for i,v in enumerate(z['minWeights'])]),('maximum weights',[(i+1,v)for i,v in enumerate(z['maxWeights'])])]\n elif api=='validate':\n  add('selectedIndex',z['selectedIndex'],'zero-based candidate index');add('selectedScore',z['selectedScore'],'squared outcome units');series=[('validation criterion',[(i+1,c['criterion'])for i,c in enumerate(z['candidates'])])]\n else:\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum']:add(k,z[k],z['unit'])\n  add('sourceRows',len(z['rows']),'analytical records');add('eligibleRows',sum(r['eligible']for r in z['rows']),'records');series=[('actual out-of-fold scores',[(i+1,r['score'])for i,r in enumerate(z['rows'])])]\n return summary,series\n\nFIXED={'api': 'robust', 'variant': 'zero-support', 'title': 'A finite density cap preserves zero support', 'input': {'values': ['0', '999'], 'probabilities': ['1', '0'], 'radius': '1', 'cap': '100'}, 'expectedFailure': False}\n\ndef fixed_svg(points,title):\n good=[p for p in points if p['y'] is not None];xx=[float(p['x'])for p in good];yy=[float(p['y'])for p in good];xmin=min(xx)if xx else 0;xmax=max(xx)if xx else 1;ymin=min([0]+yy);ymax=max([0]+yy)\n if xmin==xmax:xmin-=.5;xmax+=.5\n if ymin==ymax:ymin-=.5;ymax+=.5\n pad=(ymax-ymin)*.08;ymin-=pad;ymax+=pad;X=lambda x:82+(float(x)-xmin)/(xmax-xmin)*608;Y=lambda y:354-(float(y)-ymin)/(ymax-ymin)*290;e=html.escape\n out=['<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"'+e(title)+'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">'+e(title)+'</text>']\n for j in range(5):\n  y=ymin+(ymax-ymin)*j/4;x=xmin+(xmax-xmin)*j/4;out.append('<line x1=\"82\" y1=\"'+str(Y(y))+'\" x2=\"690\" y2=\"'+str(Y(y))+'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"'+str(Y(y)+4)+'\" text-anchor=\"end\">'+format(y,'.3g')+'</text><text x=\"'+str(X(x))+'\" y=\"380\" text-anchor=\"middle\">'+format(x,'.3g')+'</text>')\n series=list(dict.fromkeys(p['series']for p in good))\n for j,s in enumerate(series):\n  pp=[p for p in good if p['series']==s];color=['#0f766e','#c76622','#4f46e5','#b23857'][j%4];out.append('<polyline fill=\"none\" stroke=\"'+color+'\" stroke-width=\"1.5\" points=\"'+' '.join(format(X(p['x']),'.6f')+','+format(Y(p['y']),'.6f')for p in pp)+'\"/>')\n  for p in pp:out.append('<circle cx=\"'+format(X(p['x']),'.6f')+'\" cy=\"'+format(Y(p['y']),'.6f')+'\" r=\"2.6\" fill=\"'+color+'\"><title>'+e(s+': '+str(p['y']))+'</title></circle>')\n  out.append('<text x=\"'+str(82+(j%2)*310)+'\" y=\"'+str(432+(j//2)*23)+'\" fill=\"'+color+'\">'+e(s)+'</text>')\n out.append('<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>');return''.join(out)\n\nOUT=Path(sys.argv[1]);OUT.mkdir(parents=True,exist_ok=False)\nresult=fixed_operation(FIXED['api'],FIXED['input']);summary,series=report_values(FIXED['api'],result)\ndef encode(v):\n if isinstance(v,Q):return str(v)\n if isinstance(v,dict):return{k:encode(x)for k,x in v.items()}\n if isinstance(v,(list,tuple)):return[encode(x)for x in v]\n return v\n(OUT/'full.json').write_text(json.dumps(dict(arithmetic='Exact Fraction fixed examples; factualsource and knownhypotheticallaws separate; empiricalTV notCI',result=encode(result)),ensure_ascii=False,indent=2)+'\\n',encoding='utf8')\nsummaryRows=[dict(metric=m,value=''if v is None else str(int(v))if isinstance(v,bool)else str(v),unit=u,defined=int(v is not None))for m,v,u in summary]\npoints=[dict(series=name,index=i,x=str(x),y=''if y is None else str(y),defined=int(y is not None))for name,pp in series for i,(x,y)in enumerate(pp)]\nfor name,rows in [('summary',summaryRows),('plot-points',points)]:\n with(OUT/(name+'.csv')).open('w',encoding='utf8',newline='')as f:writer=csv.DictWriter(f,fieldnames=list(rows[0]));writer.writeheader();writer.writerows(rows)\n(OUT/'plot.svg').write_text(fixed_svg([dict(p,x=number(p['x']),y=None if not p['defined']else number(p['y']))for p in points],FIXED['title']),encoding='utf8');print(FIXED['api']+'/'+FIXED['variant'])\n",
        "returnCode": 0,
        "stdout": "robust/zero-support\r\n",
        "stderr": "",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/python-robust-zero-support-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/robust-zero-support-input.json",
            "sha256": "b2751c33ee40ec24b1cff957e8c4ff6b60900131684b26ad1b6dafb2ea72d561",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/python-robust-zero-support-result/full.json",
            "sha256": "f4555e2b45150a9c2601ea90510791c5045d23d83b906f5776f0be3a82949815",
            "bytes": 482
          },
          {
            "file": "ml21-code/python-robust-zero-support-result/plot-points.csv",
            "sha256": "4f301a9b90c43c5b832f97c73914b2be32d8bfe36864afbefe21c56917a4a0fd",
            "bytes": 126
          },
          {
            "file": "ml21-code/python-robust-zero-support-result/plot.svg",
            "sha256": "03afe4237e19816c8a431e82846e801795b1b4fe60005c5b2ed12b0d7332dc95",
            "bytes": 2066
          },
          {
            "file": "ml21-code/python-robust-zero-support-result/summary.csv",
            "sha256": "625deee651f6c5716b71a75a91dcfba2645be0ec9bd52f07b62f280092704117",
            "bytes": 186
          },
          {
            "file": "ml21-code/python-robust-zero-support-result/stdout.txt",
            "sha256": "2280f4957053e29765bad690337c29d4c25d2da607c82edab46aa90e48299f2b",
            "bytes": 21
          },
          {
            "file": "ml21-code/python-robust-zero-support-result/stderr.txt",
            "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "bytes": 0
          }
        ],
        "summaryRows": [
          {
            "metric": "baseline",
            "value": "0",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "0",
            "exactFraction": "0",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": true,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "minimum",
            "value": "0",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "0",
            "exactFraction": "0",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": true,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "maximum",
            "value": "0",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "0",
            "exactFraction": "0",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": true,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "minTV",
            "value": "0",
            "unit": "probability mass",
            "defined": "true",
            "rawValue": "0",
            "exactFraction": "0",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": true,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "maxTV",
            "value": "0",
            "unit": "probability mass",
            "defined": "true",
            "rawValue": "0",
            "exactFraction": "0",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": true,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          }
        ],
        "plotRows": [
          {
            "series": "minimum weights",
            "index": 0,
            "x": "1",
            "y": "1",
            "defined": true,
            "xExact": "1",
            "yExact": "1"
          },
          {
            "series": "minimum weights",
            "index": 1,
            "x": "2",
            "y": "0",
            "defined": true,
            "xExact": "2",
            "yExact": "0"
          },
          {
            "series": "maximum weights",
            "index": 0,
            "x": "1",
            "y": "1",
            "defined": true,
            "xExact": "1",
            "yExact": "1"
          },
          {
            "series": "maximum weights",
            "index": 1,
            "x": "2",
            "y": "0",
            "defined": true,
            "xExact": "2",
            "yExact": "0"
          }
        ],
        "plotFile": "ml21-code/python-robust-zero-support-result/plot.svg",
        "fullResultFile": "ml21-code/python-robust-zero-support-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "slack-budget": {
        "api": "robust",
        "variant": "slack-budget",
        "language": "python",
        "title": "Density cap binds before the TV budget",
        "input": {
          "values": [
            "0",
            "2"
          ],
          "probabilities": [
            "1/2",
            "1/2"
          ],
          "radius": "1/4",
          "cap": "5/4"
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/robust-slack-budget.py",
        "codeSHA256": "2c8c64b02ee214d1c23461b049d9fba8ed3a66a50c38f1dd6c4aa537d256afb3",
        "code": "\"\"\"ML21 complete standalone fixed example, not a general API validator.\nRun: python this-file.py NEW-OUTDIR\nFixed literal input is also supplied as matching human-readable JSON.\nRealdata reads3factual CSVs under data/, using owned public scalar code byvalue.\nNo production engine/model/checker/computed answers are imported.\n\"\"\"\nfrom pathlib import Path\nfrom fractions import Fraction as F\nfrom collections import defaultdict,Counter\nimport csv,json,hashlib,sys,html,math\nif hasattr(sys,'set_int_max_str_digits'):sys.set_int_max_str_digits(200000)\ndef f(v):return v if isinstance(v,F)else F(str(v))\ndef ck(v,label=''):\n if not v:raise AssertionError(label)\ndef maybe(v):return dict(defined=False)if v is None else dict(defined=True,value=v)\ndef mean(v,w):return sum((a*b for a,b in zip(v,w)),F(0))/sum(w,F(0))if sum(w,F(0))else None\ndef extremum(values,p,radius,cap,sign):\n q=list(p);budget=radius;upper=[min(F(1),cap*x)for x in p]\n order=sorted(range(len(values)),key=lambda i:(sign*values[i],i))\n donors=list(order);receivers=list(reversed(order));left=right=0\n while budget>0 and left<len(q)and right<len(q):\n  i,j=donors[left],receivers[right]\n  if sign*values[j]<=sign*values[i]:break\n  move=min(q[i],upper[j]-q[j],budget)\n  if move>0:q[i]-=move;q[j]+=move;budget-=move\n  if q[i]==0:left+=1\n  if q[j]==upper[j]:right+=1\n  if move==0 and q[i]>0 and q[j]<upper[j]:raise AssertionError('transport made no progress')\n return q,sum(a*b for a,b in zip(q,values)),sum(abs(a-b)for a,b in zip(q,p))/2\n\ndef fixed_source(kind):\n selectedKind=kind\n S=Path(__file__).resolve().parent/\"data\"\n def read(n):\n  with(S/n).open(encoding=\"utf8\",newline=\"\")as stream:return list(csv.DictReader(stream))\n def source_rows():\n  rows=read('actual48-country-revised-original-2023-2024.csv');lk={(r['countryISO3'],r['indicatorID'],r['date']):r for r in rows};isos=sorted({r['countryISO3']for r in rows});g=sorted(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])for i in isos);median=(g[7]+g[8])/2\n  models={'country':[dict(id=i+':2024',originalID=i,sourceRow=i,foldGroup='country:'+i,a=int(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])>median),x=[f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])/10000,f(lk[i,'FP.CPI.TOTL.ZG','2023']['originalValueToken'])/10],y=f(lk[i,'NY.GDP.MKTP.KD.ZG','2024']['originalValueToken']))for i in isos]}\n  native=read('actual38408-NSW-all15-fields.csv');pairs=defaultdict(dict)\n  for r in native:pairs[str(int(f(r['id'])))][int(f(r['year']))]=r\n  people=[]\n  for ID,pair in pairs.items():\n   pre,post=pair[1975],pair[1978];ck(pre['treated']==post['treated'],'native stable treatment');sel=int(f(pre['experimental']))==1;ck(sel==(pre['treated']!='.'),'no recode missingtreatment')\n   if sel:people.append(dict(id='nsw-id:'+ID,originalID=ID,sourceRow=int(post['sourceRow']),foldGroup='nsw-id:'+ID,a=int(f(pre['treated'])),x=[F.from_float(float(pre['age']))/10,F.from_float(float(pre['educ']))/10,F.from_float(float(pre['re74']))/10000],y=F.from_float(float(post['re']))/10000))\n  models['person']=people;company=[]\n  for r in read('actual410-NJPA-all46-fields.csv'):\n   ys=[]\n   for suffix in['','2']:\n    v=[None if r[k+suffix]=='.'else f(r[k+suffix])for k in['EMPFT','EMPPT','NMGRS']];ys.append(None if None in v else v[0]+v[1]/2+v[2])\n   company.append(dict(id='njpa-row:'+r['sourceRow'],originalID=r['SHEET'],sourceRow=int(r['sourceRow']),foldGroup='sheet:'+r['SHEET'],a=int(r['STATE']),x=[None if ys[0]is None else ys[0]/10,None if r['CHAIN']=='.'else F(int(f(r['CHAIN'])==2)),None if r['CO_OWNED']=='.'else f(r['CO_OWNED'])],y=None if None in ys else ys[1]-ys[0]))\n  models['company']=company\n  for kind,rr in models.items():\n   groups=sorted({r['foldGroup']for r in rr},key=lambda g:(hashlib.sha256(('ML21|'+kind+'|'+g).encode()).digest(),g));folds={g:i%4 for i,g in enumerate(groups)}\n   for r in rr:r['fold']=folds[r['foldGroup']];r['eligible']=r['y']is not None and None not in r['x'];r['role']='analysis'if r['eligible']else'excluded';r['w']=F(1)\n  return models\n MODELS=source_rows()\n def solve(A,b):\n  n=len(b);M=[list(a)+[v]for a,v in zip(A,b)];pivot=[];i=0\n  for j in range(n):\n   k=next((k for k in range(i,n)if M[k][j]!=0),None)\n   if k is None:continue\n   M[i],M[k]=M[k],M[i];v=M[i][j];M[i]=[z/v for z in M[i]]\n   for k in range(n):\n    if k!=i:\n     v=M[k][j];M[k]=[a-v*b for a,b in zip(M[k],M[i])]\n   pivot.append(j);i+=1\n   if i==n:break\n  beta=[F(0)]*n\n  for i,j in enumerate(pivot):beta[j]=M[i][-1]\n  null=[]\n  for j in range(n):\n   if j in pivot:continue\n   v=[F(0)]*n;v[j]=F(1)\n   for i,k in enumerate(pivot):v[k]=-M[i][j]\n   null.append(v)\n  return beta,null,len(pivot)\n def source_expected(a):\n  base=MODELS[a.get('kind','person')];rep=a.get('representation','full');rr=[]\n  for r in base:\n   full=r['x'];x=full if rep=='full'else[]if rep=='constant'else[F(r['a'])]if a.get('kind','person')=='country'else[F(full[1]>F(6,5)),F(full[2]>0)]if a.get('kind','person')=='person'else[full[1]]\n   group=('higher-GDP-category'if r['a']else'lower-GDP-category')if a.get('kind','person')=='country'else('schooling-over12'if full[1]>F(6,5)else'schooling-at-most12')if a.get('kind','person')=='person'else('chain2'if full[1]else'other-chains');rr.append(dict(r,x=x,fullX=full,group=group))\n  eligible=[r for r in rr if r['eligible']];limit=a.get('trainingLimit',len(eligible));keep={r['id']for r in eligible[:limit]};lam=f(a.get('lambda','1/100'));eps=f(a.get('clip','1/20'));nuisance=[];out={};dimension=len(rr[0]['x'])+1\n  for fold in range(4):\n   tr=[r for r in rr if r['eligible']and r['id']in keep and r['fold']!=fold];fits={};means=[sum(r['x'][j]for r in tr)/len(tr)for j in range(dimension-1)]if tr else[];scales=[max(r['x'][j]for r in tr)-min(r['x'][j]for r in tr)or F(1)for j in range(dimension-1)]if tr else[]\n   def z(r):return None if not tr or None in r['x']else[F(1)]+[(v-m)/s for v,m,s in zip(r['x'],means,scales)]\n   for name in['e','mu0','mu1']:\n    use=[r for r in tr if name=='e'or r['a']==int(name[-1])]\n    if not use:fits[name]=dict(defined=False);continue\n    Z=[z(r)for r in use];Y=[F(r['a'])if name=='e'else r['y']for r in use];N=len(use);A=[[sum(v[j]*v[k]for v in Z)/N+(lam if j==k and j else 0)for k in range(dimension)]for j in range(dimension)];b=[sum(y*v[j]for v,y in zip(Z,Y))/N for j in range(dimension)];beta,null,rank=solve(A,b);minimum=sum((sum(b*z for b,z in zip(beta,v))-y)**2 for v,y in zip(Z,Y))/(2*N)+lam*sum(v*v for v in beta[1:])/2;fits[name]=dict(defined=True,trainingIDs=[r['id']for r in use],rows=N,rank=rank,unique=rank==dimension,theta=beta,nullspace=null,minimumObjective=minimum,meanX=means,scales=scales)\n   nuisance.append(dict(fold=fold,complementRows=len(tr),fits=fits))\n   for r in rr:\n    if r['fold']!=fold:continue\n    zz=z(r);pred={name:None if zz is None or not fit['defined']else sum(v*b for v,b in zip(zz,fit['theta']))for name,fit in fits.items()};eRaw=pred['e'];e=None if eRaw is None else max(eps,min(1-eps,eRaw));inv={name:zz is not None and fit['defined']and all(sum(a*b for a,b in zip(v,zz))==0 for v in fit['nullspace'])for name,fit in fits.items()};out[r['id']]=dict(r,mu0=pred['mu0'],mu1=pred['mu1'],e=e,eRaw=eRaw,propensityClipped=e is not None and e!=eRaw,nuisancePredictionDefined=all(v is not None for v in pred.values()),queryInvariantAcrossMinimizers=inv)\n  return rr,nuisance,[out[r['id']]for r in rr]\n def aipw_expected(rows,role='all'):\n  out=[]\n  for r in rows:\n   reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n   if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n   plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n  def summary(use):\n   ww=[r['w']for r in use];arms=[]\n   for A in[0,1]:\n    arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n   return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n  use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n raw,nuisance,oo=source_expected(dict(kind=selectedKind,representation='full'));scores=aipw_expected(oo);use=[r for r in scores['rows']if r['eligible']];values=[r['score']['value']for r in use];p=[F(1,len(use))for _ in use];lo,low,ltv=extremum(values,p,F(1,10),F(2),-1);hi,high,htv=extremum(values,p,F(1,10),F(2),1);fits=[]\n for n in nuisance:\n  for name,z in n['fits'].items():fits.append(dict(fold=n['fold'],fit=name,trainingIDs=z['trainingIDs'],rows=z['rows'],rank=z['rank'],unique=z['unique'],theta=z['theta'],minimumObjective=z['minimumObjective'],meanX=z['meanX'],scales=z['scales']))\n rr=[]\n for r in scores['rows']:rr.append(dict(id=r['id'],sourceRow=r['sourceRow'],originalID=r['originalID'],foldGroup=r['foldGroup'],fold=r['fold'],a=r['a'],y=r['y'],x=r['fullX'],eligible=r['eligible'],eRaw=r['eRaw'],e=r['e'],mu0=r['mu0'],mu1=r['mu1'],plugin=r.get('plugin'),score=r['score'].get('value'),IPWContribution=r.get('IPWContribution')))\n unit={'country':'GDP growth contrast, percentage points','person':'native real1978earnings/10000','company':'post-minus-pre FTE employees'}[selectedKind]\n return dict(kind=selectedKind,unit=unit,rows=rr,fits=fits,AIPW=scores['overall']['AIPW'].get('value'),plugin=scores['overall']['plugin'].get('value'),IPW=scores['overall']['IPW'].get('value'),normalizedIPWContrast=scores['overall']['normalizedIPWContrast'].get('value'),stressMinimum=low,stressMaximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\n\ndef aipw_expected(rows,role='all'):\n out=[]\n for r in rows:\n  reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n  if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n  plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n def summary(use):\n  ww=[r['w']for r in use];arms=[]\n  for A in[0,1]:\n   arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n  return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n\n# Owned standalone fixed-example adapters; no production engine import.\nQ=F\nnumber=f\ndef fixed_robust(a):\n values=list(map(f,a['values']));p=list(map(f,a.get('probabilities',[F(1,len(values))for _ in values])));radius=f(a.get('radius','1/10'));cap=f(a.get('cap',2))\n if cap<1 or not 0<=radius<=1:raise ValueError('invalid-robust-constraint')\n lo,low,ltv=extremum(values,p,radius,cap,-1);hi,high,htv=extremum(values,p,radius,cap,1)\n return dict(values=values,p=p,radius=radius,cap=cap,baseline=sum(v*w for v,w in zip(values,p)),minimum=low,maximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\ndef fixed_aipw(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  rr.append(dict(id=r.get('id',str(i)),a=None if r.get('a')is None else int(f(r['a'])),**{k:None if r.get(k)is None else f(r[k])for k in ['y','e','mu0','mu1']},w=w,role=r.get('role','analysis'),group=r.get('group','all')))\n return aipw_expected(rr)\ndef fixed_effects(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  y0=None if r.get('y0')is None else f(r['y0']);y1=None if r.get('y1')is None else f(r['y1']);A=r.get('a');A=None if A is None else int(f(A));rr.append(dict(id=r.get('id',str(i)),a=A,y0=y0,y1=y1,w=w,effect=None if y0 is None or y1 is None else y1-y0,observed=y1 if A==1 else y0 if A==0 else None))\n complete=[r for r in rr if r['w']>0 and r['effect']is not None];treated=[r for r in complete if r['a']==1];arms=[mean([r['observed']for r in rr if r['a']==A and r['observed']is not None and r['w']>0],[r['w']for r in rr if r['a']==A and r['observed']is not None and r['w']>0])for A in [0,1]]\n return dict(rows=rr,completeRows=len(complete),ATE=mean([r['effect']for r in complete],[r['w']for r in complete]),ATT=mean([r['effect']for r in treated],[r['w']for r in treated]),observedContrast=None if None in arms else arms[1]-arms[0])\ndef fixed_representation(a):\n atoms=[dict(id=r['id'],p=f(r['probability']),y0=f(r['y0']),y1=f(r['y1']),e=f(r['e']),phi=r['phi'])for r in a['atoms']];groups=[];ATE=sum(r['p']*(r['y1']-r['y0'])for r in atoms)\n if sum(r['p']for r in atoms)!=1:raise ValueError('law-probabilities-must-sum-one')\n for phi in dict.fromkeys(r['phi']for r in atoms if r['p']):\n  use=[r for r in atoms if r['phi']==phi and r['p']];mass=sum(r['p']for r in use);t=sum(r['p']*r['e']for r in use);m1=sum(r['p']*r['e']*r['y1']for r in use)/t if t else None;m0=sum(r['p']*(1-r['e'])*r['y0']for r in use)/(mass-t)if mass!=t else None;groups.append(dict(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=None if m0 is None or m1 is None else m1-m0))\n adjusted=None if any(r['contrast']is None for r in groups)else sum(r['mass']*r['contrast']for r in groups)\n return dict(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=None if adjusted is None else adjusted-ATE)\ndef fixed_validate(a):\n rr=a['rows'];cc=a['candidates'];groups=a['requiredGroups'];eligible=[r.get('y')is not None and f(r.get('weight',1))>0 and r['role']not in ['excluded','unused']and all(c['predictions'][i]is not None for c in cc)for i,r in enumerate(rr)];out=[]\n for c in cc:\n  def risk(ids):return mean([(f(c['predictions'][i])-f(rr[i]['y']))**2 for i in ids],[f(rr[i].get('weight',1))for i in ids])\n  vr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='validation'];tr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='test'];gv=[risk([i for i in vr if rr[i]['group']==g])for g in groups];worst=None if None in gv else max(gv);criterion=risk(vr)if a.get('criterion','worst-group')=='mean'else worst;out.append(dict(id=c['id'],validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=criterion))\n available=[i for i,z in enumerate(out)if z['criterion']is not None];selected=min(available,key=lambda i:(out[i]['criterion'],i))if available else None\n return dict(commonEligibility=eligible,groups=groups,candidates=out,selectedIndex=selected,selectedID=None if selected is None else out[selected]['id'],selectedScore=None if selected is None else out[selected]['criterion'])\ndef fixed_operation(api,a):return fixed_effects(a)if api=='effects'else fixed_aipw(a)if api=='aipw'else fixed_representation(a)if api=='representation'else fixed_robust(a)if api=='robust'else fixed_validate(a)if api=='validate'else fixed_source(a['kind'])\ndef report_values(api,z):\n summary=[];series=[]\n def add(k,v,u):summary.append((k,v,u))\n if api=='effects':\n  for k in ['completeRows','ATE','ATT','observedContrast']:add(k,z[k],'rows'if k=='completeRows'else'constructed outcome units')\n  series=[('known constructed effects',[(i+1,r['effect'])for i,r in enumerate(z['rows'])])]\n elif api=='aipw':\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast']:add(k,z['overall'][k].get('value'),'constructed outcome units')\n  add('eligibleRows',z['overall']['rows'],'rows');series=[('AIPW row scores',[(i+1,r['score'].get('value'))for i,r in enumerate(z['rows'])])]\n elif api=='representation':\n  for k in ['ATE','adjustedContrast','bias']:add(k,z[k],'constructed outcome units')\n  series=[('representation contrasts',[(i+1,r['contrast'])for i,r in enumerate(z['groups'])])]\n elif api=='robust':\n  for k in ['baseline','minimum','maximum']:add(k,z[k],'declared value units')\n  for k in ['minTV','maxTV']:add(k,z[k],'probability mass')\n  series=[('minimum weights',[(i+1,v)for i,v in enumerate(z['minWeights'])]),('maximum weights',[(i+1,v)for i,v in enumerate(z['maxWeights'])])]\n elif api=='validate':\n  add('selectedIndex',z['selectedIndex'],'zero-based candidate index');add('selectedScore',z['selectedScore'],'squared outcome units');series=[('validation criterion',[(i+1,c['criterion'])for i,c in enumerate(z['candidates'])])]\n else:\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum']:add(k,z[k],z['unit'])\n  add('sourceRows',len(z['rows']),'analytical records');add('eligibleRows',sum(r['eligible']for r in z['rows']),'records');series=[('actual out-of-fold scores',[(i+1,r['score'])for i,r in enumerate(z['rows'])])]\n return summary,series\n\nFIXED={'api': 'robust', 'variant': 'slack-budget', 'title': 'Density cap binds before the TV budget', 'input': {'values': ['0', '2'], 'probabilities': ['1/2', '1/2'], 'radius': '1/4', 'cap': '5/4'}, 'expectedFailure': False}\n\ndef fixed_svg(points,title):\n good=[p for p in points if p['y'] is not None];xx=[float(p['x'])for p in good];yy=[float(p['y'])for p in good];xmin=min(xx)if xx else 0;xmax=max(xx)if xx else 1;ymin=min([0]+yy);ymax=max([0]+yy)\n if xmin==xmax:xmin-=.5;xmax+=.5\n if ymin==ymax:ymin-=.5;ymax+=.5\n pad=(ymax-ymin)*.08;ymin-=pad;ymax+=pad;X=lambda x:82+(float(x)-xmin)/(xmax-xmin)*608;Y=lambda y:354-(float(y)-ymin)/(ymax-ymin)*290;e=html.escape\n out=['<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"'+e(title)+'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">'+e(title)+'</text>']\n for j in range(5):\n  y=ymin+(ymax-ymin)*j/4;x=xmin+(xmax-xmin)*j/4;out.append('<line x1=\"82\" y1=\"'+str(Y(y))+'\" x2=\"690\" y2=\"'+str(Y(y))+'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"'+str(Y(y)+4)+'\" text-anchor=\"end\">'+format(y,'.3g')+'</text><text x=\"'+str(X(x))+'\" y=\"380\" text-anchor=\"middle\">'+format(x,'.3g')+'</text>')\n series=list(dict.fromkeys(p['series']for p in good))\n for j,s in enumerate(series):\n  pp=[p for p in good if p['series']==s];color=['#0f766e','#c76622','#4f46e5','#b23857'][j%4];out.append('<polyline fill=\"none\" stroke=\"'+color+'\" stroke-width=\"1.5\" points=\"'+' '.join(format(X(p['x']),'.6f')+','+format(Y(p['y']),'.6f')for p in pp)+'\"/>')\n  for p in pp:out.append('<circle cx=\"'+format(X(p['x']),'.6f')+'\" cy=\"'+format(Y(p['y']),'.6f')+'\" r=\"2.6\" fill=\"'+color+'\"><title>'+e(s+': '+str(p['y']))+'</title></circle>')\n  out.append('<text x=\"'+str(82+(j%2)*310)+'\" y=\"'+str(432+(j//2)*23)+'\" fill=\"'+color+'\">'+e(s)+'</text>')\n out.append('<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>');return''.join(out)\n\nOUT=Path(sys.argv[1]);OUT.mkdir(parents=True,exist_ok=False)\nresult=fixed_operation(FIXED['api'],FIXED['input']);summary,series=report_values(FIXED['api'],result)\ndef encode(v):\n if isinstance(v,Q):return str(v)\n if isinstance(v,dict):return{k:encode(x)for k,x in v.items()}\n if isinstance(v,(list,tuple)):return[encode(x)for x in v]\n return v\n(OUT/'full.json').write_text(json.dumps(dict(arithmetic='Exact Fraction fixed examples; factualsource and knownhypotheticallaws separate; empiricalTV notCI',result=encode(result)),ensure_ascii=False,indent=2)+'\\n',encoding='utf8')\nsummaryRows=[dict(metric=m,value=''if v is None else str(int(v))if isinstance(v,bool)else str(v),unit=u,defined=int(v is not None))for m,v,u in summary]\npoints=[dict(series=name,index=i,x=str(x),y=''if y is None else str(y),defined=int(y is not None))for name,pp in series for i,(x,y)in enumerate(pp)]\nfor name,rows in [('summary',summaryRows),('plot-points',points)]:\n with(OUT/(name+'.csv')).open('w',encoding='utf8',newline='')as f:writer=csv.DictWriter(f,fieldnames=list(rows[0]));writer.writeheader();writer.writerows(rows)\n(OUT/'plot.svg').write_text(fixed_svg([dict(p,x=number(p['x']),y=None if not p['defined']else number(p['y']))for p in points],FIXED['title']),encoding='utf8');print(FIXED['api']+'/'+FIXED['variant'])\n",
        "returnCode": 0,
        "stdout": "robust/slack-budget\r\n",
        "stderr": "",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/python-robust-slack-budget-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/robust-slack-budget-input.json",
            "sha256": "c057ad20dfde0917979a9ab87ed041284ba8247d54ffa1ab4a48f4b6411156fe",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/python-robust-slack-budget-result/full.json",
            "sha256": "445026d1c0193ae254e7c8f6dd6f34f88598e83c223b351e779944b7a2ddb1bc",
            "bytes": 502
          },
          {
            "file": "ml21-code/python-robust-slack-budget-result/plot-points.csv",
            "sha256": "6588c0e3f3967af190470637bc272af6f8dd0a09cb85f9c5b568578a4887bb5b",
            "bytes": 134
          },
          {
            "file": "ml21-code/python-robust-slack-budget-result/plot.svg",
            "sha256": "9f7aea5eec7c2c70767b9420a61343b5ea82547eec66dbb294ff1add92addb1b",
            "bytes": 2069
          },
          {
            "file": "ml21-code/python-robust-slack-budget-result/summary.csv",
            "sha256": "0d2e0603422f9acc9ca58b9562d0d6a61b4121d535adef8236ab7bd140a2c600",
            "bytes": 194
          },
          {
            "file": "ml21-code/python-robust-slack-budget-result/stdout.txt",
            "sha256": "57a9767b30e0f27383bb982cf27685db2cf39edaca08b881404ab71e130def97",
            "bytes": 21
          },
          {
            "file": "ml21-code/python-robust-slack-budget-result/stderr.txt",
            "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "bytes": 0
          }
        ],
        "summaryRows": [
          {
            "metric": "baseline",
            "value": "1",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "1",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "minimum",
            "value": "0.75",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "3/4",
            "exactFraction": "3/4",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "maximum",
            "value": "1.25",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "5/4",
            "exactFraction": "5/4",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "minTV",
            "value": "0.125",
            "unit": "probability mass",
            "defined": "true",
            "rawValue": "1/8",
            "exactFraction": "1/8",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "maxTV",
            "value": "0.125",
            "unit": "probability mass",
            "defined": "true",
            "rawValue": "1/8",
            "exactFraction": "1/8",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          }
        ],
        "plotRows": [
          {
            "series": "minimum weights",
            "index": 0,
            "x": "1",
            "y": "0.625",
            "defined": true,
            "xExact": "1",
            "yExact": "5/8"
          },
          {
            "series": "minimum weights",
            "index": 1,
            "x": "2",
            "y": "0.375",
            "defined": true,
            "xExact": "2",
            "yExact": "3/8"
          },
          {
            "series": "maximum weights",
            "index": 0,
            "x": "1",
            "y": "0.375",
            "defined": true,
            "xExact": "1",
            "yExact": "3/8"
          },
          {
            "series": "maximum weights",
            "index": 1,
            "x": "2",
            "y": "0.625",
            "defined": true,
            "xExact": "2",
            "yExact": "5/8"
          }
        ],
        "plotFile": "ml21-code/python-robust-slack-budget-result/plot.svg",
        "fullResultFile": "ml21-code/python-robust-slack-budget-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      }
    },
    "r": {
      "mass-transfer": {
        "api": "robust",
        "variant": "mass-transfer",
        "language": "r",
        "title": "Finite total-variation mass transfer",
        "input": {
          "values": [
            "0",
            "2"
          ],
          "probabilities": [
            "1/2",
            "1/2"
          ],
          "radius": "1/4",
          "cap": "2"
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/robust-mass-transfer.R",
        "codeSHA256": "5e6fd30c2df0d8a936be553e134429cdfa7766b78beb1b3400314bd473b7f32c",
        "code": "# ML21 standalone numerical fixed example, not arbitrary exact API validation.\n# Fixed inputs are declared inline and matching JSON provided for reading.\n# Realdata code uses3factual CSVs, R4.5+ toolsSHA256 and numerical ridge.\noptions(digits=17)\nfixedSource<-function(kind){\n selectedKind<-kind\n src<-file.path(dirname(sub('^--file=','',grep('^--file=',commandArgs(),value=TRUE)[1])),'data')\nreadnative<-function(n)read.csv(file.path(src,n),colClasses='character',check.names=FALSE,na.strings=NULL,stringsAsFactors=FALSE)\nnum<-function(x){v<-suppressWarnings(as.numeric(x));v[x%in%c('','.')] <- NA_real_;v}\nsha<-function(s){tf<-tempfile('ml21-group-');writeBin(charToRaw(enc2utf8(s)),tf);on.exit(unlink(tf));unname(tools::sha256sum(tf))}\nwb<-readnative('actual48-country-revised-original-2023-2024.csv');iso<-sort(unique(wb$countryISO3))\nlookup<-function(i,code,yr){r<-wb[wb$countryISO3==i&wb$indicatorID==code&wb$date==yr,,drop=FALSE];stopifnot(nrow(r)==1);num(r$originalValueToken)}\ng<-vapply(iso,lookup,numeric(1),code='NY.GDP.PCAP.KD',yr='2023');pi<-vapply(iso,lookup,numeric(1),code='FP.CPI.TOTL.ZG',yr='2023');gy<-vapply(iso,lookup,numeric(1),code='NY.GDP.MKTP.KD.ZG',yr='2024')\ncountry<-list(id=paste0(iso,':2024'),originalID=iso,sourceRow=iso,foldGroup=paste0('country:',iso),a=as.integer(g>median(g)),x=cbind(g/10000,pi/10),y=gy)\npd<-readnative('actual38408-NSW-all15-fields.csv');pre<-pd[pd$year=='1975',,drop=FALSE];post<-pd[match(pre$id,pd$id[pd$year=='1978'])+0,,drop=FALSE]\npostNative<-pd[pd$year=='1978',,drop=FALSE];post<-postNative[match(pre$id,postNative$id),,drop=FALSE]\nstopifnot(nrow(pre)==19204,nrow(post)==19204,all(pre$id==post$id),all(pre$treated==post$treated));take<-num(pre$experimental)==1;stopifnot(all(take==(pre$treated!='.')));pre<-pre[take,,drop=FALSE];post<-post[take,,drop=FALSE]\nperson<-list(id=paste0('nsw-id:',pre$id),originalID=pre$id,sourceRow=post$sourceRow,foldGroup=paste0('nsw-id:',pre$id),a=num(pre$treated),x=cbind(num(pre$age)/10,num(pre$educ)/10,num(pre$re74)/10000),y=num(post$re)/10000)\ncd<-readnative('actual410-NJPA-all46-fields.csv');before<-num(cd$EMPFT)+num(cd$EMPPT)/2+num(cd$NMGRS);after<-num(cd$EMPFT2)+num(cd$EMPPT2)/2+num(cd$NMGRS2)\ncompany<-list(id=paste0('njpa-row:',cd$sourceRow),originalID=cd$SHEET,sourceRow=cd$sourceRow,foldGroup=paste0('sheet:',cd$SHEET),a=num(cd$STATE),x=cbind(before/10,as.integer(num(cd$CHAIN)==2),num(cd$CO_OWNED)),y=after-before)\nmodels<-list(country=country,person=person,company=company)\nfor(kind in names(models)){\n m<-models[[kind]];groups<-unique(m$foldGroup);hash<-vapply(groups,function(g)sha(paste0('ML21|',kind,'|',g)),character(1));ord<-order(hash,groups);folds<-integer(length(groups));folds[ord]<-(seq_along(ord)-1L)%%4L;m$fold<-folds[match(m$foldGroup,groups)];m$eligible<-!is.na(m$y)&rowSums(is.na(m$x))==0;m$role<-ifelse(m$eligible,'analysis','excluded');models[[kind]]<-m\n}\nstopifnot(length(person$id)==722,sum(person$a)==297,sum(models$company$eligible)==384,length(country$id)==16)\nsourcefit<-function(kind,m,rep){\n N<-length(m$id);X<-if(rep=='full')m$x else if(rep=='constant')matrix(numeric(0),nrow=N,ncol=0) else if(kind=='country')matrix(m$a,ncol=1) else if(kind=='person')cbind(as.integer(m$x[,2]>1.2),as.integer(m$x[,3]>0)) else matrix(m$x[,2],ncol=1)\n group<-if(kind=='country')ifelse(m$a==1,'higher-GDP-category','lower-GDP-category')else if(kind=='person')ifelse(m$x[,2]>1.2,'schooling-over12','schooling-at-most12')else ifelse(!is.na(m$x[,2])&m$x[,2]!=0,'chain2','other-chains')\n p<-ncol(X);eRaw<-mu0<-mu1<-rep(NA_real_,N);fits<-list();coords<-list()\n for(fold in 0:3){\n  tr<-which(m$eligible&m$fold!=fold);means<-if(p)colMeans(X[tr,,drop=FALSE])else numeric(0);scales<-if(p)apply(X[tr,,drop=FALSE],2,function(x)diff(range(x)))else numeric(0);scales[scales==0]<-1;Z<-if(p)cbind(1,sweep(sweep(X,2,means,'-'),2,scales,'/'))else matrix(1,nrow=N,ncol=1);hold<-which(m$fold==fold);ok<-rowSums(is.na(Z[hold,,drop=FALSE]))==0\n  for(name in c('e','mu0','mu1')){\n   ix<-if(name=='e')tr else tr[m$a[tr]==if(name=='mu0')0 else 1];target<-if(name=='e')m$a[ix]else m$y[ix];A<-crossprod(Z[ix,,drop=FALSE])/length(ix)+diag(c(0,rep(.01,p)),nrow=p+1);b<-as.vector(crossprod(Z[ix,,drop=FALSE],target))/length(ix);theta<-as.vector(solve(A,b));minimum<-mean((as.vector(Z[ix,,drop=FALSE]%*%theta)-target)^2)/2+.01*sum(theta[-1]^2)/2;v<-as.vector(Z[hold,,drop=FALSE]%*%theta)\n   if(name=='e')eRaw[hold]<-v else if(name=='mu0')mu0[hold]<-v else mu1[hold]<-v\n   fits[[length(fits)+1L]]<-list(fold=fold,name=name,rows=length(ix),rank=p+1,theta=theta,minimumObjective=minimum,trainingIDs=m$id[ix])\n  }\n  coords[[length(coords)+1L]]<-list(fold=fold,mean=means,scale=scales)\n }\n e<-pmax(.05,pmin(.95,eRaw));nuisance<-!is.na(e)&!is.na(mu0)&!is.na(mu1);eligible<-m$eligible&nuisance;plugin<-treated<-control<-ipw<-effective<-score<-rep(NA_real_,N);ix<-which(eligible);plugin[ix]<-mu1[ix]-mu0[ix];treated[ix]<-ifelse(m$a[ix]==1,(m$y[ix]-mu1[ix])/e[ix],0);control[ix]<-ifelse(m$a[ix]==0,(m$y[ix]-mu0[ix])/(1-e[ix]),0);score[ix]<-plugin[ix]+treated[ix]-control[ix];ipw[ix]<-ifelse(m$a[ix]==1,m$y[ix]/e[ix],-m$y[ix]/(1-e[ix]));effective[ix]<-1/ifelse(m$a[ix]==1,e[ix],1-e[ix]);clipped<-!is.na(eRaw)&eRaw!=e\n list(X=X,group=group,meanX=coords,fits=fits,eRaw=eRaw,e=e,mu0=mu0,mu1=mu1,nuisance=nuisance,eligible=eligible,plugin=plugin,treated=treated,control=control,score=score,ipw=ipw,effective=effective,clipped=clipped)\n}\nextreme<-function(values,sign){N<-length(values);p<-rep(1/N,N);q<-p;upper<-pmin(1,2*p);ord<-order(round(sign*values,12),seq_along(values));donor<-ord;receiver<-rev(ord);a<-b<-1L;budget<-.1\n while(budget>1e-14&&a<=N&&b<=N){i<-donor[a];j<-receiver[b];if(sign*values[j]<=sign*values[i]+1e-14)break;move<-min(q[i],upper[j]-q[j],budget);if(move>0){q[i]<-q[i]-move;q[j]<-q[j]+move;budget<-budget-move};if(q[i]<=1e-14)a<-a+1L;if(upper[j]-q[j]<=1e-14)b<-b+1L;if(move<=0&&a<=N&&b<=N&&q[i]>1e-14&&upper[j]-q[j]>1e-14)stop('no transport progress')};list(q=q,objective=sum(q*values),TV=sum(abs(q-p))/2)\n}\n\n m<-models[[selectedKind]];z<-sourcefit(selectedKind,m,'full');ix<-which(z$eligible);v<-z$score[ix];lo<-extreme(v,-1);hi<-extreme(v,1);treated<-ix[m$a[ix]==1];control<-ix[m$a[ix]==0];norm<-sum(m$y[treated]*z$effective[treated])/sum(z$effective[treated])-sum(m$y[control]*z$effective[control])/sum(z$effective[control]);nv<-function(v)if(is.na(v))NULL else unname(v)\n rows<-lapply(seq_along(m$id),function(i)list(id=m$id[i],sourceRow=if(selectedKind=='country')m$sourceRow[i]else as.integer(m$sourceRow[i]),originalID=m$originalID[i],foldGroup=m$foldGroup[i],fold=m$fold[i],a=m$a[i],y=nv(m$y[i]),x=lapply(as.list(m$x[i,]),nv),eligible=z$eligible[i],eRaw=nv(z$eRaw[i]),e=nv(z$e[i]),mu0=nv(z$mu0[i]),mu1=nv(z$mu1[i]),plugin=nv(z$plugin[i]),score=nv(z$score[i]),IPWContribution=nv(z$ipw[i])))\n fits<-lapply(z$fits,function(fit){co<-z$meanX[[fit$fold+1L]];list(fold=fit$fold,fit=fit$name,trainingIDs=as.list(fit$trainingIDs),rows=fit$rows,rank=fit$rank,unique=TRUE,theta=as.list(fit$theta),minimumObjective=fit$minimumObjective,meanX=as.list(co$mean),scales=as.list(co$scale))});unit<-switch(selectedKind,country='GDP growth contrast, percentage points',person='native real1978earnings/10000',company='post-minus-pre FTE employees')\n list(kind=selectedKind,unit=unit,rows=rows,fits=fits,AIPW=mean(v),plugin=mean(z$plugin[ix]),IPW=mean(z$ipw[ix]),normalizedIPWContrast=norm,stressMinimum=lo$objective,stressMaximum=hi$objective,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\n\n# Owned numerical fixed-example adapters; not arbitrary exact input validators.\nnum<-function(v){if(is.null(v))return(NULL);if(is.numeric(v))return(as.numeric(v));s<-strsplit(as.character(v),'/',fixed=TRUE)[[1]];if(length(s)==2)as.numeric(s[1])/as.numeric(s[2])else as.numeric(v)}\nopt<-function(a,key,default)if(is.null(a[[key]]))default else a[[key]]\nmaybe<-function(v)if(is.null(v))list(defined=FALSE)else list(defined=TRUE,value=v)\nweighted<-function(v,w){if(!length(w)||sum(w)==0)return(NULL);sum(v*w)/sum(w)}\nfixedEffects<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){r<-a$rows[[i]];w<-num(opt(r,'weight',1));if(w<0)stop('negative-analysis-weight');y0<-num(r$y0);y1<-num(r$y1);A<-num(r$a);list(id=opt(r,'id',as.character(i-1L)),a=A,y0=y0,y1=y1,w=w,effect=if(is.null(y0)||is.null(y1))NULL else y1-y0,observed=if(is.null(A))NULL else if(A==1)y1 else y0)})\n complete<-Filter(function(r)r$w>0&&!is.null(r$effect),rr);treated<-Filter(function(r)!is.null(r$a)&&r$a==1,complete);avg<-function(rows,key)weighted(vapply(rows,function(r)r[[key]],numeric(1)),vapply(rows,function(r)r$w,numeric(1)));arm<-lapply(0:1,function(A)avg(Filter(function(r)!is.null(r$a)&&r$a==A&&!is.null(r$observed)&&r$w>0,rr),'observed'));list(rows=rr,completeRows=length(complete),ATE=avg(complete,'effect'),ATT=avg(treated,'effect'),observedContrast=if(any(vapply(arm,is.null,logical(1))))NULL else arm[[2]]-arm[[1]])\n}\nfixedAipw<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){v<-a$rows[[i]];w<-num(opt(v,'weight',1));if(w<0)stop('negative-analysis-weight');r<-list(id=opt(v,'id',as.character(i-1L)),a=num(v$a),y=num(v$y),e=num(v$e),mu0=num(v$mu0),mu1=num(v$mu1),w=w,role=opt(v,'role','analysis'),group=opt(v,'group','all'));reason<-if(w==0)'zero-weight'else if(r$role%in%c('excluded','unused'))'inactive-role'else if(any(vapply(r[c('a','y','e','mu0','mu1')],is.null,logical(1))))'missing-required-field'else if(r$e%in%c(0,1))'nonoverlap-boundary-propensity'else NULL;r$eligible<-is.null(reason);r$reason<-reason\n  if(is.null(reason)){r$plugin<-r$mu1-r$mu0;r$treatedResidual<-if(r$a==1)(r$y-r$mu1)/r$e else 0;r$controlResidual<-if(r$a==0)(r$y-r$mu0)/(1-r$e)else 0;r$score<-maybe(r$plugin+r$treatedResidual-r$controlResidual);r$IPWContribution<-if(r$a==1)r$y/r$e else-r$y/(1-r$e);r$effectiveArmWeight<-w/if(r$a==1)r$e else 1-r$e}else r$score<-maybe(NULL);r})\n summary<-function(rows){mass<-sum(vapply(rows,function(r)r$w,numeric(1)));avg<-function(key){if(!mass)return(NULL);sum(vapply(rows,function(r)r$w*if(key=='score')r$score$value else r[[key]],numeric(1)))/mass};arms<-lapply(0:1,function(A){arm<-Filter(function(r)r$a==A,rows);w<-vapply(arm,function(r)r$effectiveArmWeight,numeric(1));list(a=A,rows=length(arm),weightedArmDenominator=sum(w),normalizedMean=maybe(weighted(vapply(arm,function(r)r$y,numeric(1)),w)))});list(rows=length(rows),mass=mass,AIPW=maybe(avg('score')),plugin=maybe(avg('plugin')),IPW=maybe(avg('IPWContribution')),normalizedArmMeans=arms,normalizedIPWContrast=maybe(if(all(vapply(arms,function(r)r$normalizedMean$defined,logical(1))))arms[[2]]$normalizedMean$value-arms[[1]]$normalizedMean$value else NULL))}\n use<-Filter(function(r)r$eligible,rr);roles<-unique(vapply(rr,function(r)r$role,character(1)));groups<-unique(vapply(rr,function(r)r$group,character(1)));list(rows=rr,overall=summary(use),byRole=lapply(roles,function(role)c(list(role=role),summary(Filter(function(r)r$role==role,use)))),byGroup=lapply(groups,function(g)c(list(group=g),summary(Filter(function(r)r$group==g,use)))),overlapExcluded=as.list(vapply(Filter(function(r)identical(r$reason,'nonoverlap-boundary-propensity'),rr),function(r)r$id,character(1))))\n}\nfixedRepresentation<-function(a){\n atoms<-lapply(a$atoms,function(r)list(id=r$id,p=num(r$probability),y0=num(r$y0),y1=num(r$y1),e=num(r$e),phi=r$phi));if(abs(sum(vapply(atoms,function(r)r$p,numeric(1)))-1)>1e-12)stop('law-probabilities-must-sum-one');ATE<-sum(vapply(atoms,function(r)r$p*(r$y1-r$y0),numeric(1)));phis<-unique(vapply(Filter(function(r)r$p>0,atoms),function(r)r$phi,character(1)));groups<-lapply(phis,function(phi){use<-Filter(function(r)r$phi==phi&&r$p>0,atoms);mass<-sum(vapply(use,function(r)r$p,numeric(1)));t<-sum(vapply(use,function(r)r$p*r$e,numeric(1)));m1<-if(t>0)sum(vapply(use,function(r)r$p*r$e*r$y1,numeric(1)))/t else NULL;m0<-if(mass-t>0)sum(vapply(use,function(r)r$p*(1-r$e)*r$y0,numeric(1)))/(mass-t)else NULL;list(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=if(is.null(m0)||is.null(m1))NULL else m1-m0)});adjusted<-if(any(vapply(groups,function(r)is.null(r$contrast),logical(1))))NULL else sum(vapply(groups,function(r)r$mass*r$contrast,numeric(1)));list(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=if(is.null(adjusted))NULL else adjusted-ATE)\n}\nfixedRobust<-function(a){\n values<-vapply(a$values,num,numeric(1));p<-if(is.null(a$probabilities))rep(1/length(values),length(values))else vapply(a$probabilities,num,numeric(1));radius<-num(opt(a,'radius','1/10'));cap<-num(opt(a,'cap',2));if(cap<1||radius<0||radius>1)stop('invalid-robust-constraint')\n go<-function(sign){q<-p;upper<-pmin(1,cap*p);order<-order(sign*values,seq_along(values));lo<-order;hi<-rev(order);i<-j<-1L;budget<-radius;N<-length(values)\n while(budget>1e-14&&i<=N&&j<=N){d<-lo[i];h<-hi[j];if(sign*values[h]<=sign*values[d])break;move<-min(q[d],upper[h]-q[h],budget);if(move>0){q[d]<-q[d]-move;q[h]<-q[h]+move;budget<-budget-move};if(q[d]<=1e-14)i<-i+1L;if(upper[h]-q[h]<=1e-14)j<-j+1L};list(q=q,value=sum(q*values),TV=sum(abs(q-p))/2)};lo<-go(-1);hi<-go(1);list(values=as.list(values),p=as.list(p),radius=radius,cap=cap,baseline=sum(values*p),minimum=lo$value,maximum=hi$value,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\nfixedValidate<-function(a){\n rr<-a$rows;cc<-a$candidates;groups<-unlist(a$requiredGroups);eligible<-vapply(seq_along(rr),function(i){r<-rr[[i]];!is.null(r$y)&&num(opt(r,'weight',1))>0&&!r$role%in%c('excluded','unused')&&all(vapply(cc,function(c)!is.null(c$predictions[[i]]),logical(1)))},logical(1));out<-lapply(cc,function(c){risk<-function(ix){if(!length(ix))return(NULL);weighted(vapply(ix,function(i)(num(c$predictions[[i]])-num(rr[[i]]$y))^2,numeric(1)),vapply(ix,function(i)num(opt(rr[[i]],'weight',1)),numeric(1)))};vr<-which(eligible&vapply(rr,function(r)r$role=='validation',logical(1)));tr<-which(eligible&vapply(rr,function(r)r$role=='test',logical(1)));gv<-lapply(groups,function(g)risk(vr[vapply(rr[vr],function(r)r$group==g,logical(1))]));worst<-if(any(vapply(gv,is.null,logical(1))))NULL else max(unlist(gv));list(id=c$id,validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=if(opt(a,'criterion','worst-group')=='mean')risk(vr)else worst)});available<-which(!vapply(out,function(r)is.null(r$criterion),logical(1)));selected<-if(length(available))available[which.min(vapply(out[available],function(r)r$criterion,numeric(1)))]else NULL;list(commonEligibility=as.list(eligible),groups=as.list(groups),candidates=out,selectedIndex=if(is.null(selected))NULL else selected-1L,selectedID=if(is.null(selected))NULL else out[[selected]]$id,selectedScore=if(is.null(selected))NULL else out[[selected]]$criterion)\n}\nfixedOperation<-function(api,a)switch(api,effects=fixedEffects(a),aipw=fixedAipw(a),representation=fixedRepresentation(a),robust=fixedRobust(a),validate=fixedValidate(a),realdata=fixedSource(a$kind))\nreportValues<-function(api,z){summary<-list();points<-list();add<-function(k,v,u){if(length(v)==1&&is.na(v))v<-NULL;summary[[length(summary)+1L]]<<-list(metric=k,value=v,unit=u)};series<-function(name,values){for(i in seq_along(values)){v<-values[[i]];points[[length(points)+1L]]<<-list(series=name,index=i-1L,x=i,y=v)}}\n if(api=='effects'){for(k in c('completeRows','ATE','ATT','observedContrast'))add(k,z[[k]],if(k=='completeRows')'rows'else'constructed outcome units');series('known constructed effects',lapply(z$rows,function(r)r$effect))}\n else if(api=='aipw'){for(k in c('AIPW','plugin','IPW','normalizedIPWContrast'))add(k,z$overall[[k]]$value,'constructed outcome units');add('eligibleRows',z$overall$rows,'rows');series('AIPW row scores',lapply(z$rows,function(r)r$score$value))}\n else if(api=='representation'){for(k in c('ATE','adjustedContrast','bias'))add(k,z[[k]],'constructed outcome units');series('representation contrasts',lapply(z$groups,function(r)r$contrast))}\n else if(api=='robust'){for(k in c('baseline','minimum','maximum'))add(k,z[[k]],'declared value units');for(k in c('minTV','maxTV'))add(k,z[[k]],'probability mass');series('minimum weights',z$minWeights);series('maximum weights',z$maxWeights)}\n else if(api=='validate'){add('selectedIndex',z$selectedIndex,'zero-based candidate index');add('selectedScore',z$selectedScore,'squared outcome units');series('validation criterion',lapply(z$candidates,function(c)c$criterion))}\n else{for(k in c('AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum'))add(k,z[[k]],z$unit);add('sourceRows',length(z$rows),'analytical records');add('eligibleRows',sum(vapply(z$rows,function(r)r$eligible,logical(1))),'records');series('actual out-of-fold scores',lapply(z$rows,function(r)r$score))};list(summary=summary,points=points)\n}\n\nescapeXML<-function(s){s<-gsub('&','&amp;',s,fixed=TRUE);s<-gsub('<','&lt;',s,fixed=TRUE);s<-gsub('>','&gt;',s,fixed=TRUE);gsub('\"','&quot;',s,fixed=TRUE)}\nsvgPlot<-function(pp,title){\n xx<-vapply(pp,function(p)as.numeric(p$x),numeric(1));yy<-vapply(pp,function(p)as.numeric(p$y),numeric(1));xmin<-if(length(xx))min(xx)else 0;xmax<-if(length(xx))max(xx)else 1;ymin<-min(c(0,yy));ymax<-max(c(0,yy));if(xmin==xmax){xmin<-xmin-.5;xmax<-xmax+.5};if(ymin==ymax){ymin<-ymin-.5;ymax<-ymax+.5};pad<-(ymax-ymin)*.08;ymin<-ymin-pad;ymax<-ymax+pad;X<-function(x)82+(as.numeric(x)-xmin)/(xmax-xmin)*608;Y<-function(y)354-(as.numeric(y)-ymin)/(ymax-ymin)*290\n out<-paste0('<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"',escapeXML(title),'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">',escapeXML(title),'</text>')\n for(j in 0:4){y<-ymin+(ymax-ymin)*j/4;x<-xmin+(xmax-xmin)*j/4;out<-paste0(out,'<line x1=\"82\" y1=\"',Y(y),'\" x2=\"690\" y2=\"',Y(y),'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"',Y(y)+4,'\" text-anchor=\"end\">',sprintf('%.3g',y),'</text><text x=\"',X(x),'\" y=\"380\" text-anchor=\"middle\">',sprintf('%.3g',x),'</text>')}\n ss<-unique(vapply(pp,`[[`,character(1),'series'));cols<-c('#0f766e','#c76622','#4f46e5','#b23857')\n for(j in seq_along(ss)){rr<-Filter(function(p)p$series==ss[j],pp);xy<-vapply(rr,function(p)sprintf('%.6f,%.6f',X(p$x),Y(p$y)),character(1));col<-cols[(j-1)%%4+1];out<-paste0(out,'<polyline fill=\"none\" stroke=\"',col,'\" stroke-width=\"1.5\" points=\"',paste(xy,collapse=' '),'\"/>');for(p in rr)out<-paste0(out,'<circle cx=\"',sprintf('%.6f',X(p$x)),'\" cy=\"',sprintf('%.6f',Y(p$y)),'\" r=\"2.6\" fill=\"',col,'\"><title>',escapeXML(ss[j]),': ',escapeXML(p$y),'</title></circle>');out<-paste0(out,'<text x=\"',82+((j-1)%%2)*310,'\" y=\"',432+floor((j-1)/2)*23,'\" fill=\"',col,'\">',escapeXML(ss[j]),'</text>')}\n paste0(out,'<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>')\n}\n\ntoJSON<-function(x){\n if(is.null(x))return('null');if(is.list(x)){v<-vapply(x,toJSON,character(1));if(!is.null(names(x)))paste0('{',paste(paste0(vapply(names(x),toJSON,character(1)),':',v),collapse=','),'}')else paste0('[',paste(v,collapse=','),']')}\n else if(length(x)!=1){if(!is.null(names(x)))toJSON(as.list(x))else paste0('[',paste(vapply(as.list(x),toJSON,character(1)),collapse=','),']')}\n else if(is.na(x))'null'else if(is.logical(x))if(x)'true'else'false'else if(is.numeric(x))if(is.finite(x))sprintf('%.17g',x)else'null'else paste0('\"',gsub('\\n','\\\\n',gsub('\"','\\\\\"',gsub('\\\\','\\\\\\\\',x,fixed=TRUE),fixed=TRUE),fixed=TRUE),'\"')\n}\n\nFIXED<-list(\"api\"=\"robust\",\"variant\"=\"mass-transfer\",\"title\"=\"Finite total-variation mass transfer\",\"input\"=list(\"values\"=list(\"0\",\"2\"),\"probabilities\"=list(\"1/2\",\"1/2\"),\"radius\"=\"1/4\",\"cap\"=\"2\"),\"expectedFailure\"=FALSE)\n\nargs<-commandArgs(trailingOnly=TRUE);out<-if(length(args))args[1]else stop('NEW output directory required');if(dir.exists(out))stop('Preserve previous output directory');dir.create(out,recursive=TRUE)\nz<-fixedOperation(FIXED$api,FIXED$input);rr<-reportValues(FIXED$api,z)\nwriteLines(toJSON(list(arithmetic='BaseR binary64 numerical counterpart; factualsource groupSHA256,lambda.01 and empiricalTVtolerances1e-14/12places; notcausalCI',result=z)),file.path(out,'full.json'),useBytes=TRUE)\nsums<-do.call(rbind,lapply(rr$summary,function(row)data.frame(metric=row$metric,value=if(is.null(row$value))''else if(is.logical(row$value))as.character(as.integer(row$value))else format(row$value,digits=17,scientific=NA,trim=TRUE),unit=row$unit,defined=as.integer(!is.null(row$value)),stringsAsFactors=FALSE)))\npoints<-do.call(rbind,lapply(rr$points,function(p)data.frame(series=p$series,index=p$index,x=p$x,y=if(is.null(p$y))NA_real_ else p$y,defined=as.integer(!is.null(p$y)),stringsAsFactors=FALSE)))\nwrite.csv(sums,file.path(out,'summary.csv'),row.names=FALSE,na='');write.csv(points,file.path(out,'plot-points.csv'),row.names=FALSE,na='');writeLines(svgPlot(Filter(function(p)!is.null(p$y),rr$points),FIXED$title),file.path(out,'plot.svg'),useBytes=TRUE);cat(FIXED$api,'/',FIXED$variant,'\\n',sep='')\n",
        "returnCode": 0,
        "stdout": "robust/mass-transfer\r\n",
        "stderr": "During startup - Warning messages:\n1: Setting LC_COLLATE=C.UTF-8 failed \n2: Setting LC_CTYPE=C.UTF-8 failed \n3: Setting LC_MONETARY=C.UTF-8 failed \n4: Setting LC_TIME=C.UTF-8 failed ",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/r-robust-mass-transfer-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/robust-mass-transfer-input.json",
            "sha256": "3c9c185a9e8bd24c9f069a9b40640da8b7ef1948313a501d09954aaf61d04a4c",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/r-robust-mass-transfer-result/full.json",
            "sha256": "c046a1e2b8011b201e30992a7b9f0b34cf04c14ebb9ffb2a80a0179fa355ad6e",
            "bytes": 324
          },
          {
            "file": "ml21-code/r-robust-mass-transfer-result/plot-points.csv",
            "sha256": "78b370b3b700b25405f3cfdb60f2466129a163242a0bfbd6d6d913cb52615c78",
            "bytes": 156
          },
          {
            "file": "ml21-code/r-robust-mass-transfer-result/plot.svg",
            "sha256": "38b2156894b77a4ebf63879cc5295393043fdf4470b2ceeaaab3796cfffedd32",
            "bytes": 2042
          },
          {
            "file": "ml21-code/r-robust-mass-transfer-result/summary.csv",
            "sha256": "a02a8a7c18fdaca433f253b5fd1d5fb687ebee52bd3bf2ba1bfdafad877a98fc",
            "bytes": 234
          },
          {
            "file": "ml21-code/r-robust-mass-transfer-result/stdout.txt",
            "sha256": "19ce6939248ae611b6ada5f855433500865c35d863ec0a6efc062b487e27e180",
            "bytes": 22
          },
          {
            "file": "ml21-code/r-robust-mass-transfer-result/stderr.txt",
            "sha256": "b807bd2d0f7060ea384b0ac2317cda2d63a4f59f63b4a901b9e665fead79627d",
            "bytes": 182
          }
        ],
        "summaryRows": [
          {
            "metric": "baseline",
            "value": "1",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "minimum",
            "value": "0.5",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "0.5",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "maximum",
            "value": "1.5",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "1.5",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "minTV",
            "value": "0.25",
            "unit": "probability mass",
            "defined": "true",
            "rawValue": "0.25",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "maxTV",
            "value": "0.25",
            "unit": "probability mass",
            "defined": "true",
            "rawValue": "0.25",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          }
        ],
        "plotRows": [
          {
            "series": "minimum weights",
            "index": 0,
            "x": "1",
            "y": "0.75",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "minimum weights",
            "index": 1,
            "x": "2",
            "y": "0.25",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "maximum weights",
            "index": 0,
            "x": "1",
            "y": "0.25",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "maximum weights",
            "index": 1,
            "x": "2",
            "y": "0.75",
            "defined": true,
            "xExact": "",
            "yExact": ""
          }
        ],
        "plotFile": "ml21-code/r-robust-mass-transfer-result/plot.svg",
        "fullResultFile": "ml21-code/r-robust-mass-transfer-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "zero-support": {
        "api": "robust",
        "variant": "zero-support",
        "language": "r",
        "title": "A finite density cap preserves zero support",
        "input": {
          "values": [
            "0",
            "999"
          ],
          "probabilities": [
            "1",
            "0"
          ],
          "radius": "1",
          "cap": "100"
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/robust-zero-support.R",
        "codeSHA256": "26414f847dc6b2b5cf2f59a48dbb3cb22ab9d52ac2c5b87110da5f66ba02db09",
        "code": "# ML21 standalone numerical fixed example, not arbitrary exact API validation.\n# Fixed inputs are declared inline and matching JSON provided for reading.\n# Realdata code uses3factual CSVs, R4.5+ toolsSHA256 and numerical ridge.\noptions(digits=17)\nfixedSource<-function(kind){\n selectedKind<-kind\n src<-file.path(dirname(sub('^--file=','',grep('^--file=',commandArgs(),value=TRUE)[1])),'data')\nreadnative<-function(n)read.csv(file.path(src,n),colClasses='character',check.names=FALSE,na.strings=NULL,stringsAsFactors=FALSE)\nnum<-function(x){v<-suppressWarnings(as.numeric(x));v[x%in%c('','.')] <- NA_real_;v}\nsha<-function(s){tf<-tempfile('ml21-group-');writeBin(charToRaw(enc2utf8(s)),tf);on.exit(unlink(tf));unname(tools::sha256sum(tf))}\nwb<-readnative('actual48-country-revised-original-2023-2024.csv');iso<-sort(unique(wb$countryISO3))\nlookup<-function(i,code,yr){r<-wb[wb$countryISO3==i&wb$indicatorID==code&wb$date==yr,,drop=FALSE];stopifnot(nrow(r)==1);num(r$originalValueToken)}\ng<-vapply(iso,lookup,numeric(1),code='NY.GDP.PCAP.KD',yr='2023');pi<-vapply(iso,lookup,numeric(1),code='FP.CPI.TOTL.ZG',yr='2023');gy<-vapply(iso,lookup,numeric(1),code='NY.GDP.MKTP.KD.ZG',yr='2024')\ncountry<-list(id=paste0(iso,':2024'),originalID=iso,sourceRow=iso,foldGroup=paste0('country:',iso),a=as.integer(g>median(g)),x=cbind(g/10000,pi/10),y=gy)\npd<-readnative('actual38408-NSW-all15-fields.csv');pre<-pd[pd$year=='1975',,drop=FALSE];post<-pd[match(pre$id,pd$id[pd$year=='1978'])+0,,drop=FALSE]\npostNative<-pd[pd$year=='1978',,drop=FALSE];post<-postNative[match(pre$id,postNative$id),,drop=FALSE]\nstopifnot(nrow(pre)==19204,nrow(post)==19204,all(pre$id==post$id),all(pre$treated==post$treated));take<-num(pre$experimental)==1;stopifnot(all(take==(pre$treated!='.')));pre<-pre[take,,drop=FALSE];post<-post[take,,drop=FALSE]\nperson<-list(id=paste0('nsw-id:',pre$id),originalID=pre$id,sourceRow=post$sourceRow,foldGroup=paste0('nsw-id:',pre$id),a=num(pre$treated),x=cbind(num(pre$age)/10,num(pre$educ)/10,num(pre$re74)/10000),y=num(post$re)/10000)\ncd<-readnative('actual410-NJPA-all46-fields.csv');before<-num(cd$EMPFT)+num(cd$EMPPT)/2+num(cd$NMGRS);after<-num(cd$EMPFT2)+num(cd$EMPPT2)/2+num(cd$NMGRS2)\ncompany<-list(id=paste0('njpa-row:',cd$sourceRow),originalID=cd$SHEET,sourceRow=cd$sourceRow,foldGroup=paste0('sheet:',cd$SHEET),a=num(cd$STATE),x=cbind(before/10,as.integer(num(cd$CHAIN)==2),num(cd$CO_OWNED)),y=after-before)\nmodels<-list(country=country,person=person,company=company)\nfor(kind in names(models)){\n m<-models[[kind]];groups<-unique(m$foldGroup);hash<-vapply(groups,function(g)sha(paste0('ML21|',kind,'|',g)),character(1));ord<-order(hash,groups);folds<-integer(length(groups));folds[ord]<-(seq_along(ord)-1L)%%4L;m$fold<-folds[match(m$foldGroup,groups)];m$eligible<-!is.na(m$y)&rowSums(is.na(m$x))==0;m$role<-ifelse(m$eligible,'analysis','excluded');models[[kind]]<-m\n}\nstopifnot(length(person$id)==722,sum(person$a)==297,sum(models$company$eligible)==384,length(country$id)==16)\nsourcefit<-function(kind,m,rep){\n N<-length(m$id);X<-if(rep=='full')m$x else if(rep=='constant')matrix(numeric(0),nrow=N,ncol=0) else if(kind=='country')matrix(m$a,ncol=1) else if(kind=='person')cbind(as.integer(m$x[,2]>1.2),as.integer(m$x[,3]>0)) else matrix(m$x[,2],ncol=1)\n group<-if(kind=='country')ifelse(m$a==1,'higher-GDP-category','lower-GDP-category')else if(kind=='person')ifelse(m$x[,2]>1.2,'schooling-over12','schooling-at-most12')else ifelse(!is.na(m$x[,2])&m$x[,2]!=0,'chain2','other-chains')\n p<-ncol(X);eRaw<-mu0<-mu1<-rep(NA_real_,N);fits<-list();coords<-list()\n for(fold in 0:3){\n  tr<-which(m$eligible&m$fold!=fold);means<-if(p)colMeans(X[tr,,drop=FALSE])else numeric(0);scales<-if(p)apply(X[tr,,drop=FALSE],2,function(x)diff(range(x)))else numeric(0);scales[scales==0]<-1;Z<-if(p)cbind(1,sweep(sweep(X,2,means,'-'),2,scales,'/'))else matrix(1,nrow=N,ncol=1);hold<-which(m$fold==fold);ok<-rowSums(is.na(Z[hold,,drop=FALSE]))==0\n  for(name in c('e','mu0','mu1')){\n   ix<-if(name=='e')tr else tr[m$a[tr]==if(name=='mu0')0 else 1];target<-if(name=='e')m$a[ix]else m$y[ix];A<-crossprod(Z[ix,,drop=FALSE])/length(ix)+diag(c(0,rep(.01,p)),nrow=p+1);b<-as.vector(crossprod(Z[ix,,drop=FALSE],target))/length(ix);theta<-as.vector(solve(A,b));minimum<-mean((as.vector(Z[ix,,drop=FALSE]%*%theta)-target)^2)/2+.01*sum(theta[-1]^2)/2;v<-as.vector(Z[hold,,drop=FALSE]%*%theta)\n   if(name=='e')eRaw[hold]<-v else if(name=='mu0')mu0[hold]<-v else mu1[hold]<-v\n   fits[[length(fits)+1L]]<-list(fold=fold,name=name,rows=length(ix),rank=p+1,theta=theta,minimumObjective=minimum,trainingIDs=m$id[ix])\n  }\n  coords[[length(coords)+1L]]<-list(fold=fold,mean=means,scale=scales)\n }\n e<-pmax(.05,pmin(.95,eRaw));nuisance<-!is.na(e)&!is.na(mu0)&!is.na(mu1);eligible<-m$eligible&nuisance;plugin<-treated<-control<-ipw<-effective<-score<-rep(NA_real_,N);ix<-which(eligible);plugin[ix]<-mu1[ix]-mu0[ix];treated[ix]<-ifelse(m$a[ix]==1,(m$y[ix]-mu1[ix])/e[ix],0);control[ix]<-ifelse(m$a[ix]==0,(m$y[ix]-mu0[ix])/(1-e[ix]),0);score[ix]<-plugin[ix]+treated[ix]-control[ix];ipw[ix]<-ifelse(m$a[ix]==1,m$y[ix]/e[ix],-m$y[ix]/(1-e[ix]));effective[ix]<-1/ifelse(m$a[ix]==1,e[ix],1-e[ix]);clipped<-!is.na(eRaw)&eRaw!=e\n list(X=X,group=group,meanX=coords,fits=fits,eRaw=eRaw,e=e,mu0=mu0,mu1=mu1,nuisance=nuisance,eligible=eligible,plugin=plugin,treated=treated,control=control,score=score,ipw=ipw,effective=effective,clipped=clipped)\n}\nextreme<-function(values,sign){N<-length(values);p<-rep(1/N,N);q<-p;upper<-pmin(1,2*p);ord<-order(round(sign*values,12),seq_along(values));donor<-ord;receiver<-rev(ord);a<-b<-1L;budget<-.1\n while(budget>1e-14&&a<=N&&b<=N){i<-donor[a];j<-receiver[b];if(sign*values[j]<=sign*values[i]+1e-14)break;move<-min(q[i],upper[j]-q[j],budget);if(move>0){q[i]<-q[i]-move;q[j]<-q[j]+move;budget<-budget-move};if(q[i]<=1e-14)a<-a+1L;if(upper[j]-q[j]<=1e-14)b<-b+1L;if(move<=0&&a<=N&&b<=N&&q[i]>1e-14&&upper[j]-q[j]>1e-14)stop('no transport progress')};list(q=q,objective=sum(q*values),TV=sum(abs(q-p))/2)\n}\n\n m<-models[[selectedKind]];z<-sourcefit(selectedKind,m,'full');ix<-which(z$eligible);v<-z$score[ix];lo<-extreme(v,-1);hi<-extreme(v,1);treated<-ix[m$a[ix]==1];control<-ix[m$a[ix]==0];norm<-sum(m$y[treated]*z$effective[treated])/sum(z$effective[treated])-sum(m$y[control]*z$effective[control])/sum(z$effective[control]);nv<-function(v)if(is.na(v))NULL else unname(v)\n rows<-lapply(seq_along(m$id),function(i)list(id=m$id[i],sourceRow=if(selectedKind=='country')m$sourceRow[i]else as.integer(m$sourceRow[i]),originalID=m$originalID[i],foldGroup=m$foldGroup[i],fold=m$fold[i],a=m$a[i],y=nv(m$y[i]),x=lapply(as.list(m$x[i,]),nv),eligible=z$eligible[i],eRaw=nv(z$eRaw[i]),e=nv(z$e[i]),mu0=nv(z$mu0[i]),mu1=nv(z$mu1[i]),plugin=nv(z$plugin[i]),score=nv(z$score[i]),IPWContribution=nv(z$ipw[i])))\n fits<-lapply(z$fits,function(fit){co<-z$meanX[[fit$fold+1L]];list(fold=fit$fold,fit=fit$name,trainingIDs=as.list(fit$trainingIDs),rows=fit$rows,rank=fit$rank,unique=TRUE,theta=as.list(fit$theta),minimumObjective=fit$minimumObjective,meanX=as.list(co$mean),scales=as.list(co$scale))});unit<-switch(selectedKind,country='GDP growth contrast, percentage points',person='native real1978earnings/10000',company='post-minus-pre FTE employees')\n list(kind=selectedKind,unit=unit,rows=rows,fits=fits,AIPW=mean(v),plugin=mean(z$plugin[ix]),IPW=mean(z$ipw[ix]),normalizedIPWContrast=norm,stressMinimum=lo$objective,stressMaximum=hi$objective,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\n\n# Owned numerical fixed-example adapters; not arbitrary exact input validators.\nnum<-function(v){if(is.null(v))return(NULL);if(is.numeric(v))return(as.numeric(v));s<-strsplit(as.character(v),'/',fixed=TRUE)[[1]];if(length(s)==2)as.numeric(s[1])/as.numeric(s[2])else as.numeric(v)}\nopt<-function(a,key,default)if(is.null(a[[key]]))default else a[[key]]\nmaybe<-function(v)if(is.null(v))list(defined=FALSE)else list(defined=TRUE,value=v)\nweighted<-function(v,w){if(!length(w)||sum(w)==0)return(NULL);sum(v*w)/sum(w)}\nfixedEffects<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){r<-a$rows[[i]];w<-num(opt(r,'weight',1));if(w<0)stop('negative-analysis-weight');y0<-num(r$y0);y1<-num(r$y1);A<-num(r$a);list(id=opt(r,'id',as.character(i-1L)),a=A,y0=y0,y1=y1,w=w,effect=if(is.null(y0)||is.null(y1))NULL else y1-y0,observed=if(is.null(A))NULL else if(A==1)y1 else y0)})\n complete<-Filter(function(r)r$w>0&&!is.null(r$effect),rr);treated<-Filter(function(r)!is.null(r$a)&&r$a==1,complete);avg<-function(rows,key)weighted(vapply(rows,function(r)r[[key]],numeric(1)),vapply(rows,function(r)r$w,numeric(1)));arm<-lapply(0:1,function(A)avg(Filter(function(r)!is.null(r$a)&&r$a==A&&!is.null(r$observed)&&r$w>0,rr),'observed'));list(rows=rr,completeRows=length(complete),ATE=avg(complete,'effect'),ATT=avg(treated,'effect'),observedContrast=if(any(vapply(arm,is.null,logical(1))))NULL else arm[[2]]-arm[[1]])\n}\nfixedAipw<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){v<-a$rows[[i]];w<-num(opt(v,'weight',1));if(w<0)stop('negative-analysis-weight');r<-list(id=opt(v,'id',as.character(i-1L)),a=num(v$a),y=num(v$y),e=num(v$e),mu0=num(v$mu0),mu1=num(v$mu1),w=w,role=opt(v,'role','analysis'),group=opt(v,'group','all'));reason<-if(w==0)'zero-weight'else if(r$role%in%c('excluded','unused'))'inactive-role'else if(any(vapply(r[c('a','y','e','mu0','mu1')],is.null,logical(1))))'missing-required-field'else if(r$e%in%c(0,1))'nonoverlap-boundary-propensity'else NULL;r$eligible<-is.null(reason);r$reason<-reason\n  if(is.null(reason)){r$plugin<-r$mu1-r$mu0;r$treatedResidual<-if(r$a==1)(r$y-r$mu1)/r$e else 0;r$controlResidual<-if(r$a==0)(r$y-r$mu0)/(1-r$e)else 0;r$score<-maybe(r$plugin+r$treatedResidual-r$controlResidual);r$IPWContribution<-if(r$a==1)r$y/r$e else-r$y/(1-r$e);r$effectiveArmWeight<-w/if(r$a==1)r$e else 1-r$e}else r$score<-maybe(NULL);r})\n summary<-function(rows){mass<-sum(vapply(rows,function(r)r$w,numeric(1)));avg<-function(key){if(!mass)return(NULL);sum(vapply(rows,function(r)r$w*if(key=='score')r$score$value else r[[key]],numeric(1)))/mass};arms<-lapply(0:1,function(A){arm<-Filter(function(r)r$a==A,rows);w<-vapply(arm,function(r)r$effectiveArmWeight,numeric(1));list(a=A,rows=length(arm),weightedArmDenominator=sum(w),normalizedMean=maybe(weighted(vapply(arm,function(r)r$y,numeric(1)),w)))});list(rows=length(rows),mass=mass,AIPW=maybe(avg('score')),plugin=maybe(avg('plugin')),IPW=maybe(avg('IPWContribution')),normalizedArmMeans=arms,normalizedIPWContrast=maybe(if(all(vapply(arms,function(r)r$normalizedMean$defined,logical(1))))arms[[2]]$normalizedMean$value-arms[[1]]$normalizedMean$value else NULL))}\n use<-Filter(function(r)r$eligible,rr);roles<-unique(vapply(rr,function(r)r$role,character(1)));groups<-unique(vapply(rr,function(r)r$group,character(1)));list(rows=rr,overall=summary(use),byRole=lapply(roles,function(role)c(list(role=role),summary(Filter(function(r)r$role==role,use)))),byGroup=lapply(groups,function(g)c(list(group=g),summary(Filter(function(r)r$group==g,use)))),overlapExcluded=as.list(vapply(Filter(function(r)identical(r$reason,'nonoverlap-boundary-propensity'),rr),function(r)r$id,character(1))))\n}\nfixedRepresentation<-function(a){\n atoms<-lapply(a$atoms,function(r)list(id=r$id,p=num(r$probability),y0=num(r$y0),y1=num(r$y1),e=num(r$e),phi=r$phi));if(abs(sum(vapply(atoms,function(r)r$p,numeric(1)))-1)>1e-12)stop('law-probabilities-must-sum-one');ATE<-sum(vapply(atoms,function(r)r$p*(r$y1-r$y0),numeric(1)));phis<-unique(vapply(Filter(function(r)r$p>0,atoms),function(r)r$phi,character(1)));groups<-lapply(phis,function(phi){use<-Filter(function(r)r$phi==phi&&r$p>0,atoms);mass<-sum(vapply(use,function(r)r$p,numeric(1)));t<-sum(vapply(use,function(r)r$p*r$e,numeric(1)));m1<-if(t>0)sum(vapply(use,function(r)r$p*r$e*r$y1,numeric(1)))/t else NULL;m0<-if(mass-t>0)sum(vapply(use,function(r)r$p*(1-r$e)*r$y0,numeric(1)))/(mass-t)else NULL;list(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=if(is.null(m0)||is.null(m1))NULL else m1-m0)});adjusted<-if(any(vapply(groups,function(r)is.null(r$contrast),logical(1))))NULL else sum(vapply(groups,function(r)r$mass*r$contrast,numeric(1)));list(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=if(is.null(adjusted))NULL else adjusted-ATE)\n}\nfixedRobust<-function(a){\n values<-vapply(a$values,num,numeric(1));p<-if(is.null(a$probabilities))rep(1/length(values),length(values))else vapply(a$probabilities,num,numeric(1));radius<-num(opt(a,'radius','1/10'));cap<-num(opt(a,'cap',2));if(cap<1||radius<0||radius>1)stop('invalid-robust-constraint')\n go<-function(sign){q<-p;upper<-pmin(1,cap*p);order<-order(sign*values,seq_along(values));lo<-order;hi<-rev(order);i<-j<-1L;budget<-radius;N<-length(values)\n while(budget>1e-14&&i<=N&&j<=N){d<-lo[i];h<-hi[j];if(sign*values[h]<=sign*values[d])break;move<-min(q[d],upper[h]-q[h],budget);if(move>0){q[d]<-q[d]-move;q[h]<-q[h]+move;budget<-budget-move};if(q[d]<=1e-14)i<-i+1L;if(upper[h]-q[h]<=1e-14)j<-j+1L};list(q=q,value=sum(q*values),TV=sum(abs(q-p))/2)};lo<-go(-1);hi<-go(1);list(values=as.list(values),p=as.list(p),radius=radius,cap=cap,baseline=sum(values*p),minimum=lo$value,maximum=hi$value,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\nfixedValidate<-function(a){\n rr<-a$rows;cc<-a$candidates;groups<-unlist(a$requiredGroups);eligible<-vapply(seq_along(rr),function(i){r<-rr[[i]];!is.null(r$y)&&num(opt(r,'weight',1))>0&&!r$role%in%c('excluded','unused')&&all(vapply(cc,function(c)!is.null(c$predictions[[i]]),logical(1)))},logical(1));out<-lapply(cc,function(c){risk<-function(ix){if(!length(ix))return(NULL);weighted(vapply(ix,function(i)(num(c$predictions[[i]])-num(rr[[i]]$y))^2,numeric(1)),vapply(ix,function(i)num(opt(rr[[i]],'weight',1)),numeric(1)))};vr<-which(eligible&vapply(rr,function(r)r$role=='validation',logical(1)));tr<-which(eligible&vapply(rr,function(r)r$role=='test',logical(1)));gv<-lapply(groups,function(g)risk(vr[vapply(rr[vr],function(r)r$group==g,logical(1))]));worst<-if(any(vapply(gv,is.null,logical(1))))NULL else max(unlist(gv));list(id=c$id,validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=if(opt(a,'criterion','worst-group')=='mean')risk(vr)else worst)});available<-which(!vapply(out,function(r)is.null(r$criterion),logical(1)));selected<-if(length(available))available[which.min(vapply(out[available],function(r)r$criterion,numeric(1)))]else NULL;list(commonEligibility=as.list(eligible),groups=as.list(groups),candidates=out,selectedIndex=if(is.null(selected))NULL else selected-1L,selectedID=if(is.null(selected))NULL else out[[selected]]$id,selectedScore=if(is.null(selected))NULL else out[[selected]]$criterion)\n}\nfixedOperation<-function(api,a)switch(api,effects=fixedEffects(a),aipw=fixedAipw(a),representation=fixedRepresentation(a),robust=fixedRobust(a),validate=fixedValidate(a),realdata=fixedSource(a$kind))\nreportValues<-function(api,z){summary<-list();points<-list();add<-function(k,v,u){if(length(v)==1&&is.na(v))v<-NULL;summary[[length(summary)+1L]]<<-list(metric=k,value=v,unit=u)};series<-function(name,values){for(i in seq_along(values)){v<-values[[i]];points[[length(points)+1L]]<<-list(series=name,index=i-1L,x=i,y=v)}}\n if(api=='effects'){for(k in c('completeRows','ATE','ATT','observedContrast'))add(k,z[[k]],if(k=='completeRows')'rows'else'constructed outcome units');series('known constructed effects',lapply(z$rows,function(r)r$effect))}\n else if(api=='aipw'){for(k in c('AIPW','plugin','IPW','normalizedIPWContrast'))add(k,z$overall[[k]]$value,'constructed outcome units');add('eligibleRows',z$overall$rows,'rows');series('AIPW row scores',lapply(z$rows,function(r)r$score$value))}\n else if(api=='representation'){for(k in c('ATE','adjustedContrast','bias'))add(k,z[[k]],'constructed outcome units');series('representation contrasts',lapply(z$groups,function(r)r$contrast))}\n else if(api=='robust'){for(k in c('baseline','minimum','maximum'))add(k,z[[k]],'declared value units');for(k in c('minTV','maxTV'))add(k,z[[k]],'probability mass');series('minimum weights',z$minWeights);series('maximum weights',z$maxWeights)}\n else if(api=='validate'){add('selectedIndex',z$selectedIndex,'zero-based candidate index');add('selectedScore',z$selectedScore,'squared outcome units');series('validation criterion',lapply(z$candidates,function(c)c$criterion))}\n else{for(k in c('AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum'))add(k,z[[k]],z$unit);add('sourceRows',length(z$rows),'analytical records');add('eligibleRows',sum(vapply(z$rows,function(r)r$eligible,logical(1))),'records');series('actual out-of-fold scores',lapply(z$rows,function(r)r$score))};list(summary=summary,points=points)\n}\n\nescapeXML<-function(s){s<-gsub('&','&amp;',s,fixed=TRUE);s<-gsub('<','&lt;',s,fixed=TRUE);s<-gsub('>','&gt;',s,fixed=TRUE);gsub('\"','&quot;',s,fixed=TRUE)}\nsvgPlot<-function(pp,title){\n xx<-vapply(pp,function(p)as.numeric(p$x),numeric(1));yy<-vapply(pp,function(p)as.numeric(p$y),numeric(1));xmin<-if(length(xx))min(xx)else 0;xmax<-if(length(xx))max(xx)else 1;ymin<-min(c(0,yy));ymax<-max(c(0,yy));if(xmin==xmax){xmin<-xmin-.5;xmax<-xmax+.5};if(ymin==ymax){ymin<-ymin-.5;ymax<-ymax+.5};pad<-(ymax-ymin)*.08;ymin<-ymin-pad;ymax<-ymax+pad;X<-function(x)82+(as.numeric(x)-xmin)/(xmax-xmin)*608;Y<-function(y)354-(as.numeric(y)-ymin)/(ymax-ymin)*290\n out<-paste0('<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"',escapeXML(title),'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">',escapeXML(title),'</text>')\n for(j in 0:4){y<-ymin+(ymax-ymin)*j/4;x<-xmin+(xmax-xmin)*j/4;out<-paste0(out,'<line x1=\"82\" y1=\"',Y(y),'\" x2=\"690\" y2=\"',Y(y),'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"',Y(y)+4,'\" text-anchor=\"end\">',sprintf('%.3g',y),'</text><text x=\"',X(x),'\" y=\"380\" text-anchor=\"middle\">',sprintf('%.3g',x),'</text>')}\n ss<-unique(vapply(pp,`[[`,character(1),'series'));cols<-c('#0f766e','#c76622','#4f46e5','#b23857')\n for(j in seq_along(ss)){rr<-Filter(function(p)p$series==ss[j],pp);xy<-vapply(rr,function(p)sprintf('%.6f,%.6f',X(p$x),Y(p$y)),character(1));col<-cols[(j-1)%%4+1];out<-paste0(out,'<polyline fill=\"none\" stroke=\"',col,'\" stroke-width=\"1.5\" points=\"',paste(xy,collapse=' '),'\"/>');for(p in rr)out<-paste0(out,'<circle cx=\"',sprintf('%.6f',X(p$x)),'\" cy=\"',sprintf('%.6f',Y(p$y)),'\" r=\"2.6\" fill=\"',col,'\"><title>',escapeXML(ss[j]),': ',escapeXML(p$y),'</title></circle>');out<-paste0(out,'<text x=\"',82+((j-1)%%2)*310,'\" y=\"',432+floor((j-1)/2)*23,'\" fill=\"',col,'\">',escapeXML(ss[j]),'</text>')}\n paste0(out,'<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>')\n}\n\ntoJSON<-function(x){\n if(is.null(x))return('null');if(is.list(x)){v<-vapply(x,toJSON,character(1));if(!is.null(names(x)))paste0('{',paste(paste0(vapply(names(x),toJSON,character(1)),':',v),collapse=','),'}')else paste0('[',paste(v,collapse=','),']')}\n else if(length(x)!=1){if(!is.null(names(x)))toJSON(as.list(x))else paste0('[',paste(vapply(as.list(x),toJSON,character(1)),collapse=','),']')}\n else if(is.na(x))'null'else if(is.logical(x))if(x)'true'else'false'else if(is.numeric(x))if(is.finite(x))sprintf('%.17g',x)else'null'else paste0('\"',gsub('\\n','\\\\n',gsub('\"','\\\\\"',gsub('\\\\','\\\\\\\\',x,fixed=TRUE),fixed=TRUE),fixed=TRUE),'\"')\n}\n\nFIXED<-list(\"api\"=\"robust\",\"variant\"=\"zero-support\",\"title\"=\"A finite density cap preserves zero support\",\"input\"=list(\"values\"=list(\"0\",\"999\"),\"probabilities\"=list(\"1\",\"0\"),\"radius\"=\"1\",\"cap\"=\"100\"),\"expectedFailure\"=FALSE)\n\nargs<-commandArgs(trailingOnly=TRUE);out<-if(length(args))args[1]else stop('NEW output directory required');if(dir.exists(out))stop('Preserve previous output directory');dir.create(out,recursive=TRUE)\nz<-fixedOperation(FIXED$api,FIXED$input);rr<-reportValues(FIXED$api,z)\nwriteLines(toJSON(list(arithmetic='BaseR binary64 numerical counterpart; factualsource groupSHA256,lambda.01 and empiricalTVtolerances1e-14/12places; notcausalCI',result=z)),file.path(out,'full.json'),useBytes=TRUE)\nsums<-do.call(rbind,lapply(rr$summary,function(row)data.frame(metric=row$metric,value=if(is.null(row$value))''else if(is.logical(row$value))as.character(as.integer(row$value))else format(row$value,digits=17,scientific=NA,trim=TRUE),unit=row$unit,defined=as.integer(!is.null(row$value)),stringsAsFactors=FALSE)))\npoints<-do.call(rbind,lapply(rr$points,function(p)data.frame(series=p$series,index=p$index,x=p$x,y=if(is.null(p$y))NA_real_ else p$y,defined=as.integer(!is.null(p$y)),stringsAsFactors=FALSE)))\nwrite.csv(sums,file.path(out,'summary.csv'),row.names=FALSE,na='');write.csv(points,file.path(out,'plot-points.csv'),row.names=FALSE,na='');writeLines(svgPlot(Filter(function(p)!is.null(p$y),rr$points),FIXED$title),file.path(out,'plot.svg'),useBytes=TRUE);cat(FIXED$api,'/',FIXED$variant,'\\n',sep='')\n",
        "returnCode": 0,
        "stdout": "robust/zero-support\r\n",
        "stderr": "During startup - Warning messages:\n1: Setting LC_COLLATE=C.UTF-8 failed \n2: Setting LC_CTYPE=C.UTF-8 failed \n3: Setting LC_MONETARY=C.UTF-8 failed \n4: Setting LC_TIME=C.UTF-8 failed ",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/r-robust-zero-support-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/robust-zero-support-input.json",
            "sha256": "b2751c33ee40ec24b1cff957e8c4ff6b60900131684b26ad1b6dafb2ea72d561",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/r-robust-zero-support-result/full.json",
            "sha256": "e03a57e640f6b197983583ac75acbeaa17fe7b8dc62fda580afe261af6f9ee22",
            "bytes": 299
          },
          {
            "file": "ml21-code/r-robust-zero-support-result/plot-points.csv",
            "sha256": "b4882f99781b88a8f437096a31679a0d7b95f46f1b1e812fbd54e222c6378cf3",
            "bytes": 144
          },
          {
            "file": "ml21-code/r-robust-zero-support-result/plot.svg",
            "sha256": "52197caa46c311372de07800b0e8dd31fd2c50f9dae236fbf6c439cd8e4afb48",
            "bytes": 2040
          },
          {
            "file": "ml21-code/r-robust-zero-support-result/summary.csv",
            "sha256": "681ade836661bc0943fcd3be3c2a596ed880f9a93765175b5e7a3a69f0981591",
            "bytes": 224
          },
          {
            "file": "ml21-code/r-robust-zero-support-result/stdout.txt",
            "sha256": "2280f4957053e29765bad690337c29d4c25d2da607c82edab46aa90e48299f2b",
            "bytes": 21
          },
          {
            "file": "ml21-code/r-robust-zero-support-result/stderr.txt",
            "sha256": "b807bd2d0f7060ea384b0ac2317cda2d63a4f59f63b4a901b9e665fead79627d",
            "bytes": 182
          }
        ],
        "summaryRows": [
          {
            "metric": "baseline",
            "value": "0",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "0",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "minimum",
            "value": "0",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "0",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "maximum",
            "value": "0",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "0",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "minTV",
            "value": "0",
            "unit": "probability mass",
            "defined": "true",
            "rawValue": "0",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "maxTV",
            "value": "0",
            "unit": "probability mass",
            "defined": "true",
            "rawValue": "0",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          }
        ],
        "plotRows": [
          {
            "series": "minimum weights",
            "index": 0,
            "x": "1",
            "y": "1",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "minimum weights",
            "index": 1,
            "x": "2",
            "y": "0",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "maximum weights",
            "index": 0,
            "x": "1",
            "y": "1",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "maximum weights",
            "index": 1,
            "x": "2",
            "y": "0",
            "defined": true,
            "xExact": "",
            "yExact": ""
          }
        ],
        "plotFile": "ml21-code/r-robust-zero-support-result/plot.svg",
        "fullResultFile": "ml21-code/r-robust-zero-support-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "slack-budget": {
        "api": "robust",
        "variant": "slack-budget",
        "language": "r",
        "title": "Density cap binds before the TV budget",
        "input": {
          "values": [
            "0",
            "2"
          ],
          "probabilities": [
            "1/2",
            "1/2"
          ],
          "radius": "1/4",
          "cap": "5/4"
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/robust-slack-budget.R",
        "codeSHA256": "86ef3d5a2b2110cc4811c64fa969116b3fd023daddda9627c864a14f518cc73c",
        "code": "# ML21 standalone numerical fixed example, not arbitrary exact API validation.\n# Fixed inputs are declared inline and matching JSON provided for reading.\n# Realdata code uses3factual CSVs, R4.5+ toolsSHA256 and numerical ridge.\noptions(digits=17)\nfixedSource<-function(kind){\n selectedKind<-kind\n src<-file.path(dirname(sub('^--file=','',grep('^--file=',commandArgs(),value=TRUE)[1])),'data')\nreadnative<-function(n)read.csv(file.path(src,n),colClasses='character',check.names=FALSE,na.strings=NULL,stringsAsFactors=FALSE)\nnum<-function(x){v<-suppressWarnings(as.numeric(x));v[x%in%c('','.')] <- NA_real_;v}\nsha<-function(s){tf<-tempfile('ml21-group-');writeBin(charToRaw(enc2utf8(s)),tf);on.exit(unlink(tf));unname(tools::sha256sum(tf))}\nwb<-readnative('actual48-country-revised-original-2023-2024.csv');iso<-sort(unique(wb$countryISO3))\nlookup<-function(i,code,yr){r<-wb[wb$countryISO3==i&wb$indicatorID==code&wb$date==yr,,drop=FALSE];stopifnot(nrow(r)==1);num(r$originalValueToken)}\ng<-vapply(iso,lookup,numeric(1),code='NY.GDP.PCAP.KD',yr='2023');pi<-vapply(iso,lookup,numeric(1),code='FP.CPI.TOTL.ZG',yr='2023');gy<-vapply(iso,lookup,numeric(1),code='NY.GDP.MKTP.KD.ZG',yr='2024')\ncountry<-list(id=paste0(iso,':2024'),originalID=iso,sourceRow=iso,foldGroup=paste0('country:',iso),a=as.integer(g>median(g)),x=cbind(g/10000,pi/10),y=gy)\npd<-readnative('actual38408-NSW-all15-fields.csv');pre<-pd[pd$year=='1975',,drop=FALSE];post<-pd[match(pre$id,pd$id[pd$year=='1978'])+0,,drop=FALSE]\npostNative<-pd[pd$year=='1978',,drop=FALSE];post<-postNative[match(pre$id,postNative$id),,drop=FALSE]\nstopifnot(nrow(pre)==19204,nrow(post)==19204,all(pre$id==post$id),all(pre$treated==post$treated));take<-num(pre$experimental)==1;stopifnot(all(take==(pre$treated!='.')));pre<-pre[take,,drop=FALSE];post<-post[take,,drop=FALSE]\nperson<-list(id=paste0('nsw-id:',pre$id),originalID=pre$id,sourceRow=post$sourceRow,foldGroup=paste0('nsw-id:',pre$id),a=num(pre$treated),x=cbind(num(pre$age)/10,num(pre$educ)/10,num(pre$re74)/10000),y=num(post$re)/10000)\ncd<-readnative('actual410-NJPA-all46-fields.csv');before<-num(cd$EMPFT)+num(cd$EMPPT)/2+num(cd$NMGRS);after<-num(cd$EMPFT2)+num(cd$EMPPT2)/2+num(cd$NMGRS2)\ncompany<-list(id=paste0('njpa-row:',cd$sourceRow),originalID=cd$SHEET,sourceRow=cd$sourceRow,foldGroup=paste0('sheet:',cd$SHEET),a=num(cd$STATE),x=cbind(before/10,as.integer(num(cd$CHAIN)==2),num(cd$CO_OWNED)),y=after-before)\nmodels<-list(country=country,person=person,company=company)\nfor(kind in names(models)){\n m<-models[[kind]];groups<-unique(m$foldGroup);hash<-vapply(groups,function(g)sha(paste0('ML21|',kind,'|',g)),character(1));ord<-order(hash,groups);folds<-integer(length(groups));folds[ord]<-(seq_along(ord)-1L)%%4L;m$fold<-folds[match(m$foldGroup,groups)];m$eligible<-!is.na(m$y)&rowSums(is.na(m$x))==0;m$role<-ifelse(m$eligible,'analysis','excluded');models[[kind]]<-m\n}\nstopifnot(length(person$id)==722,sum(person$a)==297,sum(models$company$eligible)==384,length(country$id)==16)\nsourcefit<-function(kind,m,rep){\n N<-length(m$id);X<-if(rep=='full')m$x else if(rep=='constant')matrix(numeric(0),nrow=N,ncol=0) else if(kind=='country')matrix(m$a,ncol=1) else if(kind=='person')cbind(as.integer(m$x[,2]>1.2),as.integer(m$x[,3]>0)) else matrix(m$x[,2],ncol=1)\n group<-if(kind=='country')ifelse(m$a==1,'higher-GDP-category','lower-GDP-category')else if(kind=='person')ifelse(m$x[,2]>1.2,'schooling-over12','schooling-at-most12')else ifelse(!is.na(m$x[,2])&m$x[,2]!=0,'chain2','other-chains')\n p<-ncol(X);eRaw<-mu0<-mu1<-rep(NA_real_,N);fits<-list();coords<-list()\n for(fold in 0:3){\n  tr<-which(m$eligible&m$fold!=fold);means<-if(p)colMeans(X[tr,,drop=FALSE])else numeric(0);scales<-if(p)apply(X[tr,,drop=FALSE],2,function(x)diff(range(x)))else numeric(0);scales[scales==0]<-1;Z<-if(p)cbind(1,sweep(sweep(X,2,means,'-'),2,scales,'/'))else matrix(1,nrow=N,ncol=1);hold<-which(m$fold==fold);ok<-rowSums(is.na(Z[hold,,drop=FALSE]))==0\n  for(name in c('e','mu0','mu1')){\n   ix<-if(name=='e')tr else tr[m$a[tr]==if(name=='mu0')0 else 1];target<-if(name=='e')m$a[ix]else m$y[ix];A<-crossprod(Z[ix,,drop=FALSE])/length(ix)+diag(c(0,rep(.01,p)),nrow=p+1);b<-as.vector(crossprod(Z[ix,,drop=FALSE],target))/length(ix);theta<-as.vector(solve(A,b));minimum<-mean((as.vector(Z[ix,,drop=FALSE]%*%theta)-target)^2)/2+.01*sum(theta[-1]^2)/2;v<-as.vector(Z[hold,,drop=FALSE]%*%theta)\n   if(name=='e')eRaw[hold]<-v else if(name=='mu0')mu0[hold]<-v else mu1[hold]<-v\n   fits[[length(fits)+1L]]<-list(fold=fold,name=name,rows=length(ix),rank=p+1,theta=theta,minimumObjective=minimum,trainingIDs=m$id[ix])\n  }\n  coords[[length(coords)+1L]]<-list(fold=fold,mean=means,scale=scales)\n }\n e<-pmax(.05,pmin(.95,eRaw));nuisance<-!is.na(e)&!is.na(mu0)&!is.na(mu1);eligible<-m$eligible&nuisance;plugin<-treated<-control<-ipw<-effective<-score<-rep(NA_real_,N);ix<-which(eligible);plugin[ix]<-mu1[ix]-mu0[ix];treated[ix]<-ifelse(m$a[ix]==1,(m$y[ix]-mu1[ix])/e[ix],0);control[ix]<-ifelse(m$a[ix]==0,(m$y[ix]-mu0[ix])/(1-e[ix]),0);score[ix]<-plugin[ix]+treated[ix]-control[ix];ipw[ix]<-ifelse(m$a[ix]==1,m$y[ix]/e[ix],-m$y[ix]/(1-e[ix]));effective[ix]<-1/ifelse(m$a[ix]==1,e[ix],1-e[ix]);clipped<-!is.na(eRaw)&eRaw!=e\n list(X=X,group=group,meanX=coords,fits=fits,eRaw=eRaw,e=e,mu0=mu0,mu1=mu1,nuisance=nuisance,eligible=eligible,plugin=plugin,treated=treated,control=control,score=score,ipw=ipw,effective=effective,clipped=clipped)\n}\nextreme<-function(values,sign){N<-length(values);p<-rep(1/N,N);q<-p;upper<-pmin(1,2*p);ord<-order(round(sign*values,12),seq_along(values));donor<-ord;receiver<-rev(ord);a<-b<-1L;budget<-.1\n while(budget>1e-14&&a<=N&&b<=N){i<-donor[a];j<-receiver[b];if(sign*values[j]<=sign*values[i]+1e-14)break;move<-min(q[i],upper[j]-q[j],budget);if(move>0){q[i]<-q[i]-move;q[j]<-q[j]+move;budget<-budget-move};if(q[i]<=1e-14)a<-a+1L;if(upper[j]-q[j]<=1e-14)b<-b+1L;if(move<=0&&a<=N&&b<=N&&q[i]>1e-14&&upper[j]-q[j]>1e-14)stop('no transport progress')};list(q=q,objective=sum(q*values),TV=sum(abs(q-p))/2)\n}\n\n m<-models[[selectedKind]];z<-sourcefit(selectedKind,m,'full');ix<-which(z$eligible);v<-z$score[ix];lo<-extreme(v,-1);hi<-extreme(v,1);treated<-ix[m$a[ix]==1];control<-ix[m$a[ix]==0];norm<-sum(m$y[treated]*z$effective[treated])/sum(z$effective[treated])-sum(m$y[control]*z$effective[control])/sum(z$effective[control]);nv<-function(v)if(is.na(v))NULL else unname(v)\n rows<-lapply(seq_along(m$id),function(i)list(id=m$id[i],sourceRow=if(selectedKind=='country')m$sourceRow[i]else as.integer(m$sourceRow[i]),originalID=m$originalID[i],foldGroup=m$foldGroup[i],fold=m$fold[i],a=m$a[i],y=nv(m$y[i]),x=lapply(as.list(m$x[i,]),nv),eligible=z$eligible[i],eRaw=nv(z$eRaw[i]),e=nv(z$e[i]),mu0=nv(z$mu0[i]),mu1=nv(z$mu1[i]),plugin=nv(z$plugin[i]),score=nv(z$score[i]),IPWContribution=nv(z$ipw[i])))\n fits<-lapply(z$fits,function(fit){co<-z$meanX[[fit$fold+1L]];list(fold=fit$fold,fit=fit$name,trainingIDs=as.list(fit$trainingIDs),rows=fit$rows,rank=fit$rank,unique=TRUE,theta=as.list(fit$theta),minimumObjective=fit$minimumObjective,meanX=as.list(co$mean),scales=as.list(co$scale))});unit<-switch(selectedKind,country='GDP growth contrast, percentage points',person='native real1978earnings/10000',company='post-minus-pre FTE employees')\n list(kind=selectedKind,unit=unit,rows=rows,fits=fits,AIPW=mean(v),plugin=mean(z$plugin[ix]),IPW=mean(z$ipw[ix]),normalizedIPWContrast=norm,stressMinimum=lo$objective,stressMaximum=hi$objective,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\n\n# Owned numerical fixed-example adapters; not arbitrary exact input validators.\nnum<-function(v){if(is.null(v))return(NULL);if(is.numeric(v))return(as.numeric(v));s<-strsplit(as.character(v),'/',fixed=TRUE)[[1]];if(length(s)==2)as.numeric(s[1])/as.numeric(s[2])else as.numeric(v)}\nopt<-function(a,key,default)if(is.null(a[[key]]))default else a[[key]]\nmaybe<-function(v)if(is.null(v))list(defined=FALSE)else list(defined=TRUE,value=v)\nweighted<-function(v,w){if(!length(w)||sum(w)==0)return(NULL);sum(v*w)/sum(w)}\nfixedEffects<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){r<-a$rows[[i]];w<-num(opt(r,'weight',1));if(w<0)stop('negative-analysis-weight');y0<-num(r$y0);y1<-num(r$y1);A<-num(r$a);list(id=opt(r,'id',as.character(i-1L)),a=A,y0=y0,y1=y1,w=w,effect=if(is.null(y0)||is.null(y1))NULL else y1-y0,observed=if(is.null(A))NULL else if(A==1)y1 else y0)})\n complete<-Filter(function(r)r$w>0&&!is.null(r$effect),rr);treated<-Filter(function(r)!is.null(r$a)&&r$a==1,complete);avg<-function(rows,key)weighted(vapply(rows,function(r)r[[key]],numeric(1)),vapply(rows,function(r)r$w,numeric(1)));arm<-lapply(0:1,function(A)avg(Filter(function(r)!is.null(r$a)&&r$a==A&&!is.null(r$observed)&&r$w>0,rr),'observed'));list(rows=rr,completeRows=length(complete),ATE=avg(complete,'effect'),ATT=avg(treated,'effect'),observedContrast=if(any(vapply(arm,is.null,logical(1))))NULL else arm[[2]]-arm[[1]])\n}\nfixedAipw<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){v<-a$rows[[i]];w<-num(opt(v,'weight',1));if(w<0)stop('negative-analysis-weight');r<-list(id=opt(v,'id',as.character(i-1L)),a=num(v$a),y=num(v$y),e=num(v$e),mu0=num(v$mu0),mu1=num(v$mu1),w=w,role=opt(v,'role','analysis'),group=opt(v,'group','all'));reason<-if(w==0)'zero-weight'else if(r$role%in%c('excluded','unused'))'inactive-role'else if(any(vapply(r[c('a','y','e','mu0','mu1')],is.null,logical(1))))'missing-required-field'else if(r$e%in%c(0,1))'nonoverlap-boundary-propensity'else NULL;r$eligible<-is.null(reason);r$reason<-reason\n  if(is.null(reason)){r$plugin<-r$mu1-r$mu0;r$treatedResidual<-if(r$a==1)(r$y-r$mu1)/r$e else 0;r$controlResidual<-if(r$a==0)(r$y-r$mu0)/(1-r$e)else 0;r$score<-maybe(r$plugin+r$treatedResidual-r$controlResidual);r$IPWContribution<-if(r$a==1)r$y/r$e else-r$y/(1-r$e);r$effectiveArmWeight<-w/if(r$a==1)r$e else 1-r$e}else r$score<-maybe(NULL);r})\n summary<-function(rows){mass<-sum(vapply(rows,function(r)r$w,numeric(1)));avg<-function(key){if(!mass)return(NULL);sum(vapply(rows,function(r)r$w*if(key=='score')r$score$value else r[[key]],numeric(1)))/mass};arms<-lapply(0:1,function(A){arm<-Filter(function(r)r$a==A,rows);w<-vapply(arm,function(r)r$effectiveArmWeight,numeric(1));list(a=A,rows=length(arm),weightedArmDenominator=sum(w),normalizedMean=maybe(weighted(vapply(arm,function(r)r$y,numeric(1)),w)))});list(rows=length(rows),mass=mass,AIPW=maybe(avg('score')),plugin=maybe(avg('plugin')),IPW=maybe(avg('IPWContribution')),normalizedArmMeans=arms,normalizedIPWContrast=maybe(if(all(vapply(arms,function(r)r$normalizedMean$defined,logical(1))))arms[[2]]$normalizedMean$value-arms[[1]]$normalizedMean$value else NULL))}\n use<-Filter(function(r)r$eligible,rr);roles<-unique(vapply(rr,function(r)r$role,character(1)));groups<-unique(vapply(rr,function(r)r$group,character(1)));list(rows=rr,overall=summary(use),byRole=lapply(roles,function(role)c(list(role=role),summary(Filter(function(r)r$role==role,use)))),byGroup=lapply(groups,function(g)c(list(group=g),summary(Filter(function(r)r$group==g,use)))),overlapExcluded=as.list(vapply(Filter(function(r)identical(r$reason,'nonoverlap-boundary-propensity'),rr),function(r)r$id,character(1))))\n}\nfixedRepresentation<-function(a){\n atoms<-lapply(a$atoms,function(r)list(id=r$id,p=num(r$probability),y0=num(r$y0),y1=num(r$y1),e=num(r$e),phi=r$phi));if(abs(sum(vapply(atoms,function(r)r$p,numeric(1)))-1)>1e-12)stop('law-probabilities-must-sum-one');ATE<-sum(vapply(atoms,function(r)r$p*(r$y1-r$y0),numeric(1)));phis<-unique(vapply(Filter(function(r)r$p>0,atoms),function(r)r$phi,character(1)));groups<-lapply(phis,function(phi){use<-Filter(function(r)r$phi==phi&&r$p>0,atoms);mass<-sum(vapply(use,function(r)r$p,numeric(1)));t<-sum(vapply(use,function(r)r$p*r$e,numeric(1)));m1<-if(t>0)sum(vapply(use,function(r)r$p*r$e*r$y1,numeric(1)))/t else NULL;m0<-if(mass-t>0)sum(vapply(use,function(r)r$p*(1-r$e)*r$y0,numeric(1)))/(mass-t)else NULL;list(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=if(is.null(m0)||is.null(m1))NULL else m1-m0)});adjusted<-if(any(vapply(groups,function(r)is.null(r$contrast),logical(1))))NULL else sum(vapply(groups,function(r)r$mass*r$contrast,numeric(1)));list(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=if(is.null(adjusted))NULL else adjusted-ATE)\n}\nfixedRobust<-function(a){\n values<-vapply(a$values,num,numeric(1));p<-if(is.null(a$probabilities))rep(1/length(values),length(values))else vapply(a$probabilities,num,numeric(1));radius<-num(opt(a,'radius','1/10'));cap<-num(opt(a,'cap',2));if(cap<1||radius<0||radius>1)stop('invalid-robust-constraint')\n go<-function(sign){q<-p;upper<-pmin(1,cap*p);order<-order(sign*values,seq_along(values));lo<-order;hi<-rev(order);i<-j<-1L;budget<-radius;N<-length(values)\n while(budget>1e-14&&i<=N&&j<=N){d<-lo[i];h<-hi[j];if(sign*values[h]<=sign*values[d])break;move<-min(q[d],upper[h]-q[h],budget);if(move>0){q[d]<-q[d]-move;q[h]<-q[h]+move;budget<-budget-move};if(q[d]<=1e-14)i<-i+1L;if(upper[h]-q[h]<=1e-14)j<-j+1L};list(q=q,value=sum(q*values),TV=sum(abs(q-p))/2)};lo<-go(-1);hi<-go(1);list(values=as.list(values),p=as.list(p),radius=radius,cap=cap,baseline=sum(values*p),minimum=lo$value,maximum=hi$value,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\nfixedValidate<-function(a){\n rr<-a$rows;cc<-a$candidates;groups<-unlist(a$requiredGroups);eligible<-vapply(seq_along(rr),function(i){r<-rr[[i]];!is.null(r$y)&&num(opt(r,'weight',1))>0&&!r$role%in%c('excluded','unused')&&all(vapply(cc,function(c)!is.null(c$predictions[[i]]),logical(1)))},logical(1));out<-lapply(cc,function(c){risk<-function(ix){if(!length(ix))return(NULL);weighted(vapply(ix,function(i)(num(c$predictions[[i]])-num(rr[[i]]$y))^2,numeric(1)),vapply(ix,function(i)num(opt(rr[[i]],'weight',1)),numeric(1)))};vr<-which(eligible&vapply(rr,function(r)r$role=='validation',logical(1)));tr<-which(eligible&vapply(rr,function(r)r$role=='test',logical(1)));gv<-lapply(groups,function(g)risk(vr[vapply(rr[vr],function(r)r$group==g,logical(1))]));worst<-if(any(vapply(gv,is.null,logical(1))))NULL else max(unlist(gv));list(id=c$id,validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=if(opt(a,'criterion','worst-group')=='mean')risk(vr)else worst)});available<-which(!vapply(out,function(r)is.null(r$criterion),logical(1)));selected<-if(length(available))available[which.min(vapply(out[available],function(r)r$criterion,numeric(1)))]else NULL;list(commonEligibility=as.list(eligible),groups=as.list(groups),candidates=out,selectedIndex=if(is.null(selected))NULL else selected-1L,selectedID=if(is.null(selected))NULL else out[[selected]]$id,selectedScore=if(is.null(selected))NULL else out[[selected]]$criterion)\n}\nfixedOperation<-function(api,a)switch(api,effects=fixedEffects(a),aipw=fixedAipw(a),representation=fixedRepresentation(a),robust=fixedRobust(a),validate=fixedValidate(a),realdata=fixedSource(a$kind))\nreportValues<-function(api,z){summary<-list();points<-list();add<-function(k,v,u){if(length(v)==1&&is.na(v))v<-NULL;summary[[length(summary)+1L]]<<-list(metric=k,value=v,unit=u)};series<-function(name,values){for(i in seq_along(values)){v<-values[[i]];points[[length(points)+1L]]<<-list(series=name,index=i-1L,x=i,y=v)}}\n if(api=='effects'){for(k in c('completeRows','ATE','ATT','observedContrast'))add(k,z[[k]],if(k=='completeRows')'rows'else'constructed outcome units');series('known constructed effects',lapply(z$rows,function(r)r$effect))}\n else if(api=='aipw'){for(k in c('AIPW','plugin','IPW','normalizedIPWContrast'))add(k,z$overall[[k]]$value,'constructed outcome units');add('eligibleRows',z$overall$rows,'rows');series('AIPW row scores',lapply(z$rows,function(r)r$score$value))}\n else if(api=='representation'){for(k in c('ATE','adjustedContrast','bias'))add(k,z[[k]],'constructed outcome units');series('representation contrasts',lapply(z$groups,function(r)r$contrast))}\n else if(api=='robust'){for(k in c('baseline','minimum','maximum'))add(k,z[[k]],'declared value units');for(k in c('minTV','maxTV'))add(k,z[[k]],'probability mass');series('minimum weights',z$minWeights);series('maximum weights',z$maxWeights)}\n else if(api=='validate'){add('selectedIndex',z$selectedIndex,'zero-based candidate index');add('selectedScore',z$selectedScore,'squared outcome units');series('validation criterion',lapply(z$candidates,function(c)c$criterion))}\n else{for(k in c('AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum'))add(k,z[[k]],z$unit);add('sourceRows',length(z$rows),'analytical records');add('eligibleRows',sum(vapply(z$rows,function(r)r$eligible,logical(1))),'records');series('actual out-of-fold scores',lapply(z$rows,function(r)r$score))};list(summary=summary,points=points)\n}\n\nescapeXML<-function(s){s<-gsub('&','&amp;',s,fixed=TRUE);s<-gsub('<','&lt;',s,fixed=TRUE);s<-gsub('>','&gt;',s,fixed=TRUE);gsub('\"','&quot;',s,fixed=TRUE)}\nsvgPlot<-function(pp,title){\n xx<-vapply(pp,function(p)as.numeric(p$x),numeric(1));yy<-vapply(pp,function(p)as.numeric(p$y),numeric(1));xmin<-if(length(xx))min(xx)else 0;xmax<-if(length(xx))max(xx)else 1;ymin<-min(c(0,yy));ymax<-max(c(0,yy));if(xmin==xmax){xmin<-xmin-.5;xmax<-xmax+.5};if(ymin==ymax){ymin<-ymin-.5;ymax<-ymax+.5};pad<-(ymax-ymin)*.08;ymin<-ymin-pad;ymax<-ymax+pad;X<-function(x)82+(as.numeric(x)-xmin)/(xmax-xmin)*608;Y<-function(y)354-(as.numeric(y)-ymin)/(ymax-ymin)*290\n out<-paste0('<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"',escapeXML(title),'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">',escapeXML(title),'</text>')\n for(j in 0:4){y<-ymin+(ymax-ymin)*j/4;x<-xmin+(xmax-xmin)*j/4;out<-paste0(out,'<line x1=\"82\" y1=\"',Y(y),'\" x2=\"690\" y2=\"',Y(y),'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"',Y(y)+4,'\" text-anchor=\"end\">',sprintf('%.3g',y),'</text><text x=\"',X(x),'\" y=\"380\" text-anchor=\"middle\">',sprintf('%.3g',x),'</text>')}\n ss<-unique(vapply(pp,`[[`,character(1),'series'));cols<-c('#0f766e','#c76622','#4f46e5','#b23857')\n for(j in seq_along(ss)){rr<-Filter(function(p)p$series==ss[j],pp);xy<-vapply(rr,function(p)sprintf('%.6f,%.6f',X(p$x),Y(p$y)),character(1));col<-cols[(j-1)%%4+1];out<-paste0(out,'<polyline fill=\"none\" stroke=\"',col,'\" stroke-width=\"1.5\" points=\"',paste(xy,collapse=' '),'\"/>');for(p in rr)out<-paste0(out,'<circle cx=\"',sprintf('%.6f',X(p$x)),'\" cy=\"',sprintf('%.6f',Y(p$y)),'\" r=\"2.6\" fill=\"',col,'\"><title>',escapeXML(ss[j]),': ',escapeXML(p$y),'</title></circle>');out<-paste0(out,'<text x=\"',82+((j-1)%%2)*310,'\" y=\"',432+floor((j-1)/2)*23,'\" fill=\"',col,'\">',escapeXML(ss[j]),'</text>')}\n paste0(out,'<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>')\n}\n\ntoJSON<-function(x){\n if(is.null(x))return('null');if(is.list(x)){v<-vapply(x,toJSON,character(1));if(!is.null(names(x)))paste0('{',paste(paste0(vapply(names(x),toJSON,character(1)),':',v),collapse=','),'}')else paste0('[',paste(v,collapse=','),']')}\n else if(length(x)!=1){if(!is.null(names(x)))toJSON(as.list(x))else paste0('[',paste(vapply(as.list(x),toJSON,character(1)),collapse=','),']')}\n else if(is.na(x))'null'else if(is.logical(x))if(x)'true'else'false'else if(is.numeric(x))if(is.finite(x))sprintf('%.17g',x)else'null'else paste0('\"',gsub('\\n','\\\\n',gsub('\"','\\\\\"',gsub('\\\\','\\\\\\\\',x,fixed=TRUE),fixed=TRUE),fixed=TRUE),'\"')\n}\n\nFIXED<-list(\"api\"=\"robust\",\"variant\"=\"slack-budget\",\"title\"=\"Density cap binds before the TV budget\",\"input\"=list(\"values\"=list(\"0\",\"2\"),\"probabilities\"=list(\"1/2\",\"1/2\"),\"radius\"=\"1/4\",\"cap\"=\"5/4\"),\"expectedFailure\"=FALSE)\n\nargs<-commandArgs(trailingOnly=TRUE);out<-if(length(args))args[1]else stop('NEW output directory required');if(dir.exists(out))stop('Preserve previous output directory');dir.create(out,recursive=TRUE)\nz<-fixedOperation(FIXED$api,FIXED$input);rr<-reportValues(FIXED$api,z)\nwriteLines(toJSON(list(arithmetic='BaseR binary64 numerical counterpart; factualsource groupSHA256,lambda.01 and empiricalTVtolerances1e-14/12places; notcausalCI',result=z)),file.path(out,'full.json'),useBytes=TRUE)\nsums<-do.call(rbind,lapply(rr$summary,function(row)data.frame(metric=row$metric,value=if(is.null(row$value))''else if(is.logical(row$value))as.character(as.integer(row$value))else format(row$value,digits=17,scientific=NA,trim=TRUE),unit=row$unit,defined=as.integer(!is.null(row$value)),stringsAsFactors=FALSE)))\npoints<-do.call(rbind,lapply(rr$points,function(p)data.frame(series=p$series,index=p$index,x=p$x,y=if(is.null(p$y))NA_real_ else p$y,defined=as.integer(!is.null(p$y)),stringsAsFactors=FALSE)))\nwrite.csv(sums,file.path(out,'summary.csv'),row.names=FALSE,na='');write.csv(points,file.path(out,'plot-points.csv'),row.names=FALSE,na='');writeLines(svgPlot(Filter(function(p)!is.null(p$y),rr$points),FIXED$title),file.path(out,'plot.svg'),useBytes=TRUE);cat(FIXED$api,'/',FIXED$variant,'\\n',sep='')\n",
        "returnCode": 0,
        "stdout": "robust/slack-budget\r\n",
        "stderr": "During startup - Warning messages:\n1: Setting LC_COLLATE=C.UTF-8 failed \n2: Setting LC_CTYPE=C.UTF-8 failed \n3: Setting LC_MONETARY=C.UTF-8 failed \n4: Setting LC_TIME=C.UTF-8 failed ",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/r-robust-slack-budget-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/robust-slack-budget-input.json",
            "sha256": "c057ad20dfde0917979a9ab87ed041284ba8247d54ffa1ab4a48f4b6411156fe",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/r-robust-slack-budget-result/full.json",
            "sha256": "653684ccc48c6909b4f3f0147b4a969bf5aa7e07f699283b70967c02e43fb55d",
            "bytes": 335
          },
          {
            "file": "ml21-code/r-robust-slack-budget-result/plot-points.csv",
            "sha256": "c91f27b97d6366397e152e5b654003f1e8b636cb01b7dcdec01bce60f39e0be4",
            "bytes": 160
          },
          {
            "file": "ml21-code/r-robust-slack-budget-result/plot.svg",
            "sha256": "a63c5b1634e86b6a1c74a30f54f79228ffba881cad47b93ba7625299c826c1ca",
            "bytes": 2051
          },
          {
            "file": "ml21-code/r-robust-slack-budget-result/summary.csv",
            "sha256": "c84e610735f328a1950a62d977f21cae85c81ae38539dc4ca3838d61d0b9de47",
            "bytes": 238
          },
          {
            "file": "ml21-code/r-robust-slack-budget-result/stdout.txt",
            "sha256": "57a9767b30e0f27383bb982cf27685db2cf39edaca08b881404ab71e130def97",
            "bytes": 21
          },
          {
            "file": "ml21-code/r-robust-slack-budget-result/stderr.txt",
            "sha256": "b807bd2d0f7060ea384b0ac2317cda2d63a4f59f63b4a901b9e665fead79627d",
            "bytes": 182
          }
        ],
        "summaryRows": [
          {
            "metric": "baseline",
            "value": "1",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "minimum",
            "value": "0.75",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "0.75",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "maximum",
            "value": "1.25",
            "unit": "declared value units",
            "defined": "true",
            "rawValue": "1.25",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "minTV",
            "value": "0.125",
            "unit": "probability mass",
            "defined": "true",
            "rawValue": "0.125",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "maxTV",
            "value": "0.125",
            "unit": "probability mass",
            "defined": "true",
            "rawValue": "0.125",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          }
        ],
        "plotRows": [
          {
            "series": "minimum weights",
            "index": 0,
            "x": "1",
            "y": "0.625",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "minimum weights",
            "index": 1,
            "x": "2",
            "y": "0.375",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "maximum weights",
            "index": 0,
            "x": "1",
            "y": "0.375",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "maximum weights",
            "index": 1,
            "x": "2",
            "y": "0.625",
            "defined": true,
            "xExact": "",
            "yExact": ""
          }
        ],
        "plotFile": "ml21-code/r-robust-slack-budget-result/plot.svg",
        "fullResultFile": "ml21-code/r-robust-slack-budget-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      }
    }
  },
  "validate": {
    "python": {
      "worst-group": {
        "api": "validate",
        "variant": "worst-group",
        "language": "python",
        "title": "Validation-only worst-group selection",
        "input": {
          "rows": [
            {
              "id": "G",
              "y": "0",
              "weight": "9",
              "role": "validation",
              "group": "G"
            },
            {
              "id": "H",
              "y": "0",
              "weight": "1",
              "role": "validation",
              "group": "H"
            },
            {
              "id": "T",
              "y": "0",
              "weight": "1",
              "role": "test",
              "group": "G"
            }
          ],
          "candidates": [
            {
              "id": "A",
              "predictions": [
                "1",
                "3",
                "0"
              ]
            },
            {
              "id": "B",
              "predictions": [
                "2",
                "2",
                "5"
              ]
            }
          ],
          "requiredGroups": [
            "G",
            "H"
          ],
          "criterion": "worst-group"
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/validate-worst-group.py",
        "codeSHA256": "11842168b263fa9292e3c6eeec7036365c25ce0cb4de237f6561d97cdf18c91e",
        "code": "\"\"\"ML21 complete standalone fixed example, not a general API validator.\nRun: python this-file.py NEW-OUTDIR\nFixed literal input is also supplied as matching human-readable JSON.\nRealdata reads3factual CSVs under data/, using owned public scalar code byvalue.\nNo production engine/model/checker/computed answers are imported.\n\"\"\"\nfrom pathlib import Path\nfrom fractions import Fraction as F\nfrom collections import defaultdict,Counter\nimport csv,json,hashlib,sys,html,math\nif hasattr(sys,'set_int_max_str_digits'):sys.set_int_max_str_digits(200000)\ndef f(v):return v if isinstance(v,F)else F(str(v))\ndef ck(v,label=''):\n if not v:raise AssertionError(label)\ndef maybe(v):return dict(defined=False)if v is None else dict(defined=True,value=v)\ndef mean(v,w):return sum((a*b for a,b in zip(v,w)),F(0))/sum(w,F(0))if sum(w,F(0))else None\ndef extremum(values,p,radius,cap,sign):\n q=list(p);budget=radius;upper=[min(F(1),cap*x)for x in p]\n order=sorted(range(len(values)),key=lambda i:(sign*values[i],i))\n donors=list(order);receivers=list(reversed(order));left=right=0\n while budget>0 and left<len(q)and right<len(q):\n  i,j=donors[left],receivers[right]\n  if sign*values[j]<=sign*values[i]:break\n  move=min(q[i],upper[j]-q[j],budget)\n  if move>0:q[i]-=move;q[j]+=move;budget-=move\n  if q[i]==0:left+=1\n  if q[j]==upper[j]:right+=1\n  if move==0 and q[i]>0 and q[j]<upper[j]:raise AssertionError('transport made no progress')\n return q,sum(a*b for a,b in zip(q,values)),sum(abs(a-b)for a,b in zip(q,p))/2\n\ndef fixed_source(kind):\n selectedKind=kind\n S=Path(__file__).resolve().parent/\"data\"\n def read(n):\n  with(S/n).open(encoding=\"utf8\",newline=\"\")as stream:return list(csv.DictReader(stream))\n def source_rows():\n  rows=read('actual48-country-revised-original-2023-2024.csv');lk={(r['countryISO3'],r['indicatorID'],r['date']):r for r in rows};isos=sorted({r['countryISO3']for r in rows});g=sorted(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])for i in isos);median=(g[7]+g[8])/2\n  models={'country':[dict(id=i+':2024',originalID=i,sourceRow=i,foldGroup='country:'+i,a=int(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])>median),x=[f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])/10000,f(lk[i,'FP.CPI.TOTL.ZG','2023']['originalValueToken'])/10],y=f(lk[i,'NY.GDP.MKTP.KD.ZG','2024']['originalValueToken']))for i in isos]}\n  native=read('actual38408-NSW-all15-fields.csv');pairs=defaultdict(dict)\n  for r in native:pairs[str(int(f(r['id'])))][int(f(r['year']))]=r\n  people=[]\n  for ID,pair in pairs.items():\n   pre,post=pair[1975],pair[1978];ck(pre['treated']==post['treated'],'native stable treatment');sel=int(f(pre['experimental']))==1;ck(sel==(pre['treated']!='.'),'no recode missingtreatment')\n   if sel:people.append(dict(id='nsw-id:'+ID,originalID=ID,sourceRow=int(post['sourceRow']),foldGroup='nsw-id:'+ID,a=int(f(pre['treated'])),x=[F.from_float(float(pre['age']))/10,F.from_float(float(pre['educ']))/10,F.from_float(float(pre['re74']))/10000],y=F.from_float(float(post['re']))/10000))\n  models['person']=people;company=[]\n  for r in read('actual410-NJPA-all46-fields.csv'):\n   ys=[]\n   for suffix in['','2']:\n    v=[None if r[k+suffix]=='.'else f(r[k+suffix])for k in['EMPFT','EMPPT','NMGRS']];ys.append(None if None in v else v[0]+v[1]/2+v[2])\n   company.append(dict(id='njpa-row:'+r['sourceRow'],originalID=r['SHEET'],sourceRow=int(r['sourceRow']),foldGroup='sheet:'+r['SHEET'],a=int(r['STATE']),x=[None if ys[0]is None else ys[0]/10,None if r['CHAIN']=='.'else F(int(f(r['CHAIN'])==2)),None if r['CO_OWNED']=='.'else f(r['CO_OWNED'])],y=None if None in ys else ys[1]-ys[0]))\n  models['company']=company\n  for kind,rr in models.items():\n   groups=sorted({r['foldGroup']for r in rr},key=lambda g:(hashlib.sha256(('ML21|'+kind+'|'+g).encode()).digest(),g));folds={g:i%4 for i,g in enumerate(groups)}\n   for r in rr:r['fold']=folds[r['foldGroup']];r['eligible']=r['y']is not None and None not in r['x'];r['role']='analysis'if r['eligible']else'excluded';r['w']=F(1)\n  return models\n MODELS=source_rows()\n def solve(A,b):\n  n=len(b);M=[list(a)+[v]for a,v in zip(A,b)];pivot=[];i=0\n  for j in range(n):\n   k=next((k for k in range(i,n)if M[k][j]!=0),None)\n   if k is None:continue\n   M[i],M[k]=M[k],M[i];v=M[i][j];M[i]=[z/v for z in M[i]]\n   for k in range(n):\n    if k!=i:\n     v=M[k][j];M[k]=[a-v*b for a,b in zip(M[k],M[i])]\n   pivot.append(j);i+=1\n   if i==n:break\n  beta=[F(0)]*n\n  for i,j in enumerate(pivot):beta[j]=M[i][-1]\n  null=[]\n  for j in range(n):\n   if j in pivot:continue\n   v=[F(0)]*n;v[j]=F(1)\n   for i,k in enumerate(pivot):v[k]=-M[i][j]\n   null.append(v)\n  return beta,null,len(pivot)\n def source_expected(a):\n  base=MODELS[a.get('kind','person')];rep=a.get('representation','full');rr=[]\n  for r in base:\n   full=r['x'];x=full if rep=='full'else[]if rep=='constant'else[F(r['a'])]if a.get('kind','person')=='country'else[F(full[1]>F(6,5)),F(full[2]>0)]if a.get('kind','person')=='person'else[full[1]]\n   group=('higher-GDP-category'if r['a']else'lower-GDP-category')if a.get('kind','person')=='country'else('schooling-over12'if full[1]>F(6,5)else'schooling-at-most12')if a.get('kind','person')=='person'else('chain2'if full[1]else'other-chains');rr.append(dict(r,x=x,fullX=full,group=group))\n  eligible=[r for r in rr if r['eligible']];limit=a.get('trainingLimit',len(eligible));keep={r['id']for r in eligible[:limit]};lam=f(a.get('lambda','1/100'));eps=f(a.get('clip','1/20'));nuisance=[];out={};dimension=len(rr[0]['x'])+1\n  for fold in range(4):\n   tr=[r for r in rr if r['eligible']and r['id']in keep and r['fold']!=fold];fits={};means=[sum(r['x'][j]for r in tr)/len(tr)for j in range(dimension-1)]if tr else[];scales=[max(r['x'][j]for r in tr)-min(r['x'][j]for r in tr)or F(1)for j in range(dimension-1)]if tr else[]\n   def z(r):return None if not tr or None in r['x']else[F(1)]+[(v-m)/s for v,m,s in zip(r['x'],means,scales)]\n   for name in['e','mu0','mu1']:\n    use=[r for r in tr if name=='e'or r['a']==int(name[-1])]\n    if not use:fits[name]=dict(defined=False);continue\n    Z=[z(r)for r in use];Y=[F(r['a'])if name=='e'else r['y']for r in use];N=len(use);A=[[sum(v[j]*v[k]for v in Z)/N+(lam if j==k and j else 0)for k in range(dimension)]for j in range(dimension)];b=[sum(y*v[j]for v,y in zip(Z,Y))/N for j in range(dimension)];beta,null,rank=solve(A,b);minimum=sum((sum(b*z for b,z in zip(beta,v))-y)**2 for v,y in zip(Z,Y))/(2*N)+lam*sum(v*v for v in beta[1:])/2;fits[name]=dict(defined=True,trainingIDs=[r['id']for r in use],rows=N,rank=rank,unique=rank==dimension,theta=beta,nullspace=null,minimumObjective=minimum,meanX=means,scales=scales)\n   nuisance.append(dict(fold=fold,complementRows=len(tr),fits=fits))\n   for r in rr:\n    if r['fold']!=fold:continue\n    zz=z(r);pred={name:None if zz is None or not fit['defined']else sum(v*b for v,b in zip(zz,fit['theta']))for name,fit in fits.items()};eRaw=pred['e'];e=None if eRaw is None else max(eps,min(1-eps,eRaw));inv={name:zz is not None and fit['defined']and all(sum(a*b for a,b in zip(v,zz))==0 for v in fit['nullspace'])for name,fit in fits.items()};out[r['id']]=dict(r,mu0=pred['mu0'],mu1=pred['mu1'],e=e,eRaw=eRaw,propensityClipped=e is not None and e!=eRaw,nuisancePredictionDefined=all(v is not None for v in pred.values()),queryInvariantAcrossMinimizers=inv)\n  return rr,nuisance,[out[r['id']]for r in rr]\n def aipw_expected(rows,role='all'):\n  out=[]\n  for r in rows:\n   reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n   if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n   plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n  def summary(use):\n   ww=[r['w']for r in use];arms=[]\n   for A in[0,1]:\n    arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n   return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n  use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n raw,nuisance,oo=source_expected(dict(kind=selectedKind,representation='full'));scores=aipw_expected(oo);use=[r for r in scores['rows']if r['eligible']];values=[r['score']['value']for r in use];p=[F(1,len(use))for _ in use];lo,low,ltv=extremum(values,p,F(1,10),F(2),-1);hi,high,htv=extremum(values,p,F(1,10),F(2),1);fits=[]\n for n in nuisance:\n  for name,z in n['fits'].items():fits.append(dict(fold=n['fold'],fit=name,trainingIDs=z['trainingIDs'],rows=z['rows'],rank=z['rank'],unique=z['unique'],theta=z['theta'],minimumObjective=z['minimumObjective'],meanX=z['meanX'],scales=z['scales']))\n rr=[]\n for r in scores['rows']:rr.append(dict(id=r['id'],sourceRow=r['sourceRow'],originalID=r['originalID'],foldGroup=r['foldGroup'],fold=r['fold'],a=r['a'],y=r['y'],x=r['fullX'],eligible=r['eligible'],eRaw=r['eRaw'],e=r['e'],mu0=r['mu0'],mu1=r['mu1'],plugin=r.get('plugin'),score=r['score'].get('value'),IPWContribution=r.get('IPWContribution')))\n unit={'country':'GDP growth contrast, percentage points','person':'native real1978earnings/10000','company':'post-minus-pre FTE employees'}[selectedKind]\n return dict(kind=selectedKind,unit=unit,rows=rr,fits=fits,AIPW=scores['overall']['AIPW'].get('value'),plugin=scores['overall']['plugin'].get('value'),IPW=scores['overall']['IPW'].get('value'),normalizedIPWContrast=scores['overall']['normalizedIPWContrast'].get('value'),stressMinimum=low,stressMaximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\n\ndef aipw_expected(rows,role='all'):\n out=[]\n for r in rows:\n  reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n  if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n  plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n def summary(use):\n  ww=[r['w']for r in use];arms=[]\n  for A in[0,1]:\n   arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n  return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n\n# Owned standalone fixed-example adapters; no production engine import.\nQ=F\nnumber=f\ndef fixed_robust(a):\n values=list(map(f,a['values']));p=list(map(f,a.get('probabilities',[F(1,len(values))for _ in values])));radius=f(a.get('radius','1/10'));cap=f(a.get('cap',2))\n if cap<1 or not 0<=radius<=1:raise ValueError('invalid-robust-constraint')\n lo,low,ltv=extremum(values,p,radius,cap,-1);hi,high,htv=extremum(values,p,radius,cap,1)\n return dict(values=values,p=p,radius=radius,cap=cap,baseline=sum(v*w for v,w in zip(values,p)),minimum=low,maximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\ndef fixed_aipw(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  rr.append(dict(id=r.get('id',str(i)),a=None if r.get('a')is None else int(f(r['a'])),**{k:None if r.get(k)is None else f(r[k])for k in ['y','e','mu0','mu1']},w=w,role=r.get('role','analysis'),group=r.get('group','all')))\n return aipw_expected(rr)\ndef fixed_effects(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  y0=None if r.get('y0')is None else f(r['y0']);y1=None if r.get('y1')is None else f(r['y1']);A=r.get('a');A=None if A is None else int(f(A));rr.append(dict(id=r.get('id',str(i)),a=A,y0=y0,y1=y1,w=w,effect=None if y0 is None or y1 is None else y1-y0,observed=y1 if A==1 else y0 if A==0 else None))\n complete=[r for r in rr if r['w']>0 and r['effect']is not None];treated=[r for r in complete if r['a']==1];arms=[mean([r['observed']for r in rr if r['a']==A and r['observed']is not None and r['w']>0],[r['w']for r in rr if r['a']==A and r['observed']is not None and r['w']>0])for A in [0,1]]\n return dict(rows=rr,completeRows=len(complete),ATE=mean([r['effect']for r in complete],[r['w']for r in complete]),ATT=mean([r['effect']for r in treated],[r['w']for r in treated]),observedContrast=None if None in arms else arms[1]-arms[0])\ndef fixed_representation(a):\n atoms=[dict(id=r['id'],p=f(r['probability']),y0=f(r['y0']),y1=f(r['y1']),e=f(r['e']),phi=r['phi'])for r in a['atoms']];groups=[];ATE=sum(r['p']*(r['y1']-r['y0'])for r in atoms)\n if sum(r['p']for r in atoms)!=1:raise ValueError('law-probabilities-must-sum-one')\n for phi in dict.fromkeys(r['phi']for r in atoms if r['p']):\n  use=[r for r in atoms if r['phi']==phi and r['p']];mass=sum(r['p']for r in use);t=sum(r['p']*r['e']for r in use);m1=sum(r['p']*r['e']*r['y1']for r in use)/t if t else None;m0=sum(r['p']*(1-r['e'])*r['y0']for r in use)/(mass-t)if mass!=t else None;groups.append(dict(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=None if m0 is None or m1 is None else m1-m0))\n adjusted=None if any(r['contrast']is None for r in groups)else sum(r['mass']*r['contrast']for r in groups)\n return dict(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=None if adjusted is None else adjusted-ATE)\ndef fixed_validate(a):\n rr=a['rows'];cc=a['candidates'];groups=a['requiredGroups'];eligible=[r.get('y')is not None and f(r.get('weight',1))>0 and r['role']not in ['excluded','unused']and all(c['predictions'][i]is not None for c in cc)for i,r in enumerate(rr)];out=[]\n for c in cc:\n  def risk(ids):return mean([(f(c['predictions'][i])-f(rr[i]['y']))**2 for i in ids],[f(rr[i].get('weight',1))for i in ids])\n  vr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='validation'];tr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='test'];gv=[risk([i for i in vr if rr[i]['group']==g])for g in groups];worst=None if None in gv else max(gv);criterion=risk(vr)if a.get('criterion','worst-group')=='mean'else worst;out.append(dict(id=c['id'],validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=criterion))\n available=[i for i,z in enumerate(out)if z['criterion']is not None];selected=min(available,key=lambda i:(out[i]['criterion'],i))if available else None\n return dict(commonEligibility=eligible,groups=groups,candidates=out,selectedIndex=selected,selectedID=None if selected is None else out[selected]['id'],selectedScore=None if selected is None else out[selected]['criterion'])\ndef fixed_operation(api,a):return fixed_effects(a)if api=='effects'else fixed_aipw(a)if api=='aipw'else fixed_representation(a)if api=='representation'else fixed_robust(a)if api=='robust'else fixed_validate(a)if api=='validate'else fixed_source(a['kind'])\ndef report_values(api,z):\n summary=[];series=[]\n def add(k,v,u):summary.append((k,v,u))\n if api=='effects':\n  for k in ['completeRows','ATE','ATT','observedContrast']:add(k,z[k],'rows'if k=='completeRows'else'constructed outcome units')\n  series=[('known constructed effects',[(i+1,r['effect'])for i,r in enumerate(z['rows'])])]\n elif api=='aipw':\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast']:add(k,z['overall'][k].get('value'),'constructed outcome units')\n  add('eligibleRows',z['overall']['rows'],'rows');series=[('AIPW row scores',[(i+1,r['score'].get('value'))for i,r in enumerate(z['rows'])])]\n elif api=='representation':\n  for k in ['ATE','adjustedContrast','bias']:add(k,z[k],'constructed outcome units')\n  series=[('representation contrasts',[(i+1,r['contrast'])for i,r in enumerate(z['groups'])])]\n elif api=='robust':\n  for k in ['baseline','minimum','maximum']:add(k,z[k],'declared value units')\n  for k in ['minTV','maxTV']:add(k,z[k],'probability mass')\n  series=[('minimum weights',[(i+1,v)for i,v in enumerate(z['minWeights'])]),('maximum weights',[(i+1,v)for i,v in enumerate(z['maxWeights'])])]\n elif api=='validate':\n  add('selectedIndex',z['selectedIndex'],'zero-based candidate index');add('selectedScore',z['selectedScore'],'squared outcome units');series=[('validation criterion',[(i+1,c['criterion'])for i,c in enumerate(z['candidates'])])]\n else:\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum']:add(k,z[k],z['unit'])\n  add('sourceRows',len(z['rows']),'analytical records');add('eligibleRows',sum(r['eligible']for r in z['rows']),'records');series=[('actual out-of-fold scores',[(i+1,r['score'])for i,r in enumerate(z['rows'])])]\n return summary,series\n\nFIXED={'api': 'validate', 'variant': 'worst-group', 'title': 'Validation-only worst-group selection', 'input': {'rows': [{'id': 'G', 'y': '0', 'weight': '9', 'role': 'validation', 'group': 'G'}, {'id': 'H', 'y': '0', 'weight': '1', 'role': 'validation', 'group': 'H'}, {'id': 'T', 'y': '0', 'weight': '1', 'role': 'test', 'group': 'G'}], 'candidates': [{'id': 'A', 'predictions': ['1', '3', '0']}, {'id': 'B', 'predictions': ['2', '2', '5']}], 'requiredGroups': ['G', 'H'], 'criterion': 'worst-group'}, 'expectedFailure': False}\n\ndef fixed_svg(points,title):\n good=[p for p in points if p['y'] is not None];xx=[float(p['x'])for p in good];yy=[float(p['y'])for p in good];xmin=min(xx)if xx else 0;xmax=max(xx)if xx else 1;ymin=min([0]+yy);ymax=max([0]+yy)\n if xmin==xmax:xmin-=.5;xmax+=.5\n if ymin==ymax:ymin-=.5;ymax+=.5\n pad=(ymax-ymin)*.08;ymin-=pad;ymax+=pad;X=lambda x:82+(float(x)-xmin)/(xmax-xmin)*608;Y=lambda y:354-(float(y)-ymin)/(ymax-ymin)*290;e=html.escape\n out=['<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"'+e(title)+'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">'+e(title)+'</text>']\n for j in range(5):\n  y=ymin+(ymax-ymin)*j/4;x=xmin+(xmax-xmin)*j/4;out.append('<line x1=\"82\" y1=\"'+str(Y(y))+'\" x2=\"690\" y2=\"'+str(Y(y))+'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"'+str(Y(y)+4)+'\" text-anchor=\"end\">'+format(y,'.3g')+'</text><text x=\"'+str(X(x))+'\" y=\"380\" text-anchor=\"middle\">'+format(x,'.3g')+'</text>')\n series=list(dict.fromkeys(p['series']for p in good))\n for j,s in enumerate(series):\n  pp=[p for p in good if p['series']==s];color=['#0f766e','#c76622','#4f46e5','#b23857'][j%4];out.append('<polyline fill=\"none\" stroke=\"'+color+'\" stroke-width=\"1.5\" points=\"'+' '.join(format(X(p['x']),'.6f')+','+format(Y(p['y']),'.6f')for p in pp)+'\"/>')\n  for p in pp:out.append('<circle cx=\"'+format(X(p['x']),'.6f')+'\" cy=\"'+format(Y(p['y']),'.6f')+'\" r=\"2.6\" fill=\"'+color+'\"><title>'+e(s+': '+str(p['y']))+'</title></circle>')\n  out.append('<text x=\"'+str(82+(j%2)*310)+'\" y=\"'+str(432+(j//2)*23)+'\" fill=\"'+color+'\">'+e(s)+'</text>')\n out.append('<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>');return''.join(out)\n\nOUT=Path(sys.argv[1]);OUT.mkdir(parents=True,exist_ok=False)\nresult=fixed_operation(FIXED['api'],FIXED['input']);summary,series=report_values(FIXED['api'],result)\ndef encode(v):\n if isinstance(v,Q):return str(v)\n if isinstance(v,dict):return{k:encode(x)for k,x in v.items()}\n if isinstance(v,(list,tuple)):return[encode(x)for x in v]\n return v\n(OUT/'full.json').write_text(json.dumps(dict(arithmetic='Exact Fraction fixed examples; factualsource and knownhypotheticallaws separate; empiricalTV notCI',result=encode(result)),ensure_ascii=False,indent=2)+'\\n',encoding='utf8')\nsummaryRows=[dict(metric=m,value=''if v is None else str(int(v))if isinstance(v,bool)else str(v),unit=u,defined=int(v is not None))for m,v,u in summary]\npoints=[dict(series=name,index=i,x=str(x),y=''if y is None else str(y),defined=int(y is not None))for name,pp in series for i,(x,y)in enumerate(pp)]\nfor name,rows in [('summary',summaryRows),('plot-points',points)]:\n with(OUT/(name+'.csv')).open('w',encoding='utf8',newline='')as f:writer=csv.DictWriter(f,fieldnames=list(rows[0]));writer.writeheader();writer.writerows(rows)\n(OUT/'plot.svg').write_text(fixed_svg([dict(p,x=number(p['x']),y=None if not p['defined']else number(p['y']))for p in points],FIXED['title']),encoding='utf8');print(FIXED['api']+'/'+FIXED['variant'])\n",
        "returnCode": 0,
        "stdout": "validate/worst-group\r\n",
        "stderr": "",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/python-validate-worst-group-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/validate-worst-group-input.json",
            "sha256": "a54ce30e06814d675e6ebdf369975acab7427924c1b82633b78c6d5e4d8ee842",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/python-validate-worst-group-result/full.json",
            "sha256": "7039faa4bcddf4d234cdd56e4b3bf95c521b146956df6da053403f017958548a",
            "bytes": 841
          },
          {
            "file": "ml21-code/python-validate-worst-group-result/plot-points.csv",
            "sha256": "e5403a596fe5ec9f884fe4b20be54f72a362e96ee1d182a6d24f1f1ee4d22af2",
            "bytes": 86
          },
          {
            "file": "ml21-code/python-validate-worst-group-result/plot.svg",
            "sha256": "b7128a720cf2adcc69c80d6e0ea4fb4767984696056c34d5b8ccc9c2c7caf3de",
            "bytes": 1692
          },
          {
            "file": "ml21-code/python-validate-worst-group-result/summary.csv",
            "sha256": "4a80d5d26d0341973f29cebc313989de2ef2ac46bb84350790d0725465c5e2ba",
            "bytes": 114
          },
          {
            "file": "ml21-code/python-validate-worst-group-result/stdout.txt",
            "sha256": "f0ed9dcb2eab3d2f72a8055e7f2f975c376deddbd24228b4d30bc5727318dc32",
            "bytes": 22
          },
          {
            "file": "ml21-code/python-validate-worst-group-result/stderr.txt",
            "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "bytes": 0
          }
        ],
        "summaryRows": [
          {
            "metric": "selectedIndex",
            "value": "1",
            "unit": "zero-based candidate index",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "1",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "selectedScore",
            "value": "4",
            "unit": "squared outcome units",
            "defined": "true",
            "rawValue": "4",
            "exactFraction": "4",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          }
        ],
        "plotRows": [
          {
            "series": "validation criterion",
            "index": 0,
            "x": "1",
            "y": "9",
            "defined": true,
            "xExact": "1",
            "yExact": "9"
          },
          {
            "series": "validation criterion",
            "index": 1,
            "x": "2",
            "y": "4",
            "defined": true,
            "xExact": "2",
            "yExact": "4"
          }
        ],
        "plotFile": "ml21-code/python-validate-worst-group-result/plot.svg",
        "fullResultFile": "ml21-code/python-validate-worst-group-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "absent-required-group": {
        "api": "validate",
        "variant": "absent-required-group",
        "language": "python",
        "title": "A missing validation group is undefined risk",
        "input": {
          "rows": [
            {
              "id": "G",
              "y": "0",
              "weight": "9",
              "role": "validation",
              "group": "G"
            },
            {
              "id": "H",
              "y": "0",
              "weight": "1",
              "role": "test",
              "group": "H"
            },
            {
              "id": "T",
              "y": "0",
              "weight": "1",
              "role": "test",
              "group": "G"
            }
          ],
          "candidates": [
            {
              "id": "A",
              "predictions": [
                "1",
                "3",
                "0"
              ]
            },
            {
              "id": "B",
              "predictions": [
                "2",
                "2",
                "5"
              ]
            }
          ],
          "requiredGroups": [
            "G",
            "H"
          ],
          "criterion": "worst-group"
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/validate-absent-required-group.py",
        "codeSHA256": "f87dec58099511032cb42b4073bc3c99689fac882a0ce614dc90ba67ac0125a1",
        "code": "\"\"\"ML21 complete standalone fixed example, not a general API validator.\nRun: python this-file.py NEW-OUTDIR\nFixed literal input is also supplied as matching human-readable JSON.\nRealdata reads3factual CSVs under data/, using owned public scalar code byvalue.\nNo production engine/model/checker/computed answers are imported.\n\"\"\"\nfrom pathlib import Path\nfrom fractions import Fraction as F\nfrom collections import defaultdict,Counter\nimport csv,json,hashlib,sys,html,math\nif hasattr(sys,'set_int_max_str_digits'):sys.set_int_max_str_digits(200000)\ndef f(v):return v if isinstance(v,F)else F(str(v))\ndef ck(v,label=''):\n if not v:raise AssertionError(label)\ndef maybe(v):return dict(defined=False)if v is None else dict(defined=True,value=v)\ndef mean(v,w):return sum((a*b for a,b in zip(v,w)),F(0))/sum(w,F(0))if sum(w,F(0))else None\ndef extremum(values,p,radius,cap,sign):\n q=list(p);budget=radius;upper=[min(F(1),cap*x)for x in p]\n order=sorted(range(len(values)),key=lambda i:(sign*values[i],i))\n donors=list(order);receivers=list(reversed(order));left=right=0\n while budget>0 and left<len(q)and right<len(q):\n  i,j=donors[left],receivers[right]\n  if sign*values[j]<=sign*values[i]:break\n  move=min(q[i],upper[j]-q[j],budget)\n  if move>0:q[i]-=move;q[j]+=move;budget-=move\n  if q[i]==0:left+=1\n  if q[j]==upper[j]:right+=1\n  if move==0 and q[i]>0 and q[j]<upper[j]:raise AssertionError('transport made no progress')\n return q,sum(a*b for a,b in zip(q,values)),sum(abs(a-b)for a,b in zip(q,p))/2\n\ndef fixed_source(kind):\n selectedKind=kind\n S=Path(__file__).resolve().parent/\"data\"\n def read(n):\n  with(S/n).open(encoding=\"utf8\",newline=\"\")as stream:return list(csv.DictReader(stream))\n def source_rows():\n  rows=read('actual48-country-revised-original-2023-2024.csv');lk={(r['countryISO3'],r['indicatorID'],r['date']):r for r in rows};isos=sorted({r['countryISO3']for r in rows});g=sorted(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])for i in isos);median=(g[7]+g[8])/2\n  models={'country':[dict(id=i+':2024',originalID=i,sourceRow=i,foldGroup='country:'+i,a=int(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])>median),x=[f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])/10000,f(lk[i,'FP.CPI.TOTL.ZG','2023']['originalValueToken'])/10],y=f(lk[i,'NY.GDP.MKTP.KD.ZG','2024']['originalValueToken']))for i in isos]}\n  native=read('actual38408-NSW-all15-fields.csv');pairs=defaultdict(dict)\n  for r in native:pairs[str(int(f(r['id'])))][int(f(r['year']))]=r\n  people=[]\n  for ID,pair in pairs.items():\n   pre,post=pair[1975],pair[1978];ck(pre['treated']==post['treated'],'native stable treatment');sel=int(f(pre['experimental']))==1;ck(sel==(pre['treated']!='.'),'no recode missingtreatment')\n   if sel:people.append(dict(id='nsw-id:'+ID,originalID=ID,sourceRow=int(post['sourceRow']),foldGroup='nsw-id:'+ID,a=int(f(pre['treated'])),x=[F.from_float(float(pre['age']))/10,F.from_float(float(pre['educ']))/10,F.from_float(float(pre['re74']))/10000],y=F.from_float(float(post['re']))/10000))\n  models['person']=people;company=[]\n  for r in read('actual410-NJPA-all46-fields.csv'):\n   ys=[]\n   for suffix in['','2']:\n    v=[None if r[k+suffix]=='.'else f(r[k+suffix])for k in['EMPFT','EMPPT','NMGRS']];ys.append(None if None in v else v[0]+v[1]/2+v[2])\n   company.append(dict(id='njpa-row:'+r['sourceRow'],originalID=r['SHEET'],sourceRow=int(r['sourceRow']),foldGroup='sheet:'+r['SHEET'],a=int(r['STATE']),x=[None if ys[0]is None else ys[0]/10,None if r['CHAIN']=='.'else F(int(f(r['CHAIN'])==2)),None if r['CO_OWNED']=='.'else f(r['CO_OWNED'])],y=None if None in ys else ys[1]-ys[0]))\n  models['company']=company\n  for kind,rr in models.items():\n   groups=sorted({r['foldGroup']for r in rr},key=lambda g:(hashlib.sha256(('ML21|'+kind+'|'+g).encode()).digest(),g));folds={g:i%4 for i,g in enumerate(groups)}\n   for r in rr:r['fold']=folds[r['foldGroup']];r['eligible']=r['y']is not None and None not in r['x'];r['role']='analysis'if r['eligible']else'excluded';r['w']=F(1)\n  return models\n MODELS=source_rows()\n def solve(A,b):\n  n=len(b);M=[list(a)+[v]for a,v in zip(A,b)];pivot=[];i=0\n  for j in range(n):\n   k=next((k for k in range(i,n)if M[k][j]!=0),None)\n   if k is None:continue\n   M[i],M[k]=M[k],M[i];v=M[i][j];M[i]=[z/v for z in M[i]]\n   for k in range(n):\n    if k!=i:\n     v=M[k][j];M[k]=[a-v*b for a,b in zip(M[k],M[i])]\n   pivot.append(j);i+=1\n   if i==n:break\n  beta=[F(0)]*n\n  for i,j in enumerate(pivot):beta[j]=M[i][-1]\n  null=[]\n  for j in range(n):\n   if j in pivot:continue\n   v=[F(0)]*n;v[j]=F(1)\n   for i,k in enumerate(pivot):v[k]=-M[i][j]\n   null.append(v)\n  return beta,null,len(pivot)\n def source_expected(a):\n  base=MODELS[a.get('kind','person')];rep=a.get('representation','full');rr=[]\n  for r in base:\n   full=r['x'];x=full if rep=='full'else[]if rep=='constant'else[F(r['a'])]if a.get('kind','person')=='country'else[F(full[1]>F(6,5)),F(full[2]>0)]if a.get('kind','person')=='person'else[full[1]]\n   group=('higher-GDP-category'if r['a']else'lower-GDP-category')if a.get('kind','person')=='country'else('schooling-over12'if full[1]>F(6,5)else'schooling-at-most12')if a.get('kind','person')=='person'else('chain2'if full[1]else'other-chains');rr.append(dict(r,x=x,fullX=full,group=group))\n  eligible=[r for r in rr if r['eligible']];limit=a.get('trainingLimit',len(eligible));keep={r['id']for r in eligible[:limit]};lam=f(a.get('lambda','1/100'));eps=f(a.get('clip','1/20'));nuisance=[];out={};dimension=len(rr[0]['x'])+1\n  for fold in range(4):\n   tr=[r for r in rr if r['eligible']and r['id']in keep and r['fold']!=fold];fits={};means=[sum(r['x'][j]for r in tr)/len(tr)for j in range(dimension-1)]if tr else[];scales=[max(r['x'][j]for r in tr)-min(r['x'][j]for r in tr)or F(1)for j in range(dimension-1)]if tr else[]\n   def z(r):return None if not tr or None in r['x']else[F(1)]+[(v-m)/s for v,m,s in zip(r['x'],means,scales)]\n   for name in['e','mu0','mu1']:\n    use=[r for r in tr if name=='e'or r['a']==int(name[-1])]\n    if not use:fits[name]=dict(defined=False);continue\n    Z=[z(r)for r in use];Y=[F(r['a'])if name=='e'else r['y']for r in use];N=len(use);A=[[sum(v[j]*v[k]for v in Z)/N+(lam if j==k and j else 0)for k in range(dimension)]for j in range(dimension)];b=[sum(y*v[j]for v,y in zip(Z,Y))/N for j in range(dimension)];beta,null,rank=solve(A,b);minimum=sum((sum(b*z for b,z in zip(beta,v))-y)**2 for v,y in zip(Z,Y))/(2*N)+lam*sum(v*v for v in beta[1:])/2;fits[name]=dict(defined=True,trainingIDs=[r['id']for r in use],rows=N,rank=rank,unique=rank==dimension,theta=beta,nullspace=null,minimumObjective=minimum,meanX=means,scales=scales)\n   nuisance.append(dict(fold=fold,complementRows=len(tr),fits=fits))\n   for r in rr:\n    if r['fold']!=fold:continue\n    zz=z(r);pred={name:None if zz is None or not fit['defined']else sum(v*b for v,b in zip(zz,fit['theta']))for name,fit in fits.items()};eRaw=pred['e'];e=None if eRaw is None else max(eps,min(1-eps,eRaw));inv={name:zz is not None and fit['defined']and all(sum(a*b for a,b in zip(v,zz))==0 for v in fit['nullspace'])for name,fit in fits.items()};out[r['id']]=dict(r,mu0=pred['mu0'],mu1=pred['mu1'],e=e,eRaw=eRaw,propensityClipped=e is not None and e!=eRaw,nuisancePredictionDefined=all(v is not None for v in pred.values()),queryInvariantAcrossMinimizers=inv)\n  return rr,nuisance,[out[r['id']]for r in rr]\n def aipw_expected(rows,role='all'):\n  out=[]\n  for r in rows:\n   reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n   if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n   plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n  def summary(use):\n   ww=[r['w']for r in use];arms=[]\n   for A in[0,1]:\n    arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n   return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n  use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n raw,nuisance,oo=source_expected(dict(kind=selectedKind,representation='full'));scores=aipw_expected(oo);use=[r for r in scores['rows']if r['eligible']];values=[r['score']['value']for r in use];p=[F(1,len(use))for _ in use];lo,low,ltv=extremum(values,p,F(1,10),F(2),-1);hi,high,htv=extremum(values,p,F(1,10),F(2),1);fits=[]\n for n in nuisance:\n  for name,z in n['fits'].items():fits.append(dict(fold=n['fold'],fit=name,trainingIDs=z['trainingIDs'],rows=z['rows'],rank=z['rank'],unique=z['unique'],theta=z['theta'],minimumObjective=z['minimumObjective'],meanX=z['meanX'],scales=z['scales']))\n rr=[]\n for r in scores['rows']:rr.append(dict(id=r['id'],sourceRow=r['sourceRow'],originalID=r['originalID'],foldGroup=r['foldGroup'],fold=r['fold'],a=r['a'],y=r['y'],x=r['fullX'],eligible=r['eligible'],eRaw=r['eRaw'],e=r['e'],mu0=r['mu0'],mu1=r['mu1'],plugin=r.get('plugin'),score=r['score'].get('value'),IPWContribution=r.get('IPWContribution')))\n unit={'country':'GDP growth contrast, percentage points','person':'native real1978earnings/10000','company':'post-minus-pre FTE employees'}[selectedKind]\n return dict(kind=selectedKind,unit=unit,rows=rr,fits=fits,AIPW=scores['overall']['AIPW'].get('value'),plugin=scores['overall']['plugin'].get('value'),IPW=scores['overall']['IPW'].get('value'),normalizedIPWContrast=scores['overall']['normalizedIPWContrast'].get('value'),stressMinimum=low,stressMaximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\n\ndef aipw_expected(rows,role='all'):\n out=[]\n for r in rows:\n  reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n  if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n  plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n def summary(use):\n  ww=[r['w']for r in use];arms=[]\n  for A in[0,1]:\n   arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n  return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n\n# Owned standalone fixed-example adapters; no production engine import.\nQ=F\nnumber=f\ndef fixed_robust(a):\n values=list(map(f,a['values']));p=list(map(f,a.get('probabilities',[F(1,len(values))for _ in values])));radius=f(a.get('radius','1/10'));cap=f(a.get('cap',2))\n if cap<1 or not 0<=radius<=1:raise ValueError('invalid-robust-constraint')\n lo,low,ltv=extremum(values,p,radius,cap,-1);hi,high,htv=extremum(values,p,radius,cap,1)\n return dict(values=values,p=p,radius=radius,cap=cap,baseline=sum(v*w for v,w in zip(values,p)),minimum=low,maximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\ndef fixed_aipw(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  rr.append(dict(id=r.get('id',str(i)),a=None if r.get('a')is None else int(f(r['a'])),**{k:None if r.get(k)is None else f(r[k])for k in ['y','e','mu0','mu1']},w=w,role=r.get('role','analysis'),group=r.get('group','all')))\n return aipw_expected(rr)\ndef fixed_effects(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  y0=None if r.get('y0')is None else f(r['y0']);y1=None if r.get('y1')is None else f(r['y1']);A=r.get('a');A=None if A is None else int(f(A));rr.append(dict(id=r.get('id',str(i)),a=A,y0=y0,y1=y1,w=w,effect=None if y0 is None or y1 is None else y1-y0,observed=y1 if A==1 else y0 if A==0 else None))\n complete=[r for r in rr if r['w']>0 and r['effect']is not None];treated=[r for r in complete if r['a']==1];arms=[mean([r['observed']for r in rr if r['a']==A and r['observed']is not None and r['w']>0],[r['w']for r in rr if r['a']==A and r['observed']is not None and r['w']>0])for A in [0,1]]\n return dict(rows=rr,completeRows=len(complete),ATE=mean([r['effect']for r in complete],[r['w']for r in complete]),ATT=mean([r['effect']for r in treated],[r['w']for r in treated]),observedContrast=None if None in arms else arms[1]-arms[0])\ndef fixed_representation(a):\n atoms=[dict(id=r['id'],p=f(r['probability']),y0=f(r['y0']),y1=f(r['y1']),e=f(r['e']),phi=r['phi'])for r in a['atoms']];groups=[];ATE=sum(r['p']*(r['y1']-r['y0'])for r in atoms)\n if sum(r['p']for r in atoms)!=1:raise ValueError('law-probabilities-must-sum-one')\n for phi in dict.fromkeys(r['phi']for r in atoms if r['p']):\n  use=[r for r in atoms if r['phi']==phi and r['p']];mass=sum(r['p']for r in use);t=sum(r['p']*r['e']for r in use);m1=sum(r['p']*r['e']*r['y1']for r in use)/t if t else None;m0=sum(r['p']*(1-r['e'])*r['y0']for r in use)/(mass-t)if mass!=t else None;groups.append(dict(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=None if m0 is None or m1 is None else m1-m0))\n adjusted=None if any(r['contrast']is None for r in groups)else sum(r['mass']*r['contrast']for r in groups)\n return dict(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=None if adjusted is None else adjusted-ATE)\ndef fixed_validate(a):\n rr=a['rows'];cc=a['candidates'];groups=a['requiredGroups'];eligible=[r.get('y')is not None and f(r.get('weight',1))>0 and r['role']not in ['excluded','unused']and all(c['predictions'][i]is not None for c in cc)for i,r in enumerate(rr)];out=[]\n for c in cc:\n  def risk(ids):return mean([(f(c['predictions'][i])-f(rr[i]['y']))**2 for i in ids],[f(rr[i].get('weight',1))for i in ids])\n  vr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='validation'];tr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='test'];gv=[risk([i for i in vr if rr[i]['group']==g])for g in groups];worst=None if None in gv else max(gv);criterion=risk(vr)if a.get('criterion','worst-group')=='mean'else worst;out.append(dict(id=c['id'],validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=criterion))\n available=[i for i,z in enumerate(out)if z['criterion']is not None];selected=min(available,key=lambda i:(out[i]['criterion'],i))if available else None\n return dict(commonEligibility=eligible,groups=groups,candidates=out,selectedIndex=selected,selectedID=None if selected is None else out[selected]['id'],selectedScore=None if selected is None else out[selected]['criterion'])\ndef fixed_operation(api,a):return fixed_effects(a)if api=='effects'else fixed_aipw(a)if api=='aipw'else fixed_representation(a)if api=='representation'else fixed_robust(a)if api=='robust'else fixed_validate(a)if api=='validate'else fixed_source(a['kind'])\ndef report_values(api,z):\n summary=[];series=[]\n def add(k,v,u):summary.append((k,v,u))\n if api=='effects':\n  for k in ['completeRows','ATE','ATT','observedContrast']:add(k,z[k],'rows'if k=='completeRows'else'constructed outcome units')\n  series=[('known constructed effects',[(i+1,r['effect'])for i,r in enumerate(z['rows'])])]\n elif api=='aipw':\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast']:add(k,z['overall'][k].get('value'),'constructed outcome units')\n  add('eligibleRows',z['overall']['rows'],'rows');series=[('AIPW row scores',[(i+1,r['score'].get('value'))for i,r in enumerate(z['rows'])])]\n elif api=='representation':\n  for k in ['ATE','adjustedContrast','bias']:add(k,z[k],'constructed outcome units')\n  series=[('representation contrasts',[(i+1,r['contrast'])for i,r in enumerate(z['groups'])])]\n elif api=='robust':\n  for k in ['baseline','minimum','maximum']:add(k,z[k],'declared value units')\n  for k in ['minTV','maxTV']:add(k,z[k],'probability mass')\n  series=[('minimum weights',[(i+1,v)for i,v in enumerate(z['minWeights'])]),('maximum weights',[(i+1,v)for i,v in enumerate(z['maxWeights'])])]\n elif api=='validate':\n  add('selectedIndex',z['selectedIndex'],'zero-based candidate index');add('selectedScore',z['selectedScore'],'squared outcome units');series=[('validation criterion',[(i+1,c['criterion'])for i,c in enumerate(z['candidates'])])]\n else:\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum']:add(k,z[k],z['unit'])\n  add('sourceRows',len(z['rows']),'analytical records');add('eligibleRows',sum(r['eligible']for r in z['rows']),'records');series=[('actual out-of-fold scores',[(i+1,r['score'])for i,r in enumerate(z['rows'])])]\n return summary,series\n\nFIXED={'api': 'validate', 'variant': 'absent-required-group', 'title': 'A missing validation group is undefined risk', 'input': {'rows': [{'id': 'G', 'y': '0', 'weight': '9', 'role': 'validation', 'group': 'G'}, {'id': 'H', 'y': '0', 'weight': '1', 'role': 'test', 'group': 'H'}, {'id': 'T', 'y': '0', 'weight': '1', 'role': 'test', 'group': 'G'}], 'candidates': [{'id': 'A', 'predictions': ['1', '3', '0']}, {'id': 'B', 'predictions': ['2', '2', '5']}], 'requiredGroups': ['G', 'H'], 'criterion': 'worst-group'}, 'expectedFailure': False}\n\ndef fixed_svg(points,title):\n good=[p for p in points if p['y'] is not None];xx=[float(p['x'])for p in good];yy=[float(p['y'])for p in good];xmin=min(xx)if xx else 0;xmax=max(xx)if xx else 1;ymin=min([0]+yy);ymax=max([0]+yy)\n if xmin==xmax:xmin-=.5;xmax+=.5\n if ymin==ymax:ymin-=.5;ymax+=.5\n pad=(ymax-ymin)*.08;ymin-=pad;ymax+=pad;X=lambda x:82+(float(x)-xmin)/(xmax-xmin)*608;Y=lambda y:354-(float(y)-ymin)/(ymax-ymin)*290;e=html.escape\n out=['<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"'+e(title)+'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">'+e(title)+'</text>']\n for j in range(5):\n  y=ymin+(ymax-ymin)*j/4;x=xmin+(xmax-xmin)*j/4;out.append('<line x1=\"82\" y1=\"'+str(Y(y))+'\" x2=\"690\" y2=\"'+str(Y(y))+'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"'+str(Y(y)+4)+'\" text-anchor=\"end\">'+format(y,'.3g')+'</text><text x=\"'+str(X(x))+'\" y=\"380\" text-anchor=\"middle\">'+format(x,'.3g')+'</text>')\n series=list(dict.fromkeys(p['series']for p in good))\n for j,s in enumerate(series):\n  pp=[p for p in good if p['series']==s];color=['#0f766e','#c76622','#4f46e5','#b23857'][j%4];out.append('<polyline fill=\"none\" stroke=\"'+color+'\" stroke-width=\"1.5\" points=\"'+' '.join(format(X(p['x']),'.6f')+','+format(Y(p['y']),'.6f')for p in pp)+'\"/>')\n  for p in pp:out.append('<circle cx=\"'+format(X(p['x']),'.6f')+'\" cy=\"'+format(Y(p['y']),'.6f')+'\" r=\"2.6\" fill=\"'+color+'\"><title>'+e(s+': '+str(p['y']))+'</title></circle>')\n  out.append('<text x=\"'+str(82+(j%2)*310)+'\" y=\"'+str(432+(j//2)*23)+'\" fill=\"'+color+'\">'+e(s)+'</text>')\n out.append('<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>');return''.join(out)\n\nOUT=Path(sys.argv[1]);OUT.mkdir(parents=True,exist_ok=False)\nresult=fixed_operation(FIXED['api'],FIXED['input']);summary,series=report_values(FIXED['api'],result)\ndef encode(v):\n if isinstance(v,Q):return str(v)\n if isinstance(v,dict):return{k:encode(x)for k,x in v.items()}\n if isinstance(v,(list,tuple)):return[encode(x)for x in v]\n return v\n(OUT/'full.json').write_text(json.dumps(dict(arithmetic='Exact Fraction fixed examples; factualsource and knownhypotheticallaws separate; empiricalTV notCI',result=encode(result)),ensure_ascii=False,indent=2)+'\\n',encoding='utf8')\nsummaryRows=[dict(metric=m,value=''if v is None else str(int(v))if isinstance(v,bool)else str(v),unit=u,defined=int(v is not None))for m,v,u in summary]\npoints=[dict(series=name,index=i,x=str(x),y=''if y is None else str(y),defined=int(y is not None))for name,pp in series for i,(x,y)in enumerate(pp)]\nfor name,rows in [('summary',summaryRows),('plot-points',points)]:\n with(OUT/(name+'.csv')).open('w',encoding='utf8',newline='')as f:writer=csv.DictWriter(f,fieldnames=list(rows[0]));writer.writeheader();writer.writerows(rows)\n(OUT/'plot.svg').write_text(fixed_svg([dict(p,x=number(p['x']),y=None if not p['defined']else number(p['y']))for p in points],FIXED['title']),encoding='utf8');print(FIXED['api']+'/'+FIXED['variant'])\n",
        "returnCode": 0,
        "stdout": "validate/absent-required-group\r\n",
        "stderr": "",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/python-validate-absent-required-group-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/validate-absent-required-group-input.json",
            "sha256": "9da49b9053c32c6409c26b16f88a1753fcf77919999b582e9680b30f626d62e2",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/python-validate-absent-required-group-result/full.json",
            "sha256": "f94451d9b2d52204fa5be700b042c1dd4fe2f3df319195eb71c6273c5a24f6f3",
            "bytes": 854
          },
          {
            "file": "ml21-code/python-validate-absent-required-group-result/plot-points.csv",
            "sha256": "084c94833a0d7726fd640d8acba4caa8c54a3abaf013f1afb8301ede88639bd9",
            "bytes": 84
          },
          {
            "file": "ml21-code/python-validate-absent-required-group-result/plot.svg",
            "sha256": "6ac63671410eb9988f16e8b7ee3506a15434cf726de87b5ac83827dffd06e505",
            "bytes": 1314
          },
          {
            "file": "ml21-code/python-validate-absent-required-group-result/summary.csv",
            "sha256": "bfe2eff5b6729b672d4e72165e5d0d66d998ceddc702883318c93edfeb920dd0",
            "bytes": 112
          },
          {
            "file": "ml21-code/python-validate-absent-required-group-result/stdout.txt",
            "sha256": "a807e86f5130822ee67cbd9fa8597f7c8949a3954a6b1653dd600f4f80b17edf",
            "bytes": 32
          },
          {
            "file": "ml21-code/python-validate-absent-required-group-result/stderr.txt",
            "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "bytes": 0
          }
        ],
        "summaryRows": [
          {
            "metric": "selectedIndex",
            "value": "undefined",
            "unit": "zero-based candidate index",
            "defined": "false",
            "rawValue": "",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "selectedScore",
            "value": "undefined",
            "unit": "squared outcome units",
            "defined": "false",
            "rawValue": "",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          }
        ],
        "plotRows": [
          {
            "series": "validation criterion",
            "index": 0,
            "x": "1",
            "y": "",
            "defined": false,
            "xExact": "1",
            "yExact": ""
          },
          {
            "series": "validation criterion",
            "index": 1,
            "x": "2",
            "y": "",
            "defined": false,
            "xExact": "2",
            "yExact": ""
          }
        ],
        "plotFile": "ml21-code/python-validate-absent-required-group-result/plot.svg",
        "fullResultFile": "ml21-code/python-validate-absent-required-group-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      }
    },
    "r": {
      "worst-group": {
        "api": "validate",
        "variant": "worst-group",
        "language": "r",
        "title": "Validation-only worst-group selection",
        "input": {
          "rows": [
            {
              "id": "G",
              "y": "0",
              "weight": "9",
              "role": "validation",
              "group": "G"
            },
            {
              "id": "H",
              "y": "0",
              "weight": "1",
              "role": "validation",
              "group": "H"
            },
            {
              "id": "T",
              "y": "0",
              "weight": "1",
              "role": "test",
              "group": "G"
            }
          ],
          "candidates": [
            {
              "id": "A",
              "predictions": [
                "1",
                "3",
                "0"
              ]
            },
            {
              "id": "B",
              "predictions": [
                "2",
                "2",
                "5"
              ]
            }
          ],
          "requiredGroups": [
            "G",
            "H"
          ],
          "criterion": "worst-group"
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/validate-worst-group.R",
        "codeSHA256": "e2f4664fdffd5cc4c49f9494e53c6ce5084d70af4e5ffc9a30627356726bfdc7",
        "code": "# ML21 standalone numerical fixed example, not arbitrary exact API validation.\n# Fixed inputs are declared inline and matching JSON provided for reading.\n# Realdata code uses3factual CSVs, R4.5+ toolsSHA256 and numerical ridge.\noptions(digits=17)\nfixedSource<-function(kind){\n selectedKind<-kind\n src<-file.path(dirname(sub('^--file=','',grep('^--file=',commandArgs(),value=TRUE)[1])),'data')\nreadnative<-function(n)read.csv(file.path(src,n),colClasses='character',check.names=FALSE,na.strings=NULL,stringsAsFactors=FALSE)\nnum<-function(x){v<-suppressWarnings(as.numeric(x));v[x%in%c('','.')] <- NA_real_;v}\nsha<-function(s){tf<-tempfile('ml21-group-');writeBin(charToRaw(enc2utf8(s)),tf);on.exit(unlink(tf));unname(tools::sha256sum(tf))}\nwb<-readnative('actual48-country-revised-original-2023-2024.csv');iso<-sort(unique(wb$countryISO3))\nlookup<-function(i,code,yr){r<-wb[wb$countryISO3==i&wb$indicatorID==code&wb$date==yr,,drop=FALSE];stopifnot(nrow(r)==1);num(r$originalValueToken)}\ng<-vapply(iso,lookup,numeric(1),code='NY.GDP.PCAP.KD',yr='2023');pi<-vapply(iso,lookup,numeric(1),code='FP.CPI.TOTL.ZG',yr='2023');gy<-vapply(iso,lookup,numeric(1),code='NY.GDP.MKTP.KD.ZG',yr='2024')\ncountry<-list(id=paste0(iso,':2024'),originalID=iso,sourceRow=iso,foldGroup=paste0('country:',iso),a=as.integer(g>median(g)),x=cbind(g/10000,pi/10),y=gy)\npd<-readnative('actual38408-NSW-all15-fields.csv');pre<-pd[pd$year=='1975',,drop=FALSE];post<-pd[match(pre$id,pd$id[pd$year=='1978'])+0,,drop=FALSE]\npostNative<-pd[pd$year=='1978',,drop=FALSE];post<-postNative[match(pre$id,postNative$id),,drop=FALSE]\nstopifnot(nrow(pre)==19204,nrow(post)==19204,all(pre$id==post$id),all(pre$treated==post$treated));take<-num(pre$experimental)==1;stopifnot(all(take==(pre$treated!='.')));pre<-pre[take,,drop=FALSE];post<-post[take,,drop=FALSE]\nperson<-list(id=paste0('nsw-id:',pre$id),originalID=pre$id,sourceRow=post$sourceRow,foldGroup=paste0('nsw-id:',pre$id),a=num(pre$treated),x=cbind(num(pre$age)/10,num(pre$educ)/10,num(pre$re74)/10000),y=num(post$re)/10000)\ncd<-readnative('actual410-NJPA-all46-fields.csv');before<-num(cd$EMPFT)+num(cd$EMPPT)/2+num(cd$NMGRS);after<-num(cd$EMPFT2)+num(cd$EMPPT2)/2+num(cd$NMGRS2)\ncompany<-list(id=paste0('njpa-row:',cd$sourceRow),originalID=cd$SHEET,sourceRow=cd$sourceRow,foldGroup=paste0('sheet:',cd$SHEET),a=num(cd$STATE),x=cbind(before/10,as.integer(num(cd$CHAIN)==2),num(cd$CO_OWNED)),y=after-before)\nmodels<-list(country=country,person=person,company=company)\nfor(kind in names(models)){\n m<-models[[kind]];groups<-unique(m$foldGroup);hash<-vapply(groups,function(g)sha(paste0('ML21|',kind,'|',g)),character(1));ord<-order(hash,groups);folds<-integer(length(groups));folds[ord]<-(seq_along(ord)-1L)%%4L;m$fold<-folds[match(m$foldGroup,groups)];m$eligible<-!is.na(m$y)&rowSums(is.na(m$x))==0;m$role<-ifelse(m$eligible,'analysis','excluded');models[[kind]]<-m\n}\nstopifnot(length(person$id)==722,sum(person$a)==297,sum(models$company$eligible)==384,length(country$id)==16)\nsourcefit<-function(kind,m,rep){\n N<-length(m$id);X<-if(rep=='full')m$x else if(rep=='constant')matrix(numeric(0),nrow=N,ncol=0) else if(kind=='country')matrix(m$a,ncol=1) else if(kind=='person')cbind(as.integer(m$x[,2]>1.2),as.integer(m$x[,3]>0)) else matrix(m$x[,2],ncol=1)\n group<-if(kind=='country')ifelse(m$a==1,'higher-GDP-category','lower-GDP-category')else if(kind=='person')ifelse(m$x[,2]>1.2,'schooling-over12','schooling-at-most12')else ifelse(!is.na(m$x[,2])&m$x[,2]!=0,'chain2','other-chains')\n p<-ncol(X);eRaw<-mu0<-mu1<-rep(NA_real_,N);fits<-list();coords<-list()\n for(fold in 0:3){\n  tr<-which(m$eligible&m$fold!=fold);means<-if(p)colMeans(X[tr,,drop=FALSE])else numeric(0);scales<-if(p)apply(X[tr,,drop=FALSE],2,function(x)diff(range(x)))else numeric(0);scales[scales==0]<-1;Z<-if(p)cbind(1,sweep(sweep(X,2,means,'-'),2,scales,'/'))else matrix(1,nrow=N,ncol=1);hold<-which(m$fold==fold);ok<-rowSums(is.na(Z[hold,,drop=FALSE]))==0\n  for(name in c('e','mu0','mu1')){\n   ix<-if(name=='e')tr else tr[m$a[tr]==if(name=='mu0')0 else 1];target<-if(name=='e')m$a[ix]else m$y[ix];A<-crossprod(Z[ix,,drop=FALSE])/length(ix)+diag(c(0,rep(.01,p)),nrow=p+1);b<-as.vector(crossprod(Z[ix,,drop=FALSE],target))/length(ix);theta<-as.vector(solve(A,b));minimum<-mean((as.vector(Z[ix,,drop=FALSE]%*%theta)-target)^2)/2+.01*sum(theta[-1]^2)/2;v<-as.vector(Z[hold,,drop=FALSE]%*%theta)\n   if(name=='e')eRaw[hold]<-v else if(name=='mu0')mu0[hold]<-v else mu1[hold]<-v\n   fits[[length(fits)+1L]]<-list(fold=fold,name=name,rows=length(ix),rank=p+1,theta=theta,minimumObjective=minimum,trainingIDs=m$id[ix])\n  }\n  coords[[length(coords)+1L]]<-list(fold=fold,mean=means,scale=scales)\n }\n e<-pmax(.05,pmin(.95,eRaw));nuisance<-!is.na(e)&!is.na(mu0)&!is.na(mu1);eligible<-m$eligible&nuisance;plugin<-treated<-control<-ipw<-effective<-score<-rep(NA_real_,N);ix<-which(eligible);plugin[ix]<-mu1[ix]-mu0[ix];treated[ix]<-ifelse(m$a[ix]==1,(m$y[ix]-mu1[ix])/e[ix],0);control[ix]<-ifelse(m$a[ix]==0,(m$y[ix]-mu0[ix])/(1-e[ix]),0);score[ix]<-plugin[ix]+treated[ix]-control[ix];ipw[ix]<-ifelse(m$a[ix]==1,m$y[ix]/e[ix],-m$y[ix]/(1-e[ix]));effective[ix]<-1/ifelse(m$a[ix]==1,e[ix],1-e[ix]);clipped<-!is.na(eRaw)&eRaw!=e\n list(X=X,group=group,meanX=coords,fits=fits,eRaw=eRaw,e=e,mu0=mu0,mu1=mu1,nuisance=nuisance,eligible=eligible,plugin=plugin,treated=treated,control=control,score=score,ipw=ipw,effective=effective,clipped=clipped)\n}\nextreme<-function(values,sign){N<-length(values);p<-rep(1/N,N);q<-p;upper<-pmin(1,2*p);ord<-order(round(sign*values,12),seq_along(values));donor<-ord;receiver<-rev(ord);a<-b<-1L;budget<-.1\n while(budget>1e-14&&a<=N&&b<=N){i<-donor[a];j<-receiver[b];if(sign*values[j]<=sign*values[i]+1e-14)break;move<-min(q[i],upper[j]-q[j],budget);if(move>0){q[i]<-q[i]-move;q[j]<-q[j]+move;budget<-budget-move};if(q[i]<=1e-14)a<-a+1L;if(upper[j]-q[j]<=1e-14)b<-b+1L;if(move<=0&&a<=N&&b<=N&&q[i]>1e-14&&upper[j]-q[j]>1e-14)stop('no transport progress')};list(q=q,objective=sum(q*values),TV=sum(abs(q-p))/2)\n}\n\n m<-models[[selectedKind]];z<-sourcefit(selectedKind,m,'full');ix<-which(z$eligible);v<-z$score[ix];lo<-extreme(v,-1);hi<-extreme(v,1);treated<-ix[m$a[ix]==1];control<-ix[m$a[ix]==0];norm<-sum(m$y[treated]*z$effective[treated])/sum(z$effective[treated])-sum(m$y[control]*z$effective[control])/sum(z$effective[control]);nv<-function(v)if(is.na(v))NULL else unname(v)\n rows<-lapply(seq_along(m$id),function(i)list(id=m$id[i],sourceRow=if(selectedKind=='country')m$sourceRow[i]else as.integer(m$sourceRow[i]),originalID=m$originalID[i],foldGroup=m$foldGroup[i],fold=m$fold[i],a=m$a[i],y=nv(m$y[i]),x=lapply(as.list(m$x[i,]),nv),eligible=z$eligible[i],eRaw=nv(z$eRaw[i]),e=nv(z$e[i]),mu0=nv(z$mu0[i]),mu1=nv(z$mu1[i]),plugin=nv(z$plugin[i]),score=nv(z$score[i]),IPWContribution=nv(z$ipw[i])))\n fits<-lapply(z$fits,function(fit){co<-z$meanX[[fit$fold+1L]];list(fold=fit$fold,fit=fit$name,trainingIDs=as.list(fit$trainingIDs),rows=fit$rows,rank=fit$rank,unique=TRUE,theta=as.list(fit$theta),minimumObjective=fit$minimumObjective,meanX=as.list(co$mean),scales=as.list(co$scale))});unit<-switch(selectedKind,country='GDP growth contrast, percentage points',person='native real1978earnings/10000',company='post-minus-pre FTE employees')\n list(kind=selectedKind,unit=unit,rows=rows,fits=fits,AIPW=mean(v),plugin=mean(z$plugin[ix]),IPW=mean(z$ipw[ix]),normalizedIPWContrast=norm,stressMinimum=lo$objective,stressMaximum=hi$objective,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\n\n# Owned numerical fixed-example adapters; not arbitrary exact input validators.\nnum<-function(v){if(is.null(v))return(NULL);if(is.numeric(v))return(as.numeric(v));s<-strsplit(as.character(v),'/',fixed=TRUE)[[1]];if(length(s)==2)as.numeric(s[1])/as.numeric(s[2])else as.numeric(v)}\nopt<-function(a,key,default)if(is.null(a[[key]]))default else a[[key]]\nmaybe<-function(v)if(is.null(v))list(defined=FALSE)else list(defined=TRUE,value=v)\nweighted<-function(v,w){if(!length(w)||sum(w)==0)return(NULL);sum(v*w)/sum(w)}\nfixedEffects<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){r<-a$rows[[i]];w<-num(opt(r,'weight',1));if(w<0)stop('negative-analysis-weight');y0<-num(r$y0);y1<-num(r$y1);A<-num(r$a);list(id=opt(r,'id',as.character(i-1L)),a=A,y0=y0,y1=y1,w=w,effect=if(is.null(y0)||is.null(y1))NULL else y1-y0,observed=if(is.null(A))NULL else if(A==1)y1 else y0)})\n complete<-Filter(function(r)r$w>0&&!is.null(r$effect),rr);treated<-Filter(function(r)!is.null(r$a)&&r$a==1,complete);avg<-function(rows,key)weighted(vapply(rows,function(r)r[[key]],numeric(1)),vapply(rows,function(r)r$w,numeric(1)));arm<-lapply(0:1,function(A)avg(Filter(function(r)!is.null(r$a)&&r$a==A&&!is.null(r$observed)&&r$w>0,rr),'observed'));list(rows=rr,completeRows=length(complete),ATE=avg(complete,'effect'),ATT=avg(treated,'effect'),observedContrast=if(any(vapply(arm,is.null,logical(1))))NULL else arm[[2]]-arm[[1]])\n}\nfixedAipw<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){v<-a$rows[[i]];w<-num(opt(v,'weight',1));if(w<0)stop('negative-analysis-weight');r<-list(id=opt(v,'id',as.character(i-1L)),a=num(v$a),y=num(v$y),e=num(v$e),mu0=num(v$mu0),mu1=num(v$mu1),w=w,role=opt(v,'role','analysis'),group=opt(v,'group','all'));reason<-if(w==0)'zero-weight'else if(r$role%in%c('excluded','unused'))'inactive-role'else if(any(vapply(r[c('a','y','e','mu0','mu1')],is.null,logical(1))))'missing-required-field'else if(r$e%in%c(0,1))'nonoverlap-boundary-propensity'else NULL;r$eligible<-is.null(reason);r$reason<-reason\n  if(is.null(reason)){r$plugin<-r$mu1-r$mu0;r$treatedResidual<-if(r$a==1)(r$y-r$mu1)/r$e else 0;r$controlResidual<-if(r$a==0)(r$y-r$mu0)/(1-r$e)else 0;r$score<-maybe(r$plugin+r$treatedResidual-r$controlResidual);r$IPWContribution<-if(r$a==1)r$y/r$e else-r$y/(1-r$e);r$effectiveArmWeight<-w/if(r$a==1)r$e else 1-r$e}else r$score<-maybe(NULL);r})\n summary<-function(rows){mass<-sum(vapply(rows,function(r)r$w,numeric(1)));avg<-function(key){if(!mass)return(NULL);sum(vapply(rows,function(r)r$w*if(key=='score')r$score$value else r[[key]],numeric(1)))/mass};arms<-lapply(0:1,function(A){arm<-Filter(function(r)r$a==A,rows);w<-vapply(arm,function(r)r$effectiveArmWeight,numeric(1));list(a=A,rows=length(arm),weightedArmDenominator=sum(w),normalizedMean=maybe(weighted(vapply(arm,function(r)r$y,numeric(1)),w)))});list(rows=length(rows),mass=mass,AIPW=maybe(avg('score')),plugin=maybe(avg('plugin')),IPW=maybe(avg('IPWContribution')),normalizedArmMeans=arms,normalizedIPWContrast=maybe(if(all(vapply(arms,function(r)r$normalizedMean$defined,logical(1))))arms[[2]]$normalizedMean$value-arms[[1]]$normalizedMean$value else NULL))}\n use<-Filter(function(r)r$eligible,rr);roles<-unique(vapply(rr,function(r)r$role,character(1)));groups<-unique(vapply(rr,function(r)r$group,character(1)));list(rows=rr,overall=summary(use),byRole=lapply(roles,function(role)c(list(role=role),summary(Filter(function(r)r$role==role,use)))),byGroup=lapply(groups,function(g)c(list(group=g),summary(Filter(function(r)r$group==g,use)))),overlapExcluded=as.list(vapply(Filter(function(r)identical(r$reason,'nonoverlap-boundary-propensity'),rr),function(r)r$id,character(1))))\n}\nfixedRepresentation<-function(a){\n atoms<-lapply(a$atoms,function(r)list(id=r$id,p=num(r$probability),y0=num(r$y0),y1=num(r$y1),e=num(r$e),phi=r$phi));if(abs(sum(vapply(atoms,function(r)r$p,numeric(1)))-1)>1e-12)stop('law-probabilities-must-sum-one');ATE<-sum(vapply(atoms,function(r)r$p*(r$y1-r$y0),numeric(1)));phis<-unique(vapply(Filter(function(r)r$p>0,atoms),function(r)r$phi,character(1)));groups<-lapply(phis,function(phi){use<-Filter(function(r)r$phi==phi&&r$p>0,atoms);mass<-sum(vapply(use,function(r)r$p,numeric(1)));t<-sum(vapply(use,function(r)r$p*r$e,numeric(1)));m1<-if(t>0)sum(vapply(use,function(r)r$p*r$e*r$y1,numeric(1)))/t else NULL;m0<-if(mass-t>0)sum(vapply(use,function(r)r$p*(1-r$e)*r$y0,numeric(1)))/(mass-t)else NULL;list(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=if(is.null(m0)||is.null(m1))NULL else m1-m0)});adjusted<-if(any(vapply(groups,function(r)is.null(r$contrast),logical(1))))NULL else sum(vapply(groups,function(r)r$mass*r$contrast,numeric(1)));list(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=if(is.null(adjusted))NULL else adjusted-ATE)\n}\nfixedRobust<-function(a){\n values<-vapply(a$values,num,numeric(1));p<-if(is.null(a$probabilities))rep(1/length(values),length(values))else vapply(a$probabilities,num,numeric(1));radius<-num(opt(a,'radius','1/10'));cap<-num(opt(a,'cap',2));if(cap<1||radius<0||radius>1)stop('invalid-robust-constraint')\n go<-function(sign){q<-p;upper<-pmin(1,cap*p);order<-order(sign*values,seq_along(values));lo<-order;hi<-rev(order);i<-j<-1L;budget<-radius;N<-length(values)\n while(budget>1e-14&&i<=N&&j<=N){d<-lo[i];h<-hi[j];if(sign*values[h]<=sign*values[d])break;move<-min(q[d],upper[h]-q[h],budget);if(move>0){q[d]<-q[d]-move;q[h]<-q[h]+move;budget<-budget-move};if(q[d]<=1e-14)i<-i+1L;if(upper[h]-q[h]<=1e-14)j<-j+1L};list(q=q,value=sum(q*values),TV=sum(abs(q-p))/2)};lo<-go(-1);hi<-go(1);list(values=as.list(values),p=as.list(p),radius=radius,cap=cap,baseline=sum(values*p),minimum=lo$value,maximum=hi$value,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\nfixedValidate<-function(a){\n rr<-a$rows;cc<-a$candidates;groups<-unlist(a$requiredGroups);eligible<-vapply(seq_along(rr),function(i){r<-rr[[i]];!is.null(r$y)&&num(opt(r,'weight',1))>0&&!r$role%in%c('excluded','unused')&&all(vapply(cc,function(c)!is.null(c$predictions[[i]]),logical(1)))},logical(1));out<-lapply(cc,function(c){risk<-function(ix){if(!length(ix))return(NULL);weighted(vapply(ix,function(i)(num(c$predictions[[i]])-num(rr[[i]]$y))^2,numeric(1)),vapply(ix,function(i)num(opt(rr[[i]],'weight',1)),numeric(1)))};vr<-which(eligible&vapply(rr,function(r)r$role=='validation',logical(1)));tr<-which(eligible&vapply(rr,function(r)r$role=='test',logical(1)));gv<-lapply(groups,function(g)risk(vr[vapply(rr[vr],function(r)r$group==g,logical(1))]));worst<-if(any(vapply(gv,is.null,logical(1))))NULL else max(unlist(gv));list(id=c$id,validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=if(opt(a,'criterion','worst-group')=='mean')risk(vr)else worst)});available<-which(!vapply(out,function(r)is.null(r$criterion),logical(1)));selected<-if(length(available))available[which.min(vapply(out[available],function(r)r$criterion,numeric(1)))]else NULL;list(commonEligibility=as.list(eligible),groups=as.list(groups),candidates=out,selectedIndex=if(is.null(selected))NULL else selected-1L,selectedID=if(is.null(selected))NULL else out[[selected]]$id,selectedScore=if(is.null(selected))NULL else out[[selected]]$criterion)\n}\nfixedOperation<-function(api,a)switch(api,effects=fixedEffects(a),aipw=fixedAipw(a),representation=fixedRepresentation(a),robust=fixedRobust(a),validate=fixedValidate(a),realdata=fixedSource(a$kind))\nreportValues<-function(api,z){summary<-list();points<-list();add<-function(k,v,u){if(length(v)==1&&is.na(v))v<-NULL;summary[[length(summary)+1L]]<<-list(metric=k,value=v,unit=u)};series<-function(name,values){for(i in seq_along(values)){v<-values[[i]];points[[length(points)+1L]]<<-list(series=name,index=i-1L,x=i,y=v)}}\n if(api=='effects'){for(k in c('completeRows','ATE','ATT','observedContrast'))add(k,z[[k]],if(k=='completeRows')'rows'else'constructed outcome units');series('known constructed effects',lapply(z$rows,function(r)r$effect))}\n else if(api=='aipw'){for(k in c('AIPW','plugin','IPW','normalizedIPWContrast'))add(k,z$overall[[k]]$value,'constructed outcome units');add('eligibleRows',z$overall$rows,'rows');series('AIPW row scores',lapply(z$rows,function(r)r$score$value))}\n else if(api=='representation'){for(k in c('ATE','adjustedContrast','bias'))add(k,z[[k]],'constructed outcome units');series('representation contrasts',lapply(z$groups,function(r)r$contrast))}\n else if(api=='robust'){for(k in c('baseline','minimum','maximum'))add(k,z[[k]],'declared value units');for(k in c('minTV','maxTV'))add(k,z[[k]],'probability mass');series('minimum weights',z$minWeights);series('maximum weights',z$maxWeights)}\n else if(api=='validate'){add('selectedIndex',z$selectedIndex,'zero-based candidate index');add('selectedScore',z$selectedScore,'squared outcome units');series('validation criterion',lapply(z$candidates,function(c)c$criterion))}\n else{for(k in c('AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum'))add(k,z[[k]],z$unit);add('sourceRows',length(z$rows),'analytical records');add('eligibleRows',sum(vapply(z$rows,function(r)r$eligible,logical(1))),'records');series('actual out-of-fold scores',lapply(z$rows,function(r)r$score))};list(summary=summary,points=points)\n}\n\nescapeXML<-function(s){s<-gsub('&','&amp;',s,fixed=TRUE);s<-gsub('<','&lt;',s,fixed=TRUE);s<-gsub('>','&gt;',s,fixed=TRUE);gsub('\"','&quot;',s,fixed=TRUE)}\nsvgPlot<-function(pp,title){\n xx<-vapply(pp,function(p)as.numeric(p$x),numeric(1));yy<-vapply(pp,function(p)as.numeric(p$y),numeric(1));xmin<-if(length(xx))min(xx)else 0;xmax<-if(length(xx))max(xx)else 1;ymin<-min(c(0,yy));ymax<-max(c(0,yy));if(xmin==xmax){xmin<-xmin-.5;xmax<-xmax+.5};if(ymin==ymax){ymin<-ymin-.5;ymax<-ymax+.5};pad<-(ymax-ymin)*.08;ymin<-ymin-pad;ymax<-ymax+pad;X<-function(x)82+(as.numeric(x)-xmin)/(xmax-xmin)*608;Y<-function(y)354-(as.numeric(y)-ymin)/(ymax-ymin)*290\n out<-paste0('<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"',escapeXML(title),'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">',escapeXML(title),'</text>')\n for(j in 0:4){y<-ymin+(ymax-ymin)*j/4;x<-xmin+(xmax-xmin)*j/4;out<-paste0(out,'<line x1=\"82\" y1=\"',Y(y),'\" x2=\"690\" y2=\"',Y(y),'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"',Y(y)+4,'\" text-anchor=\"end\">',sprintf('%.3g',y),'</text><text x=\"',X(x),'\" y=\"380\" text-anchor=\"middle\">',sprintf('%.3g',x),'</text>')}\n ss<-unique(vapply(pp,`[[`,character(1),'series'));cols<-c('#0f766e','#c76622','#4f46e5','#b23857')\n for(j in seq_along(ss)){rr<-Filter(function(p)p$series==ss[j],pp);xy<-vapply(rr,function(p)sprintf('%.6f,%.6f',X(p$x),Y(p$y)),character(1));col<-cols[(j-1)%%4+1];out<-paste0(out,'<polyline fill=\"none\" stroke=\"',col,'\" stroke-width=\"1.5\" points=\"',paste(xy,collapse=' '),'\"/>');for(p in rr)out<-paste0(out,'<circle cx=\"',sprintf('%.6f',X(p$x)),'\" cy=\"',sprintf('%.6f',Y(p$y)),'\" r=\"2.6\" fill=\"',col,'\"><title>',escapeXML(ss[j]),': ',escapeXML(p$y),'</title></circle>');out<-paste0(out,'<text x=\"',82+((j-1)%%2)*310,'\" y=\"',432+floor((j-1)/2)*23,'\" fill=\"',col,'\">',escapeXML(ss[j]),'</text>')}\n paste0(out,'<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>')\n}\n\ntoJSON<-function(x){\n if(is.null(x))return('null');if(is.list(x)){v<-vapply(x,toJSON,character(1));if(!is.null(names(x)))paste0('{',paste(paste0(vapply(names(x),toJSON,character(1)),':',v),collapse=','),'}')else paste0('[',paste(v,collapse=','),']')}\n else if(length(x)!=1){if(!is.null(names(x)))toJSON(as.list(x))else paste0('[',paste(vapply(as.list(x),toJSON,character(1)),collapse=','),']')}\n else if(is.na(x))'null'else if(is.logical(x))if(x)'true'else'false'else if(is.numeric(x))if(is.finite(x))sprintf('%.17g',x)else'null'else paste0('\"',gsub('\\n','\\\\n',gsub('\"','\\\\\"',gsub('\\\\','\\\\\\\\',x,fixed=TRUE),fixed=TRUE),fixed=TRUE),'\"')\n}\n\nFIXED<-list(\"api\"=\"validate\",\"variant\"=\"worst-group\",\"title\"=\"Validation-only worst-group selection\",\"input\"=list(\"rows\"=list(list(\"id\"=\"G\",\"y\"=\"0\",\"weight\"=\"9\",\"role\"=\"validation\",\"group\"=\"G\"),list(\"id\"=\"H\",\"y\"=\"0\",\"weight\"=\"1\",\"role\"=\"validation\",\"group\"=\"H\"),list(\"id\"=\"T\",\"y\"=\"0\",\"weight\"=\"1\",\"role\"=\"test\",\"group\"=\"G\")),\"candidates\"=list(list(\"id\"=\"A\",\"predictions\"=list(\"1\",\"3\",\"0\")),list(\"id\"=\"B\",\"predictions\"=list(\"2\",\"2\",\"5\"))),\"requiredGroups\"=list(\"G\",\"H\"),\"criterion\"=\"worst-group\"),\"expectedFailure\"=FALSE)\n\nargs<-commandArgs(trailingOnly=TRUE);out<-if(length(args))args[1]else stop('NEW output directory required');if(dir.exists(out))stop('Preserve previous output directory');dir.create(out,recursive=TRUE)\nz<-fixedOperation(FIXED$api,FIXED$input);rr<-reportValues(FIXED$api,z)\nwriteLines(toJSON(list(arithmetic='BaseR binary64 numerical counterpart; factualsource groupSHA256,lambda.01 and empiricalTVtolerances1e-14/12places; notcausalCI',result=z)),file.path(out,'full.json'),useBytes=TRUE)\nsums<-do.call(rbind,lapply(rr$summary,function(row)data.frame(metric=row$metric,value=if(is.null(row$value))''else if(is.logical(row$value))as.character(as.integer(row$value))else format(row$value,digits=17,scientific=NA,trim=TRUE),unit=row$unit,defined=as.integer(!is.null(row$value)),stringsAsFactors=FALSE)))\npoints<-do.call(rbind,lapply(rr$points,function(p)data.frame(series=p$series,index=p$index,x=p$x,y=if(is.null(p$y))NA_real_ else p$y,defined=as.integer(!is.null(p$y)),stringsAsFactors=FALSE)))\nwrite.csv(sums,file.path(out,'summary.csv'),row.names=FALSE,na='');write.csv(points,file.path(out,'plot-points.csv'),row.names=FALSE,na='');writeLines(svgPlot(Filter(function(p)!is.null(p$y),rr$points),FIXED$title),file.path(out,'plot.svg'),useBytes=TRUE);cat(FIXED$api,'/',FIXED$variant,'\\n',sep='')\n",
        "returnCode": 0,
        "stdout": "validate/worst-group\r\n",
        "stderr": "During startup - Warning messages:\n1: Setting LC_COLLATE=C.UTF-8 failed \n2: Setting LC_CTYPE=C.UTF-8 failed \n3: Setting LC_MONETARY=C.UTF-8 failed \n4: Setting LC_TIME=C.UTF-8 failed ",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/r-validate-worst-group-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/validate-worst-group-input.json",
            "sha256": "a54ce30e06814d675e6ebdf369975acab7427924c1b82633b78c6d5e4d8ee842",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/r-validate-worst-group-result/full.json",
            "sha256": "a51285e721a0e9318c6dedd1bfbc18d510e69ac6ea2fa922689b4a6d6608c6e1",
            "bytes": 495
          },
          {
            "file": "ml21-code/r-validate-worst-group-result/plot-points.csv",
            "sha256": "170430e96f975e4c797f36a439f69fa8484d609f01aca1914f1cc9252743eb1f",
            "bytes": 100
          },
          {
            "file": "ml21-code/r-validate-worst-group-result/plot.svg",
            "sha256": "c5f3b4f2b8fcf044001db6a40e938fa9666c4f4f687effcc41dbc90e74e531f8",
            "bytes": 1666
          },
          {
            "file": "ml21-code/r-validate-worst-group-result/summary.csv",
            "sha256": "dc19afa5664b6f51433956c9be1a10685ca0df622545bf2e663f0dfc347821a9",
            "bytes": 134
          },
          {
            "file": "ml21-code/r-validate-worst-group-result/stdout.txt",
            "sha256": "f0ed9dcb2eab3d2f72a8055e7f2f975c376deddbd24228b4d30bc5727318dc32",
            "bytes": 22
          },
          {
            "file": "ml21-code/r-validate-worst-group-result/stderr.txt",
            "sha256": "b807bd2d0f7060ea384b0ac2317cda2d63a4f59f63b4a901b9e665fead79627d",
            "bytes": 182
          }
        ],
        "summaryRows": [
          {
            "metric": "selectedIndex",
            "value": "1",
            "unit": "zero-based candidate index",
            "defined": "true",
            "rawValue": "1",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "selectedScore",
            "value": "4",
            "unit": "squared outcome units",
            "defined": "true",
            "rawValue": "4",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          }
        ],
        "plotRows": [
          {
            "series": "validation criterion",
            "index": 0,
            "x": "1",
            "y": "9",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "validation criterion",
            "index": 1,
            "x": "2",
            "y": "4",
            "defined": true,
            "xExact": "",
            "yExact": ""
          }
        ],
        "plotFile": "ml21-code/r-validate-worst-group-result/plot.svg",
        "fullResultFile": "ml21-code/r-validate-worst-group-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "absent-required-group": {
        "api": "validate",
        "variant": "absent-required-group",
        "language": "r",
        "title": "A missing validation group is undefined risk",
        "input": {
          "rows": [
            {
              "id": "G",
              "y": "0",
              "weight": "9",
              "role": "validation",
              "group": "G"
            },
            {
              "id": "H",
              "y": "0",
              "weight": "1",
              "role": "test",
              "group": "H"
            },
            {
              "id": "T",
              "y": "0",
              "weight": "1",
              "role": "test",
              "group": "G"
            }
          ],
          "candidates": [
            {
              "id": "A",
              "predictions": [
                "1",
                "3",
                "0"
              ]
            },
            {
              "id": "B",
              "predictions": [
                "2",
                "2",
                "5"
              ]
            }
          ],
          "requiredGroups": [
            "G",
            "H"
          ],
          "criterion": "worst-group"
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/validate-absent-required-group.R",
        "codeSHA256": "d5af7ada11f6f260fdd1d3334b399835f2c0c2fe40f7e89bbc92fc4e1e66af9c",
        "code": "# ML21 standalone numerical fixed example, not arbitrary exact API validation.\n# Fixed inputs are declared inline and matching JSON provided for reading.\n# Realdata code uses3factual CSVs, R4.5+ toolsSHA256 and numerical ridge.\noptions(digits=17)\nfixedSource<-function(kind){\n selectedKind<-kind\n src<-file.path(dirname(sub('^--file=','',grep('^--file=',commandArgs(),value=TRUE)[1])),'data')\nreadnative<-function(n)read.csv(file.path(src,n),colClasses='character',check.names=FALSE,na.strings=NULL,stringsAsFactors=FALSE)\nnum<-function(x){v<-suppressWarnings(as.numeric(x));v[x%in%c('','.')] <- NA_real_;v}\nsha<-function(s){tf<-tempfile('ml21-group-');writeBin(charToRaw(enc2utf8(s)),tf);on.exit(unlink(tf));unname(tools::sha256sum(tf))}\nwb<-readnative('actual48-country-revised-original-2023-2024.csv');iso<-sort(unique(wb$countryISO3))\nlookup<-function(i,code,yr){r<-wb[wb$countryISO3==i&wb$indicatorID==code&wb$date==yr,,drop=FALSE];stopifnot(nrow(r)==1);num(r$originalValueToken)}\ng<-vapply(iso,lookup,numeric(1),code='NY.GDP.PCAP.KD',yr='2023');pi<-vapply(iso,lookup,numeric(1),code='FP.CPI.TOTL.ZG',yr='2023');gy<-vapply(iso,lookup,numeric(1),code='NY.GDP.MKTP.KD.ZG',yr='2024')\ncountry<-list(id=paste0(iso,':2024'),originalID=iso,sourceRow=iso,foldGroup=paste0('country:',iso),a=as.integer(g>median(g)),x=cbind(g/10000,pi/10),y=gy)\npd<-readnative('actual38408-NSW-all15-fields.csv');pre<-pd[pd$year=='1975',,drop=FALSE];post<-pd[match(pre$id,pd$id[pd$year=='1978'])+0,,drop=FALSE]\npostNative<-pd[pd$year=='1978',,drop=FALSE];post<-postNative[match(pre$id,postNative$id),,drop=FALSE]\nstopifnot(nrow(pre)==19204,nrow(post)==19204,all(pre$id==post$id),all(pre$treated==post$treated));take<-num(pre$experimental)==1;stopifnot(all(take==(pre$treated!='.')));pre<-pre[take,,drop=FALSE];post<-post[take,,drop=FALSE]\nperson<-list(id=paste0('nsw-id:',pre$id),originalID=pre$id,sourceRow=post$sourceRow,foldGroup=paste0('nsw-id:',pre$id),a=num(pre$treated),x=cbind(num(pre$age)/10,num(pre$educ)/10,num(pre$re74)/10000),y=num(post$re)/10000)\ncd<-readnative('actual410-NJPA-all46-fields.csv');before<-num(cd$EMPFT)+num(cd$EMPPT)/2+num(cd$NMGRS);after<-num(cd$EMPFT2)+num(cd$EMPPT2)/2+num(cd$NMGRS2)\ncompany<-list(id=paste0('njpa-row:',cd$sourceRow),originalID=cd$SHEET,sourceRow=cd$sourceRow,foldGroup=paste0('sheet:',cd$SHEET),a=num(cd$STATE),x=cbind(before/10,as.integer(num(cd$CHAIN)==2),num(cd$CO_OWNED)),y=after-before)\nmodels<-list(country=country,person=person,company=company)\nfor(kind in names(models)){\n m<-models[[kind]];groups<-unique(m$foldGroup);hash<-vapply(groups,function(g)sha(paste0('ML21|',kind,'|',g)),character(1));ord<-order(hash,groups);folds<-integer(length(groups));folds[ord]<-(seq_along(ord)-1L)%%4L;m$fold<-folds[match(m$foldGroup,groups)];m$eligible<-!is.na(m$y)&rowSums(is.na(m$x))==0;m$role<-ifelse(m$eligible,'analysis','excluded');models[[kind]]<-m\n}\nstopifnot(length(person$id)==722,sum(person$a)==297,sum(models$company$eligible)==384,length(country$id)==16)\nsourcefit<-function(kind,m,rep){\n N<-length(m$id);X<-if(rep=='full')m$x else if(rep=='constant')matrix(numeric(0),nrow=N,ncol=0) else if(kind=='country')matrix(m$a,ncol=1) else if(kind=='person')cbind(as.integer(m$x[,2]>1.2),as.integer(m$x[,3]>0)) else matrix(m$x[,2],ncol=1)\n group<-if(kind=='country')ifelse(m$a==1,'higher-GDP-category','lower-GDP-category')else if(kind=='person')ifelse(m$x[,2]>1.2,'schooling-over12','schooling-at-most12')else ifelse(!is.na(m$x[,2])&m$x[,2]!=0,'chain2','other-chains')\n p<-ncol(X);eRaw<-mu0<-mu1<-rep(NA_real_,N);fits<-list();coords<-list()\n for(fold in 0:3){\n  tr<-which(m$eligible&m$fold!=fold);means<-if(p)colMeans(X[tr,,drop=FALSE])else numeric(0);scales<-if(p)apply(X[tr,,drop=FALSE],2,function(x)diff(range(x)))else numeric(0);scales[scales==0]<-1;Z<-if(p)cbind(1,sweep(sweep(X,2,means,'-'),2,scales,'/'))else matrix(1,nrow=N,ncol=1);hold<-which(m$fold==fold);ok<-rowSums(is.na(Z[hold,,drop=FALSE]))==0\n  for(name in c('e','mu0','mu1')){\n   ix<-if(name=='e')tr else tr[m$a[tr]==if(name=='mu0')0 else 1];target<-if(name=='e')m$a[ix]else m$y[ix];A<-crossprod(Z[ix,,drop=FALSE])/length(ix)+diag(c(0,rep(.01,p)),nrow=p+1);b<-as.vector(crossprod(Z[ix,,drop=FALSE],target))/length(ix);theta<-as.vector(solve(A,b));minimum<-mean((as.vector(Z[ix,,drop=FALSE]%*%theta)-target)^2)/2+.01*sum(theta[-1]^2)/2;v<-as.vector(Z[hold,,drop=FALSE]%*%theta)\n   if(name=='e')eRaw[hold]<-v else if(name=='mu0')mu0[hold]<-v else mu1[hold]<-v\n   fits[[length(fits)+1L]]<-list(fold=fold,name=name,rows=length(ix),rank=p+1,theta=theta,minimumObjective=minimum,trainingIDs=m$id[ix])\n  }\n  coords[[length(coords)+1L]]<-list(fold=fold,mean=means,scale=scales)\n }\n e<-pmax(.05,pmin(.95,eRaw));nuisance<-!is.na(e)&!is.na(mu0)&!is.na(mu1);eligible<-m$eligible&nuisance;plugin<-treated<-control<-ipw<-effective<-score<-rep(NA_real_,N);ix<-which(eligible);plugin[ix]<-mu1[ix]-mu0[ix];treated[ix]<-ifelse(m$a[ix]==1,(m$y[ix]-mu1[ix])/e[ix],0);control[ix]<-ifelse(m$a[ix]==0,(m$y[ix]-mu0[ix])/(1-e[ix]),0);score[ix]<-plugin[ix]+treated[ix]-control[ix];ipw[ix]<-ifelse(m$a[ix]==1,m$y[ix]/e[ix],-m$y[ix]/(1-e[ix]));effective[ix]<-1/ifelse(m$a[ix]==1,e[ix],1-e[ix]);clipped<-!is.na(eRaw)&eRaw!=e\n list(X=X,group=group,meanX=coords,fits=fits,eRaw=eRaw,e=e,mu0=mu0,mu1=mu1,nuisance=nuisance,eligible=eligible,plugin=plugin,treated=treated,control=control,score=score,ipw=ipw,effective=effective,clipped=clipped)\n}\nextreme<-function(values,sign){N<-length(values);p<-rep(1/N,N);q<-p;upper<-pmin(1,2*p);ord<-order(round(sign*values,12),seq_along(values));donor<-ord;receiver<-rev(ord);a<-b<-1L;budget<-.1\n while(budget>1e-14&&a<=N&&b<=N){i<-donor[a];j<-receiver[b];if(sign*values[j]<=sign*values[i]+1e-14)break;move<-min(q[i],upper[j]-q[j],budget);if(move>0){q[i]<-q[i]-move;q[j]<-q[j]+move;budget<-budget-move};if(q[i]<=1e-14)a<-a+1L;if(upper[j]-q[j]<=1e-14)b<-b+1L;if(move<=0&&a<=N&&b<=N&&q[i]>1e-14&&upper[j]-q[j]>1e-14)stop('no transport progress')};list(q=q,objective=sum(q*values),TV=sum(abs(q-p))/2)\n}\n\n m<-models[[selectedKind]];z<-sourcefit(selectedKind,m,'full');ix<-which(z$eligible);v<-z$score[ix];lo<-extreme(v,-1);hi<-extreme(v,1);treated<-ix[m$a[ix]==1];control<-ix[m$a[ix]==0];norm<-sum(m$y[treated]*z$effective[treated])/sum(z$effective[treated])-sum(m$y[control]*z$effective[control])/sum(z$effective[control]);nv<-function(v)if(is.na(v))NULL else unname(v)\n rows<-lapply(seq_along(m$id),function(i)list(id=m$id[i],sourceRow=if(selectedKind=='country')m$sourceRow[i]else as.integer(m$sourceRow[i]),originalID=m$originalID[i],foldGroup=m$foldGroup[i],fold=m$fold[i],a=m$a[i],y=nv(m$y[i]),x=lapply(as.list(m$x[i,]),nv),eligible=z$eligible[i],eRaw=nv(z$eRaw[i]),e=nv(z$e[i]),mu0=nv(z$mu0[i]),mu1=nv(z$mu1[i]),plugin=nv(z$plugin[i]),score=nv(z$score[i]),IPWContribution=nv(z$ipw[i])))\n fits<-lapply(z$fits,function(fit){co<-z$meanX[[fit$fold+1L]];list(fold=fit$fold,fit=fit$name,trainingIDs=as.list(fit$trainingIDs),rows=fit$rows,rank=fit$rank,unique=TRUE,theta=as.list(fit$theta),minimumObjective=fit$minimumObjective,meanX=as.list(co$mean),scales=as.list(co$scale))});unit<-switch(selectedKind,country='GDP growth contrast, percentage points',person='native real1978earnings/10000',company='post-minus-pre FTE employees')\n list(kind=selectedKind,unit=unit,rows=rows,fits=fits,AIPW=mean(v),plugin=mean(z$plugin[ix]),IPW=mean(z$ipw[ix]),normalizedIPWContrast=norm,stressMinimum=lo$objective,stressMaximum=hi$objective,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\n\n# Owned numerical fixed-example adapters; not arbitrary exact input validators.\nnum<-function(v){if(is.null(v))return(NULL);if(is.numeric(v))return(as.numeric(v));s<-strsplit(as.character(v),'/',fixed=TRUE)[[1]];if(length(s)==2)as.numeric(s[1])/as.numeric(s[2])else as.numeric(v)}\nopt<-function(a,key,default)if(is.null(a[[key]]))default else a[[key]]\nmaybe<-function(v)if(is.null(v))list(defined=FALSE)else list(defined=TRUE,value=v)\nweighted<-function(v,w){if(!length(w)||sum(w)==0)return(NULL);sum(v*w)/sum(w)}\nfixedEffects<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){r<-a$rows[[i]];w<-num(opt(r,'weight',1));if(w<0)stop('negative-analysis-weight');y0<-num(r$y0);y1<-num(r$y1);A<-num(r$a);list(id=opt(r,'id',as.character(i-1L)),a=A,y0=y0,y1=y1,w=w,effect=if(is.null(y0)||is.null(y1))NULL else y1-y0,observed=if(is.null(A))NULL else if(A==1)y1 else y0)})\n complete<-Filter(function(r)r$w>0&&!is.null(r$effect),rr);treated<-Filter(function(r)!is.null(r$a)&&r$a==1,complete);avg<-function(rows,key)weighted(vapply(rows,function(r)r[[key]],numeric(1)),vapply(rows,function(r)r$w,numeric(1)));arm<-lapply(0:1,function(A)avg(Filter(function(r)!is.null(r$a)&&r$a==A&&!is.null(r$observed)&&r$w>0,rr),'observed'));list(rows=rr,completeRows=length(complete),ATE=avg(complete,'effect'),ATT=avg(treated,'effect'),observedContrast=if(any(vapply(arm,is.null,logical(1))))NULL else arm[[2]]-arm[[1]])\n}\nfixedAipw<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){v<-a$rows[[i]];w<-num(opt(v,'weight',1));if(w<0)stop('negative-analysis-weight');r<-list(id=opt(v,'id',as.character(i-1L)),a=num(v$a),y=num(v$y),e=num(v$e),mu0=num(v$mu0),mu1=num(v$mu1),w=w,role=opt(v,'role','analysis'),group=opt(v,'group','all'));reason<-if(w==0)'zero-weight'else if(r$role%in%c('excluded','unused'))'inactive-role'else if(any(vapply(r[c('a','y','e','mu0','mu1')],is.null,logical(1))))'missing-required-field'else if(r$e%in%c(0,1))'nonoverlap-boundary-propensity'else NULL;r$eligible<-is.null(reason);r$reason<-reason\n  if(is.null(reason)){r$plugin<-r$mu1-r$mu0;r$treatedResidual<-if(r$a==1)(r$y-r$mu1)/r$e else 0;r$controlResidual<-if(r$a==0)(r$y-r$mu0)/(1-r$e)else 0;r$score<-maybe(r$plugin+r$treatedResidual-r$controlResidual);r$IPWContribution<-if(r$a==1)r$y/r$e else-r$y/(1-r$e);r$effectiveArmWeight<-w/if(r$a==1)r$e else 1-r$e}else r$score<-maybe(NULL);r})\n summary<-function(rows){mass<-sum(vapply(rows,function(r)r$w,numeric(1)));avg<-function(key){if(!mass)return(NULL);sum(vapply(rows,function(r)r$w*if(key=='score')r$score$value else r[[key]],numeric(1)))/mass};arms<-lapply(0:1,function(A){arm<-Filter(function(r)r$a==A,rows);w<-vapply(arm,function(r)r$effectiveArmWeight,numeric(1));list(a=A,rows=length(arm),weightedArmDenominator=sum(w),normalizedMean=maybe(weighted(vapply(arm,function(r)r$y,numeric(1)),w)))});list(rows=length(rows),mass=mass,AIPW=maybe(avg('score')),plugin=maybe(avg('plugin')),IPW=maybe(avg('IPWContribution')),normalizedArmMeans=arms,normalizedIPWContrast=maybe(if(all(vapply(arms,function(r)r$normalizedMean$defined,logical(1))))arms[[2]]$normalizedMean$value-arms[[1]]$normalizedMean$value else NULL))}\n use<-Filter(function(r)r$eligible,rr);roles<-unique(vapply(rr,function(r)r$role,character(1)));groups<-unique(vapply(rr,function(r)r$group,character(1)));list(rows=rr,overall=summary(use),byRole=lapply(roles,function(role)c(list(role=role),summary(Filter(function(r)r$role==role,use)))),byGroup=lapply(groups,function(g)c(list(group=g),summary(Filter(function(r)r$group==g,use)))),overlapExcluded=as.list(vapply(Filter(function(r)identical(r$reason,'nonoverlap-boundary-propensity'),rr),function(r)r$id,character(1))))\n}\nfixedRepresentation<-function(a){\n atoms<-lapply(a$atoms,function(r)list(id=r$id,p=num(r$probability),y0=num(r$y0),y1=num(r$y1),e=num(r$e),phi=r$phi));if(abs(sum(vapply(atoms,function(r)r$p,numeric(1)))-1)>1e-12)stop('law-probabilities-must-sum-one');ATE<-sum(vapply(atoms,function(r)r$p*(r$y1-r$y0),numeric(1)));phis<-unique(vapply(Filter(function(r)r$p>0,atoms),function(r)r$phi,character(1)));groups<-lapply(phis,function(phi){use<-Filter(function(r)r$phi==phi&&r$p>0,atoms);mass<-sum(vapply(use,function(r)r$p,numeric(1)));t<-sum(vapply(use,function(r)r$p*r$e,numeric(1)));m1<-if(t>0)sum(vapply(use,function(r)r$p*r$e*r$y1,numeric(1)))/t else NULL;m0<-if(mass-t>0)sum(vapply(use,function(r)r$p*(1-r$e)*r$y0,numeric(1)))/(mass-t)else NULL;list(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=if(is.null(m0)||is.null(m1))NULL else m1-m0)});adjusted<-if(any(vapply(groups,function(r)is.null(r$contrast),logical(1))))NULL else sum(vapply(groups,function(r)r$mass*r$contrast,numeric(1)));list(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=if(is.null(adjusted))NULL else adjusted-ATE)\n}\nfixedRobust<-function(a){\n values<-vapply(a$values,num,numeric(1));p<-if(is.null(a$probabilities))rep(1/length(values),length(values))else vapply(a$probabilities,num,numeric(1));radius<-num(opt(a,'radius','1/10'));cap<-num(opt(a,'cap',2));if(cap<1||radius<0||radius>1)stop('invalid-robust-constraint')\n go<-function(sign){q<-p;upper<-pmin(1,cap*p);order<-order(sign*values,seq_along(values));lo<-order;hi<-rev(order);i<-j<-1L;budget<-radius;N<-length(values)\n while(budget>1e-14&&i<=N&&j<=N){d<-lo[i];h<-hi[j];if(sign*values[h]<=sign*values[d])break;move<-min(q[d],upper[h]-q[h],budget);if(move>0){q[d]<-q[d]-move;q[h]<-q[h]+move;budget<-budget-move};if(q[d]<=1e-14)i<-i+1L;if(upper[h]-q[h]<=1e-14)j<-j+1L};list(q=q,value=sum(q*values),TV=sum(abs(q-p))/2)};lo<-go(-1);hi<-go(1);list(values=as.list(values),p=as.list(p),radius=radius,cap=cap,baseline=sum(values*p),minimum=lo$value,maximum=hi$value,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\nfixedValidate<-function(a){\n rr<-a$rows;cc<-a$candidates;groups<-unlist(a$requiredGroups);eligible<-vapply(seq_along(rr),function(i){r<-rr[[i]];!is.null(r$y)&&num(opt(r,'weight',1))>0&&!r$role%in%c('excluded','unused')&&all(vapply(cc,function(c)!is.null(c$predictions[[i]]),logical(1)))},logical(1));out<-lapply(cc,function(c){risk<-function(ix){if(!length(ix))return(NULL);weighted(vapply(ix,function(i)(num(c$predictions[[i]])-num(rr[[i]]$y))^2,numeric(1)),vapply(ix,function(i)num(opt(rr[[i]],'weight',1)),numeric(1)))};vr<-which(eligible&vapply(rr,function(r)r$role=='validation',logical(1)));tr<-which(eligible&vapply(rr,function(r)r$role=='test',logical(1)));gv<-lapply(groups,function(g)risk(vr[vapply(rr[vr],function(r)r$group==g,logical(1))]));worst<-if(any(vapply(gv,is.null,logical(1))))NULL else max(unlist(gv));list(id=c$id,validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=if(opt(a,'criterion','worst-group')=='mean')risk(vr)else worst)});available<-which(!vapply(out,function(r)is.null(r$criterion),logical(1)));selected<-if(length(available))available[which.min(vapply(out[available],function(r)r$criterion,numeric(1)))]else NULL;list(commonEligibility=as.list(eligible),groups=as.list(groups),candidates=out,selectedIndex=if(is.null(selected))NULL else selected-1L,selectedID=if(is.null(selected))NULL else out[[selected]]$id,selectedScore=if(is.null(selected))NULL else out[[selected]]$criterion)\n}\nfixedOperation<-function(api,a)switch(api,effects=fixedEffects(a),aipw=fixedAipw(a),representation=fixedRepresentation(a),robust=fixedRobust(a),validate=fixedValidate(a),realdata=fixedSource(a$kind))\nreportValues<-function(api,z){summary<-list();points<-list();add<-function(k,v,u){if(length(v)==1&&is.na(v))v<-NULL;summary[[length(summary)+1L]]<<-list(metric=k,value=v,unit=u)};series<-function(name,values){for(i in seq_along(values)){v<-values[[i]];points[[length(points)+1L]]<<-list(series=name,index=i-1L,x=i,y=v)}}\n if(api=='effects'){for(k in c('completeRows','ATE','ATT','observedContrast'))add(k,z[[k]],if(k=='completeRows')'rows'else'constructed outcome units');series('known constructed effects',lapply(z$rows,function(r)r$effect))}\n else if(api=='aipw'){for(k in c('AIPW','plugin','IPW','normalizedIPWContrast'))add(k,z$overall[[k]]$value,'constructed outcome units');add('eligibleRows',z$overall$rows,'rows');series('AIPW row scores',lapply(z$rows,function(r)r$score$value))}\n else if(api=='representation'){for(k in c('ATE','adjustedContrast','bias'))add(k,z[[k]],'constructed outcome units');series('representation contrasts',lapply(z$groups,function(r)r$contrast))}\n else if(api=='robust'){for(k in c('baseline','minimum','maximum'))add(k,z[[k]],'declared value units');for(k in c('minTV','maxTV'))add(k,z[[k]],'probability mass');series('minimum weights',z$minWeights);series('maximum weights',z$maxWeights)}\n else if(api=='validate'){add('selectedIndex',z$selectedIndex,'zero-based candidate index');add('selectedScore',z$selectedScore,'squared outcome units');series('validation criterion',lapply(z$candidates,function(c)c$criterion))}\n else{for(k in c('AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum'))add(k,z[[k]],z$unit);add('sourceRows',length(z$rows),'analytical records');add('eligibleRows',sum(vapply(z$rows,function(r)r$eligible,logical(1))),'records');series('actual out-of-fold scores',lapply(z$rows,function(r)r$score))};list(summary=summary,points=points)\n}\n\nescapeXML<-function(s){s<-gsub('&','&amp;',s,fixed=TRUE);s<-gsub('<','&lt;',s,fixed=TRUE);s<-gsub('>','&gt;',s,fixed=TRUE);gsub('\"','&quot;',s,fixed=TRUE)}\nsvgPlot<-function(pp,title){\n xx<-vapply(pp,function(p)as.numeric(p$x),numeric(1));yy<-vapply(pp,function(p)as.numeric(p$y),numeric(1));xmin<-if(length(xx))min(xx)else 0;xmax<-if(length(xx))max(xx)else 1;ymin<-min(c(0,yy));ymax<-max(c(0,yy));if(xmin==xmax){xmin<-xmin-.5;xmax<-xmax+.5};if(ymin==ymax){ymin<-ymin-.5;ymax<-ymax+.5};pad<-(ymax-ymin)*.08;ymin<-ymin-pad;ymax<-ymax+pad;X<-function(x)82+(as.numeric(x)-xmin)/(xmax-xmin)*608;Y<-function(y)354-(as.numeric(y)-ymin)/(ymax-ymin)*290\n out<-paste0('<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"',escapeXML(title),'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">',escapeXML(title),'</text>')\n for(j in 0:4){y<-ymin+(ymax-ymin)*j/4;x<-xmin+(xmax-xmin)*j/4;out<-paste0(out,'<line x1=\"82\" y1=\"',Y(y),'\" x2=\"690\" y2=\"',Y(y),'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"',Y(y)+4,'\" text-anchor=\"end\">',sprintf('%.3g',y),'</text><text x=\"',X(x),'\" y=\"380\" text-anchor=\"middle\">',sprintf('%.3g',x),'</text>')}\n ss<-unique(vapply(pp,`[[`,character(1),'series'));cols<-c('#0f766e','#c76622','#4f46e5','#b23857')\n for(j in seq_along(ss)){rr<-Filter(function(p)p$series==ss[j],pp);xy<-vapply(rr,function(p)sprintf('%.6f,%.6f',X(p$x),Y(p$y)),character(1));col<-cols[(j-1)%%4+1];out<-paste0(out,'<polyline fill=\"none\" stroke=\"',col,'\" stroke-width=\"1.5\" points=\"',paste(xy,collapse=' '),'\"/>');for(p in rr)out<-paste0(out,'<circle cx=\"',sprintf('%.6f',X(p$x)),'\" cy=\"',sprintf('%.6f',Y(p$y)),'\" r=\"2.6\" fill=\"',col,'\"><title>',escapeXML(ss[j]),': ',escapeXML(p$y),'</title></circle>');out<-paste0(out,'<text x=\"',82+((j-1)%%2)*310,'\" y=\"',432+floor((j-1)/2)*23,'\" fill=\"',col,'\">',escapeXML(ss[j]),'</text>')}\n paste0(out,'<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>')\n}\n\ntoJSON<-function(x){\n if(is.null(x))return('null');if(is.list(x)){v<-vapply(x,toJSON,character(1));if(!is.null(names(x)))paste0('{',paste(paste0(vapply(names(x),toJSON,character(1)),':',v),collapse=','),'}')else paste0('[',paste(v,collapse=','),']')}\n else if(length(x)!=1){if(!is.null(names(x)))toJSON(as.list(x))else paste0('[',paste(vapply(as.list(x),toJSON,character(1)),collapse=','),']')}\n else if(is.na(x))'null'else if(is.logical(x))if(x)'true'else'false'else if(is.numeric(x))if(is.finite(x))sprintf('%.17g',x)else'null'else paste0('\"',gsub('\\n','\\\\n',gsub('\"','\\\\\"',gsub('\\\\','\\\\\\\\',x,fixed=TRUE),fixed=TRUE),fixed=TRUE),'\"')\n}\n\nFIXED<-list(\"api\"=\"validate\",\"variant\"=\"absent-required-group\",\"title\"=\"A missing validation group is undefined risk\",\"input\"=list(\"rows\"=list(list(\"id\"=\"G\",\"y\"=\"0\",\"weight\"=\"9\",\"role\"=\"validation\",\"group\"=\"G\"),list(\"id\"=\"H\",\"y\"=\"0\",\"weight\"=\"1\",\"role\"=\"test\",\"group\"=\"H\"),list(\"id\"=\"T\",\"y\"=\"0\",\"weight\"=\"1\",\"role\"=\"test\",\"group\"=\"G\")),\"candidates\"=list(list(\"id\"=\"A\",\"predictions\"=list(\"1\",\"3\",\"0\")),list(\"id\"=\"B\",\"predictions\"=list(\"2\",\"2\",\"5\"))),\"requiredGroups\"=list(\"G\",\"H\"),\"criterion\"=\"worst-group\"),\"expectedFailure\"=FALSE)\n\nargs<-commandArgs(trailingOnly=TRUE);out<-if(length(args))args[1]else stop('NEW output directory required');if(dir.exists(out))stop('Preserve previous output directory');dir.create(out,recursive=TRUE)\nz<-fixedOperation(FIXED$api,FIXED$input);rr<-reportValues(FIXED$api,z)\nwriteLines(toJSON(list(arithmetic='BaseR binary64 numerical counterpart; factualsource groupSHA256,lambda.01 and empiricalTVtolerances1e-14/12places; notcausalCI',result=z)),file.path(out,'full.json'),useBytes=TRUE)\nsums<-do.call(rbind,lapply(rr$summary,function(row)data.frame(metric=row$metric,value=if(is.null(row$value))''else if(is.logical(row$value))as.character(as.integer(row$value))else format(row$value,digits=17,scientific=NA,trim=TRUE),unit=row$unit,defined=as.integer(!is.null(row$value)),stringsAsFactors=FALSE)))\npoints<-do.call(rbind,lapply(rr$points,function(p)data.frame(series=p$series,index=p$index,x=p$x,y=if(is.null(p$y))NA_real_ else p$y,defined=as.integer(!is.null(p$y)),stringsAsFactors=FALSE)))\nwrite.csv(sums,file.path(out,'summary.csv'),row.names=FALSE,na='');write.csv(points,file.path(out,'plot-points.csv'),row.names=FALSE,na='');writeLines(svgPlot(Filter(function(p)!is.null(p$y),rr$points),FIXED$title),file.path(out,'plot.svg'),useBytes=TRUE);cat(FIXED$api,'/',FIXED$variant,'\\n',sep='')\n",
        "returnCode": 0,
        "stdout": "validate/absent-required-group\r\n",
        "stderr": "During startup - Warning messages:\n1: Setting LC_COLLATE=C.UTF-8 failed \n2: Setting LC_CTYPE=C.UTF-8 failed \n3: Setting LC_MONETARY=C.UTF-8 failed \n4: Setting LC_TIME=C.UTF-8 failed ",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/r-validate-absent-required-group-result",
        "kind": null,
        "inputFiles": [
          {
            "file": "ml21-code/validate-absent-required-group-input.json",
            "sha256": "9da49b9053c32c6409c26b16f88a1753fcf77919999b582e9680b30f626d62e2",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          }
        ],
        "files": [
          {
            "file": "ml21-code/r-validate-absent-required-group-result/full.json",
            "sha256": "34df97c91319274a43ecabd9a147394e7e8fb3e7bd32f823eda7cbb78da358df",
            "bytes": 522
          },
          {
            "file": "ml21-code/r-validate-absent-required-group-result/plot-points.csv",
            "sha256": "5925dfe6aa539711de7b7c2d68738892123756784e8ea715eb6e2662c84ce03f",
            "bytes": 98
          },
          {
            "file": "ml21-code/r-validate-absent-required-group-result/plot.svg",
            "sha256": "6fba46636e409ee583281e04d9d8b51bf72faab60537b32b0310d5841f7f8d07",
            "bytes": 1288
          },
          {
            "file": "ml21-code/r-validate-absent-required-group-result/summary.csv",
            "sha256": "edbe022146d13b022cd025c2fefedb5eec5031f3fc674c989a40013372cb3f7f",
            "bytes": 132
          },
          {
            "file": "ml21-code/r-validate-absent-required-group-result/stdout.txt",
            "sha256": "a807e86f5130822ee67cbd9fa8597f7c8949a3954a6b1653dd600f4f80b17edf",
            "bytes": 32
          },
          {
            "file": "ml21-code/r-validate-absent-required-group-result/stderr.txt",
            "sha256": "b807bd2d0f7060ea384b0ac2317cda2d63a4f59f63b4a901b9e665fead79627d",
            "bytes": 182
          }
        ],
        "summaryRows": [
          {
            "metric": "selectedIndex",
            "value": "undefined",
            "unit": "zero-based candidate index",
            "defined": "false",
            "rawValue": "",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "selectedScore",
            "value": "undefined",
            "unit": "squared outcome units",
            "defined": "false",
            "rawValue": "",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          }
        ],
        "plotRows": [
          {
            "series": "validation criterion",
            "index": 0,
            "x": "1",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "validation criterion",
            "index": 1,
            "x": "2",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          }
        ],
        "plotFile": "ml21-code/r-validate-absent-required-group-result/plot.svg",
        "fullResultFile": "ml21-code/r-validate-absent-required-group-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      }
    }
  },
  "realdata": {
    "python": {
      "country": {
        "api": "realdata",
        "variant": "country",
        "language": "python",
        "title": "Actual countries: descriptive GDP-category scores",
        "input": {
          "kind": "country"
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/realdata-country.py",
        "codeSHA256": "709c5a4efa1597ee25a2300a8c1102fe735b4c959a0aa2dd1df33fccb5624e41",
        "code": "\"\"\"ML21 complete standalone fixed example, not a general API validator.\nRun: python this-file.py NEW-OUTDIR\nFixed literal input is also supplied as matching human-readable JSON.\nRealdata reads3factual CSVs under data/, using owned public scalar code byvalue.\nNo production engine/model/checker/computed answers are imported.\n\"\"\"\nfrom pathlib import Path\nfrom fractions import Fraction as F\nfrom collections import defaultdict,Counter\nimport csv,json,hashlib,sys,html,math\nif hasattr(sys,'set_int_max_str_digits'):sys.set_int_max_str_digits(200000)\ndef f(v):return v if isinstance(v,F)else F(str(v))\ndef ck(v,label=''):\n if not v:raise AssertionError(label)\ndef maybe(v):return dict(defined=False)if v is None else dict(defined=True,value=v)\ndef mean(v,w):return sum((a*b for a,b in zip(v,w)),F(0))/sum(w,F(0))if sum(w,F(0))else None\ndef extremum(values,p,radius,cap,sign):\n q=list(p);budget=radius;upper=[min(F(1),cap*x)for x in p]\n order=sorted(range(len(values)),key=lambda i:(sign*values[i],i))\n donors=list(order);receivers=list(reversed(order));left=right=0\n while budget>0 and left<len(q)and right<len(q):\n  i,j=donors[left],receivers[right]\n  if sign*values[j]<=sign*values[i]:break\n  move=min(q[i],upper[j]-q[j],budget)\n  if move>0:q[i]-=move;q[j]+=move;budget-=move\n  if q[i]==0:left+=1\n  if q[j]==upper[j]:right+=1\n  if move==0 and q[i]>0 and q[j]<upper[j]:raise AssertionError('transport made no progress')\n return q,sum(a*b for a,b in zip(q,values)),sum(abs(a-b)for a,b in zip(q,p))/2\n\ndef fixed_source(kind):\n selectedKind=kind\n S=Path(__file__).resolve().parent/\"data\"\n def read(n):\n  with(S/n).open(encoding=\"utf8\",newline=\"\")as stream:return list(csv.DictReader(stream))\n def source_rows():\n  rows=read('actual48-country-revised-original-2023-2024.csv');lk={(r['countryISO3'],r['indicatorID'],r['date']):r for r in rows};isos=sorted({r['countryISO3']for r in rows});g=sorted(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])for i in isos);median=(g[7]+g[8])/2\n  models={'country':[dict(id=i+':2024',originalID=i,sourceRow=i,foldGroup='country:'+i,a=int(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])>median),x=[f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])/10000,f(lk[i,'FP.CPI.TOTL.ZG','2023']['originalValueToken'])/10],y=f(lk[i,'NY.GDP.MKTP.KD.ZG','2024']['originalValueToken']))for i in isos]}\n  native=read('actual38408-NSW-all15-fields.csv');pairs=defaultdict(dict)\n  for r in native:pairs[str(int(f(r['id'])))][int(f(r['year']))]=r\n  people=[]\n  for ID,pair in pairs.items():\n   pre,post=pair[1975],pair[1978];ck(pre['treated']==post['treated'],'native stable treatment');sel=int(f(pre['experimental']))==1;ck(sel==(pre['treated']!='.'),'no recode missingtreatment')\n   if sel:people.append(dict(id='nsw-id:'+ID,originalID=ID,sourceRow=int(post['sourceRow']),foldGroup='nsw-id:'+ID,a=int(f(pre['treated'])),x=[F.from_float(float(pre['age']))/10,F.from_float(float(pre['educ']))/10,F.from_float(float(pre['re74']))/10000],y=F.from_float(float(post['re']))/10000))\n  models['person']=people;company=[]\n  for r in read('actual410-NJPA-all46-fields.csv'):\n   ys=[]\n   for suffix in['','2']:\n    v=[None if r[k+suffix]=='.'else f(r[k+suffix])for k in['EMPFT','EMPPT','NMGRS']];ys.append(None if None in v else v[0]+v[1]/2+v[2])\n   company.append(dict(id='njpa-row:'+r['sourceRow'],originalID=r['SHEET'],sourceRow=int(r['sourceRow']),foldGroup='sheet:'+r['SHEET'],a=int(r['STATE']),x=[None if ys[0]is None else ys[0]/10,None if r['CHAIN']=='.'else F(int(f(r['CHAIN'])==2)),None if r['CO_OWNED']=='.'else f(r['CO_OWNED'])],y=None if None in ys else ys[1]-ys[0]))\n  models['company']=company\n  for kind,rr in models.items():\n   groups=sorted({r['foldGroup']for r in rr},key=lambda g:(hashlib.sha256(('ML21|'+kind+'|'+g).encode()).digest(),g));folds={g:i%4 for i,g in enumerate(groups)}\n   for r in rr:r['fold']=folds[r['foldGroup']];r['eligible']=r['y']is not None and None not in r['x'];r['role']='analysis'if r['eligible']else'excluded';r['w']=F(1)\n  return models\n MODELS=source_rows()\n def solve(A,b):\n  n=len(b);M=[list(a)+[v]for a,v in zip(A,b)];pivot=[];i=0\n  for j in range(n):\n   k=next((k for k in range(i,n)if M[k][j]!=0),None)\n   if k is None:continue\n   M[i],M[k]=M[k],M[i];v=M[i][j];M[i]=[z/v for z in M[i]]\n   for k in range(n):\n    if k!=i:\n     v=M[k][j];M[k]=[a-v*b for a,b in zip(M[k],M[i])]\n   pivot.append(j);i+=1\n   if i==n:break\n  beta=[F(0)]*n\n  for i,j in enumerate(pivot):beta[j]=M[i][-1]\n  null=[]\n  for j in range(n):\n   if j in pivot:continue\n   v=[F(0)]*n;v[j]=F(1)\n   for i,k in enumerate(pivot):v[k]=-M[i][j]\n   null.append(v)\n  return beta,null,len(pivot)\n def source_expected(a):\n  base=MODELS[a.get('kind','person')];rep=a.get('representation','full');rr=[]\n  for r in base:\n   full=r['x'];x=full if rep=='full'else[]if rep=='constant'else[F(r['a'])]if a.get('kind','person')=='country'else[F(full[1]>F(6,5)),F(full[2]>0)]if a.get('kind','person')=='person'else[full[1]]\n   group=('higher-GDP-category'if r['a']else'lower-GDP-category')if a.get('kind','person')=='country'else('schooling-over12'if full[1]>F(6,5)else'schooling-at-most12')if a.get('kind','person')=='person'else('chain2'if full[1]else'other-chains');rr.append(dict(r,x=x,fullX=full,group=group))\n  eligible=[r for r in rr if r['eligible']];limit=a.get('trainingLimit',len(eligible));keep={r['id']for r in eligible[:limit]};lam=f(a.get('lambda','1/100'));eps=f(a.get('clip','1/20'));nuisance=[];out={};dimension=len(rr[0]['x'])+1\n  for fold in range(4):\n   tr=[r for r in rr if r['eligible']and r['id']in keep and r['fold']!=fold];fits={};means=[sum(r['x'][j]for r in tr)/len(tr)for j in range(dimension-1)]if tr else[];scales=[max(r['x'][j]for r in tr)-min(r['x'][j]for r in tr)or F(1)for j in range(dimension-1)]if tr else[]\n   def z(r):return None if not tr or None in r['x']else[F(1)]+[(v-m)/s for v,m,s in zip(r['x'],means,scales)]\n   for name in['e','mu0','mu1']:\n    use=[r for r in tr if name=='e'or r['a']==int(name[-1])]\n    if not use:fits[name]=dict(defined=False);continue\n    Z=[z(r)for r in use];Y=[F(r['a'])if name=='e'else r['y']for r in use];N=len(use);A=[[sum(v[j]*v[k]for v in Z)/N+(lam if j==k and j else 0)for k in range(dimension)]for j in range(dimension)];b=[sum(y*v[j]for v,y in zip(Z,Y))/N for j in range(dimension)];beta,null,rank=solve(A,b);minimum=sum((sum(b*z for b,z in zip(beta,v))-y)**2 for v,y in zip(Z,Y))/(2*N)+lam*sum(v*v for v in beta[1:])/2;fits[name]=dict(defined=True,trainingIDs=[r['id']for r in use],rows=N,rank=rank,unique=rank==dimension,theta=beta,nullspace=null,minimumObjective=minimum,meanX=means,scales=scales)\n   nuisance.append(dict(fold=fold,complementRows=len(tr),fits=fits))\n   for r in rr:\n    if r['fold']!=fold:continue\n    zz=z(r);pred={name:None if zz is None or not fit['defined']else sum(v*b for v,b in zip(zz,fit['theta']))for name,fit in fits.items()};eRaw=pred['e'];e=None if eRaw is None else max(eps,min(1-eps,eRaw));inv={name:zz is not None and fit['defined']and all(sum(a*b for a,b in zip(v,zz))==0 for v in fit['nullspace'])for name,fit in fits.items()};out[r['id']]=dict(r,mu0=pred['mu0'],mu1=pred['mu1'],e=e,eRaw=eRaw,propensityClipped=e is not None and e!=eRaw,nuisancePredictionDefined=all(v is not None for v in pred.values()),queryInvariantAcrossMinimizers=inv)\n  return rr,nuisance,[out[r['id']]for r in rr]\n def aipw_expected(rows,role='all'):\n  out=[]\n  for r in rows:\n   reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n   if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n   plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n  def summary(use):\n   ww=[r['w']for r in use];arms=[]\n   for A in[0,1]:\n    arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n   return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n  use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n raw,nuisance,oo=source_expected(dict(kind=selectedKind,representation='full'));scores=aipw_expected(oo);use=[r for r in scores['rows']if r['eligible']];values=[r['score']['value']for r in use];p=[F(1,len(use))for _ in use];lo,low,ltv=extremum(values,p,F(1,10),F(2),-1);hi,high,htv=extremum(values,p,F(1,10),F(2),1);fits=[]\n for n in nuisance:\n  for name,z in n['fits'].items():fits.append(dict(fold=n['fold'],fit=name,trainingIDs=z['trainingIDs'],rows=z['rows'],rank=z['rank'],unique=z['unique'],theta=z['theta'],minimumObjective=z['minimumObjective'],meanX=z['meanX'],scales=z['scales']))\n rr=[]\n for r in scores['rows']:rr.append(dict(id=r['id'],sourceRow=r['sourceRow'],originalID=r['originalID'],foldGroup=r['foldGroup'],fold=r['fold'],a=r['a'],y=r['y'],x=r['fullX'],eligible=r['eligible'],eRaw=r['eRaw'],e=r['e'],mu0=r['mu0'],mu1=r['mu1'],plugin=r.get('plugin'),score=r['score'].get('value'),IPWContribution=r.get('IPWContribution')))\n unit={'country':'GDP growth contrast, percentage points','person':'native real1978earnings/10000','company':'post-minus-pre FTE employees'}[selectedKind]\n return dict(kind=selectedKind,unit=unit,rows=rr,fits=fits,AIPW=scores['overall']['AIPW'].get('value'),plugin=scores['overall']['plugin'].get('value'),IPW=scores['overall']['IPW'].get('value'),normalizedIPWContrast=scores['overall']['normalizedIPWContrast'].get('value'),stressMinimum=low,stressMaximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\n\ndef aipw_expected(rows,role='all'):\n out=[]\n for r in rows:\n  reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n  if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n  plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n def summary(use):\n  ww=[r['w']for r in use];arms=[]\n  for A in[0,1]:\n   arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n  return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n\n# Owned standalone fixed-example adapters; no production engine import.\nQ=F\nnumber=f\ndef fixed_robust(a):\n values=list(map(f,a['values']));p=list(map(f,a.get('probabilities',[F(1,len(values))for _ in values])));radius=f(a.get('radius','1/10'));cap=f(a.get('cap',2))\n if cap<1 or not 0<=radius<=1:raise ValueError('invalid-robust-constraint')\n lo,low,ltv=extremum(values,p,radius,cap,-1);hi,high,htv=extremum(values,p,radius,cap,1)\n return dict(values=values,p=p,radius=radius,cap=cap,baseline=sum(v*w for v,w in zip(values,p)),minimum=low,maximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\ndef fixed_aipw(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  rr.append(dict(id=r.get('id',str(i)),a=None if r.get('a')is None else int(f(r['a'])),**{k:None if r.get(k)is None else f(r[k])for k in ['y','e','mu0','mu1']},w=w,role=r.get('role','analysis'),group=r.get('group','all')))\n return aipw_expected(rr)\ndef fixed_effects(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  y0=None if r.get('y0')is None else f(r['y0']);y1=None if r.get('y1')is None else f(r['y1']);A=r.get('a');A=None if A is None else int(f(A));rr.append(dict(id=r.get('id',str(i)),a=A,y0=y0,y1=y1,w=w,effect=None if y0 is None or y1 is None else y1-y0,observed=y1 if A==1 else y0 if A==0 else None))\n complete=[r for r in rr if r['w']>0 and r['effect']is not None];treated=[r for r in complete if r['a']==1];arms=[mean([r['observed']for r in rr if r['a']==A and r['observed']is not None and r['w']>0],[r['w']for r in rr if r['a']==A and r['observed']is not None and r['w']>0])for A in [0,1]]\n return dict(rows=rr,completeRows=len(complete),ATE=mean([r['effect']for r in complete],[r['w']for r in complete]),ATT=mean([r['effect']for r in treated],[r['w']for r in treated]),observedContrast=None if None in arms else arms[1]-arms[0])\ndef fixed_representation(a):\n atoms=[dict(id=r['id'],p=f(r['probability']),y0=f(r['y0']),y1=f(r['y1']),e=f(r['e']),phi=r['phi'])for r in a['atoms']];groups=[];ATE=sum(r['p']*(r['y1']-r['y0'])for r in atoms)\n if sum(r['p']for r in atoms)!=1:raise ValueError('law-probabilities-must-sum-one')\n for phi in dict.fromkeys(r['phi']for r in atoms if r['p']):\n  use=[r for r in atoms if r['phi']==phi and r['p']];mass=sum(r['p']for r in use);t=sum(r['p']*r['e']for r in use);m1=sum(r['p']*r['e']*r['y1']for r in use)/t if t else None;m0=sum(r['p']*(1-r['e'])*r['y0']for r in use)/(mass-t)if mass!=t else None;groups.append(dict(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=None if m0 is None or m1 is None else m1-m0))\n adjusted=None if any(r['contrast']is None for r in groups)else sum(r['mass']*r['contrast']for r in groups)\n return dict(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=None if adjusted is None else adjusted-ATE)\ndef fixed_validate(a):\n rr=a['rows'];cc=a['candidates'];groups=a['requiredGroups'];eligible=[r.get('y')is not None and f(r.get('weight',1))>0 and r['role']not in ['excluded','unused']and all(c['predictions'][i]is not None for c in cc)for i,r in enumerate(rr)];out=[]\n for c in cc:\n  def risk(ids):return mean([(f(c['predictions'][i])-f(rr[i]['y']))**2 for i in ids],[f(rr[i].get('weight',1))for i in ids])\n  vr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='validation'];tr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='test'];gv=[risk([i for i in vr if rr[i]['group']==g])for g in groups];worst=None if None in gv else max(gv);criterion=risk(vr)if a.get('criterion','worst-group')=='mean'else worst;out.append(dict(id=c['id'],validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=criterion))\n available=[i for i,z in enumerate(out)if z['criterion']is not None];selected=min(available,key=lambda i:(out[i]['criterion'],i))if available else None\n return dict(commonEligibility=eligible,groups=groups,candidates=out,selectedIndex=selected,selectedID=None if selected is None else out[selected]['id'],selectedScore=None if selected is None else out[selected]['criterion'])\ndef fixed_operation(api,a):return fixed_effects(a)if api=='effects'else fixed_aipw(a)if api=='aipw'else fixed_representation(a)if api=='representation'else fixed_robust(a)if api=='robust'else fixed_validate(a)if api=='validate'else fixed_source(a['kind'])\ndef report_values(api,z):\n summary=[];series=[]\n def add(k,v,u):summary.append((k,v,u))\n if api=='effects':\n  for k in ['completeRows','ATE','ATT','observedContrast']:add(k,z[k],'rows'if k=='completeRows'else'constructed outcome units')\n  series=[('known constructed effects',[(i+1,r['effect'])for i,r in enumerate(z['rows'])])]\n elif api=='aipw':\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast']:add(k,z['overall'][k].get('value'),'constructed outcome units')\n  add('eligibleRows',z['overall']['rows'],'rows');series=[('AIPW row scores',[(i+1,r['score'].get('value'))for i,r in enumerate(z['rows'])])]\n elif api=='representation':\n  for k in ['ATE','adjustedContrast','bias']:add(k,z[k],'constructed outcome units')\n  series=[('representation contrasts',[(i+1,r['contrast'])for i,r in enumerate(z['groups'])])]\n elif api=='robust':\n  for k in ['baseline','minimum','maximum']:add(k,z[k],'declared value units')\n  for k in ['minTV','maxTV']:add(k,z[k],'probability mass')\n  series=[('minimum weights',[(i+1,v)for i,v in enumerate(z['minWeights'])]),('maximum weights',[(i+1,v)for i,v in enumerate(z['maxWeights'])])]\n elif api=='validate':\n  add('selectedIndex',z['selectedIndex'],'zero-based candidate index');add('selectedScore',z['selectedScore'],'squared outcome units');series=[('validation criterion',[(i+1,c['criterion'])for i,c in enumerate(z['candidates'])])]\n else:\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum']:add(k,z[k],z['unit'])\n  add('sourceRows',len(z['rows']),'analytical records');add('eligibleRows',sum(r['eligible']for r in z['rows']),'records');series=[('actual out-of-fold scores',[(i+1,r['score'])for i,r in enumerate(z['rows'])])]\n return summary,series\n\nFIXED={'api': 'realdata', 'variant': 'country', 'title': 'Actual countries: descriptive GDP-category scores', 'input': {'kind': 'country'}, 'expectedFailure': False}\n\ndef fixed_svg(points,title):\n good=[p for p in points if p['y'] is not None];xx=[float(p['x'])for p in good];yy=[float(p['y'])for p in good];xmin=min(xx)if xx else 0;xmax=max(xx)if xx else 1;ymin=min([0]+yy);ymax=max([0]+yy)\n if xmin==xmax:xmin-=.5;xmax+=.5\n if ymin==ymax:ymin-=.5;ymax+=.5\n pad=(ymax-ymin)*.08;ymin-=pad;ymax+=pad;X=lambda x:82+(float(x)-xmin)/(xmax-xmin)*608;Y=lambda y:354-(float(y)-ymin)/(ymax-ymin)*290;e=html.escape\n out=['<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"'+e(title)+'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">'+e(title)+'</text>']\n for j in range(5):\n  y=ymin+(ymax-ymin)*j/4;x=xmin+(xmax-xmin)*j/4;out.append('<line x1=\"82\" y1=\"'+str(Y(y))+'\" x2=\"690\" y2=\"'+str(Y(y))+'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"'+str(Y(y)+4)+'\" text-anchor=\"end\">'+format(y,'.3g')+'</text><text x=\"'+str(X(x))+'\" y=\"380\" text-anchor=\"middle\">'+format(x,'.3g')+'</text>')\n series=list(dict.fromkeys(p['series']for p in good))\n for j,s in enumerate(series):\n  pp=[p for p in good if p['series']==s];color=['#0f766e','#c76622','#4f46e5','#b23857'][j%4];out.append('<polyline fill=\"none\" stroke=\"'+color+'\" stroke-width=\"1.5\" points=\"'+' '.join(format(X(p['x']),'.6f')+','+format(Y(p['y']),'.6f')for p in pp)+'\"/>')\n  for p in pp:out.append('<circle cx=\"'+format(X(p['x']),'.6f')+'\" cy=\"'+format(Y(p['y']),'.6f')+'\" r=\"2.6\" fill=\"'+color+'\"><title>'+e(s+': '+str(p['y']))+'</title></circle>')\n  out.append('<text x=\"'+str(82+(j%2)*310)+'\" y=\"'+str(432+(j//2)*23)+'\" fill=\"'+color+'\">'+e(s)+'</text>')\n out.append('<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>');return''.join(out)\n\nOUT=Path(sys.argv[1]);OUT.mkdir(parents=True,exist_ok=False)\nresult=fixed_operation(FIXED['api'],FIXED['input']);summary,series=report_values(FIXED['api'],result)\ndef encode(v):\n if isinstance(v,Q):return str(v)\n if isinstance(v,dict):return{k:encode(x)for k,x in v.items()}\n if isinstance(v,(list,tuple)):return[encode(x)for x in v]\n return v\n(OUT/'full.json').write_text(json.dumps(dict(arithmetic='Exact Fraction fixed examples; factualsource and knownhypotheticallaws separate; empiricalTV notCI',result=encode(result)),ensure_ascii=False,indent=2)+'\\n',encoding='utf8')\nsummaryRows=[dict(metric=m,value=''if v is None else str(int(v))if isinstance(v,bool)else str(v),unit=u,defined=int(v is not None))for m,v,u in summary]\npoints=[dict(series=name,index=i,x=str(x),y=''if y is None else str(y),defined=int(y is not None))for name,pp in series for i,(x,y)in enumerate(pp)]\nfor name,rows in [('summary',summaryRows),('plot-points',points)]:\n with(OUT/(name+'.csv')).open('w',encoding='utf8',newline='')as f:writer=csv.DictWriter(f,fieldnames=list(rows[0]));writer.writeheader();writer.writerows(rows)\n(OUT/'plot.svg').write_text(fixed_svg([dict(p,x=number(p['x']),y=None if not p['defined']else number(p['y']))for p in points],FIXED['title']),encoding='utf8');print(FIXED['api']+'/'+FIXED['variant'])\n",
        "returnCode": 0,
        "stdout": "realdata/country\r\n",
        "stderr": "",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/python-realdata-country-result",
        "kind": "country",
        "inputFiles": [
          {
            "file": "ml21-code/realdata-country-input.json",
            "sha256": "1381d8cb11ad3fc58de499d726abfcf218bee5d1feab21747fdc070c56717268",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          },
          {
            "file": "ml21-code/data/actual48-country-revised-original-2023-2024.csv",
            "sha256": "bd444c284344c21f8b980885aea1b76af20754bb31e31d9d9e111ecd44c1454e",
            "scope": "Actively read factual CSV"
          },
          {
            "file": "ml21-code/data/actual38408-NSW-all15-fields.csv",
            "sha256": "346be71909903ab5050146d4fc6eabd86320da3511df612d6ae877c775853014",
            "scope": "Actively read factual CSV"
          },
          {
            "file": "ml21-code/data/actual410-NJPA-all46-fields.csv",
            "sha256": "0e89461df7e5dfecef38e91d474480f8083577fab0c2a8d4285896c8ed2ee669",
            "scope": "Actively read factual CSV"
          }
        ],
        "files": [
          {
            "file": "ml21-code/python-realdata-country-result/full.json",
            "sha256": "736eae7274a40ee69d66e5a58deaf1faa5e251949082d1fe1360bc7bfb8c54d6",
            "bytes": 55902
          },
          {
            "file": "ml21-code/python-realdata-country-result/plot-points.csv",
            "sha256": "d131a77f9b594994e339e1a746caa862d21f31297f37330f34a1b53194445cc8",
            "bytes": 6436
          },
          {
            "file": "ml21-code/python-realdata-country-result/plot.svg",
            "sha256": "8d6cbce434d3ddb8569054e1da3b3980ffa8c810ad6a71055af38a18fe5b3010",
            "bytes": 9490
          },
          {
            "file": "ml21-code/python-realdata-country-result/summary.csv",
            "sha256": "456d43da772c43bce3dab42704c9e7a72331645deac39abe3cf2d1bcd1b56513",
            "bytes": 10952
          },
          {
            "file": "ml21-code/python-realdata-country-result/stdout.txt",
            "sha256": "99648b1e288ee01e8332f6c578bcd776743cb74d8ee58527058c637cc5d5744a",
            "bytes": 18
          },
          {
            "file": "ml21-code/python-realdata-country-result/stderr.txt",
            "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "bytes": 0
          }
        ],
        "summaryRows": [
          {
            "metric": "AIPW",
            "value": "-2.30658981",
            "unit": "GDP growth contrast, percentage points",
            "defined": "true",
            "rawValue": "-2993987288225869444538325898289191068176446863588609738125715885595962397204906650857423009848612043760093459074226423424930285267146683845151833616859608248934131395269153289221499112765575170110363077228990496878170370906277420354466494422323597177808198088380335847975078530634218395749932232578855599300545078729769314775684680614859321126476067065848410192298655086200579631972936300193177969113571217382312975491582328082968823760064068744580242782770192970969714091175247311026024021719817805059892362885307670260713868462088319901261140423348773565664961712483090518301506634765685062177644194652390720703186566959551285237377080899525396563034363883699235308332334412829041619019049446170050491461259317064348626325555810575879263017349149556682318311457559370560682115474083738045029798095128324858898662932280712272518947431917067975880706829257305557589481922635355052895771031977273687249271992588417484958450945460362538066252520823640591556696866627706726207666452239255815170598456968794745360539366578130752937367876934503463046969227315753310184688993390404566937487118245564529316765575803325273322322192788188029285990404524557/1298014618123812801462753215164965576679883855671684372938486130773281283216019692549190063714527353866950876172105969036538884400154626036315058238496002224041969865373088063229014630653728567144012770990936965742267007292468768755690938664222134677074770607273350770019581370838192804347348821082213592691529880331759497847934730448737956419037069979647015895178620586260504957597170020256997793207538346165742929269869786056500980360323501890830859121789541021372869629370743456090124445932432229489766551334468711260799387726824075772702617473314343723687112986456232966619966147199016945387075044414316589212545881063723125632457891318776237105829931887386005771641868946463160136710730662111788153371420896334002715281977338650633966778580071596273316001917595999157188882715333676707238093993755199080568414181990903917566335386279446818977872650835391517436736636377861038492262208653415759011734163102583996968748053127508982980480034162729292894778381201427644898501575842407715521755467755156237976932849534476195900065749431103496866463026744899284482602605739377490859765493132490770551612155381787651313264485822644800000000000000000",
            "exactFraction": "-2993987288225869444538325898289191068176446863588609738125715885595962397204906650857423009848612043760093459074226423424930285267146683845151833616859608248934131395269153289221499112765575170110363077228990496878170370906277420354466494422323597177808198088380335847975078530634218395749932232578855599300545078729769314775684680614859321126476067065848410192298655086200579631972936300193177969113571217382312975491582328082968823760064068744580242782770192970969714091175247311026024021719817805059892362885307670260713868462088319901261140423348773565664961712483090518301506634765685062177644194652390720703186566959551285237377080899525396563034363883699235308332334412829041619019049446170050491461259317064348626325555810575879263017349149556682318311457559370560682115474083738045029798095128324858898662932280712272518947431917067975880706829257305557589481922635355052895771031977273687249271992588417484958450945460362538066252520823640591556696866627706726207666452239255815170598456968794745360539366578130752937367876934503463046969227315753310184688993390404566937487118245564529316765575803325273322322192788188029285990404524557/1298014618123812801462753215164965576679883855671684372938486130773281283216019692549190063714527353866950876172105969036538884400154626036315058238496002224041969865373088063229014630653728567144012770990936965742267007292468768755690938664222134677074770607273350770019581370838192804347348821082213592691529880331759497847934730448737956419037069979647015895178620586260504957597170020256997793207538346165742929269869786056500980360323501890830859121789541021372869629370743456090124445932432229489766551334468711260799387726824075772702617473314343723687112986456232966619966147199016945387075044414316589212545881063723125632457891318776237105829931887386005771641868946463160136710730662111788153371420896334002715281977338650633966778580071596273316001917595999157188882715333676707238093993755199080568414181990903917566335386279446818977872650835391517436736636377861038492262208653415759011734163102583996968748053127508982980480034162729292894778381201427644898501575842407715521755467755156237976932849534476195900065749431103496866463026744899284482602605739377490859765493132490770551612155381787651313264485822644800000000000000000",
            "mathematicallyPositive": false,
            "mathematicallyNegative": true,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "plugin",
            "value": "-1.90268933",
            "unit": "GDP growth contrast, percentage points",
            "defined": "true",
            "rawValue": "-10202431304193969573969835617071797775979619023623850965274403186886292788168112802906676034773577099831401214801985386478512716157262840375894457615726427211672608454073704673064059143435235991123330733976843940484964744900662266589067671763864751805612081012459496438747379114833790822129765247029787060990135907702459970425875753811109398002312933356181962083109907275320670406707812311608918949118924110982706760241756461910397860681462015055831750658562826870359312866180950599006589721299958280606974504173978233063/5362110967135540797363679140913117358318122933910777660289748900366390861536406619639462254712920435703522634284260273238313961461422185989108520443633646282156315793204321015641396629947262269381927625999935952545920296685341220006986768919503496709041475865969354114264447760286001981872629920909441210812551662669350217395656495756621829727841567771496871828470544016861533081416961449978595125766045663118597442954506038629517960146602980474197004698683467441419556879465168840956065472604154484550576000000000000000",
            "exactFraction": "-10202431304193969573969835617071797775979619023623850965274403186886292788168112802906676034773577099831401214801985386478512716157262840375894457615726427211672608454073704673064059143435235991123330733976843940484964744900662266589067671763864751805612081012459496438747379114833790822129765247029787060990135907702459970425875753811109398002312933356181962083109907275320670406707812311608918949118924110982706760241756461910397860681462015055831750658562826870359312866180950599006589721299958280606974504173978233063/5362110967135540797363679140913117358318122933910777660289748900366390861536406619639462254712920435703522634284260273238313961461422185989108520443633646282156315793204321015641396629947262269381927625999935952545920296685341220006986768919503496709041475865969354114264447760286001981872629920909441210812551662669350217395656495756621829727841567771496871828470544016861533081416961449978595125766045663118597442954506038629517960146602980474197004698683467441419556879465168840956065472604154484550576000000000000000",
            "mathematicallyPositive": false,
            "mathematicallyNegative": true,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "IPW",
            "value": "-1.45918667",
            "unit": "GDP growth contrast, percentage points",
            "defined": "true",
            "rawValue": "-8932325524128059800106442739474120347035333726566716230866290557925640188610029049249833505350473726831073723253991454402467999623198844073982285738405121495557097593763541935173348474054272187363280783088567915183071416515245080618829907969577326020720008612032896931627727639425221045549292116054298348676821988058410069458719158501193974248441207492629159867990713159691399898255163000306216990408212415687505651036647133016255577328391234468441253351971962083104520214632292825535935221866246077764179698786977233056852322190901841005416944783326329241980085445968386304928877855600180706764601026006864766347101100563237669249505589600371541/6121441299342989409127697194570835476091729485012446536375826086709775286806303112300237404693972303893408525858502683478134198657831329508193039285866235120711359300815136465939852222705222285040330329769960996967076645448886955413149844415135398228525894833132894465050055209170050460401643461969067580360257746032743325991840527661894985335618302565586141278503733717335501353788442074130409685546629982040929601201626212769619472978082412204338238291268843485419555126479277716820887566070573632584104938949979440661993557908180449408730329002803152619450593788444145250333221538090296810840303942587209753262902916949438703120000000000000000",
            "exactFraction": "-8932325524128059800106442739474120347035333726566716230866290557925640188610029049249833505350473726831073723253991454402467999623198844073982285738405121495557097593763541935173348474054272187363280783088567915183071416515245080618829907969577326020720008612032896931627727639425221045549292116054298348676821988058410069458719158501193974248441207492629159867990713159691399898255163000306216990408212415687505651036647133016255577328391234468441253351971962083104520214632292825535935221866246077764179698786977233056852322190901841005416944783326329241980085445968386304928877855600180706764601026006864766347101100563237669249505589600371541/6121441299342989409127697194570835476091729485012446536375826086709775286806303112300237404693972303893408525858502683478134198657831329508193039285866235120711359300815136465939852222705222285040330329769960996967076645448886955413149844415135398228525894833132894465050055209170050460401643461969067580360257746032743325991840527661894985335618302565586141278503733717335501353788442074130409685546629982040929601201626212769619472978082412204338238291268843485419555126479277716820887566070573632584104938949979440661993557908180449408730329002803152619450593788444145250333221538090296810840303942587209753262902916949438703120000000000000000",
            "mathematicallyPositive": false,
            "mathematicallyNegative": true,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "normalizedIPWContrast",
            "value": "-2.17094447",
            "unit": "GDP growth contrast, percentage points",
            "defined": "true",
            "rawValue": "-69857740520725970012699355590243655315151963898040035440393924514517394911492409011424652869424515565668426753058203248967744086309216340624939832145839859060247810538938120953086354646167011924936609374089521545145000863609178168642939743695404189142948876626643939075325156084182782935863651597896675779244618009345765756261644245369982661559828265801051337441584282867279307485038930182371094092391972716449911046149198180739952827832916208480209078490359595977853392242487175683363097406106763241284204887374374637688511765080547122122732942122162371410465550512215121284709846939116353317580155542716082766901524314471393283354159536169182907998363/32178501851505289829934337906071524659690214284315438398377266359754830562373253426726224115345726381716097335822144593897496334580126038585638256031737556257254415318414632282078610193408328447227372907368049915346347749451206837046774323360090262476130487605651319217028096069600998578358991490502225909918542575557642605600643416601282315753467108715684179959401400409721582142686181150807683010742667818435377714404538893881042585273114070504136611840049308975547004625997484068418760756370700020520829607878495680470988499391792362737951954989631005959366150089373714745228023348695097852397093094868899743956223565071477353092128252500000000000000",
            "exactFraction": "-69857740520725970012699355590243655315151963898040035440393924514517394911492409011424652869424515565668426753058203248967744086309216340624939832145839859060247810538938120953086354646167011924936609374089521545145000863609178168642939743695404189142948876626643939075325156084182782935863651597896675779244618009345765756261644245369982661559828265801051337441584282867279307485038930182371094092391972716449911046149198180739952827832916208480209078490359595977853392242487175683363097406106763241284204887374374637688511765080547122122732942122162371410465550512215121284709846939116353317580155542716082766901524314471393283354159536169182907998363/32178501851505289829934337906071524659690214284315438398377266359754830562373253426726224115345726381716097335822144593897496334580126038585638256031737556257254415318414632282078610193408328447227372907368049915346347749451206837046774323360090262476130487605651319217028096069600998578358991490502225909918542575557642605600643416601282315753467108715684179959401400409721582142686181150807683010742667818435377714404538893881042585273114070504136611840049308975547004625997484068418760756370700020520829607878495680470988499391792362737951954989631005959366150089373714745228023348695097852397093094868899743956223565071477353092128252500000000000000",
            "mathematicallyPositive": false,
            "mathematicallyNegative": true,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "stressMinimum",
            "value": "-3.93318554",
            "unit": "GDP growth contrast, percentage points",
            "defined": "true",
            "rawValue": "-268701701740094858919572030806703448399391599977872059991431733989068446450753023526497938273646671235044494037077624341012600486036293004320925110635894360742832912002039018569142091739069370633506278655610288298653989736555228015022975688529311059049945914889132598789177508579369002969612891982363179717017313908822951487115364897684733882050539286975465327509843487900340742410000848300667518985753322648090539828293696299816099539776746267903067401181273980089922782448734682132660410524535650954688589777226906447188794487443114799516118512003371311236711803348473811626633281886531436403206196958690790304644660257010874873085887223911506388696144616718613021075914574940591569067015298843564637836311482376014790315342442113326815618389876238242074789298250283092671720656033596627102760416315897926302672152052349932261691241098420467824437802929501244768334395047892688831913854798276690048954504175340453192958218211134826172699073460567517689153016839703863052312719999253510531624907937720094535360812530852702312493862982777389816513649540179671896702776163674984002809951627566534734807422987847298995805997039151505392637629181387/68316558848621726392776485008682398772625466087983388049394006882804278064001036449957371774448808098260572430110840475607309705271296107174476749394526432844314203440688845433106033192301503533895408999522998196961421436445724671352154666538007088267093189856492145790504282675694358123544674793800715404817362122724184097259722655196734548370372104191948205009401083487394997768272106329315673326712544535039101540519462424026367387385447467938466269567870580072256296282670708215269707680654327867882450070235195329515757248780214514352769340700754932825637525602959629822103481431527207651951318127069294169081362161248585559603046911514538795043680625651895040612729944550692638774248982216409902809022152438631721856946175718454419304135793241909121894837768210481957309616596509300380952315460799951608863904315310732503491336119970885209361718465020606180880875598834791499592747823863987316407061215925473524670950164605735946341054429617331204988335852706718152552714518021458711671340408166117788259623659709273468424513127952815624550685618152593920136979249440920571566604901710040555348008177988823753329709780139200000000000000000",
            "exactFraction": "-268701701740094858919572030806703448399391599977872059991431733989068446450753023526497938273646671235044494037077624341012600486036293004320925110635894360742832912002039018569142091739069370633506278655610288298653989736555228015022975688529311059049945914889132598789177508579369002969612891982363179717017313908822951487115364897684733882050539286975465327509843487900340742410000848300667518985753322648090539828293696299816099539776746267903067401181273980089922782448734682132660410524535650954688589777226906447188794487443114799516118512003371311236711803348473811626633281886531436403206196958690790304644660257010874873085887223911506388696144616718613021075914574940591569067015298843564637836311482376014790315342442113326815618389876238242074789298250283092671720656033596627102760416315897926302672152052349932261691241098420467824437802929501244768334395047892688831913854798276690048954504175340453192958218211134826172699073460567517689153016839703863052312719999253510531624907937720094535360812530852702312493862982777389816513649540179671896702776163674984002809951627566534734807422987847298995805997039151505392637629181387/68316558848621726392776485008682398772625466087983388049394006882804278064001036449957371774448808098260572430110840475607309705271296107174476749394526432844314203440688845433106033192301503533895408999522998196961421436445724671352154666538007088267093189856492145790504282675694358123544674793800715404817362122724184097259722655196734548370372104191948205009401083487394997768272106329315673326712544535039101540519462424026367387385447467938466269567870580072256296282670708215269707680654327867882450070235195329515757248780214514352769340700754932825637525602959629822103481431527207651951318127069294169081362161248585559603046911514538795043680625651895040612729944550692638774248982216409902809022152438631721856946175718454419304135793241909121894837768210481957309616596509300380952315460799951608863904315310732503491336119970885209361718465020606180880875598834791499592747823863987316407061215925473524670950164605735946341054429617331204988335852706718152552714518021458711671340408166117788259623659709273468424513127952815624550685618152593920136979249440920571566604901710040555348008177988823753329709780139200000000000000000",
            "mathematicallyPositive": false,
            "mathematicallyNegative": true,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "stressMaximum",
            "value": "-0.67999407",
            "unit": "GDP growth contrast, percentage points",
            "defined": "true",
            "rawValue": "-38375749712605937808903617880478983337584927286854362452792557626070622254152428465712399673823362350188762236694694972635702665200165243835047397027705375815410324456502835896926020977775317312352472173973283307909345079043717757543323946199577575376844512776832709519816712967844597177270413804035251477293964921387067447659888181465595586695299464311433876604794952273681963398080716637985785978166491497865464967199322889975293750624780799956617606221573057401343274601066767892673923629280793129595718261013222522819158333163367765726783874723195313818799963536746896334651344073359688378016115090854627200788025610256345560266187154118790075688781741293253183314012691382036670685426444100537950610113063868887662463461096565154305621099593503772400679402102754885243545151457788703265528186098025613828111085894207644872424403607136828830308495776264672373070014754815174695007774903795228850800365471537667793508510648224494732661854169412971609542887534827828453103966282291083923492333179169899763009708481306963562493580747662457373051265798612732797044575637868888600938485024668039072703918036415298509753497470978150265733298026207/56435418179296208759250139789781112029560167637899320562542875251012229705044334458660437552805537124650038094439389958110386278267592436361524271238956618436607385451003828836044114376249068136696207434388563727924652490976902989377866898444440638133685678577102207392155711775573600189015166134009286638762168710076499906431944802119041583436394346941174604138200895054804563373790000880739034487284275920249692576950860263326129580883630516992646048773458305277081288233510585047396715040540531716946371797150813533078234248992351120552287716231058422769004912454618824635650702052131171538568480191926808226632429611466222853585125709512010308949127473364608946593124736802746092900466550526599484929192212884087074577477275593505824642546959634620578956605112869528573429683275377248140786695380660829589931051390908865981145016794758557346864028297190935540727679842515697325750530811018076478771050569677565085597741440326477520890436267944751864990364400062071517326155471409031109641542076311140781605776066716356343481119540482760733324479423691273238374026336494673515641977962282207415287485016599463100576716774897600000000000000000",
            "exactFraction": "-38375749712605937808903617880478983337584927286854362452792557626070622254152428465712399673823362350188762236694694972635702665200165243835047397027705375815410324456502835896926020977775317312352472173973283307909345079043717757543323946199577575376844512776832709519816712967844597177270413804035251477293964921387067447659888181465595586695299464311433876604794952273681963398080716637985785978166491497865464967199322889975293750624780799956617606221573057401343274601066767892673923629280793129595718261013222522819158333163367765726783874723195313818799963536746896334651344073359688378016115090854627200788025610256345560266187154118790075688781741293253183314012691382036670685426444100537950610113063868887662463461096565154305621099593503772400679402102754885243545151457788703265528186098025613828111085894207644872424403607136828830308495776264672373070014754815174695007774903795228850800365471537667793508510648224494732661854169412971609542887534827828453103966282291083923492333179169899763009708481306963562493580747662457373051265798612732797044575637868888600938485024668039072703918036415298509753497470978150265733298026207/56435418179296208759250139789781112029560167637899320562542875251012229705044334458660437552805537124650038094439389958110386278267592436361524271238956618436607385451003828836044114376249068136696207434388563727924652490976902989377866898444440638133685678577102207392155711775573600189015166134009286638762168710076499906431944802119041583436394346941174604138200895054804563373790000880739034487284275920249692576950860263326129580883630516992646048773458305277081288233510585047396715040540531716946371797150813533078234248992351120552287716231058422769004912454618824635650702052131171538568480191926808226632429611466222853585125709512010308949127473364608946593124736802746092900466550526599484929192212884087074577477275593505824642546959634620578956605112869528573429683275377248140786695380660829589931051390908865981145016794758557346864028297190935540727679842515697325750530811018076478771050569677565085597741440326477520890436267944751864990364400062071517326155471409031109641542076311140781605776066716356343481119540482760733324479423691273238374026336494673515641977962282207415287485016599463100576716774897600000000000000000",
            "mathematicallyPositive": false,
            "mathematicallyNegative": true,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "sourceRows",
            "value": "16",
            "unit": "analytical records",
            "defined": "true",
            "rawValue": "16",
            "exactFraction": "16",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "eligibleRows",
            "value": "16",
            "unit": "records",
            "defined": "true",
            "rawValue": "16",
            "exactFraction": "16",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          }
        ],
        "plotRows": [
          {
            "series": "actual out-of-fold scores",
            "index": 0,
            "x": "1",
            "y": "0.86815605403711837",
            "defined": true,
            "xExact": "1",
            "yExact": "1731746594531686076936937828103941201302547229922528060229684769171170805424215703451377783493106537747831328556367322502024882092661528691341079/1994741137239877596107026712047568802316463802523494711465562817952394778363542992857372928521697269970348100656040438010833685595000000000000000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 1,
            "x": "2",
            "y": "-5.2586570149457188",
            "defined": true,
            "xExact": "2",
            "yExact": "-51034363801106578174650919296121348513670178405306672402279392581119689528304052317460202667096177632432062506740861899325216442231941120335606213959615143037967117182261491304240950881779706909514657208941/9704828372731088083794775462316936669148426438873962586184790294172820170189677224505495502447961200606496892591842557816812867803689033178446711742054483473281543268493012331396086437338260000000000000000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 2,
            "x": "3",
            "y": "1.1111561643154291",
            "defined": true,
            "xExact": "3",
            "yExact": "11074725487930676657442274717565873712379975888629551635957848193925463934261984028986795768537275737769239467579765932375440973992040207228391428799623682306526860500123926442653581492100525339156253978986307/9966848804509573264901404836132739650585869234272757739161321678769551027779148476310845523580238191784516666946681348428748568344938188446104591199572647518953651477881582754508503004573743675000000000000000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 3,
            "x": "4",
            "y": "-5.4754416653970823",
            "defined": true,
            "xExact": "4",
            "yExact": "-3206219434475485571845462444636028867813388143784073727151162436803645537807745725372801749343054621441312563200823561209414001532405398205179258783421552217042350656687008772866373181681334443554429879/585563618499982393202012209551737257036753147671055793157335459611102276967691116583862417698745587115263296022254896810726294398192633977961565789217164423340357722740902552158415350127000000000000000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 4,
            "x": "5",
            "y": "-0.96794271824598987",
            "defined": true,
            "xExact": "5",
            "yExact": "-7504541552205432238573184382329402250808679864128081690276207313509179707309852610035068934680777515793208926854298098858273855769544946030057696917990657381668435267685600198271340096270820514836551298867/7753084362062685444946360140391554415916475666257591193311661735679770517191766296205753245404753159461314381173639020028402156764303101505920615738291122495353080319274961795496227275614012500000000000000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 5,
            "x": "6",
            "y": "0.96660680505137697",
            "defined": true,
            "xExact": "6",
            "yExact": "133658811124033028531243868315611840045178112975923342000901677239770602604202354939050044050182075135488239806029583195946381474655572897367802115990825597963123682408377864652479102304551437898389/138276298517191598730550365148688679800073124530078105946750153572177797250353004418708615481616430827990553570868310393026381357005064102123782521651737008075044109102028813099283310081250000000000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 6,
            "x": "7",
            "y": "1.9102568925598664",
            "defined": true,
            "xExact": "7",
            "yExact": "93530850075897548493289601953701669658355948821537061914501577476309759126499616255644001086876795391546069412304791750494152134372009747178787539973689591640492995648956037055958548361186986987855858801607/48962446066905813998430443481365644550516177451103110221292319557897333173250302870249118970480342133178876237482857279748046774750099880690701891471879602996535816960635237068293324846516675000000000000000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 7,
            "x": "8",
            "y": "-8.224297618941085",
            "defined": true,
            "xExact": "8",
            "yExact": "-16405344785405757819228237120336528092435967682349296428862925053474716632832224446965319000480235117240356440100147784736120089342330708736280241/1994741137239877596107026712047568802316463802523494711465562817952394778363542992857372928521697269970348100656040438010833685595000000000000000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 8,
            "x": "9",
            "y": "-10.988701671735114",
            "defined": true,
            "xExact": "9",
            "yExact": "-21919615269466644908235098019828322618831662125243324076453856448488038885960534065616738397710514259975417886610408356498909564769042965791744041/1994741137239877596107026712047568802316463802523494711465562817952394778363542992857372928521697269970348100656040438010833685595000000000000000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 9,
            "x": "10",
            "y": "-3.9863569083576258",
            "defined": true,
            "xExact": "10",
            "yExact": "-30091835284558645368055331972181065076873551148545193307429811833609988622375712021613411548502596019919137787105027565472211550768389116946047562918124773081630858193629650719972742700925259121405658216943503/7548705742195183071903940218660353052885486062384810605030255214402874117644736054591515617389676188169318880762834109157606338055450948971475059967969097801817962781306523763422624817789218425000000000000000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 10,
            "x": "11",
            "y": "-1.9623920047109775",
            "defined": true,
            "xExact": "11",
            "yExact": "-1068700964982337397266318413544010842374228286163080564325240053622074652740653101791985065569929430383422963317675422798429506963294155894267905685983936447428592327709895776157240635893465054432770663/544590969804596413020875867490478214572173180499891662582291956347961781837566933387603883903508230353440243185947085200269095065682694497099688613862084954176985334779167472306611337561500000000000000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 11,
            "x": "12",
            "y": "-1.3909571925867006",
            "defined": true,
            "xExact": "12",
            "yExact": "-8413604534280371206364489620514004126518579475546472540864341250064918188603713476950147987993262077440757127255167829164154798987967123297891819815355349028863560476184240534004100863643242277465413747603371/6048787539344736600376751119166745558659318902305198937784485329720711901796176736523068200118662814497974694235729040138580145249994528119174393674119285689560688909164412778227240867283501485000000000000000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 12,
            "x": "13",
            "y": "6.5265930672467745",
            "defined": true,
            "xExact": "13",
            "yExact": "19995059388174853099535272799614238567145420930474052497172892490327292225149978152069017484602013255838998754841907704127586588212988128825027433/3063628938123717700598223730503789325185283121841823725685289795098893219454896463903099101039518860274145101907802991719569280745000000000000000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 13,
            "x": "14",
            "y": "3.8809725244203461",
            "defined": true,
            "xExact": "14",
            "yExact": "40299640415892582912341505051393184851612851881223074985869605279305276964306101659764438369964605948607177186606224708564568475979756516853073/10383902530181311159420409203100821734169734314207287910267835741448695090706948560756638204366365147527807701084522814195360152812500000000000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 14,
            "x": "15",
            "y": "-10.30275590615275",
            "defined": true,
            "xExact": "15",
            "yExact": "-20551331032944003663444638781764288335229000231746712346026051115866034242306185185944188655661377126439160191062471826935049601389248502857442041/1994741137239877596107026712047568802316463802523494711465562817952394778363542992857372928521697269970348100656040438010833685595000000000000000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 15,
            "x": "16",
            "y": "-3.6116757274882483",
            "defined": true,
            "xExact": "16",
            "yExact": "-665245437341433110458441840786125654722780716777925167253020527974235996419809262973793517401336519952299064168026905444327321372364871060268160143818736768702285435255257516567058072676581633552772801/184193013862869743027097276934606154287232083320959501458807272414761665301136150539082136995848337804675634150526403790772715323449119947799464269939542917676754147908569862153006586083000000000000000"
          }
        ],
        "plotFile": "ml21-code/python-realdata-country-result/plot.svg",
        "fullResultFile": "ml21-code/python-realdata-country-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "person": {
        "api": "realdata",
        "variant": "person",
        "language": "python",
        "title": "Actual NSW experimental722: out-of-fold scores",
        "input": {
          "kind": "person"
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/realdata-person.py",
        "codeSHA256": "d1d8073a70a1b990a57d7f12f3fcb8d1997a8faffe4891c8d747dd17859ba81f",
        "code": "\"\"\"ML21 complete standalone fixed example, not a general API validator.\nRun: python this-file.py NEW-OUTDIR\nFixed literal input is also supplied as matching human-readable JSON.\nRealdata reads3factual CSVs under data/, using owned public scalar code byvalue.\nNo production engine/model/checker/computed answers are imported.\n\"\"\"\nfrom pathlib import Path\nfrom fractions import Fraction as F\nfrom collections import defaultdict,Counter\nimport csv,json,hashlib,sys,html,math\nif hasattr(sys,'set_int_max_str_digits'):sys.set_int_max_str_digits(200000)\ndef f(v):return v if isinstance(v,F)else F(str(v))\ndef ck(v,label=''):\n if not v:raise AssertionError(label)\ndef maybe(v):return dict(defined=False)if v is None else dict(defined=True,value=v)\ndef mean(v,w):return sum((a*b for a,b in zip(v,w)),F(0))/sum(w,F(0))if sum(w,F(0))else None\ndef extremum(values,p,radius,cap,sign):\n q=list(p);budget=radius;upper=[min(F(1),cap*x)for x in p]\n order=sorted(range(len(values)),key=lambda i:(sign*values[i],i))\n donors=list(order);receivers=list(reversed(order));left=right=0\n while budget>0 and left<len(q)and right<len(q):\n  i,j=donors[left],receivers[right]\n  if sign*values[j]<=sign*values[i]:break\n  move=min(q[i],upper[j]-q[j],budget)\n  if move>0:q[i]-=move;q[j]+=move;budget-=move\n  if q[i]==0:left+=1\n  if q[j]==upper[j]:right+=1\n  if move==0 and q[i]>0 and q[j]<upper[j]:raise AssertionError('transport made no progress')\n return q,sum(a*b for a,b in zip(q,values)),sum(abs(a-b)for a,b in zip(q,p))/2\n\ndef fixed_source(kind):\n selectedKind=kind\n S=Path(__file__).resolve().parent/\"data\"\n def read(n):\n  with(S/n).open(encoding=\"utf8\",newline=\"\")as stream:return list(csv.DictReader(stream))\n def source_rows():\n  rows=read('actual48-country-revised-original-2023-2024.csv');lk={(r['countryISO3'],r['indicatorID'],r['date']):r for r in rows};isos=sorted({r['countryISO3']for r in rows});g=sorted(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])for i in isos);median=(g[7]+g[8])/2\n  models={'country':[dict(id=i+':2024',originalID=i,sourceRow=i,foldGroup='country:'+i,a=int(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])>median),x=[f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])/10000,f(lk[i,'FP.CPI.TOTL.ZG','2023']['originalValueToken'])/10],y=f(lk[i,'NY.GDP.MKTP.KD.ZG','2024']['originalValueToken']))for i in isos]}\n  native=read('actual38408-NSW-all15-fields.csv');pairs=defaultdict(dict)\n  for r in native:pairs[str(int(f(r['id'])))][int(f(r['year']))]=r\n  people=[]\n  for ID,pair in pairs.items():\n   pre,post=pair[1975],pair[1978];ck(pre['treated']==post['treated'],'native stable treatment');sel=int(f(pre['experimental']))==1;ck(sel==(pre['treated']!='.'),'no recode missingtreatment')\n   if sel:people.append(dict(id='nsw-id:'+ID,originalID=ID,sourceRow=int(post['sourceRow']),foldGroup='nsw-id:'+ID,a=int(f(pre['treated'])),x=[F.from_float(float(pre['age']))/10,F.from_float(float(pre['educ']))/10,F.from_float(float(pre['re74']))/10000],y=F.from_float(float(post['re']))/10000))\n  models['person']=people;company=[]\n  for r in read('actual410-NJPA-all46-fields.csv'):\n   ys=[]\n   for suffix in['','2']:\n    v=[None if r[k+suffix]=='.'else f(r[k+suffix])for k in['EMPFT','EMPPT','NMGRS']];ys.append(None if None in v else v[0]+v[1]/2+v[2])\n   company.append(dict(id='njpa-row:'+r['sourceRow'],originalID=r['SHEET'],sourceRow=int(r['sourceRow']),foldGroup='sheet:'+r['SHEET'],a=int(r['STATE']),x=[None if ys[0]is None else ys[0]/10,None if r['CHAIN']=='.'else F(int(f(r['CHAIN'])==2)),None if r['CO_OWNED']=='.'else f(r['CO_OWNED'])],y=None if None in ys else ys[1]-ys[0]))\n  models['company']=company\n  for kind,rr in models.items():\n   groups=sorted({r['foldGroup']for r in rr},key=lambda g:(hashlib.sha256(('ML21|'+kind+'|'+g).encode()).digest(),g));folds={g:i%4 for i,g in enumerate(groups)}\n   for r in rr:r['fold']=folds[r['foldGroup']];r['eligible']=r['y']is not None and None not in r['x'];r['role']='analysis'if r['eligible']else'excluded';r['w']=F(1)\n  return models\n MODELS=source_rows()\n def solve(A,b):\n  n=len(b);M=[list(a)+[v]for a,v in zip(A,b)];pivot=[];i=0\n  for j in range(n):\n   k=next((k for k in range(i,n)if M[k][j]!=0),None)\n   if k is None:continue\n   M[i],M[k]=M[k],M[i];v=M[i][j];M[i]=[z/v for z in M[i]]\n   for k in range(n):\n    if k!=i:\n     v=M[k][j];M[k]=[a-v*b for a,b in zip(M[k],M[i])]\n   pivot.append(j);i+=1\n   if i==n:break\n  beta=[F(0)]*n\n  for i,j in enumerate(pivot):beta[j]=M[i][-1]\n  null=[]\n  for j in range(n):\n   if j in pivot:continue\n   v=[F(0)]*n;v[j]=F(1)\n   for i,k in enumerate(pivot):v[k]=-M[i][j]\n   null.append(v)\n  return beta,null,len(pivot)\n def source_expected(a):\n  base=MODELS[a.get('kind','person')];rep=a.get('representation','full');rr=[]\n  for r in base:\n   full=r['x'];x=full if rep=='full'else[]if rep=='constant'else[F(r['a'])]if a.get('kind','person')=='country'else[F(full[1]>F(6,5)),F(full[2]>0)]if a.get('kind','person')=='person'else[full[1]]\n   group=('higher-GDP-category'if r['a']else'lower-GDP-category')if a.get('kind','person')=='country'else('schooling-over12'if full[1]>F(6,5)else'schooling-at-most12')if a.get('kind','person')=='person'else('chain2'if full[1]else'other-chains');rr.append(dict(r,x=x,fullX=full,group=group))\n  eligible=[r for r in rr if r['eligible']];limit=a.get('trainingLimit',len(eligible));keep={r['id']for r in eligible[:limit]};lam=f(a.get('lambda','1/100'));eps=f(a.get('clip','1/20'));nuisance=[];out={};dimension=len(rr[0]['x'])+1\n  for fold in range(4):\n   tr=[r for r in rr if r['eligible']and r['id']in keep and r['fold']!=fold];fits={};means=[sum(r['x'][j]for r in tr)/len(tr)for j in range(dimension-1)]if tr else[];scales=[max(r['x'][j]for r in tr)-min(r['x'][j]for r in tr)or F(1)for j in range(dimension-1)]if tr else[]\n   def z(r):return None if not tr or None in r['x']else[F(1)]+[(v-m)/s for v,m,s in zip(r['x'],means,scales)]\n   for name in['e','mu0','mu1']:\n    use=[r for r in tr if name=='e'or r['a']==int(name[-1])]\n    if not use:fits[name]=dict(defined=False);continue\n    Z=[z(r)for r in use];Y=[F(r['a'])if name=='e'else r['y']for r in use];N=len(use);A=[[sum(v[j]*v[k]for v in Z)/N+(lam if j==k and j else 0)for k in range(dimension)]for j in range(dimension)];b=[sum(y*v[j]for v,y in zip(Z,Y))/N for j in range(dimension)];beta,null,rank=solve(A,b);minimum=sum((sum(b*z for b,z in zip(beta,v))-y)**2 for v,y in zip(Z,Y))/(2*N)+lam*sum(v*v for v in beta[1:])/2;fits[name]=dict(defined=True,trainingIDs=[r['id']for r in use],rows=N,rank=rank,unique=rank==dimension,theta=beta,nullspace=null,minimumObjective=minimum,meanX=means,scales=scales)\n   nuisance.append(dict(fold=fold,complementRows=len(tr),fits=fits))\n   for r in rr:\n    if r['fold']!=fold:continue\n    zz=z(r);pred={name:None if zz is None or not fit['defined']else sum(v*b for v,b in zip(zz,fit['theta']))for name,fit in fits.items()};eRaw=pred['e'];e=None if eRaw is None else max(eps,min(1-eps,eRaw));inv={name:zz is not None and fit['defined']and all(sum(a*b for a,b in zip(v,zz))==0 for v in fit['nullspace'])for name,fit in fits.items()};out[r['id']]=dict(r,mu0=pred['mu0'],mu1=pred['mu1'],e=e,eRaw=eRaw,propensityClipped=e is not None and e!=eRaw,nuisancePredictionDefined=all(v is not None for v in pred.values()),queryInvariantAcrossMinimizers=inv)\n  return rr,nuisance,[out[r['id']]for r in rr]\n def aipw_expected(rows,role='all'):\n  out=[]\n  for r in rows:\n   reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n   if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n   plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n  def summary(use):\n   ww=[r['w']for r in use];arms=[]\n   for A in[0,1]:\n    arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n   return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n  use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n raw,nuisance,oo=source_expected(dict(kind=selectedKind,representation='full'));scores=aipw_expected(oo);use=[r for r in scores['rows']if r['eligible']];values=[r['score']['value']for r in use];p=[F(1,len(use))for _ in use];lo,low,ltv=extremum(values,p,F(1,10),F(2),-1);hi,high,htv=extremum(values,p,F(1,10),F(2),1);fits=[]\n for n in nuisance:\n  for name,z in n['fits'].items():fits.append(dict(fold=n['fold'],fit=name,trainingIDs=z['trainingIDs'],rows=z['rows'],rank=z['rank'],unique=z['unique'],theta=z['theta'],minimumObjective=z['minimumObjective'],meanX=z['meanX'],scales=z['scales']))\n rr=[]\n for r in scores['rows']:rr.append(dict(id=r['id'],sourceRow=r['sourceRow'],originalID=r['originalID'],foldGroup=r['foldGroup'],fold=r['fold'],a=r['a'],y=r['y'],x=r['fullX'],eligible=r['eligible'],eRaw=r['eRaw'],e=r['e'],mu0=r['mu0'],mu1=r['mu1'],plugin=r.get('plugin'),score=r['score'].get('value'),IPWContribution=r.get('IPWContribution')))\n unit={'country':'GDP growth contrast, percentage points','person':'native real1978earnings/10000','company':'post-minus-pre FTE employees'}[selectedKind]\n return dict(kind=selectedKind,unit=unit,rows=rr,fits=fits,AIPW=scores['overall']['AIPW'].get('value'),plugin=scores['overall']['plugin'].get('value'),IPW=scores['overall']['IPW'].get('value'),normalizedIPWContrast=scores['overall']['normalizedIPWContrast'].get('value'),stressMinimum=low,stressMaximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\n\ndef aipw_expected(rows,role='all'):\n out=[]\n for r in rows:\n  reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n  if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n  plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n def summary(use):\n  ww=[r['w']for r in use];arms=[]\n  for A in[0,1]:\n   arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n  return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n\n# Owned standalone fixed-example adapters; no production engine import.\nQ=F\nnumber=f\ndef fixed_robust(a):\n values=list(map(f,a['values']));p=list(map(f,a.get('probabilities',[F(1,len(values))for _ in values])));radius=f(a.get('radius','1/10'));cap=f(a.get('cap',2))\n if cap<1 or not 0<=radius<=1:raise ValueError('invalid-robust-constraint')\n lo,low,ltv=extremum(values,p,radius,cap,-1);hi,high,htv=extremum(values,p,radius,cap,1)\n return dict(values=values,p=p,radius=radius,cap=cap,baseline=sum(v*w for v,w in zip(values,p)),minimum=low,maximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\ndef fixed_aipw(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  rr.append(dict(id=r.get('id',str(i)),a=None if r.get('a')is None else int(f(r['a'])),**{k:None if r.get(k)is None else f(r[k])for k in ['y','e','mu0','mu1']},w=w,role=r.get('role','analysis'),group=r.get('group','all')))\n return aipw_expected(rr)\ndef fixed_effects(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  y0=None if r.get('y0')is None else f(r['y0']);y1=None if r.get('y1')is None else f(r['y1']);A=r.get('a');A=None if A is None else int(f(A));rr.append(dict(id=r.get('id',str(i)),a=A,y0=y0,y1=y1,w=w,effect=None if y0 is None or y1 is None else y1-y0,observed=y1 if A==1 else y0 if A==0 else None))\n complete=[r for r in rr if r['w']>0 and r['effect']is not None];treated=[r for r in complete if r['a']==1];arms=[mean([r['observed']for r in rr if r['a']==A and r['observed']is not None and r['w']>0],[r['w']for r in rr if r['a']==A and r['observed']is not None and r['w']>0])for A in [0,1]]\n return dict(rows=rr,completeRows=len(complete),ATE=mean([r['effect']for r in complete],[r['w']for r in complete]),ATT=mean([r['effect']for r in treated],[r['w']for r in treated]),observedContrast=None if None in arms else arms[1]-arms[0])\ndef fixed_representation(a):\n atoms=[dict(id=r['id'],p=f(r['probability']),y0=f(r['y0']),y1=f(r['y1']),e=f(r['e']),phi=r['phi'])for r in a['atoms']];groups=[];ATE=sum(r['p']*(r['y1']-r['y0'])for r in atoms)\n if sum(r['p']for r in atoms)!=1:raise ValueError('law-probabilities-must-sum-one')\n for phi in dict.fromkeys(r['phi']for r in atoms if r['p']):\n  use=[r for r in atoms if r['phi']==phi and r['p']];mass=sum(r['p']for r in use);t=sum(r['p']*r['e']for r in use);m1=sum(r['p']*r['e']*r['y1']for r in use)/t if t else None;m0=sum(r['p']*(1-r['e'])*r['y0']for r in use)/(mass-t)if mass!=t else None;groups.append(dict(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=None if m0 is None or m1 is None else m1-m0))\n adjusted=None if any(r['contrast']is None for r in groups)else sum(r['mass']*r['contrast']for r in groups)\n return dict(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=None if adjusted is None else adjusted-ATE)\ndef fixed_validate(a):\n rr=a['rows'];cc=a['candidates'];groups=a['requiredGroups'];eligible=[r.get('y')is not None and f(r.get('weight',1))>0 and r['role']not in ['excluded','unused']and all(c['predictions'][i]is not None for c in cc)for i,r in enumerate(rr)];out=[]\n for c in cc:\n  def risk(ids):return mean([(f(c['predictions'][i])-f(rr[i]['y']))**2 for i in ids],[f(rr[i].get('weight',1))for i in ids])\n  vr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='validation'];tr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='test'];gv=[risk([i for i in vr if rr[i]['group']==g])for g in groups];worst=None if None in gv else max(gv);criterion=risk(vr)if a.get('criterion','worst-group')=='mean'else worst;out.append(dict(id=c['id'],validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=criterion))\n available=[i for i,z in enumerate(out)if z['criterion']is not None];selected=min(available,key=lambda i:(out[i]['criterion'],i))if available else None\n return dict(commonEligibility=eligible,groups=groups,candidates=out,selectedIndex=selected,selectedID=None if selected is None else out[selected]['id'],selectedScore=None if selected is None else out[selected]['criterion'])\ndef fixed_operation(api,a):return fixed_effects(a)if api=='effects'else fixed_aipw(a)if api=='aipw'else fixed_representation(a)if api=='representation'else fixed_robust(a)if api=='robust'else fixed_validate(a)if api=='validate'else fixed_source(a['kind'])\ndef report_values(api,z):\n summary=[];series=[]\n def add(k,v,u):summary.append((k,v,u))\n if api=='effects':\n  for k in ['completeRows','ATE','ATT','observedContrast']:add(k,z[k],'rows'if k=='completeRows'else'constructed outcome units')\n  series=[('known constructed effects',[(i+1,r['effect'])for i,r in enumerate(z['rows'])])]\n elif api=='aipw':\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast']:add(k,z['overall'][k].get('value'),'constructed outcome units')\n  add('eligibleRows',z['overall']['rows'],'rows');series=[('AIPW row scores',[(i+1,r['score'].get('value'))for i,r in enumerate(z['rows'])])]\n elif api=='representation':\n  for k in ['ATE','adjustedContrast','bias']:add(k,z[k],'constructed outcome units')\n  series=[('representation contrasts',[(i+1,r['contrast'])for i,r in enumerate(z['groups'])])]\n elif api=='robust':\n  for k in ['baseline','minimum','maximum']:add(k,z[k],'declared value units')\n  for k in ['minTV','maxTV']:add(k,z[k],'probability mass')\n  series=[('minimum weights',[(i+1,v)for i,v in enumerate(z['minWeights'])]),('maximum weights',[(i+1,v)for i,v in enumerate(z['maxWeights'])])]\n elif api=='validate':\n  add('selectedIndex',z['selectedIndex'],'zero-based candidate index');add('selectedScore',z['selectedScore'],'squared outcome units');series=[('validation criterion',[(i+1,c['criterion'])for i,c in enumerate(z['candidates'])])]\n else:\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum']:add(k,z[k],z['unit'])\n  add('sourceRows',len(z['rows']),'analytical records');add('eligibleRows',sum(r['eligible']for r in z['rows']),'records');series=[('actual out-of-fold scores',[(i+1,r['score'])for i,r in enumerate(z['rows'])])]\n return summary,series\n\nFIXED={'api': 'realdata', 'variant': 'person', 'title': 'Actual NSW experimental722: out-of-fold scores', 'input': {'kind': 'person'}, 'expectedFailure': False}\n\ndef fixed_svg(points,title):\n good=[p for p in points if p['y'] is not None];xx=[float(p['x'])for p in good];yy=[float(p['y'])for p in good];xmin=min(xx)if xx else 0;xmax=max(xx)if xx else 1;ymin=min([0]+yy);ymax=max([0]+yy)\n if xmin==xmax:xmin-=.5;xmax+=.5\n if ymin==ymax:ymin-=.5;ymax+=.5\n pad=(ymax-ymin)*.08;ymin-=pad;ymax+=pad;X=lambda x:82+(float(x)-xmin)/(xmax-xmin)*608;Y=lambda y:354-(float(y)-ymin)/(ymax-ymin)*290;e=html.escape\n out=['<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"'+e(title)+'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">'+e(title)+'</text>']\n for j in range(5):\n  y=ymin+(ymax-ymin)*j/4;x=xmin+(xmax-xmin)*j/4;out.append('<line x1=\"82\" y1=\"'+str(Y(y))+'\" x2=\"690\" y2=\"'+str(Y(y))+'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"'+str(Y(y)+4)+'\" text-anchor=\"end\">'+format(y,'.3g')+'</text><text x=\"'+str(X(x))+'\" y=\"380\" text-anchor=\"middle\">'+format(x,'.3g')+'</text>')\n series=list(dict.fromkeys(p['series']for p in good))\n for j,s in enumerate(series):\n  pp=[p for p in good if p['series']==s];color=['#0f766e','#c76622','#4f46e5','#b23857'][j%4];out.append('<polyline fill=\"none\" stroke=\"'+color+'\" stroke-width=\"1.5\" points=\"'+' '.join(format(X(p['x']),'.6f')+','+format(Y(p['y']),'.6f')for p in pp)+'\"/>')\n  for p in pp:out.append('<circle cx=\"'+format(X(p['x']),'.6f')+'\" cy=\"'+format(Y(p['y']),'.6f')+'\" r=\"2.6\" fill=\"'+color+'\"><title>'+e(s+': '+str(p['y']))+'</title></circle>')\n  out.append('<text x=\"'+str(82+(j%2)*310)+'\" y=\"'+str(432+(j//2)*23)+'\" fill=\"'+color+'\">'+e(s)+'</text>')\n out.append('<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>');return''.join(out)\n\nOUT=Path(sys.argv[1]);OUT.mkdir(parents=True,exist_ok=False)\nresult=fixed_operation(FIXED['api'],FIXED['input']);summary,series=report_values(FIXED['api'],result)\ndef encode(v):\n if isinstance(v,Q):return str(v)\n if isinstance(v,dict):return{k:encode(x)for k,x in v.items()}\n if isinstance(v,(list,tuple)):return[encode(x)for x in v]\n return v\n(OUT/'full.json').write_text(json.dumps(dict(arithmetic='Exact Fraction fixed examples; factualsource and knownhypotheticallaws separate; empiricalTV notCI',result=encode(result)),ensure_ascii=False,indent=2)+'\\n',encoding='utf8')\nsummaryRows=[dict(metric=m,value=''if v is None else str(int(v))if isinstance(v,bool)else str(v),unit=u,defined=int(v is not None))for m,v,u in summary]\npoints=[dict(series=name,index=i,x=str(x),y=''if y is None else str(y),defined=int(y is not None))for name,pp in series for i,(x,y)in enumerate(pp)]\nfor name,rows in [('summary',summaryRows),('plot-points',points)]:\n with(OUT/(name+'.csv')).open('w',encoding='utf8',newline='')as f:writer=csv.DictWriter(f,fieldnames=list(rows[0]));writer.writeheader();writer.writerows(rows)\n(OUT/'plot.svg').write_text(fixed_svg([dict(p,x=number(p['x']),y=None if not p['defined']else number(p['y']))for p in points],FIXED['title']),encoding='utf8');print(FIXED['api']+'/'+FIXED['variant'])\n",
        "returnCode": 0,
        "stdout": "realdata/person\r\n",
        "stderr": "",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/python-realdata-person-result",
        "kind": "person",
        "inputFiles": [
          {
            "file": "ml21-code/realdata-person-input.json",
            "sha256": "e95cf97521382850b0837c4a500052ad70e460ed642b971b3401a0e498803812",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          },
          {
            "file": "ml21-code/data/actual48-country-revised-original-2023-2024.csv",
            "sha256": "bd444c284344c21f8b980885aea1b76af20754bb31e31d9d9e111ecd44c1454e",
            "scope": "Actively read factual CSV"
          },
          {
            "file": "ml21-code/data/actual38408-NSW-all15-fields.csv",
            "sha256": "346be71909903ab5050146d4fc6eabd86320da3511df612d6ae877c775853014",
            "scope": "Actively read factual CSV"
          },
          {
            "file": "ml21-code/data/actual410-NJPA-all46-fields.csv",
            "sha256": "0e89461df7e5dfecef38e91d474480f8083577fab0c2a8d4285896c8ed2ee669",
            "scope": "Actively read factual CSV"
          }
        ],
        "files": [
          {
            "file": "ml21-code/python-realdata-person-result/full.json",
            "sha256": "748285caa1a677ec8560f9d77cbd4223c276ae3f4a92d8f92a069c32d2d911ec",
            "bytes": 1241090
          },
          {
            "file": "ml21-code/python-realdata-person-result/plot-points.csv",
            "sha256": "4be576c3cc21b680cfc06ed1c870b41659e44a00050df45df6ae6ace8abddea7",
            "bytes": 186824
          },
          {
            "file": "ml21-code/python-realdata-person-result/plot.svg",
            "sha256": "872d18daf650380a143b5d32ba4630339d677cd50e3881a5d64bf4fec62dcb4d",
            "bytes": 259182
          },
          {
            "file": "ml21-code/python-realdata-person-result/summary.csv",
            "sha256": "370dc2fa47c3a6ffa72dc4d7c77dbfbb1e4bccf2ed6838765ff92c83cced21d3",
            "bytes": 199489
          },
          {
            "file": "ml21-code/python-realdata-person-result/stdout.txt",
            "sha256": "d7e0fa91de26834e6d1043b4c29c76888db28b289bcd21642007f61749704715",
            "bytes": 17
          },
          {
            "file": "ml21-code/python-realdata-person-result/stderr.txt",
            "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "bytes": 0
          }
        ],
        "summaryRows": [
          {
            "metric": "AIPW",
            "value": "0.0913492425",
            "unit": "native real1978earnings/10000",
            "defined": "true",
            "rawValue": "200125736019172351381910289142563852565381376977648066048372580784926851081559223137841613826686420512901371461695120209516991741879480621795365491745463820616067648544193839374915103241129706786106621848728528573320351735046230452906814901204042336521384166380355533739205227534458104260769413784405890192458152133663288927652840050815802816692592603482084980930001345177872039602228575952312575220218238834846458949643910822385336249295790588075842165600531428196455712571529663458148279038567624167496622155738071872012001959489987282992617566837121166721849934210073949054113843194639185453151363546345313294975916920776183150481940542101990977909966085869320145798366814705068216157235696519535183812397523515720355636964973987794939030181336971909928497537319634155632872310052431291270094267164034592538258640372334795270090311884530973613037449056829822685230855857527195833960871965801060239316174893322940826506409537723000984263780971159935906884809611788884111032486898246118957124802447353534027005788389487901719518666261652022603334013428445653216133626430795250663273588376243600567358646169952230490084934664221785863654585327477768977984144726464211376835112754153874657399267625994318515111910591453962264221126875355159561575686182094201467632187437241586749291647122489514551832556214541630606365572118827029067219722397729934248909861832282339934438700837225436936756939666366477681064715121506212887244021326473390938804822486571641602600713848175473789469171177499695759059827712907850321186864754550622691889924898184253031263305317537693696528369439892088497103434942167729926705309424845070425362541221387897068743292956103145145555226567791867870482592852965584420884109095827012165272128221148490483269337477764659829716379708817916989757396176828495152647783816679834106365436016547368324042935843448772048589326690951756451871169449304791946675244970005752758081186700560382181324697900824644611085844516785173798280609781616306420141913060987082595982818358246444695765368902019098571903843159049894519958164664688910099803629571741621209653687703303303945312730194685261679467672836768549553048826883892499813924105326001548081351363913128363427653591371246763892155465724708353492682165920635713500141054137353671495509872989499234427736163100929254401714078796016128479829262330272032540771647698204919524439813689373562490299813534221389405693597136773755770676513111046042547304059084281991775914834209500097189270132148852583604971236463407952559092033610324857813354936865000847054336798436654789592361511073427914389095282004781448791909347535511660632074138623176126433043109588208566524026096582810155761527103601579626168072513788274472488619800743241737184328375761113950938646061681932485476462707436718271999365524633406638191283096648432842406202314129287783693789844375533491488818902136163149153172842088568250676355590818946555974155663516009130405146705705897962928930779102194630427699167997821393947409563185457657177221540492170383466321238224522574463758165992529764687269883984543953277034921021458728062911349408869420373443408827385326902369808495141342671094843380306921368066331356961526030394876874035553110536676650138483216815310057389420994649824449437894448926085933489320641979158490421633394700961139961359113215815597108208292194684591947542474869252383365382379287115584820392157768538596026640297496197246648997585780357694013829735875134186529857442043127140319209933841171443133523310862729198768596251465539499587973677285840183525071644106457874747002364460373064930609911943436078065420301344074244338313212831593681747874025509425417652012535821751637637008593740161124558367507020320495312013343158529628857503239626641575625498115233147911720501493244108318619736823585111677158620876394463669297585608112984153075223193044145007163747107455590872093775737558198483984203505729856327434649549346564655977686834174851182132951107456530008150516075353765535909503000410349322702065537443794019686818067901712651401671276745440028321107170447618732432476848882626656141376133225242661352717630465515802419521411571764367191814058608123446055672071739019216937685157614366694169748618346275229732757347985306017710800242752577672210667595064766747090042230453671726021167652300703098450875282123716335757014493293177464083454880354801572149278343722027710563240364041057908259901426182650905214573409657968701311038847973126282736311332552489157321462244853603919105639117424354206885540110958194979601200543592837859458844798037845668205718801625730870984465260164108699018275958230719235929453163830834683726210260034850361806156602471640092350837758974470375677024340018226269482857710753374701443349441850458218608805195956634539581910520746428122022920968250298318775161161325445206691047023341887366660843549356879280492497080455906539928710005663207856743172230516379943229006711243718828020050086974933785797436947383941057612141527204666930236627289382060351084984613216389572977904297280005307127085256479988197279080456397806129433462369489932412489711345688338182477003562120099452160968694120723402752803262358447672056507540096611652656569555427788115963589687736585018814609015891341421129819452534776490720075814163620686744354668499003475608338777793353603476588094972950242821867138477838845241164620035280259910477004651059553613295784940615083893612580098778458204605925347485607715635434493242329026752626458108614283392008616458372325426663451292098343828463081333254968152156742240213507703115958049536147954150913130004074799703603619998961875749703823741007340871379673716789745713937055217111755600653962597535811134267968213907892298746841406932862517013764122666446735553781448035398630271445178312286502895013824713021326610737576199437432864513451587755860250758412725976468718624197288097770826595465616113368982362886122153316616754198859680956571696976288722861148216643976932214911875409033446043620738248406924768612525071929912719918366619121103508777177993778171306941531368399284717076931882723142093213023180486924772747308876177902733013166547058899054422463347961884070504123203132214768795341704801147332267477059323026868274151987902560947363452561329289475743741145043316874068741441538852040573153058815317041670120724912797455316668593052008964117978417208555553326607455617680745992644260583384156107647921877639853438564778062997341055062973453883070707808346002250564401294048566808838277259663238016747562112496927894797782420307731133381057719026168713706209129917945340984800980106030489981442973204170161874102069425308670662314678269901110231058153954624237530766299663942255724122979246715505320830515494347247650199860859521267823528087039315024410260391959938414411363186093685102752645810834281418911661736486710942619790212646039366127879410779616231666534543948576405694110424775212616835916624618087632740332823708258582610783517006621900857471911538935386701899595271299807227548247784013844638503750992465511555932968263948831093618417487275472788297376332660984551037958012986791003148375449215893822204098296479729124096705345386368652043056547265762040695601454441704872788507282430658549428934414463985888596831375583659646697751632502316205667986919854195360163918005259649867926465490566583785074457592012554325420577444291885902797321386028076573203668369395596501737190546682470544479999525261220586405089217398895023308539102971735801827034514901337611303613075014943841143656038020138557922945435703204632598668468179422507448306150935201778921644085092107728026154309023512423175788368792860218298906737380518752329459352401187427596829849729776508987618636923279108386554330261232382993436587894183674956882186961945811390502094373169966728736326066140638252725412633467295031136817966898467217772185660157638699936323250137743120854899992413408165504002797555296645616781710312867766123261982291177858439916453374926695231449040190904349182409440542798567665559739743129723591766190682035059787353607987605166529462885054631631524432959012392767117909783050215563141115527381044999277077070047258561857647620843350130812148707796954028169893232358772905855643438323456907445026040756402822899275290016488374985346018424549573921359890570767761387072264211683802743745431396259384697743960515433292149722946713270208263596315824769119690997057822702236700441226242585885632042548070563340066684636217960473624731687583087396358197438610827709353909486042219688140224715686489213001109679604718430442034802740438330519040087304706154552824906003949834531036637441046759293931648717680158620205268847744985606098654131883637691211317366998772757082390818496377014188546547561889398911919161230878610221045502696657878458545103769885697683892159453123208376198072771036400782587826400501318920217690622914782724461337288992239376577327022623900290455992902923576547813477752130673135709988269303845306721288376657067873419265127772243781317187398491542520745727576594411192912510839044848353106026309790687579796765081782763957956069428663223545433508097867468185412456681737422864182432260635587041668219851245344485614088150294423993406142869462811803630539640443673285563897322425891983458744585598271463229249947286200898002213343557841349579217331148848738654826464850462641596629503010806531416623992347624005276533672447659432427707391824516841890023233296767461318790778659493799274954549217346039987551169853224206884340010355444752792410597427397414937850493675532390629191465676082293554105002328200089308690470576989122215177447489834179574090970239417355435854773533745896616898454589041202336888632122833022607375385738814612872727361141925564112142173394423247222992779151814614630308203930690403368996237525081032807842878853415661094003973761719758854858682310522922308404943984561728416005434847468811437212132872708844870835307523050004338139406871253999256476457412746612104918895204193536048259262588368586239829341459283276101998308040538458874377048682357314900068302220148781119268151839531696231373005661885021816388989300231661560034999695190956100762154327363498406819578463491589431790794406953529348816573688383977657606128296971925033659864450600714567127864142738064492975746214162140877510252206788625673804429028807073651825512591834844687279607889686644168911468972721445603375981041095018796169953389927223417910038638674036878951498287913728937765331331551620897304990477441725054410015539816459428111162278673315789795580922785217729952224928478166594374775972803652495126759501513518566185318848187695049324220858509072217648027214841654004457322165103500887659676866049832703322057893571149193154289072015097394337477034911370834949513990476913848192536808500379962526820216395126429505704668877356197780749340133294681492393510557536970958969737365044340205025951900415368273735722799935489669424093560232670096235801517527405906916372247495320632118894135735501544197912500834319834737160534133545287687830850034553492382431159578144789985981999950387615659502729393953297223544242938000527792698964968530772876322028500397733873707475020121078002797345664145503909087593499022903701409022529791976988165110032895821929846008331034785166076828989198186138457317624384962334911326019168134653257780056299243567443880585521757893890730203295377313346066210108115733863262081687944493141244369664122647837697044577001971635975352897337184344163380029029915104121148464838629945803499954510983440112798567847025069285866588818826115444248400464571836354618653868386349943037881890096846096416093649328818026151645801794730118761248910905097038283923633545716603734474989456927311499695724859856441394258521881709483843456057588670199929730784278754534131642131518375661216312758682418588837404489494745593055634145528207780855610614562954554721250151931044831576044636848909539991997635162484436824852425716954150161067471829119416846391019722915751239256154196134864927498295741674985418526630401264701156333277015370421809443028480386644627732937545188839803282590133730833586417263812054661736657026297400475593467332097570159355176200589263775340548854134220130749945871788832868767288345701625276402300182081359582562693152020122376757258226824298756167670406127449220219778682240519566981311426935265650656183231465960193508450051351266221987508046164406658894670655393939897504542680813992741652803574888938662284785058957937250392969392741691087042975190972952095305735971955427328698930292024877399082901640342567077959470430419147233135432845363573629106736633967086945097757474920323144832394698313370504507708147083168662266885810465791323288801466453589990217915605247384785290950793257036241685359212661717275765586168860286157660189153711610815519854142473567437848118489132402854289693082702592799412620622758308584976881711648326232610694669650649952069810096223772056597872783904564369467775215940163246531062274471565725254911488053552681713171436704986425782008464713001385883107912851754090528142699088701743663980069982176995474333120456435033960683993945363554152257686412231408756483172860174990828781355616313097617710614409711158853302514870057788983644948416699765287057042327881750638325816029484606420745715199276066397565995911813697171884323424847909196739920082096559121054505195273428290167991311302970313755593715378001661741943187802397393821014993492542081142947431489754296359216839325426812203844312228807474528366482432850375551942956330406138827115785641538957553922984632868644088310071656892026967585786330879992228848908125468765347695771033880233898653005442047628518252945899709149197259176319778863057489342468421735479481665870955166013518261402387248756054191327366381355889357777124817084285828520535681241831220903453158071755746709581367376272809573256592526974179355557846532446312438193929298127013591182969060702153335002420320360816397025537313989281716505691845301376650432028531872565139040755549486417682478173792267934958880122646672977312370985077175366611039607521161421826950020144867121878194214774203876690059516838514189820914150884263591453479713680933833735780604934478066663668533828127172171341727843155229631798503802942493655315511172777561106080662467857331054098854690193848628902175239420901203870957051918737713356413128114299519794060553460870632970449278208786947543206096365054696535511901037454033700234138356608795712377574569534878325738158573600268808918057647746974492257134524225336169614091056391622266989309020289715445285890394167134902211907054476803832116082641309216134140056973806250538908094242470100535575894599985027594219019094638733081367778057233471958499125377888596980489026456058180936189225673458987663939177950896723927095154674609174606923868558264584708278628577796803869432247970273088526363052825452069244497420042615519727114940688727996898233413360135777975185144287029861079305943276310289635140255495143489452980101271350215661319595733856936161487836736687524241088477186568430766856591427118566340289128146854375916589882026929893964641274770265212180178023328103979542983459739778035549200002746876328924714466520971489999507240748126394605643941225147937204857932152095690043296876045307052707785660991753798017201506742192174404090215157602343972549929750481036104211087424661712430375477254007021946131170034078034143411162270185885599353658035354697061598930872951251630549666136221629246866027095447694925817343185461518030888929597905327187210500086266940985943683894965100710051496956665486248007230720600576722763117501329936330733423531232801535657744921725733897223319430854119864686423320485204825606350777807383326963782636131304824975368860442305984462114259397765660564470302405680809175659523638364044086985290366545559800812992261875405426434564805590238408284687316171665798675484451634658333489368045793496072541053484109943919836835145698900924511233092285974044050215366598539323577926764440684995891525875434163849032683208902647050450473919563049917335515217655784765363276659896383121204202967264328395237295949935024035463580144160195398267983490972240234720421722102538111946513792490299903590986686664624414281231845484071477040169763278181968930731233666325730350108940299737304154289188429345358137556052597386412474490678033734298714547479557157399400941121837438664969898338851102832161701253109351615474206827041060369403117504408851169386701896276060038389417086496627367707196377994748114307219735451196881989670120374047556172007349832680082769651410346320519717275785144761744052139450657316090886380387890061301923709444748665420480159004746106375962879786203260595317395457837099348955353591896442347724747270498725117377855373789247705463088614381985761161365792201716346307313671877334571170877791245222734535737356552764345228669440416420788213380330970276691063974835009655959144518804275772095156458196885075643851100047773473280463158775148221353665131309629039846690750160058266022836853448520176360875317887514677028314938051110446238614832418140444245712670246209691431694205171236127478937748855712573294242018096102946794551076568882021755098502987250256743811345466316017015463445242052779675094871486366517050439401515314310885693190259080560926094483923938308535709157692244038728293653488428563543053394905613135217918585864740590717497132818562715744704749161498860010642184824896113578250083278181470726928495563631816657634392451574320658855198174452958456519462071833068256547485020049181161933909553195929126520425388426887297119489084607794941476762762248038732393038150950614262229620229341510298616314219835834245424373592426183552844421096681155916283395316967803364623927136350206285902194707850173563529821954594153827949344361831107693994695071514469549452275129881318371552709687250713205193595387913981064595775893931443096232179476362201617026731849746428108915733042335867668266074664771307096102053156856760177738918860691330239356380851095081178951117671031249670184944710552818753254175585205580070916667784226582813893504898312520518433438057317784850457308305251666836186479501678950760767579560646108365885661637188033303805304029510279456254669510520848855254038137482322277417519756148885871355558472452457888527266584180151121383461196320974926141872485525947459841996082787443410382123139982043001548470179438440509990554061102880624837571674425129369120103080574232408679109973512586101511620951430185721762639446145300959219347514265817198192208517263324184722969845545173759754746350946662409324708866539048723679844570761722396045804067773333744013760522574155157167167124975360158823180962577507264720489207700560666375020296016942168349752328730451663097430376414784773753477143786803143290981406579520068127535340953286542154443958862411565990498543105556295028755796755342460160799702973366860981453957679841884326240687353631909443662453099478328321091851075767004562545149916864080301087452432456457744110853740696114867866412237314401511198797208781508544406160357254196722463635171547525362146414129983195915095380797050596371472612165298931346396175465974419598969192358857235905948227330272006025690650030586570756126134293854023860561273310206089587179869609884431586512144548969608696368546075076832214060197532043038899607312280174409563636586307805110180458123113145853993360681643536473345239569752854948778705036416755069979844922512125945485880915736468871574740704764199522448634244784813149941764104049734830524573914923756637464417322003259556746969764019452494688904498664225207825994236175893910641032148044396116862257643525629050554752527236548104023833466592147541525483025938236975609419079773844883994727988180274106556879798760887966221244355833930474659944937856707735297024913764244624398235633158328776320575086332892074359112107223800812480316365214085425065053974613811109197081790127022884553563020923169372619055513385601071165857157442840510952637330996482161800939792802146249130760511400274400363065207956046372361048760387309503423578769279867540048796036690385708430788872356444202354536825429610653475649089757479204199898762925561923081618857734926431100963725097312048330596987638127674725564481802903934514779484059708460932175756392327476935451508171814383774317747719152814336241844508943332429872822140634662367074202792627743768008204874884325623738149777761287234677565304746757712048619620849424109270001023159027771506401120884835139878144607255655282524506132158655666374286911640577412015276990071053825438675756999487537254005955157922138015569726115178771833287215298251640460161163636875577085878439883160408577626754255887855238826461992338458057190382281165627482951107732199287182356369330765076328382558815169793784485013805519551976039181837231732623529449516741486262115033718564538910146372927459414034773113306239114218154885892259571102622693761552147043331635175726412575533474805317178284553919639797480296253565029287916709132744349524124272110996827035807039787539082528701273633427868016778327371993145542501931500836949329735963809509149952040142188792171505970571822213224416017179372513352278711199850107476967201952163322974854602996724140993750960444790308127610138416222958666502421532007033502315420175057344634449683780045842856869500113918406080674465039692994969717372253184431002658511194021128539326478542600435928266128177704362967765617296172805486187996055771536978260873146637105932392584059114762770274240778706161537351364520599914773493747217307217401739527854155175914256529721863107009478404126878501401715056940015078696796381670053490700996776936190670462403408957235718569645198018200070416753615869138355313551063806990134878045419821108818956970979166304091359857779047432709256187644355885601499787913477507366361066949201387671618810745517044781096619476188753580559948660564596405201226293384938639108379244123714472874732672671831867474561201823195345642666691547366598241363311467144973065477769640159/2190776086293861004513636416657916685795292987539848641378590194808464456215580180809628590445883204896104250165121595535292271707463057184666830782765924574548325982518209637114775167494086499986798856875283244459193711282074597366466866798220570055905157570332461807236740531466838279336859066004814997884635049692659208192985952970144460467077847691490382082598272402190953751792347115206344162414544620464973910554017199811540456586605126778272653970145137238788541053715509505099987556678211459636349975724877164347553950314249244354053350983050149917139337485408614686161616789770614119355871972349162276349139592538692679238771600787181136090125316078064838999264133854003161865680367958323518927719787878412669919388299589551018061538490371515094502637004401257326731315945289395993466205850672200680720632142145838669244446912878435765052495883566079225666601165044260745700285730090387777323897205665945151100710811635314158251004875645089410740134862789604705782014931728121975775601128841982377206143811905065022779394739026925822683816332088393352559991654188427078557173092243995989070122170901374696514536380178738469214208658965959329884868561574912382163239264929286230832239378041860361269089602499661266828486454624621325269760912583013180958640864394130679284651092448805895847197840883792803439211655766916370124841554761207695441391507278021031638923301363540407428274983056339444842238989447811656894746779399348468415371137545685287449682256256367436301333985271469156934162815306758943206370215051109008094177738124507215813480367017849332621899016925474264942961803300960790489198694709673280924721916602037249473397465749049964007403828315854164513904645757384222599709589000721976311147621825884217867194885283236216129403609804862158024535222953056579092504611174705185905504214336430474298128635241894787317467300680517629316483037006677310149740004896506917222869151281162654598853727473983479758459121792668507327157713086048718795014663410283087789090833128940795244226122873049086804610247738580804920502046658260472566379223740645877681774948879072064106249060522401123096679062502515166925346552113077459690439966050406893826925110169529765105563102530184481066044598625676233936991372320170634968613739061930545718080032116509635877774460260248982165554844398574886670357386215226422187312718341389333784102306007383151415393657004529325130860782566211230024674306510280758275564072143695158811675278172689039557892128355740383637844628659656785694839195455451051711382895589885470251796606313485482398418079417359736337757934289687982817082907403416945283195317982367763274796923433418321836832662590532952086085914045030442756279163581827079312508234978200390222992710023387847315046847043671492358816614042146473802251366208559712858720410710933618257117899411008929095786576234007470480446226307997434589682054353790269179500616857571293027235876907399874952701690353141883610954107117597472083977963520950167114501892503163631566923044520301379593683623353235329665247212991776594048956326757417576177683659215840961807028179990166131667890972676704944628619303416949021519077303362085026415083720583650078295700886581181736832951956761997625915017036077386345794053857871166788179373519295361443335865641034594783971913246818347559699076887835740606163354672198904419683799401235242652409187007102754513141383249915216594808831156822672226880205416490760628879971268948458856006797079578587169937035549194863782076538470517031591321859691402153622106919676921190381587902531744627343117362526540027932665372153375536817495777204463581650535875755286180676777981439248449222784648399938154449618311607547634059653533207949767824241398780837399093820892148994537221111542208127990526784116773570775408573902491214933773739755561550933246638917967647065003947349295147855432162593061288207639493692933610537296611031376517988646058304004540502971517460751272647483365519468717116508359419828230180793666164918871273961070541647306124526448408603816596485211012182076312956366789087420089403480838587051042084675657198563721786591252522116657847044428358152157803197511531097655672708431698206058971495782999517636103549445250030669851670885511802878872480394457481573405140692041431229131517870870346697003468132827046449507191312801374936760843893973175391475948389368044643186941133985336177613060516227157888804848244639458301376582403244293165731528693964311559181525052152007930164094419057794810508724478731374201038963699204248476551892286892938112012506439190402107813708281337905008329100576046897390819676579478560932486614109176840515608561862038145020940817848029321754720083145093391346663311289015359001218858213131429387068778974210523700261571756179759627107823459237937399504025410872744360461157352830734586568771528067935560986183383208215712432190093316295625308375198830589181225494081412866760561597155055962455270516220057232461887409629467803556017521896559198293468332262552434312897724217414418306546512633834691889370416456207615933242854124617877501952634325153217807562972487374589454751181266173942774826062415216389904297450281660604377677854622011101246331152515676510558509906179190514469233713076514577727469094992313786195271274486890960788015881825574577890742470397899350329752966858070409619043280719680565750014381563363930991092990659834918192215071842138245812522602388535359170674596087316896453602641499307242985402240468821569049765630685879592801576434427186956763327196239021546856959052607032951366693472597034028173235114856763681068520766419741759512809128964804657551964203469507922175741652053091429952120598136620447428601019390952726712282761249526857916724372580379200599492821705147941400791430117079354134797031809202267221085795671291387296989689368660426812224201036839224695565162560806467379438229577501584114903094810966887342338814485666913479939214100172520997415612763878006162632016932696653406682931792492431900042521349405072999738805843735021417521464417060964398464163530476752119787942694063247904597217602966254638043379370687030570628465475482780624310451870335934881742818466068494058134447269116537128721994809139369186015896515641804217053417129449828562438594181979615067655320695599004599927598246098191452417158502482352598659455910416128345758714288956610071378137594520057361217746537772970944337639490117640056751880267490402450243659317871574590476168692001824894332559816795843475778090041973736018421752013030462213097491436576706265696628874405841205680902823151922733717465297297788072467222509325422242987753966310004235586595300015821749576797565865902117716008992317597661699424388990067463868038745492976245274314579629182069880891659752088208060976888104190450461612496348060084388608567920198159143224220143835244835562664241042303958772907707680510965052961777379930846471261958445610962997879476523890434437665411358523927277516661960027003994901549377078669320273122191272547139868024642995050738922061016756347467564088315935921915050324381619517468954984916219488418673782456855946065998417858957250968028402732602353499864177771652420977363813860686383577040189093008807321752842751100379193856172533667270125293568154004553691573817040025368376794697337674190904992210891444218627554266105304254507516528058690943142143514869956646412539656438908567222185259417218953216751086272127772850380639094337566329107229646220225582771200303284979218138727978661549957454628443517758659067876991457536515946843384757480109614698134651610355195803769950889683924005617274034201260471268419166467642953814350412310844423928958363099064171541016388671340708013802625991175540120840622339510465697025858754524503316413149395135378188746629304993972880892880372658733443200277674589355457433664552084909973548513111604960503764993637205502096721243485167521634937828705154301519366078175703051657111252734275978224461519329841612912033170793952927446274721533851887554182725049530885329250080594353373295100063008059453202800450777182359428831265747336153107811825289423850221378432004090861400558932947629298277297895002772331501849798995702772114596622299385548287871431671111413258638921166382448897785114254009741576865658494431760876703795929483098262454814651345319892236649447878397941911717650301865706541044488814630538013584924033137629072398401281650030318405600252233654483296404752614994422051218441722894300697881319312829526415312778975761396150761982760374857555803781593340974696063723326905779242640462967245812173278041787495946730603854316190175710467327911314518611665844159405958823826330073947340385643219942210172310435118321187284947600439266093416731711649912848754338982847770847757818697780793339803318041748185294786393060013460924307994988005611996039374368583847080389232774387086548635097932595640266129894910741955595303203124752460421406978244394436698386515839664709098259609171143254853600768468150504308272434619177305616441428165297075089612509489685785065509497981660125083673967238358732667636851004461881580031621030811657868020012629863002148617736411539587032452265388948459784187700477093603287440449459433241599164306113418021375203066881677565202312867345069954262405219429448156305405051484771493627336828945653764146865493755018043675825244881500461426846288647022237363254174252394779863749603087532097182517618545172265264695710940247556665806458687571118049413634312724071325592619945072316894239848925266917729713980036165352363176934621127895615077471561113844791106597960389593470709959143158655592534073565098322260234301473717532141617724128954539069465907807725323463993189388681657007650228485901542391663911019403225555332428715102644878907337667761641164969579197424480122482117209886379494928627078644835435774933723592829084244316110636641055583127978352511462543992749798670327433278530188182817218618556167990975625517430951961684997854183211077741165143376113453013485456547452881483251039457342869384295333972506644282122673346804343077555814062794516748207232450929345414484257816553245660404519105432070507814654401104239247422119325875704384002652010990368335256737386150505208022795787602688346844787308148513308214631817829815405229483085058963130868895982951391309048643825875685136751822843151189710280486433315747246368539917043980493729437538143569915926227575129076074076185896196662775614852306867751665816661978682782657949814983991183303282353572140975680956839203349211035627764300131898923227500440993840714818945667142337301309539342388738779559125879538755602650902401921830007019323356730004145404035074910575930474046915018108615617249065255979157865822028841888728115573911771716341970342295648133091295315639115061994389767093478726799269895834211881114463488689395777791106116549754423273531966063127117917809486638958208962853157658356037495356113795522020630835029500379546888536730588248216069134087948166377206415879139204523048156803038501902494433466583116154378537283840889292286178319132764374431884174781304354016514710092490023665384417594379504548762159131801471003342313228216448022093581825901460804348746114169063311708054474038792049701792037831397345348060809447490249849572965698108758934124108914728010456340866278674857396760183354037397739017651053469572069396205128248341192141512744992321090069100600324521899464738746733374468841416790318030715718920689341849944291734697183090912432672046717646763939276275299665576302384043920982269126594819033685868725575527309031283536149147212845368400800121277422880819670335582254956398282464937140686281056325501871415446759358777572730101651564096130693414953547152899438121536902160416182775235109264793708501111172395233464963129778700599808284353897052432757077867376907475972522273104074280574918690452789145016415932705748218013756720403468028798314946507338490438453118795546671821295434637230902342343136785180888286037512571114170371277450602724171666559658368514002931100260405651054235203919925670474294688206214515633559110669682836216815501943943224203770534189598552612817288406489477436475476815165948451768038744347652371746976342116979912775006943990174086994080785936530805263387103490952725596748193398926281738989142901214743697472929778748061374380517906971035702578000675076789547112606641459778327453775628582652432105982693255698804711059889332603638404546024333543019940177140727562071637045253423205986009737481290570183939658088180788623181086455496052927254430838376080357895599539820613015668439347157917563698169332875282603555253706698089461328522509184272596076479248406076019167279796469803200176106259611802693536320201119319748461804806721333799965706347699867517420573959983517451186756743630785075394760267009698828545544941072520867411602014344005501544004491397910235426447608580711481799800404003512221019484291729338975524548418596537888310921249143584242136303623558586931649940431063421982232011398067524275892515888618018291087625469770653380959369543251521446509942368682332576342980540040572516986763690790164183683355383954257615980529415407904988005825557040801151485927873365439517561376934962961023047501902151897078595528730385943444249670008757486776766029329258174795969383520161980077519814999792340172006328052951981245223474654620175564911001339526626444057163204873919639692394924628189536074266452909255179695831026256572734173611278554241175990550081037699792659034610494410989380836329874125373300286533633289527208441948379251234759146421396542353466961894826720042656366165910467867082218702798879298085612567139726978649467424497070788887193187887918176514947707371769553682341259623568911489211733478856765326784786279130484429132799186607079156081930868642472844246668007599487145670744385822185673673018223985311701822976821027502348807583850741560334373151114407452038377324625799053872493541563795737361787656407560605743513645259869084455502718783956645509074394950663103927396908519910087588074554272679684008863094927262089791868893152432445263195975377256060002760297336143864764072998502028039632327393408806723814347587198456514107020759031065518065091157055016762309617122185844082433793710195190946438492613850658148649949084249023948163040013410822539500218422146566811765866331536424873724929608142461953161386449489496453381928243176072142306925132408505045780402386342996344319671077539332540527254899103260870468125740133624567439403865433215892673837375427612752746278715445361680093077705481945563988768951613643370757688965770345878934018396182205131264406689895873714889904747227257933317700524361108845420490596830753290505113799954068279458318233312249480930075838997141401140863376090505394060418199597135891118413072857092893207663437794641632535018805558694614788588163111743079629709408693255671818776654152950033663126725265923666857331515814764684107381473277425723776283408018253032450553928692394345470213022136662534087268301200682505394415708107161278924763026972768299656368650310925911670175432996161782710485567824663136180529856677819692309837555168843770248142317534752760816198727070131886197704674457069830291581646871690788578111978412789375381192973397194613687848215836906275415001691994554894965359827550130449633334917041544638738197362419778705537729836292008929462768787609410718403990560984230446519566712046864942904487845559231655239918680806418592489100775102921948171363834421402787384473686645951632819947261731207432061590544543076030680197903728090877565286740637951864151572080860913008076750412754594470570559278206948736260378679447711649903750323411992515922205742026649864082674013299319767883896327062809199692695462858315998408711449499134806058926550622786951217913081617758960336605726642154059489273320160356704541020302347645827361944264188905480791775690547940591447565587556634159186324483292308622563397066400236835639050997204643457259250180234680718486071582204477194343546063805409251542833593846288423722630497283527586385278894217726828090870144024465748903567031803129900938784469256034904381501789274089961222668890503886018938108043948856776211736000669425347851671991232261839749635886673217552272064714913915007945928491049650249457183147827860033689884879892302553000061879990938555362629642550142501563890172498925882346598013503920217372644872930038701312311000663805667128062622296150690637788757688718590466932935567303815740744945186041758216234181785291361955002286561497236334391721877509295078049119120554589989665092690474575858183043217841089784686706705298899439762830795394989198316477568095421502074420555759239159445743115156180131094971526293554925209096037816808410327048991231642769334912730189819882206163759378469383384912437642770817732847284350876544448383717086907235264861390523908463371513408225625475485731385602845823054690791739279692012952805481074207206575817833127654794037399621590124239316420857456154774865977724515529895757322111742786899472295411715917720938153638191002497455993610056793532828949668499139804280218619420778767138147016077211304416398193303272666549056804594713819876813618505776590268318477374971290989648758251922729577854626035774268962842265719514137256596576896877563930243247791731137032844205313475218628064559560420436080532155757928028777176805519257643637479670843768820811224062654012169616415940727406697567740125906330182402276858726223850002250817457662101949726128377667145114082905087925218939305917343108836024939424869822226116615863780477916446990895735568518669543000171882349293308874378596389797598595856487795698286423631545962490097336082950408191483943994716921722859552818924651604833507287616036930228559466210331690914612321456258744991111038984569820550126329807608595027671524666097610127872537114687540446193313831167201942097389702706012142209394133824482904134734423232001265389447083141053148881033223299247076510147210788766810274505724371104335702581851091101490506434154468889689519489928052340638438744960320487874973074696518666950282713752557107956001380225455782517205711981234601116424508894674541956207785412547902325544480809687770773797088995245339213881567110776344156596905665428848271158493316635339905645770006317805436338252161844717466528962808458521078048784435079697478343663617402564920868649244003127084189983583641838596636846041006421492801713375498359196710391274553169008603559868724279056018892513850957562127487601425424251771135275480978087266680056696227148877151506200495529540348258989812930952353162958421961029576926440553544051450933347117529835942365977140998209003340398756569241376625207040498504174048617647975730360507867044568253613420060147277334367131023694069017304720012435923743775902834357805510605714435535257922746507592670578025328778343306342037807479816833260895614500338504079858323817767998563311325140521914292407078297245451657135344937690702762419430504118565057498529175028680718769954206917767259504593375774008469249550545815500634744431166589161291570458149241123520851491295307295789579550364346745296829528296282467220297785825865305794607321598382938524162420077190963323667933289527191570846936921730508313625143355210167692879185126708360841978105433688640888335936673608576385001829773071054839447221989492942510236088286594057087349088414615463640829814499172259409282212275267563431366334620493438296902946441378170688226349486811899036565887512119047694251991298877465043854258320219829602020966419075855213558776094054098122978705848567418180418956235136735236439307152805169501443469308975669294832829931840626031887559893561664036070114292797452227141649862657632431034586034633834599062150286920922253629297753504215327722942059780807415712414899682444791329279270614089489768201702756790711185048608264316032569266668265337498002147782273523048898330982838314774220978321910349458225543088485603401898237071796676876631667787954152495491213294814148692547395077445702146224798957059068564577856822349806157183970262825821562182014615147088968133449737179492069023590326624275254462980262870656812986105598661391574113043874941613263047319511442889747814758335804673978036630193719576069389535332815777210202856320587188186936105029240038430316839391572937405648739991517291846847955751869184363603905282828378183833346685803215067571461227862495936025652534817957203542645960363678524066221210952793684362539182750368144552076675486064245725249255307687493604964449496646373294045422498436355701036432485230811524411619432966538056292528669148599983389251561612602856492345677255905281918195664333124197366428818375121658021686764629448460662976251199946586614488676869365834426400570165495619890198772834187215858459304815833619378533176321374878277946261073999711440045800312925695729128277605281039313234804072006557948888766061135596722238739370842844033736939039583412501892752683723094431820507051791228719760429088611203547882607699192561075745633223662193177377883421929611154391106841070889662658880950691116145499378076485355982544809382758307341268490103006681373262332115675828657045848277914945234055695274502132951214666642131781236237722609829793122422743538321344327893306144189326995243983460293811398780138656329252554904051055916190952564144475596929997828549979058145544101847120663707171513894554747297172299406329215484615582131044046100659340238800606079249027486761738195709399453296867480038453390706979128744958237612376847255238055962403614955237714244804838270014534426964369933291344435404992234177022455324155605596528507356525416868086051401234713693716877387495845414000765021868736634101332671856359426528598153535266044730453072035398820569976621896404183134623175530790520499501417439101255035535594710319048303786023236326221700999956224568964143347720061929725718316305090767687484946687137369239404539199918041856451398489759124764232582334604380199518285785197479278858490790610882051579469996619929139597536018769445343983267492873619644813345981496033280000",
            "exactFraction": "200125736019172351381910289142563852565381376977648066048372580784926851081559223137841613826686420512901371461695120209516991741879480621795365491745463820616067648544193839374915103241129706786106621848728528573320351735046230452906814901204042336521384166380355533739205227534458104260769413784405890192458152133663288927652840050815802816692592603482084980930001345177872039602228575952312575220218238834846458949643910822385336249295790588075842165600531428196455712571529663458148279038567624167496622155738071872012001959489987282992617566837121166721849934210073949054113843194639185453151363546345313294975916920776183150481940542101990977909966085869320145798366814705068216157235696519535183812397523515720355636964973987794939030181336971909928497537319634155632872310052431291270094267164034592538258640372334795270090311884530973613037449056829822685230855857527195833960871965801060239316174893322940826506409537723000984263780971159935906884809611788884111032486898246118957124802447353534027005788389487901719518666261652022603334013428445653216133626430795250663273588376243600567358646169952230490084934664221785863654585327477768977984144726464211376835112754153874657399267625994318515111910591453962264221126875355159561575686182094201467632187437241586749291647122489514551832556214541630606365572118827029067219722397729934248909861832282339934438700837225436936756939666366477681064715121506212887244021326473390938804822486571641602600713848175473789469171177499695759059827712907850321186864754550622691889924898184253031263305317537693696528369439892088497103434942167729926705309424845070425362541221387897068743292956103145145555226567791867870482592852965584420884109095827012165272128221148490483269337477764659829716379708817916989757396176828495152647783816679834106365436016547368324042935843448772048589326690951756451871169449304791946675244970005752758081186700560382181324697900824644611085844516785173798280609781616306420141913060987082595982818358246444695765368902019098571903843159049894519958164664688910099803629571741621209653687703303303945312730194685261679467672836768549553048826883892499813924105326001548081351363913128363427653591371246763892155465724708353492682165920635713500141054137353671495509872989499234427736163100929254401714078796016128479829262330272032540771647698204919524439813689373562490299813534221389405693597136773755770676513111046042547304059084281991775914834209500097189270132148852583604971236463407952559092033610324857813354936865000847054336798436654789592361511073427914389095282004781448791909347535511660632074138623176126433043109588208566524026096582810155761527103601579626168072513788274472488619800743241737184328375761113950938646061681932485476462707436718271999365524633406638191283096648432842406202314129287783693789844375533491488818902136163149153172842088568250676355590818946555974155663516009130405146705705897962928930779102194630427699167997821393947409563185457657177221540492170383466321238224522574463758165992529764687269883984543953277034921021458728062911349408869420373443408827385326902369808495141342671094843380306921368066331356961526030394876874035553110536676650138483216815310057389420994649824449437894448926085933489320641979158490421633394700961139961359113215815597108208292194684591947542474869252383365382379287115584820392157768538596026640297496197246648997585780357694013829735875134186529857442043127140319209933841171443133523310862729198768596251465539499587973677285840183525071644106457874747002364460373064930609911943436078065420301344074244338313212831593681747874025509425417652012535821751637637008593740161124558367507020320495312013343158529628857503239626641575625498115233147911720501493244108318619736823585111677158620876394463669297585608112984153075223193044145007163747107455590872093775737558198483984203505729856327434649549346564655977686834174851182132951107456530008150516075353765535909503000410349322702065537443794019686818067901712651401671276745440028321107170447618732432476848882626656141376133225242661352717630465515802419521411571764367191814058608123446055672071739019216937685157614366694169748618346275229732757347985306017710800242752577672210667595064766747090042230453671726021167652300703098450875282123716335757014493293177464083454880354801572149278343722027710563240364041057908259901426182650905214573409657968701311038847973126282736311332552489157321462244853603919105639117424354206885540110958194979601200543592837859458844798037845668205718801625730870984465260164108699018275958230719235929453163830834683726210260034850361806156602471640092350837758974470375677024340018226269482857710753374701443349441850458218608805195956634539581910520746428122022920968250298318775161161325445206691047023341887366660843549356879280492497080455906539928710005663207856743172230516379943229006711243718828020050086974933785797436947383941057612141527204666930236627289382060351084984613216389572977904297280005307127085256479988197279080456397806129433462369489932412489711345688338182477003562120099452160968694120723402752803262358447672056507540096611652656569555427788115963589687736585018814609015891341421129819452534776490720075814163620686744354668499003475608338777793353603476588094972950242821867138477838845241164620035280259910477004651059553613295784940615083893612580098778458204605925347485607715635434493242329026752626458108614283392008616458372325426663451292098343828463081333254968152156742240213507703115958049536147954150913130004074799703603619998961875749703823741007340871379673716789745713937055217111755600653962597535811134267968213907892298746841406932862517013764122666446735553781448035398630271445178312286502895013824713021326610737576199437432864513451587755860250758412725976468718624197288097770826595465616113368982362886122153316616754198859680956571696976288722861148216643976932214911875409033446043620738248406924768612525071929912719918366619121103508777177993778171306941531368399284717076931882723142093213023180486924772747308876177902733013166547058899054422463347961884070504123203132214768795341704801147332267477059323026868274151987902560947363452561329289475743741145043316874068741441538852040573153058815317041670120724912797455316668593052008964117978417208555553326607455617680745992644260583384156107647921877639853438564778062997341055062973453883070707808346002250564401294048566808838277259663238016747562112496927894797782420307731133381057719026168713706209129917945340984800980106030489981442973204170161874102069425308670662314678269901110231058153954624237530766299663942255724122979246715505320830515494347247650199860859521267823528087039315024410260391959938414411363186093685102752645810834281418911661736486710942619790212646039366127879410779616231666534543948576405694110424775212616835916624618087632740332823708258582610783517006621900857471911538935386701899595271299807227548247784013844638503750992465511555932968263948831093618417487275472788297376332660984551037958012986791003148375449215893822204098296479729124096705345386368652043056547265762040695601454441704872788507282430658549428934414463985888596831375583659646697751632502316205667986919854195360163918005259649867926465490566583785074457592012554325420577444291885902797321386028076573203668369395596501737190546682470544479999525261220586405089217398895023308539102971735801827034514901337611303613075014943841143656038020138557922945435703204632598668468179422507448306150935201778921644085092107728026154309023512423175788368792860218298906737380518752329459352401187427596829849729776508987618636923279108386554330261232382993436587894183674956882186961945811390502094373169966728736326066140638252725412633467295031136817966898467217772185660157638699936323250137743120854899992413408165504002797555296645616781710312867766123261982291177858439916453374926695231449040190904349182409440542798567665559739743129723591766190682035059787353607987605166529462885054631631524432959012392767117909783050215563141115527381044999277077070047258561857647620843350130812148707796954028169893232358772905855643438323456907445026040756402822899275290016488374985346018424549573921359890570767761387072264211683802743745431396259384697743960515433292149722946713270208263596315824769119690997057822702236700441226242585885632042548070563340066684636217960473624731687583087396358197438610827709353909486042219688140224715686489213001109679604718430442034802740438330519040087304706154552824906003949834531036637441046759293931648717680158620205268847744985606098654131883637691211317366998772757082390818496377014188546547561889398911919161230878610221045502696657878458545103769885697683892159453123208376198072771036400782587826400501318920217690622914782724461337288992239376577327022623900290455992902923576547813477752130673135709988269303845306721288376657067873419265127772243781317187398491542520745727576594411192912510839044848353106026309790687579796765081782763957956069428663223545433508097867468185412456681737422864182432260635587041668219851245344485614088150294423993406142869462811803630539640443673285563897322425891983458744585598271463229249947286200898002213343557841349579217331148848738654826464850462641596629503010806531416623992347624005276533672447659432427707391824516841890023233296767461318790778659493799274954549217346039987551169853224206884340010355444752792410597427397414937850493675532390629191465676082293554105002328200089308690470576989122215177447489834179574090970239417355435854773533745896616898454589041202336888632122833022607375385738814612872727361141925564112142173394423247222992779151814614630308203930690403368996237525081032807842878853415661094003973761719758854858682310522922308404943984561728416005434847468811437212132872708844870835307523050004338139406871253999256476457412746612104918895204193536048259262588368586239829341459283276101998308040538458874377048682357314900068302220148781119268151839531696231373005661885021816388989300231661560034999695190956100762154327363498406819578463491589431790794406953529348816573688383977657606128296971925033659864450600714567127864142738064492975746214162140877510252206788625673804429028807073651825512591834844687279607889686644168911468972721445603375981041095018796169953389927223417910038638674036878951498287913728937765331331551620897304990477441725054410015539816459428111162278673315789795580922785217729952224928478166594374775972803652495126759501513518566185318848187695049324220858509072217648027214841654004457322165103500887659676866049832703322057893571149193154289072015097394337477034911370834949513990476913848192536808500379962526820216395126429505704668877356197780749340133294681492393510557536970958969737365044340205025951900415368273735722799935489669424093560232670096235801517527405906916372247495320632118894135735501544197912500834319834737160534133545287687830850034553492382431159578144789985981999950387615659502729393953297223544242938000527792698964968530772876322028500397733873707475020121078002797345664145503909087593499022903701409022529791976988165110032895821929846008331034785166076828989198186138457317624384962334911326019168134653257780056299243567443880585521757893890730203295377313346066210108115733863262081687944493141244369664122647837697044577001971635975352897337184344163380029029915104121148464838629945803499954510983440112798567847025069285866588818826115444248400464571836354618653868386349943037881890096846096416093649328818026151645801794730118761248910905097038283923633545716603734474989456927311499695724859856441394258521881709483843456057588670199929730784278754534131642131518375661216312758682418588837404489494745593055634145528207780855610614562954554721250151931044831576044636848909539991997635162484436824852425716954150161067471829119416846391019722915751239256154196134864927498295741674985418526630401264701156333277015370421809443028480386644627732937545188839803282590133730833586417263812054661736657026297400475593467332097570159355176200589263775340548854134220130749945871788832868767288345701625276402300182081359582562693152020122376757258226824298756167670406127449220219778682240519566981311426935265650656183231465960193508450051351266221987508046164406658894670655393939897504542680813992741652803574888938662284785058957937250392969392741691087042975190972952095305735971955427328698930292024877399082901640342567077959470430419147233135432845363573629106736633967086945097757474920323144832394698313370504507708147083168662266885810465791323288801466453589990217915605247384785290950793257036241685359212661717275765586168860286157660189153711610815519854142473567437848118489132402854289693082702592799412620622758308584976881711648326232610694669650649952069810096223772056597872783904564369467775215940163246531062274471565725254911488053552681713171436704986425782008464713001385883107912851754090528142699088701743663980069982176995474333120456435033960683993945363554152257686412231408756483172860174990828781355616313097617710614409711158853302514870057788983644948416699765287057042327881750638325816029484606420745715199276066397565995911813697171884323424847909196739920082096559121054505195273428290167991311302970313755593715378001661741943187802397393821014993492542081142947431489754296359216839325426812203844312228807474528366482432850375551942956330406138827115785641538957553922984632868644088310071656892026967585786330879992228848908125468765347695771033880233898653005442047628518252945899709149197259176319778863057489342468421735479481665870955166013518261402387248756054191327366381355889357777124817084285828520535681241831220903453158071755746709581367376272809573256592526974179355557846532446312438193929298127013591182969060702153335002420320360816397025537313989281716505691845301376650432028531872565139040755549486417682478173792267934958880122646672977312370985077175366611039607521161421826950020144867121878194214774203876690059516838514189820914150884263591453479713680933833735780604934478066663668533828127172171341727843155229631798503802942493655315511172777561106080662467857331054098854690193848628902175239420901203870957051918737713356413128114299519794060553460870632970449278208786947543206096365054696535511901037454033700234138356608795712377574569534878325738158573600268808918057647746974492257134524225336169614091056391622266989309020289715445285890394167134902211907054476803832116082641309216134140056973806250538908094242470100535575894599985027594219019094638733081367778057233471958499125377888596980489026456058180936189225673458987663939177950896723927095154674609174606923868558264584708278628577796803869432247970273088526363052825452069244497420042615519727114940688727996898233413360135777975185144287029861079305943276310289635140255495143489452980101271350215661319595733856936161487836736687524241088477186568430766856591427118566340289128146854375916589882026929893964641274770265212180178023328103979542983459739778035549200002746876328924714466520971489999507240748126394605643941225147937204857932152095690043296876045307052707785660991753798017201506742192174404090215157602343972549929750481036104211087424661712430375477254007021946131170034078034143411162270185885599353658035354697061598930872951251630549666136221629246866027095447694925817343185461518030888929597905327187210500086266940985943683894965100710051496956665486248007230720600576722763117501329936330733423531232801535657744921725733897223319430854119864686423320485204825606350777807383326963782636131304824975368860442305984462114259397765660564470302405680809175659523638364044086985290366545559800812992261875405426434564805590238408284687316171665798675484451634658333489368045793496072541053484109943919836835145698900924511233092285974044050215366598539323577926764440684995891525875434163849032683208902647050450473919563049917335515217655784765363276659896383121204202967264328395237295949935024035463580144160195398267983490972240234720421722102538111946513792490299903590986686664624414281231845484071477040169763278181968930731233666325730350108940299737304154289188429345358137556052597386412474490678033734298714547479557157399400941121837438664969898338851102832161701253109351615474206827041060369403117504408851169386701896276060038389417086496627367707196377994748114307219735451196881989670120374047556172007349832680082769651410346320519717275785144761744052139450657316090886380387890061301923709444748665420480159004746106375962879786203260595317395457837099348955353591896442347724747270498725117377855373789247705463088614381985761161365792201716346307313671877334571170877791245222734535737356552764345228669440416420788213380330970276691063974835009655959144518804275772095156458196885075643851100047773473280463158775148221353665131309629039846690750160058266022836853448520176360875317887514677028314938051110446238614832418140444245712670246209691431694205171236127478937748855712573294242018096102946794551076568882021755098502987250256743811345466316017015463445242052779675094871486366517050439401515314310885693190259080560926094483923938308535709157692244038728293653488428563543053394905613135217918585864740590717497132818562715744704749161498860010642184824896113578250083278181470726928495563631816657634392451574320658855198174452958456519462071833068256547485020049181161933909553195929126520425388426887297119489084607794941476762762248038732393038150950614262229620229341510298616314219835834245424373592426183552844421096681155916283395316967803364623927136350206285902194707850173563529821954594153827949344361831107693994695071514469549452275129881318371552709687250713205193595387913981064595775893931443096232179476362201617026731849746428108915733042335867668266074664771307096102053156856760177738918860691330239356380851095081178951117671031249670184944710552818753254175585205580070916667784226582813893504898312520518433438057317784850457308305251666836186479501678950760767579560646108365885661637188033303805304029510279456254669510520848855254038137482322277417519756148885871355558472452457888527266584180151121383461196320974926141872485525947459841996082787443410382123139982043001548470179438440509990554061102880624837571674425129369120103080574232408679109973512586101511620951430185721762639446145300959219347514265817198192208517263324184722969845545173759754746350946662409324708866539048723679844570761722396045804067773333744013760522574155157167167124975360158823180962577507264720489207700560666375020296016942168349752328730451663097430376414784773753477143786803143290981406579520068127535340953286542154443958862411565990498543105556295028755796755342460160799702973366860981453957679841884326240687353631909443662453099478328321091851075767004562545149916864080301087452432456457744110853740696114867866412237314401511198797208781508544406160357254196722463635171547525362146414129983195915095380797050596371472612165298931346396175465974419598969192358857235905948227330272006025690650030586570756126134293854023860561273310206089587179869609884431586512144548969608696368546075076832214060197532043038899607312280174409563636586307805110180458123113145853993360681643536473345239569752854948778705036416755069979844922512125945485880915736468871574740704764199522448634244784813149941764104049734830524573914923756637464417322003259556746969764019452494688904498664225207825994236175893910641032148044396116862257643525629050554752527236548104023833466592147541525483025938236975609419079773844883994727988180274106556879798760887966221244355833930474659944937856707735297024913764244624398235633158328776320575086332892074359112107223800812480316365214085425065053974613811109197081790127022884553563020923169372619055513385601071165857157442840510952637330996482161800939792802146249130760511400274400363065207956046372361048760387309503423578769279867540048796036690385708430788872356444202354536825429610653475649089757479204199898762925561923081618857734926431100963725097312048330596987638127674725564481802903934514779484059708460932175756392327476935451508171814383774317747719152814336241844508943332429872822140634662367074202792627743768008204874884325623738149777761287234677565304746757712048619620849424109270001023159027771506401120884835139878144607255655282524506132158655666374286911640577412015276990071053825438675756999487537254005955157922138015569726115178771833287215298251640460161163636875577085878439883160408577626754255887855238826461992338458057190382281165627482951107732199287182356369330765076328382558815169793784485013805519551976039181837231732623529449516741486262115033718564538910146372927459414034773113306239114218154885892259571102622693761552147043331635175726412575533474805317178284553919639797480296253565029287916709132744349524124272110996827035807039787539082528701273633427868016778327371993145542501931500836949329735963809509149952040142188792171505970571822213224416017179372513352278711199850107476967201952163322974854602996724140993750960444790308127610138416222958666502421532007033502315420175057344634449683780045842856869500113918406080674465039692994969717372253184431002658511194021128539326478542600435928266128177704362967765617296172805486187996055771536978260873146637105932392584059114762770274240778706161537351364520599914773493747217307217401739527854155175914256529721863107009478404126878501401715056940015078696796381670053490700996776936190670462403408957235718569645198018200070416753615869138355313551063806990134878045419821108818956970979166304091359857779047432709256187644355885601499787913477507366361066949201387671618810745517044781096619476188753580559948660564596405201226293384938639108379244123714472874732672671831867474561201823195345642666691547366598241363311467144973065477769640159/2190776086293861004513636416657916685795292987539848641378590194808464456215580180809628590445883204896104250165121595535292271707463057184666830782765924574548325982518209637114775167494086499986798856875283244459193711282074597366466866798220570055905157570332461807236740531466838279336859066004814997884635049692659208192985952970144460467077847691490382082598272402190953751792347115206344162414544620464973910554017199811540456586605126778272653970145137238788541053715509505099987556678211459636349975724877164347553950314249244354053350983050149917139337485408614686161616789770614119355871972349162276349139592538692679238771600787181136090125316078064838999264133854003161865680367958323518927719787878412669919388299589551018061538490371515094502637004401257326731315945289395993466205850672200680720632142145838669244446912878435765052495883566079225666601165044260745700285730090387777323897205665945151100710811635314158251004875645089410740134862789604705782014931728121975775601128841982377206143811905065022779394739026925822683816332088393352559991654188427078557173092243995989070122170901374696514536380178738469214208658965959329884868561574912382163239264929286230832239378041860361269089602499661266828486454624621325269760912583013180958640864394130679284651092448805895847197840883792803439211655766916370124841554761207695441391507278021031638923301363540407428274983056339444842238989447811656894746779399348468415371137545685287449682256256367436301333985271469156934162815306758943206370215051109008094177738124507215813480367017849332621899016925474264942961803300960790489198694709673280924721916602037249473397465749049964007403828315854164513904645757384222599709589000721976311147621825884217867194885283236216129403609804862158024535222953056579092504611174705185905504214336430474298128635241894787317467300680517629316483037006677310149740004896506917222869151281162654598853727473983479758459121792668507327157713086048718795014663410283087789090833128940795244226122873049086804610247738580804920502046658260472566379223740645877681774948879072064106249060522401123096679062502515166925346552113077459690439966050406893826925110169529765105563102530184481066044598625676233936991372320170634968613739061930545718080032116509635877774460260248982165554844398574886670357386215226422187312718341389333784102306007383151415393657004529325130860782566211230024674306510280758275564072143695158811675278172689039557892128355740383637844628659656785694839195455451051711382895589885470251796606313485482398418079417359736337757934289687982817082907403416945283195317982367763274796923433418321836832662590532952086085914045030442756279163581827079312508234978200390222992710023387847315046847043671492358816614042146473802251366208559712858720410710933618257117899411008929095786576234007470480446226307997434589682054353790269179500616857571293027235876907399874952701690353141883610954107117597472083977963520950167114501892503163631566923044520301379593683623353235329665247212991776594048956326757417576177683659215840961807028179990166131667890972676704944628619303416949021519077303362085026415083720583650078295700886581181736832951956761997625915017036077386345794053857871166788179373519295361443335865641034594783971913246818347559699076887835740606163354672198904419683799401235242652409187007102754513141383249915216594808831156822672226880205416490760628879971268948458856006797079578587169937035549194863782076538470517031591321859691402153622106919676921190381587902531744627343117362526540027932665372153375536817495777204463581650535875755286180676777981439248449222784648399938154449618311607547634059653533207949767824241398780837399093820892148994537221111542208127990526784116773570775408573902491214933773739755561550933246638917967647065003947349295147855432162593061288207639493692933610537296611031376517988646058304004540502971517460751272647483365519468717116508359419828230180793666164918871273961070541647306124526448408603816596485211012182076312956366789087420089403480838587051042084675657198563721786591252522116657847044428358152157803197511531097655672708431698206058971495782999517636103549445250030669851670885511802878872480394457481573405140692041431229131517870870346697003468132827046449507191312801374936760843893973175391475948389368044643186941133985336177613060516227157888804848244639458301376582403244293165731528693964311559181525052152007930164094419057794810508724478731374201038963699204248476551892286892938112012506439190402107813708281337905008329100576046897390819676579478560932486614109176840515608561862038145020940817848029321754720083145093391346663311289015359001218858213131429387068778974210523700261571756179759627107823459237937399504025410872744360461157352830734586568771528067935560986183383208215712432190093316295625308375198830589181225494081412866760561597155055962455270516220057232461887409629467803556017521896559198293468332262552434312897724217414418306546512633834691889370416456207615933242854124617877501952634325153217807562972487374589454751181266173942774826062415216389904297450281660604377677854622011101246331152515676510558509906179190514469233713076514577727469094992313786195271274486890960788015881825574577890742470397899350329752966858070409619043280719680565750014381563363930991092990659834918192215071842138245812522602388535359170674596087316896453602641499307242985402240468821569049765630685879592801576434427186956763327196239021546856959052607032951366693472597034028173235114856763681068520766419741759512809128964804657551964203469507922175741652053091429952120598136620447428601019390952726712282761249526857916724372580379200599492821705147941400791430117079354134797031809202267221085795671291387296989689368660426812224201036839224695565162560806467379438229577501584114903094810966887342338814485666913479939214100172520997415612763878006162632016932696653406682931792492431900042521349405072999738805843735021417521464417060964398464163530476752119787942694063247904597217602966254638043379370687030570628465475482780624310451870335934881742818466068494058134447269116537128721994809139369186015896515641804217053417129449828562438594181979615067655320695599004599927598246098191452417158502482352598659455910416128345758714288956610071378137594520057361217746537772970944337639490117640056751880267490402450243659317871574590476168692001824894332559816795843475778090041973736018421752013030462213097491436576706265696628874405841205680902823151922733717465297297788072467222509325422242987753966310004235586595300015821749576797565865902117716008992317597661699424388990067463868038745492976245274314579629182069880891659752088208060976888104190450461612496348060084388608567920198159143224220143835244835562664241042303958772907707680510965052961777379930846471261958445610962997879476523890434437665411358523927277516661960027003994901549377078669320273122191272547139868024642995050738922061016756347467564088315935921915050324381619517468954984916219488418673782456855946065998417858957250968028402732602353499864177771652420977363813860686383577040189093008807321752842751100379193856172533667270125293568154004553691573817040025368376794697337674190904992210891444218627554266105304254507516528058690943142143514869956646412539656438908567222185259417218953216751086272127772850380639094337566329107229646220225582771200303284979218138727978661549957454628443517758659067876991457536515946843384757480109614698134651610355195803769950889683924005617274034201260471268419166467642953814350412310844423928958363099064171541016388671340708013802625991175540120840622339510465697025858754524503316413149395135378188746629304993972880892880372658733443200277674589355457433664552084909973548513111604960503764993637205502096721243485167521634937828705154301519366078175703051657111252734275978224461519329841612912033170793952927446274721533851887554182725049530885329250080594353373295100063008059453202800450777182359428831265747336153107811825289423850221378432004090861400558932947629298277297895002772331501849798995702772114596622299385548287871431671111413258638921166382448897785114254009741576865658494431760876703795929483098262454814651345319892236649447878397941911717650301865706541044488814630538013584924033137629072398401281650030318405600252233654483296404752614994422051218441722894300697881319312829526415312778975761396150761982760374857555803781593340974696063723326905779242640462967245812173278041787495946730603854316190175710467327911314518611665844159405958823826330073947340385643219942210172310435118321187284947600439266093416731711649912848754338982847770847757818697780793339803318041748185294786393060013460924307994988005611996039374368583847080389232774387086548635097932595640266129894910741955595303203124752460421406978244394436698386515839664709098259609171143254853600768468150504308272434619177305616441428165297075089612509489685785065509497981660125083673967238358732667636851004461881580031621030811657868020012629863002148617736411539587032452265388948459784187700477093603287440449459433241599164306113418021375203066881677565202312867345069954262405219429448156305405051484771493627336828945653764146865493755018043675825244881500461426846288647022237363254174252394779863749603087532097182517618545172265264695710940247556665806458687571118049413634312724071325592619945072316894239848925266917729713980036165352363176934621127895615077471561113844791106597960389593470709959143158655592534073565098322260234301473717532141617724128954539069465907807725323463993189388681657007650228485901542391663911019403225555332428715102644878907337667761641164969579197424480122482117209886379494928627078644835435774933723592829084244316110636641055583127978352511462543992749798670327433278530188182817218618556167990975625517430951961684997854183211077741165143376113453013485456547452881483251039457342869384295333972506644282122673346804343077555814062794516748207232450929345414484257816553245660404519105432070507814654401104239247422119325875704384002652010990368335256737386150505208022795787602688346844787308148513308214631817829815405229483085058963130868895982951391309048643825875685136751822843151189710280486433315747246368539917043980493729437538143569915926227575129076074076185896196662775614852306867751665816661978682782657949814983991183303282353572140975680956839203349211035627764300131898923227500440993840714818945667142337301309539342388738779559125879538755602650902401921830007019323356730004145404035074910575930474046915018108615617249065255979157865822028841888728115573911771716341970342295648133091295315639115061994389767093478726799269895834211881114463488689395777791106116549754423273531966063127117917809486638958208962853157658356037495356113795522020630835029500379546888536730588248216069134087948166377206415879139204523048156803038501902494433466583116154378537283840889292286178319132764374431884174781304354016514710092490023665384417594379504548762159131801471003342313228216448022093581825901460804348746114169063311708054474038792049701792037831397345348060809447490249849572965698108758934124108914728010456340866278674857396760183354037397739017651053469572069396205128248341192141512744992321090069100600324521899464738746733374468841416790318030715718920689341849944291734697183090912432672046717646763939276275299665576302384043920982269126594819033685868725575527309031283536149147212845368400800121277422880819670335582254956398282464937140686281056325501871415446759358777572730101651564096130693414953547152899438121536902160416182775235109264793708501111172395233464963129778700599808284353897052432757077867376907475972522273104074280574918690452789145016415932705748218013756720403468028798314946507338490438453118795546671821295434637230902342343136785180888286037512571114170371277450602724171666559658368514002931100260405651054235203919925670474294688206214515633559110669682836216815501943943224203770534189598552612817288406489477436475476815165948451768038744347652371746976342116979912775006943990174086994080785936530805263387103490952725596748193398926281738989142901214743697472929778748061374380517906971035702578000675076789547112606641459778327453775628582652432105982693255698804711059889332603638404546024333543019940177140727562071637045253423205986009737481290570183939658088180788623181086455496052927254430838376080357895599539820613015668439347157917563698169332875282603555253706698089461328522509184272596076479248406076019167279796469803200176106259611802693536320201119319748461804806721333799965706347699867517420573959983517451186756743630785075394760267009698828545544941072520867411602014344005501544004491397910235426447608580711481799800404003512221019484291729338975524548418596537888310921249143584242136303623558586931649940431063421982232011398067524275892515888618018291087625469770653380959369543251521446509942368682332576342980540040572516986763690790164183683355383954257615980529415407904988005825557040801151485927873365439517561376934962961023047501902151897078595528730385943444249670008757486776766029329258174795969383520161980077519814999792340172006328052951981245223474654620175564911001339526626444057163204873919639692394924628189536074266452909255179695831026256572734173611278554241175990550081037699792659034610494410989380836329874125373300286533633289527208441948379251234759146421396542353466961894826720042656366165910467867082218702798879298085612567139726978649467424497070788887193187887918176514947707371769553682341259623568911489211733478856765326784786279130484429132799186607079156081930868642472844246668007599487145670744385822185673673018223985311701822976821027502348807583850741560334373151114407452038377324625799053872493541563795737361787656407560605743513645259869084455502718783956645509074394950663103927396908519910087588074554272679684008863094927262089791868893152432445263195975377256060002760297336143864764072998502028039632327393408806723814347587198456514107020759031065518065091157055016762309617122185844082433793710195190946438492613850658148649949084249023948163040013410822539500218422146566811765866331536424873724929608142461953161386449489496453381928243176072142306925132408505045780402386342996344319671077539332540527254899103260870468125740133624567439403865433215892673837375427612752746278715445361680093077705481945563988768951613643370757688965770345878934018396182205131264406689895873714889904747227257933317700524361108845420490596830753290505113799954068279458318233312249480930075838997141401140863376090505394060418199597135891118413072857092893207663437794641632535018805558694614788588163111743079629709408693255671818776654152950033663126725265923666857331515814764684107381473277425723776283408018253032450553928692394345470213022136662534087268301200682505394415708107161278924763026972768299656368650310925911670175432996161782710485567824663136180529856677819692309837555168843770248142317534752760816198727070131886197704674457069830291581646871690788578111978412789375381192973397194613687848215836906275415001691994554894965359827550130449633334917041544638738197362419778705537729836292008929462768787609410718403990560984230446519566712046864942904487845559231655239918680806418592489100775102921948171363834421402787384473686645951632819947261731207432061590544543076030680197903728090877565286740637951864151572080860913008076750412754594470570559278206948736260378679447711649903750323411992515922205742026649864082674013299319767883896327062809199692695462858315998408711449499134806058926550622786951217913081617758960336605726642154059489273320160356704541020302347645827361944264188905480791775690547940591447565587556634159186324483292308622563397066400236835639050997204643457259250180234680718486071582204477194343546063805409251542833593846288423722630497283527586385278894217726828090870144024465748903567031803129900938784469256034904381501789274089961222668890503886018938108043948856776211736000669425347851671991232261839749635886673217552272064714913915007945928491049650249457183147827860033689884879892302553000061879990938555362629642550142501563890172498925882346598013503920217372644872930038701312311000663805667128062622296150690637788757688718590466932935567303815740744945186041758216234181785291361955002286561497236334391721877509295078049119120554589989665092690474575858183043217841089784686706705298899439762830795394989198316477568095421502074420555759239159445743115156180131094971526293554925209096037816808410327048991231642769334912730189819882206163759378469383384912437642770817732847284350876544448383717086907235264861390523908463371513408225625475485731385602845823054690791739279692012952805481074207206575817833127654794037399621590124239316420857456154774865977724515529895757322111742786899472295411715917720938153638191002497455993610056793532828949668499139804280218619420778767138147016077211304416398193303272666549056804594713819876813618505776590268318477374971290989648758251922729577854626035774268962842265719514137256596576896877563930243247791731137032844205313475218628064559560420436080532155757928028777176805519257643637479670843768820811224062654012169616415940727406697567740125906330182402276858726223850002250817457662101949726128377667145114082905087925218939305917343108836024939424869822226116615863780477916446990895735568518669543000171882349293308874378596389797598595856487795698286423631545962490097336082950408191483943994716921722859552818924651604833507287616036930228559466210331690914612321456258744991111038984569820550126329807608595027671524666097610127872537114687540446193313831167201942097389702706012142209394133824482904134734423232001265389447083141053148881033223299247076510147210788766810274505724371104335702581851091101490506434154468889689519489928052340638438744960320487874973074696518666950282713752557107956001380225455782517205711981234601116424508894674541956207785412547902325544480809687770773797088995245339213881567110776344156596905665428848271158493316635339905645770006317805436338252161844717466528962808458521078048784435079697478343663617402564920868649244003127084189983583641838596636846041006421492801713375498359196710391274553169008603559868724279056018892513850957562127487601425424251771135275480978087266680056696227148877151506200495529540348258989812930952353162958421961029576926440553544051450933347117529835942365977140998209003340398756569241376625207040498504174048617647975730360507867044568253613420060147277334367131023694069017304720012435923743775902834357805510605714435535257922746507592670578025328778343306342037807479816833260895614500338504079858323817767998563311325140521914292407078297245451657135344937690702762419430504118565057498529175028680718769954206917767259504593375774008469249550545815500634744431166589161291570458149241123520851491295307295789579550364346745296829528296282467220297785825865305794607321598382938524162420077190963323667933289527191570846936921730508313625143355210167692879185126708360841978105433688640888335936673608576385001829773071054839447221989492942510236088286594057087349088414615463640829814499172259409282212275267563431366334620493438296902946441378170688226349486811899036565887512119047694251991298877465043854258320219829602020966419075855213558776094054098122978705848567418180418956235136735236439307152805169501443469308975669294832829931840626031887559893561664036070114292797452227141649862657632431034586034633834599062150286920922253629297753504215327722942059780807415712414899682444791329279270614089489768201702756790711185048608264316032569266668265337498002147782273523048898330982838314774220978321910349458225543088485603401898237071796676876631667787954152495491213294814148692547395077445702146224798957059068564577856822349806157183970262825821562182014615147088968133449737179492069023590326624275254462980262870656812986105598661391574113043874941613263047319511442889747814758335804673978036630193719576069389535332815777210202856320587188186936105029240038430316839391572937405648739991517291846847955751869184363603905282828378183833346685803215067571461227862495936025652534817957203542645960363678524066221210952793684362539182750368144552076675486064245725249255307687493604964449496646373294045422498436355701036432485230811524411619432966538056292528669148599983389251561612602856492345677255905281918195664333124197366428818375121658021686764629448460662976251199946586614488676869365834426400570165495619890198772834187215858459304815833619378533176321374878277946261073999711440045800312925695729128277605281039313234804072006557948888766061135596722238739370842844033736939039583412501892752683723094431820507051791228719760429088611203547882607699192561075745633223662193177377883421929611154391106841070889662658880950691116145499378076485355982544809382758307341268490103006681373262332115675828657045848277914945234055695274502132951214666642131781236237722609829793122422743538321344327893306144189326995243983460293811398780138656329252554904051055916190952564144475596929997828549979058145544101847120663707171513894554747297172299406329215484615582131044046100659340238800606079249027486761738195709399453296867480038453390706979128744958237612376847255238055962403614955237714244804838270014534426964369933291344435404992234177022455324155605596528507356525416868086051401234713693716877387495845414000765021868736634101332671856359426528598153535266044730453072035398820569976621896404183134623175530790520499501417439101255035535594710319048303786023236326221700999956224568964143347720061929725718316305090767687484946687137369239404539199918041856451398489759124764232582334604380199518285785197479278858490790610882051579469996619929139597536018769445343983267492873619644813345981496033280000",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "plugin",
            "value": "0.0825812195",
            "unit": "native real1978earnings/10000",
            "defined": "true",
            "rawValue": "12125366350719684354723596488663139835984333952664984156241536251453597886273135627209467907975650237147652238900163473399656899745702224314522177436397254216641313622183263872961465213012996411940710585702576411137461927729926797198992345933908309775359853649139564044803867/146829586903834818728950239698342517824079731759204659728831440747882619150840165906013656639065079773127288445164985704352669962457326156818061454476280668520372501701926596561818329772636398576258161700083534863719650305245618385092726987054365680985362105606981770280960000",
            "exactFraction": "12125366350719684354723596488663139835984333952664984156241536251453597886273135627209467907975650237147652238900163473399656899745702224314522177436397254216641313622183263872961465213012996411940710585702576411137461927729926797198992345933908309775359853649139564044803867/146829586903834818728950239698342517824079731759204659728831440747882619150840165906013656639065079773127288445164985704352669962457326156818061454476280668520372501701926596561818329772636398576258161700083534863719650305245618385092726987054365680985362105606981770280960000",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "IPW",
            "value": "0.0906785992",
            "unit": "native real1978earnings/10000",
            "defined": "true",
            "rawValue": "138735373117134875663057616217206088463385871529931743665939487019432258546126628635322049600795448126535934387986083571083224444777660094829512537420754493826476308412364497395309478262241796232627386270336613293419550999121380961486002640893872122061808818858473998627477684309766552414764507450958395005603931706036596083371552237391428556717723039906151852956008886958880441875049339485648300220790246194603792452962288902191179723703844321008582848836316946652064057032135795654694784938343586165601660744326131689995878991429892081577580303348521181257252157043535286016295575787027052705066423802745825104070762564419159867209129160863271088764729053489159710121522787120237262749103035970091429766427870352734115905662344692332980580230487410467045069216804782110588978288503895788884198119662423403962936439849826409775753582544855219307995819994594195896522920675690002615254589940517665929631713398590647172993999533157514257874744628972218501212191750905694275084222845848997225533068834419233633340570878581524080930401434251264188403085118969414459116285843501634281786392575242293615786561437892064603908416644594006575950450607947507134416648717309303459616778605401486854225438257469458342397534931573840835713598533223026801778572753344152033153893325406564617965782257866443293781508060126164443892115326678757988142808800871215083401206457499593027530069870697604551307479558361503250122071314189841489211072736282371001577255718418205614260380258364580657591104365497119710901206582032074287283151934118692217751629416193437963580366218685497930894163533553724523866859891836168758808518783945902425149327911452854594333299819848503313290141790710929270942645875085908521299487306549355258259006264670924113286837738550593708993272039691755183492671498341411480481764268389325787829511092403101750055626249011286146947946817758706464475285870702124274908231890726884786326427537581080449952185015292538128490122606396998184958028083576075924380705592313738198177355350539636082520075094545573232365897260228798520433440970773865260411950438580808082315573955524669019523158539237225039597428954113913509620083749304668809244325129983383803804600070312652935445559709370462050267147943596199202527332606895228880548753561790261905157147231826396902423132948186972580467527675866902008263401892298718183483150622876309742503355983886689372223961603393364940078083064230955154089008733014989380472449246213105739735863858235620640947989323076780062361869809582328163302606278111945585866902802599107579283283404639804772427800350014393344862434740944567127242865930444678774510056437210472419235286762695340574848138499659395138746173244522584754165109790948786086457474095276903301463803015361756381650362947355809285444778551423197846366020901101171616135218852839734858640674733774060251750080101858889154882467365571723043030203858752191163426951598466538513946410748401308774379350689025207465718985554574050962084261716513825490221177861046126473962924071169705792255579548304988304138025416204070425831694180423857900773298172197279946577392553543356594300135882319936141580624305559784642345709211794074316156088335382575024009735513466398266650972647141182750931630034841119418582366958432505081683709600971515560617964644870878265035711276565477822139568721907504224819016418120118005748670656743167055824845194149475323734047412557394940961851782874993772448092646922919465303238657382082496970019855968494593845735080940967397062652638269443709674857446687985542116369653275747318609000842539980392967902709719513474268634707697369121874172978805361186235974545746317644690051515808214820617235257355993170211158832833557879585954026627293989359669374193655867617587717878065304018113389289744014896407870169655040317016587215911931131901474419980302086330364077799009329175963390432087406436888579050101246724374417572174696606047985038308368983915413902725130583949494064817781408650188531320276240981505666040359233051954215542290627895986919094928599645942897028389785679093636114368374991929542007293775920477782099401552244266385093123237078654184046211282611140993041867108019072409932092213098123884193773331531079665856239414148033007203292888936176174052740450609780894409168420337362194999258294666985739269813448540441295622674732379968308103958104977102561229083257987540510647066271704763834175048152479003836158355491653254273933275817714871294977595345958685573684651153950453295337170244677284938176843292400999058814098269836033655150519178293297705783106423970218388898719834475820481343685212628023690033572776480379871715088110436115761651196841926190327076917651802479839647591943935381707962792012877423571265644556923704637624216878247077796844538173818001083294069877010935555717965395381416179708532650481502606587276705142993696464568659892333312772770888085473648648000307531234964851660848484478693142145952374009071426939176390579562252460159605104771787631027709723013109080855810669692130871560548111421479388509072457079243095828031703176208142154345611525136188162540641993998881687794665793155354422687569195042943094692492283819958988801128565990370337637936469721854379389442524249828421695200179222516385803721761785955867554368812804767826678001969430136950756015870645048937162165353602900953012868526481264859037716271304777375852533544202638254533392915113786278575279776966975098484962961961604858173915317849791564273010664935762198001514204054313029841873457737185239328686457807926763469091375695890745727865458761460882391326691627486205802822727803518837114761710032712308655302447250762804444502922948652702010273209227819899464826996945859239741653169974617784062673347967258492558461995360613048688009099451749501615065209495912582836233369300462876792006404101130144695479657253000761621616967040885739503283813399177002485973306890785557704892447834183528487353446091499746806210310762176160954169963370461592492552802664476257567002100772309736155469160638906005326763681476551549324813995737226901936309818008790488732620857227310108586781394604768357991440504907922872735338962324946321086405274679028812456087699246313947917949629816056536749243650187055367484115434920909766576245474283794296869128723357928173536456235153815914946891664287521646764487521057523010467596124797359693667556091610189843553070841330096850378478128699336824807017032465521622059680453721875199805722091500628840993774345640190518172486451093035283374104019558809440041012154009606850906137276871676340282755454060842006942567029720384464746472227357263160566462439544965443784233491621000417600095221091162279868386269151979165505535726130284596859046518916875099845081843955835092075262303691366099424900389479096625160061958153630775148660958566428033860814919564900586702055046509875532051366823129998746012354137319489940021778691777684513449201140097015392674874542113933402185260132586689463592415370121215487165705885134689526247205456193274101933790304598700960349736037512876299703317533144459500071772530650423258609775013168925439801701822783765238580146297541824632285993881563644173104647136028437754473133382678549809755993596719085479235445026367170300288790664653051741952973513352923997352468833901139123143145601738744156026897011113080295461279412165111897658815329383977017091697638881886288284698097467309994092814850085457873798594257026791261321411454638727127160956512962138756536510743336045631966205578655360558924408463086077653664126615232457445873897803390984536295459613393958210714653415185447023176168000323714828027223626636368958913921828769249140620216221770653919553944191905924534276768858688356005101470206264019130710195819292989907187768470188309260853902667894356348789636148674625178915705108157262132110024155730454924284239953661424549193493064786014675162982807876003917674728856991550249657691561683042799313885755424032190904228235787161276825393832844879801339093981314300643089108732139592071733070836784874067133148833983639089447832960540471258444848319760658429279844262367954349194643887071169908618015015283178748813734454536846050904290319547873896659904307763065460379474568932216682015183386651025211448038307735366926491189296423748680717194190136331262187712872897138057518771469808680686313205695686990572775998889354384001206468842081115654137744091852141033252926947776438865634055315014493733910293829530684377791844519299335590168486693419360878455142854104802338651194979840969078040595784545294862963403649060807425828520882220259342532008923906579495450040253285801176564155024219783187518111553797464680022758238045476563357188662399411109925851772759206499649505988053199831185737159035458190736240169833519683034619645812478543958631005829461456920070737589224628526753756687226860674267723453400010452037739225990469427891441022290414770403599346124036459594646039753014797053566880349941522758133492531645115897363135652734310061445951547597525762102816975803464485845268856603214699514025835209570861270731466323585661021559639354531445009784200020609372632565342159072570296781056476529203071173211840127104045694912216479039524463952767340368120257752717736480853938459887572269425735259967873698910186343858479001122666779814548823649066739609384902162698570186688586604614573271152481187489063318031964190596395293246540270209491024707282603886706450421260402964317061447664830660069450533618260088456335554012100413616889017477419762391681611161651456394047934305646924013949987082842824123172514024102259518967207578883406033496837993027719946826223748302284932718453915079912516373263890340030296265415109978478227497290595509370573385595943818431080706097626021357553412334917692483126685547424006392066261971662892351699916273807214874192165706500307699976468203794179101883233547764178082912041140770352878056120748834177307277893698999409459156994348788259142559538051716896124034621123206197723345798547642265919481980188064418629920268397723372145109487805205283465978312590877634457462335009099281522681298204350448084148819599895833373285049917244126923007600531975399349425902725657508681625111679980428307895476635487978922562997764280311346135384317345625754117578666715419668804811477434812592763355627368346481983905621189239609481108101699527599926361280407921974195130204367626340128699847423210766487077682789741567517465745086179992695190057761339780963153258034295188488539114585015877269836444455381510749048705422683623455093762290572970218506281554678053484792265923881984880924276400527000280934524405862270732094482106035000097167093736350430813263028060886471182545319411320787299124513845305465399387382539563065957481406090537295077897664310143335758605283739328249117471039660551189898736611920641291195483753562323960777530078645361629242425719983909471758505048249436271275503969047403663558505456772496777270379530401077561808686512826605083514747047502788407826205232521470786979483196769450012624635397848020112295785729020608316190893361948301258609474470780330728622368433480248735030640477894998019134673874546240767379624821406654360114698416079177569727310706583661112176451906459607872159529918439827326854357959600462335311375243819934574240102554831082364036764578501811280447872825306563140297545987641810302803576966171493832950931281499983531702856268357478375791270235987773334392029645536082164762124968250458935302288566926962246474761613861153350780664037356996216357803505788063737485395942051975694055070352722457047811998118586340572613582191380218442206194843833270986107972717470810763195301196884502675555327157717708925248867957058094973911259336205778891857233239323198386995353082665304467574475967035440166678183706807282407712760212083484529918031952584425749986713757190964899770388288937590042086176737547339988826078735250247533524058412678420273035722460765819273284592823476874172485373339186185990305834440429032670529203895609476991745723758585796866712031567221251813183282527236504738753525202892121948876625037128800307262415068474242853332938999879849847462613058026046905745975212459384912322110633300030564516729356706132417702053451344913729377859492107101089124991508240406534343127080154427094756557477658039856520373593586459110304317453291430364975449949926904939845224868775081232278848651172695732239947985446832952708510745844811032609392027987151294019237144751811112850859667282945498913468195018361267011032904715131905055645408629061504836650954177249101618897366340718664191272450427221881264212488151277877181735841919855744829599099553106535235049959408698325318906239296963546210006208523318566342258354160602308888245091205966502607481675410987612247167143031799518956630913003480154992826105211382434007755605256705066305743938654100383981034030309398720066434453055979150021891684882201689397527906868562897015230431039935078558478416870328564726252568189090061920318637649911096134733319961976323872805543336026567278271808802716485136258869122426574975622712533276784580973726842338102574128806180055086018944629137289171921501189668067264223478963284407827580457839571329095379127409324684276537477123219544944466811825005992255711899887066439655695954036629620778451183980310416515769160023038871373223344785038500106525190801778413678542302123734571233997265759341380429817593178398754559382662888241956940273813392473300831084422458489514638785596523556744574913737302433552814454320490352312167187351789540277915395048284791496068012951128627309405401257683833249438666015739745315776581650530211844506140206662537918236038195832016046876338990150567095448220348973218096655501087359403928401209929302737752512812023844522556964292288576992149280964295867472968149356102454184262080760752137631752203505188038293166737589064984338374900594554881480146244646125200406583178716602090908237055559612558409440684391167159335595958221233259082564731310342405671299165117025739754817135086292502481423822405389777088146097315864861050892172245883668294205516933806172392296731758962631734529662716765248581837023693954496204663525955887188089138227474481611230258135840413592454235849940409712332599412520731967880931084795936714468396677829236407437507929567994258765665823742522379018313729009330900924974543378820713581951951921379154910932136468923037215058812916344885520483886041787603935779300969459526893839450311881828683171124687661544190928892800638316637447818854449298729212087499329957203965822427291126358138081232250684142744115054259379529005077415764538461504198070430477168623227446797893142886119504137181240298983957844446730804947063687290565192883793778594825754626009420084419496464806596474142214233764393698339694055218740781399245432741612687376563908413265937495362970060874424336842976784483119160624000769149737586470299994250053316497149214250986507629929985705960397223507574506170961824023464909470251366543340042763830315707734190631638169507598515635760646094327638970651377035393927835836261614999863295566253357029659172470700539495110433329868115231969453028679228060642692542515620263835039744456409398544319587513573123370081087294209664011409452461015071013949463428683758562963791726712942253189168895314044377900026210615968723685560835688287902912829999933728458715850978996911226443695379730577504605967353471257284498387608726175958142087834679843731758089372039135919398321575137887440208436955863208768878912692664560435297912201667041983574873840632942184451793880729611995539991100105380285327667630063301861095977194783344456281256435231502630596137549408193290049861554614451255834387148573432950157895302029307845678313239640408865489778574127698946052175905389909979390914423873410452871395542256690365577608126064181946380502465570119677163983171260099289871666116752215317942475958272020354708866715181692739349806014853412704443773633395948068726181795578768242906093970412570657125792425286266485762606442513485019383391054818644069565468130591968323247457257517773706285366767901940181590512995536487007121143176168968877658027486299368368660763784046226274530352667416383800742680137658050529036801394441798656852202280595302216950221007457375664968308568153161336514424488157223409366655933760471823608963225215886038413912744166204457289423349338753212290153323863832576861950084106980437527285846286072670408877244581405814613294389635924987148325077049626266658889415863450779281714472691832545518435526232063433516286246273510074695122909551249571154543/1529968199187299134787318510049604647661659773514692359736726628504840697863671641092118777046985053357723198724145004726059751030314870362963710604349030461256166204487644402455688189614470336495653256054208788567664157582071965508157281773999654634807895750447560625819521983495102780627155910540952133140911311535329995592077368979160255622292839435793987576338022762642160957377868354175546534426055880897324457397635440109565082341587810914337138734833445319194067407897751434208830547837644009602060111506067136454215359558163795075462526661597482402158599802068271719184221807758159457978336187212196622520398916367449578798842611070019504699242432087620868894344554729956183200451567833839937986425898035032704330826683404279724718808813413096258190423398903558994487584316833021602323787683047219276338218365906266678159441387006203656546990034141017059376791676097547693503365368793882698681795994633590905407003987577727795691050220154520675982804138398209175687907301725041937803901277929892855448828475690280449543317634762255375253173435764539179334326429643339324857665518044403828764952074685020802305525304647056657315113367889358732914530752283473362030729392861696713383497127337803244637668121158091777885235646361518048542774125393783078876380141063172815805292548152151898658086381332403377855034248491159979055781198367420771185912033341854979147308200445990193854068616405309685279859568550864594435031260333930460625072669874451433142921392132535909468048174320089693988216899901985430825595143187622622598918167417217388559230075055389424642953073971610336080779547266229104563138464235827325892165935513665687880105074908451017254532219701706262796275031028987081287123643748902412846848423455105020623170083528398615873461698777781013024747756284884594149368728182815524665724774521670020669162522778547578179796084867327014386830440088948691772517259407630959373452761751430897856083134395205362332139205087787240565059667522700760606931434344905135545258961414008961290796560754650349878191823706546430623181907008054891580635365148551990413674758046588060451178506844663635906679011707433972339434405854064851637061476232970642591087556970610590908015451812081333970587311179186936166106972012501820138556298243161219738282024528487003929296852864244294509198648695932499198743808782888485720009075553260472662688979493968204450736433335518321833653316092771966586980389675690520292481235729431084071691957078763865405210417129034185864719668952706734858813338619572397505586005602035582300980840622129565125399366758037116477887631799145061941380685214873249635270053518114629625834264654231202442204750912258037887962050106094069463628762586640456899810865521002521698343113067659418180328003376000623097949554783936493429268583333378984437605528730009268069147617283587160258177092178393418586217842022003551467829692847599504250011458148414074561785094430714285918291355885674785299059400148252564032413935006677151137413061335334271553541462314128753134681766782019303853325420715055961510630876557327307793495854531191641731629356837772797633327112399543586148618164249713662223183979189847843625432226035881099019697729259388455494313088576260478546629177529887821569048808131318810081483400745202398048692526052651750761523863841615726210607346424446976695932385184004105613756392413010928999709675567537333721289235794610589216814206055047975127864180419092519457072346092676754932225740399063854500115634240844994868944513191767288642557667407722615911211783612466603641256241221974534079687819878003718756410465559864277475235525181331455473951502168308249584689178774508691052808771869692884600921337743472383711537240766007538951879878261854285933030815374195144839966895472603784160766233795494758029885853233882621554156540568357665170834724738131589067840932946387994031745959932496535350435462095181001628678712881118266807734591089622646080018888900514602762715187214669953534334912515654054973774367502802523727904913261766043363271650926066030760565647094305335987447016979478621049288395292436797811311117126554537335309423713973815235949384983096776190910915800801879493713484871702798097126517036157136713586156278172190809500213362408379459806774536110947773380173227456969521221633124852359243525918106776867751684637294562217814978966839845641767648596834497150055192586340411723890852732488966757105071443214919793487305967093196460428451811768933811279749980395920162335845855270594593557145818683950481923513435725364505288565702268067669315650988493014074018537854201204311427810865076011373555763125281454059853135077788371097088561251719553342298653939550400718045023852341152129475854381645949828285209593084706509236585912387223680877975729531521245179281760487554967380596730498335297604657783501306812346979650902356390022491127052215117093631920598829572801669833220764017508126333782508784603629583697095403920129082774319441299702564307406078984372732484993198325075645573383602785323382444629929430340212572596372043230850063402207244154513806410881951003914719859414023182342344614385355299327371366848056577452775176825984931418202564521987160577691269672268124363664127988473925047734025961418695481714515178732669899518060470278700175265956438491027018813391626689849971716288293454625999180219463644779189005748056291776203761627651967953604065680126452530625175642897391451916679993369481144309904800269830069324399354455799096179664283532368629470272997160347461942854771503053882224265132413311720346411099265517870481729096409452334204183409412004322221662550872777215188947711960785902991969073469454376155311468922440530620207183753749006955415741059103941858570700709330605095105520778685481355514797181590251298958978045373426523418593579883045632786611602160772443592426885627678650675436904265190396277812475549303664879077648117627874709836647897712422509516788224646325748898879295424407466501560945033747882222628077094434838911386063508856853438974134736419911116559824396231306675591760017826041866556450511161122999240728541793801864524478201383328341899753390755521512133293001001280272199710030392252872320291057782625885285751132934832621162613685155860140955791623662647757586455632636392184747766379605266429455429373624518320193087987016511766730416134327593853316146470480505701552786778632403971664868657595295100653870750154816819390927944694673269075286299349490718275951744703617945664386483329071177655864472388544713486208491753078550881970811679822766676184178081034052928499196277224104645366132674165233834562920764994799820711572018657322994652885881105730989276977353475749729182039889681922996624457956187446504349120166376805778337100871738248651393214733592749564805077439604712203721749189043761664825332986511245812066872414130486231251163557736130048576285473047763001848846487517122730622216351122639179254260017134841181556899656856713350240884376328482179890390341893853572679865308895309472344981915176379209546802977467250368989634364449737864424994446593243619055945390957953277686574564010081158514430253586459116187946346662183276356059846431660609362524622957488944319490139318621764433887338485633490263063258848562433287254722619626847395465420140906858940370341511166918365909917260386694810690540997380090220821174168254298590084170161209442948515439171971996395035407156861794697955951450603031483225474127660122251345505898550994312943308303458612793527737021929934441382199804831968297717257130841661084051814330158095704255403120950174317184489432296341224894660753427107009434312679716152508401830975040659942819954018052577292067182563884550240003648417306078223640272778097845329523714834894675967679623312440715520092319511764087528292629963250706434542681254782083044283061346056581082189394809618186039341897598608332890495674784906851209737026156827743323088301368065717601837136312408417847305605528038606959014430493903592557626894422800310804200050273636156825201917795227558643460625875866796932495687865378076286315179199206753697867014163804043239936425494460445627598069564046063956208190601223511477046699811953535593157562956894319843550743851972537989935475899831458722023822443884345918763988197567215874550792676425339184704705874747878008300683671556411346576871356838429568560028276711616419351907317136171019741655365682260992321886434183299399032240183187412340224771882432613057346812838796830980035105399350709317644704627500083308114906549630550955378000583027820796429961727962339055458394497264836729194100156617159548526860068307788265187357361520668772957904588448714579485333385564487287071026523747369429796306362837271427869375239717539817192017391027540946949639628512848754440904290190884167202651697244322321061689624521514257325447968900965179012768323517495908160369065752792050374497451528404006717707580108027955579849001536551510213437124198458642226822385458736733423317676864452809410511045416247724380714281190355441008818519029023319283432260912399804234086150259735373535661117304243455600573439256773501433678904189294072227970669954475776397928779838566853740902884455791767610130852341778191303284451827872641018747199707942207302818835534362509555040162140600129559930615635959407277077315770882665382161948304430743859140876218291249023125279357563491739486897521558709110272688575633438703288685024900664978831062535490669299174993564451923800657047935139226379120461682430891861785148510183624167960598243940379848696904700821810672752125468521339030417546697581352598281336790912588898840917256992111088678419917704926488212265463087312417471095283661991780323163973617744075842762728213210275465967239866643500564175358315664495023758542495250773227629435765609234632648566187852833291674837120048538513295571715919460316135403101406467430456127292636202151060208146241155072918718186955425517790475896530567033724003862173036349173956976376226991435445794489647068744711028931622224875337727371765357996666692192791203201425411844598713704982327131546771000433555984411797151393305715548270736995185353647423436713580969090622057441145812686571864152312541807231794070021652872762883538176154663580443848744852580746045584244619868175182118231668680746386825400220703671585980620737450982220456561373720558533007060332348942259557326134479191672892873424001435421221560193673112709183273399562220537850831838816145035035968797554603534089890184800302387872690345037299725534390350537614657223724268117166656702154303934344156531712705069008267132164397652321994782968528581573948603292431302763077049989777685351257859499518514834318082871437197454029279618809766250072955311472384652708428358987758452933578913610915574067670770395392049292931910128871930828329022535414377057379647108402082238922721370383300937751273508045353052478176276662958444541722778945621118983289417149982781204077010123462661870618679275849413902050731959789706920848866523605127386841566356851630640499531879732273032168289615151367093096236211454479925780094324269530988377626942862643244620885909458199671703703272038103971616137887467236136069546565388639005106296861559876498831695739838349335891499287466761757304759419719372671827630955888074698358441552532105931065950480249856353299772189661743924270728032534883933405283937534203020793041239298263491017240012031491248743966736211812228554639729298149568423907151981072889271018176363874912583743388238189169298184243210289682742043999258289756041203911595010038148999099720688247293766405305826662774359486362197077017505386492854256380945526208093505448284243793194050862066059502085627512129464270593808480329467786730298662376181856134377035781217010033892312191032127874147172876896998179195989393137924171351148151851418875951338712602106123529231737430604493932916371297269583248708743685755259001671415500523807939665998963724444869071904241624230812329870704347751518518301018083535382699471761999365265909552379991005717313677865431190666613102691199886500831652060657836227974046587476457891884818596133075418841949859302885903529090513319384125068439347604986577417670809610183828540685956113231926517291660392084535516762702423672738396484411887293997083919632851988789688760799972422277641148506561457409502394536452574087427680170828908402691451375593578950740382531941447902960961214349336525889799163711093437897407190323441969805598112912144141761695423390714137303324832013798398884876540585887520292386349924074092401786945744209247362405995312160866301553653313353370096531858450450259279514891446009145026630762045353074544168301336102065585940624201786316071736629101820041382499547757359710952187649892963487464125383237234177847378817135256208365114131111835132250391581337082188685093618300296303349521157735922048860557928543111406177124102996600227072362355712417610071775019584661591463746903631401047240155998619275272298578110124559193163281907253155862527390193302945508461293692237717922774824720454355834079904244604688311439340159885445768779875035912088329337703867818265548949649937052810920572922015172052207663241830143596707863960627456216238809090444035969968400893063520653732420468355011295166812917718353333687065016258266716899099016909160312105105699727155436090527367177142078066683954864884429400263162784325194067989073397477063522078603719683067544385473209834801581407790145660416690055780006755718302722553438774677402703885742014380325389565364061855661800272947580525332721381310904351079662285185451055423355488438732429782787867043657117427009078908988375263772195905713112249928656342398829904223890234933139237266413668172892810798349940933675169313806692100116003782938839164195741566248490847719957309698111373160025551874307832954942150837034374732399318620481095408501690256246766245442527118380069810339111641295364591955630001490301281006226907288744921371051701479097173075285118757356340541499684775892850547976056724906559962736711963900837400737732869051025515024144258703325872074695898385915257149892115968589682073348956509102783907317973927107565888920191183941971003232304644129061870681341013775029109669941635052255814531514401036513529861154520489586173939941214019017199773112867518315266208155212569020104408011816999640533242665122154506481493902701557120536884039404292152949096038764856000985260454570945820792337940185503359459804004888142086177193925244912776435285820982738875052796495002642052817669192193228424716424122901185552194160672424045859471134062047895843283534223910186026008415675898018629581433368801485910414068914757220470677416548807849438330721640122440320558791347647884450696052122532990547683909990119281095091400897213438914958118055000462155361335451226365506733195632661676841536803481185703288637975005384609861276254917048402494430205427775736663059485044621326096649962518297629469453190456792318784645200261933875825754815211143842981745490833689422777903152513174575840546311076931429986425791674499100764730878803897178964583167286073612905792341513544092385891172655934299035282962213427985347818407328648613182196426910440939868544475574959999905907183064872157555836373553852377488745585835939579856287938614227403795866770260987193052740609824895615778479257135937704599447631673311299819249553452790767342834735567430523988428233601446933730043484708167925847470292549026744507200507743219357532210815104029435026689452556763947531675506383315682430982643529179521095735626527047614103221780186222526253392422845939860071870141920389269225792183075981269554686522622996855357365836134459465027211038399968176123579259579789956027432445356780410608063345109236751224501916947305497953879576056046042704297600936627089494193678366738685882474308525332033619736231718808826531218214560758597340835073779174829692633537341007389040313362873505646721063092068146199238674480544160903900854317974785445699746657335272555555741491179568798492799267253173782085622427216414433088546267350590435616437865494263854378458888584855754376522390508096337406730502022597951962636299819840881388939302823390563742694769426425489586127940025940531759372927449773581765458775428448695885701864754244672126310358225187490975253913718113087009845237677622977500217645035390379415366200061295918806214628812144408850208866554682612576192369869159765944742286281457713880735090176005445343531534261868824609531487290992831806005628101011413528310096613291741507484195403223035075439767395479903619392324363901310898970814843872870400",
            "exactFraction": "138735373117134875663057616217206088463385871529931743665939487019432258546126628635322049600795448126535934387986083571083224444777660094829512537420754493826476308412364497395309478262241796232627386270336613293419550999121380961486002640893872122061808818858473998627477684309766552414764507450958395005603931706036596083371552237391428556717723039906151852956008886958880441875049339485648300220790246194603792452962288902191179723703844321008582848836316946652064057032135795654694784938343586165601660744326131689995878991429892081577580303348521181257252157043535286016295575787027052705066423802745825104070762564419159867209129160863271088764729053489159710121522787120237262749103035970091429766427870352734115905662344692332980580230487410467045069216804782110588978288503895788884198119662423403962936439849826409775753582544855219307995819994594195896522920675690002615254589940517665929631713398590647172993999533157514257874744628972218501212191750905694275084222845848997225533068834419233633340570878581524080930401434251264188403085118969414459116285843501634281786392575242293615786561437892064603908416644594006575950450607947507134416648717309303459616778605401486854225438257469458342397534931573840835713598533223026801778572753344152033153893325406564617965782257866443293781508060126164443892115326678757988142808800871215083401206457499593027530069870697604551307479558361503250122071314189841489211072736282371001577255718418205614260380258364580657591104365497119710901206582032074287283151934118692217751629416193437963580366218685497930894163533553724523866859891836168758808518783945902425149327911452854594333299819848503313290141790710929270942645875085908521299487306549355258259006264670924113286837738550593708993272039691755183492671498341411480481764268389325787829511092403101750055626249011286146947946817758706464475285870702124274908231890726884786326427537581080449952185015292538128490122606396998184958028083576075924380705592313738198177355350539636082520075094545573232365897260228798520433440970773865260411950438580808082315573955524669019523158539237225039597428954113913509620083749304668809244325129983383803804600070312652935445559709370462050267147943596199202527332606895228880548753561790261905157147231826396902423132948186972580467527675866902008263401892298718183483150622876309742503355983886689372223961603393364940078083064230955154089008733014989380472449246213105739735863858235620640947989323076780062361869809582328163302606278111945585866902802599107579283283404639804772427800350014393344862434740944567127242865930444678774510056437210472419235286762695340574848138499659395138746173244522584754165109790948786086457474095276903301463803015361756381650362947355809285444778551423197846366020901101171616135218852839734858640674733774060251750080101858889154882467365571723043030203858752191163426951598466538513946410748401308774379350689025207465718985554574050962084261716513825490221177861046126473962924071169705792255579548304988304138025416204070425831694180423857900773298172197279946577392553543356594300135882319936141580624305559784642345709211794074316156088335382575024009735513466398266650972647141182750931630034841119418582366958432505081683709600971515560617964644870878265035711276565477822139568721907504224819016418120118005748670656743167055824845194149475323734047412557394940961851782874993772448092646922919465303238657382082496970019855968494593845735080940967397062652638269443709674857446687985542116369653275747318609000842539980392967902709719513474268634707697369121874172978805361186235974545746317644690051515808214820617235257355993170211158832833557879585954026627293989359669374193655867617587717878065304018113389289744014896407870169655040317016587215911931131901474419980302086330364077799009329175963390432087406436888579050101246724374417572174696606047985038308368983915413902725130583949494064817781408650188531320276240981505666040359233051954215542290627895986919094928599645942897028389785679093636114368374991929542007293775920477782099401552244266385093123237078654184046211282611140993041867108019072409932092213098123884193773331531079665856239414148033007203292888936176174052740450609780894409168420337362194999258294666985739269813448540441295622674732379968308103958104977102561229083257987540510647066271704763834175048152479003836158355491653254273933275817714871294977595345958685573684651153950453295337170244677284938176843292400999058814098269836033655150519178293297705783106423970218388898719834475820481343685212628023690033572776480379871715088110436115761651196841926190327076917651802479839647591943935381707962792012877423571265644556923704637624216878247077796844538173818001083294069877010935555717965395381416179708532650481502606587276705142993696464568659892333312772770888085473648648000307531234964851660848484478693142145952374009071426939176390579562252460159605104771787631027709723013109080855810669692130871560548111421479388509072457079243095828031703176208142154345611525136188162540641993998881687794665793155354422687569195042943094692492283819958988801128565990370337637936469721854379389442524249828421695200179222516385803721761785955867554368812804767826678001969430136950756015870645048937162165353602900953012868526481264859037716271304777375852533544202638254533392915113786278575279776966975098484962961961604858173915317849791564273010664935762198001514204054313029841873457737185239328686457807926763469091375695890745727865458761460882391326691627486205802822727803518837114761710032712308655302447250762804444502922948652702010273209227819899464826996945859239741653169974617784062673347967258492558461995360613048688009099451749501615065209495912582836233369300462876792006404101130144695479657253000761621616967040885739503283813399177002485973306890785557704892447834183528487353446091499746806210310762176160954169963370461592492552802664476257567002100772309736155469160638906005326763681476551549324813995737226901936309818008790488732620857227310108586781394604768357991440504907922872735338962324946321086405274679028812456087699246313947917949629816056536749243650187055367484115434920909766576245474283794296869128723357928173536456235153815914946891664287521646764487521057523010467596124797359693667556091610189843553070841330096850378478128699336824807017032465521622059680453721875199805722091500628840993774345640190518172486451093035283374104019558809440041012154009606850906137276871676340282755454060842006942567029720384464746472227357263160566462439544965443784233491621000417600095221091162279868386269151979165505535726130284596859046518916875099845081843955835092075262303691366099424900389479096625160061958153630775148660958566428033860814919564900586702055046509875532051366823129998746012354137319489940021778691777684513449201140097015392674874542113933402185260132586689463592415370121215487165705885134689526247205456193274101933790304598700960349736037512876299703317533144459500071772530650423258609775013168925439801701822783765238580146297541824632285993881563644173104647136028437754473133382678549809755993596719085479235445026367170300288790664653051741952973513352923997352468833901139123143145601738744156026897011113080295461279412165111897658815329383977017091697638881886288284698097467309994092814850085457873798594257026791261321411454638727127160956512962138756536510743336045631966205578655360558924408463086077653664126615232457445873897803390984536295459613393958210714653415185447023176168000323714828027223626636368958913921828769249140620216221770653919553944191905924534276768858688356005101470206264019130710195819292989907187768470188309260853902667894356348789636148674625178915705108157262132110024155730454924284239953661424549193493064786014675162982807876003917674728856991550249657691561683042799313885755424032190904228235787161276825393832844879801339093981314300643089108732139592071733070836784874067133148833983639089447832960540471258444848319760658429279844262367954349194643887071169908618015015283178748813734454536846050904290319547873896659904307763065460379474568932216682015183386651025211448038307735366926491189296423748680717194190136331262187712872897138057518771469808680686313205695686990572775998889354384001206468842081115654137744091852141033252926947776438865634055315014493733910293829530684377791844519299335590168486693419360878455142854104802338651194979840969078040595784545294862963403649060807425828520882220259342532008923906579495450040253285801176564155024219783187518111553797464680022758238045476563357188662399411109925851772759206499649505988053199831185737159035458190736240169833519683034619645812478543958631005829461456920070737589224628526753756687226860674267723453400010452037739225990469427891441022290414770403599346124036459594646039753014797053566880349941522758133492531645115897363135652734310061445951547597525762102816975803464485845268856603214699514025835209570861270731466323585661021559639354531445009784200020609372632565342159072570296781056476529203071173211840127104045694912216479039524463952767340368120257752717736480853938459887572269425735259967873698910186343858479001122666779814548823649066739609384902162698570186688586604614573271152481187489063318031964190596395293246540270209491024707282603886706450421260402964317061447664830660069450533618260088456335554012100413616889017477419762391681611161651456394047934305646924013949987082842824123172514024102259518967207578883406033496837993027719946826223748302284932718453915079912516373263890340030296265415109978478227497290595509370573385595943818431080706097626021357553412334917692483126685547424006392066261971662892351699916273807214874192165706500307699976468203794179101883233547764178082912041140770352878056120748834177307277893698999409459156994348788259142559538051716896124034621123206197723345798547642265919481980188064418629920268397723372145109487805205283465978312590877634457462335009099281522681298204350448084148819599895833373285049917244126923007600531975399349425902725657508681625111679980428307895476635487978922562997764280311346135384317345625754117578666715419668804811477434812592763355627368346481983905621189239609481108101699527599926361280407921974195130204367626340128699847423210766487077682789741567517465745086179992695190057761339780963153258034295188488539114585015877269836444455381510749048705422683623455093762290572970218506281554678053484792265923881984880924276400527000280934524405862270732094482106035000097167093736350430813263028060886471182545319411320787299124513845305465399387382539563065957481406090537295077897664310143335758605283739328249117471039660551189898736611920641291195483753562323960777530078645361629242425719983909471758505048249436271275503969047403663558505456772496777270379530401077561808686512826605083514747047502788407826205232521470786979483196769450012624635397848020112295785729020608316190893361948301258609474470780330728622368433480248735030640477894998019134673874546240767379624821406654360114698416079177569727310706583661112176451906459607872159529918439827326854357959600462335311375243819934574240102554831082364036764578501811280447872825306563140297545987641810302803576966171493832950931281499983531702856268357478375791270235987773334392029645536082164762124968250458935302288566926962246474761613861153350780664037356996216357803505788063737485395942051975694055070352722457047811998118586340572613582191380218442206194843833270986107972717470810763195301196884502675555327157717708925248867957058094973911259336205778891857233239323198386995353082665304467574475967035440166678183706807282407712760212083484529918031952584425749986713757190964899770388288937590042086176737547339988826078735250247533524058412678420273035722460765819273284592823476874172485373339186185990305834440429032670529203895609476991745723758585796866712031567221251813183282527236504738753525202892121948876625037128800307262415068474242853332938999879849847462613058026046905745975212459384912322110633300030564516729356706132417702053451344913729377859492107101089124991508240406534343127080154427094756557477658039856520373593586459110304317453291430364975449949926904939845224868775081232278848651172695732239947985446832952708510745844811032609392027987151294019237144751811112850859667282945498913468195018361267011032904715131905055645408629061504836650954177249101618897366340718664191272450427221881264212488151277877181735841919855744829599099553106535235049959408698325318906239296963546210006208523318566342258354160602308888245091205966502607481675410987612247167143031799518956630913003480154992826105211382434007755605256705066305743938654100383981034030309398720066434453055979150021891684882201689397527906868562897015230431039935078558478416870328564726252568189090061920318637649911096134733319961976323872805543336026567278271808802716485136258869122426574975622712533276784580973726842338102574128806180055086018944629137289171921501189668067264223478963284407827580457839571329095379127409324684276537477123219544944466811825005992255711899887066439655695954036629620778451183980310416515769160023038871373223344785038500106525190801778413678542302123734571233997265759341380429817593178398754559382662888241956940273813392473300831084422458489514638785596523556744574913737302433552814454320490352312167187351789540277915395048284791496068012951128627309405401257683833249438666015739745315776581650530211844506140206662537918236038195832016046876338990150567095448220348973218096655501087359403928401209929302737752512812023844522556964292288576992149280964295867472968149356102454184262080760752137631752203505188038293166737589064984338374900594554881480146244646125200406583178716602090908237055559612558409440684391167159335595958221233259082564731310342405671299165117025739754817135086292502481423822405389777088146097315864861050892172245883668294205516933806172392296731758962631734529662716765248581837023693954496204663525955887188089138227474481611230258135840413592454235849940409712332599412520731967880931084795936714468396677829236407437507929567994258765665823742522379018313729009330900924974543378820713581951951921379154910932136468923037215058812916344885520483886041787603935779300969459526893839450311881828683171124687661544190928892800638316637447818854449298729212087499329957203965822427291126358138081232250684142744115054259379529005077415764538461504198070430477168623227446797893142886119504137181240298983957844446730804947063687290565192883793778594825754626009420084419496464806596474142214233764393698339694055218740781399245432741612687376563908413265937495362970060874424336842976784483119160624000769149737586470299994250053316497149214250986507629929985705960397223507574506170961824023464909470251366543340042763830315707734190631638169507598515635760646094327638970651377035393927835836261614999863295566253357029659172470700539495110433329868115231969453028679228060642692542515620263835039744456409398544319587513573123370081087294209664011409452461015071013949463428683758562963791726712942253189168895314044377900026210615968723685560835688287902912829999933728458715850978996911226443695379730577504605967353471257284498387608726175958142087834679843731758089372039135919398321575137887440208436955863208768878912692664560435297912201667041983574873840632942184451793880729611995539991100105380285327667630063301861095977194783344456281256435231502630596137549408193290049861554614451255834387148573432950157895302029307845678313239640408865489778574127698946052175905389909979390914423873410452871395542256690365577608126064181946380502465570119677163983171260099289871666116752215317942475958272020354708866715181692739349806014853412704443773633395948068726181795578768242906093970412570657125792425286266485762606442513485019383391054818644069565468130591968323247457257517773706285366767901940181590512995536487007121143176168968877658027486299368368660763784046226274530352667416383800742680137658050529036801394441798656852202280595302216950221007457375664968308568153161336514424488157223409366655933760471823608963225215886038413912744166204457289423349338753212290153323863832576861950084106980437527285846286072670408877244581405814613294389635924987148325077049626266658889415863450779281714472691832545518435526232063433516286246273510074695122909551249571154543/1529968199187299134787318510049604647661659773514692359736726628504840697863671641092118777046985053357723198724145004726059751030314870362963710604349030461256166204487644402455688189614470336495653256054208788567664157582071965508157281773999654634807895750447560625819521983495102780627155910540952133140911311535329995592077368979160255622292839435793987576338022762642160957377868354175546534426055880897324457397635440109565082341587810914337138734833445319194067407897751434208830547837644009602060111506067136454215359558163795075462526661597482402158599802068271719184221807758159457978336187212196622520398916367449578798842611070019504699242432087620868894344554729956183200451567833839937986425898035032704330826683404279724718808813413096258190423398903558994487584316833021602323787683047219276338218365906266678159441387006203656546990034141017059376791676097547693503365368793882698681795994633590905407003987577727795691050220154520675982804138398209175687907301725041937803901277929892855448828475690280449543317634762255375253173435764539179334326429643339324857665518044403828764952074685020802305525304647056657315113367889358732914530752283473362030729392861696713383497127337803244637668121158091777885235646361518048542774125393783078876380141063172815805292548152151898658086381332403377855034248491159979055781198367420771185912033341854979147308200445990193854068616405309685279859568550864594435031260333930460625072669874451433142921392132535909468048174320089693988216899901985430825595143187622622598918167417217388559230075055389424642953073971610336080779547266229104563138464235827325892165935513665687880105074908451017254532219701706262796275031028987081287123643748902412846848423455105020623170083528398615873461698777781013024747756284884594149368728182815524665724774521670020669162522778547578179796084867327014386830440088948691772517259407630959373452761751430897856083134395205362332139205087787240565059667522700760606931434344905135545258961414008961290796560754650349878191823706546430623181907008054891580635365148551990413674758046588060451178506844663635906679011707433972339434405854064851637061476232970642591087556970610590908015451812081333970587311179186936166106972012501820138556298243161219738282024528487003929296852864244294509198648695932499198743808782888485720009075553260472662688979493968204450736433335518321833653316092771966586980389675690520292481235729431084071691957078763865405210417129034185864719668952706734858813338619572397505586005602035582300980840622129565125399366758037116477887631799145061941380685214873249635270053518114629625834264654231202442204750912258037887962050106094069463628762586640456899810865521002521698343113067659418180328003376000623097949554783936493429268583333378984437605528730009268069147617283587160258177092178393418586217842022003551467829692847599504250011458148414074561785094430714285918291355885674785299059400148252564032413935006677151137413061335334271553541462314128753134681766782019303853325420715055961510630876557327307793495854531191641731629356837772797633327112399543586148618164249713662223183979189847843625432226035881099019697729259388455494313088576260478546629177529887821569048808131318810081483400745202398048692526052651750761523863841615726210607346424446976695932385184004105613756392413010928999709675567537333721289235794610589216814206055047975127864180419092519457072346092676754932225740399063854500115634240844994868944513191767288642557667407722615911211783612466603641256241221974534079687819878003718756410465559864277475235525181331455473951502168308249584689178774508691052808771869692884600921337743472383711537240766007538951879878261854285933030815374195144839966895472603784160766233795494758029885853233882621554156540568357665170834724738131589067840932946387994031745959932496535350435462095181001628678712881118266807734591089622646080018888900514602762715187214669953534334912515654054973774367502802523727904913261766043363271650926066030760565647094305335987447016979478621049288395292436797811311117126554537335309423713973815235949384983096776190910915800801879493713484871702798097126517036157136713586156278172190809500213362408379459806774536110947773380173227456969521221633124852359243525918106776867751684637294562217814978966839845641767648596834497150055192586340411723890852732488966757105071443214919793487305967093196460428451811768933811279749980395920162335845855270594593557145818683950481923513435725364505288565702268067669315650988493014074018537854201204311427810865076011373555763125281454059853135077788371097088561251719553342298653939550400718045023852341152129475854381645949828285209593084706509236585912387223680877975729531521245179281760487554967380596730498335297604657783501306812346979650902356390022491127052215117093631920598829572801669833220764017508126333782508784603629583697095403920129082774319441299702564307406078984372732484993198325075645573383602785323382444629929430340212572596372043230850063402207244154513806410881951003914719859414023182342344614385355299327371366848056577452775176825984931418202564521987160577691269672268124363664127988473925047734025961418695481714515178732669899518060470278700175265956438491027018813391626689849971716288293454625999180219463644779189005748056291776203761627651967953604065680126452530625175642897391451916679993369481144309904800269830069324399354455799096179664283532368629470272997160347461942854771503053882224265132413311720346411099265517870481729096409452334204183409412004322221662550872777215188947711960785902991969073469454376155311468922440530620207183753749006955415741059103941858570700709330605095105520778685481355514797181590251298958978045373426523418593579883045632786611602160772443592426885627678650675436904265190396277812475549303664879077648117627874709836647897712422509516788224646325748898879295424407466501560945033747882222628077094434838911386063508856853438974134736419911116559824396231306675591760017826041866556450511161122999240728541793801864524478201383328341899753390755521512133293001001280272199710030392252872320291057782625885285751132934832621162613685155860140955791623662647757586455632636392184747766379605266429455429373624518320193087987016511766730416134327593853316146470480505701552786778632403971664868657595295100653870750154816819390927944694673269075286299349490718275951744703617945664386483329071177655864472388544713486208491753078550881970811679822766676184178081034052928499196277224104645366132674165233834562920764994799820711572018657322994652885881105730989276977353475749729182039889681922996624457956187446504349120166376805778337100871738248651393214733592749564805077439604712203721749189043761664825332986511245812066872414130486231251163557736130048576285473047763001848846487517122730622216351122639179254260017134841181556899656856713350240884376328482179890390341893853572679865308895309472344981915176379209546802977467250368989634364449737864424994446593243619055945390957953277686574564010081158514430253586459116187946346662183276356059846431660609362524622957488944319490139318621764433887338485633490263063258848562433287254722619626847395465420140906858940370341511166918365909917260386694810690540997380090220821174168254298590084170161209442948515439171971996395035407156861794697955951450603031483225474127660122251345505898550994312943308303458612793527737021929934441382199804831968297717257130841661084051814330158095704255403120950174317184489432296341224894660753427107009434312679716152508401830975040659942819954018052577292067182563884550240003648417306078223640272778097845329523714834894675967679623312440715520092319511764087528292629963250706434542681254782083044283061346056581082189394809618186039341897598608332890495674784906851209737026156827743323088301368065717601837136312408417847305605528038606959014430493903592557626894422800310804200050273636156825201917795227558643460625875866796932495687865378076286315179199206753697867014163804043239936425494460445627598069564046063956208190601223511477046699811953535593157562956894319843550743851972537989935475899831458722023822443884345918763988197567215874550792676425339184704705874747878008300683671556411346576871356838429568560028276711616419351907317136171019741655365682260992321886434183299399032240183187412340224771882432613057346812838796830980035105399350709317644704627500083308114906549630550955378000583027820796429961727962339055458394497264836729194100156617159548526860068307788265187357361520668772957904588448714579485333385564487287071026523747369429796306362837271427869375239717539817192017391027540946949639628512848754440904290190884167202651697244322321061689624521514257325447968900965179012768323517495908160369065752792050374497451528404006717707580108027955579849001536551510213437124198458642226822385458736733423317676864452809410511045416247724380714281190355441008818519029023319283432260912399804234086150259735373535661117304243455600573439256773501433678904189294072227970669954475776397928779838566853740902884455791767610130852341778191303284451827872641018747199707942207302818835534362509555040162140600129559930615635959407277077315770882665382161948304430743859140876218291249023125279357563491739486897521558709110272688575633438703288685024900664978831062535490669299174993564451923800657047935139226379120461682430891861785148510183624167960598243940379848696904700821810672752125468521339030417546697581352598281336790912588898840917256992111088678419917704926488212265463087312417471095283661991780323163973617744075842762728213210275465967239866643500564175358315664495023758542495250773227629435765609234632648566187852833291674837120048538513295571715919460316135403101406467430456127292636202151060208146241155072918718186955425517790475896530567033724003862173036349173956976376226991435445794489647068744711028931622224875337727371765357996666692192791203201425411844598713704982327131546771000433555984411797151393305715548270736995185353647423436713580969090622057441145812686571864152312541807231794070021652872762883538176154663580443848744852580746045584244619868175182118231668680746386825400220703671585980620737450982220456561373720558533007060332348942259557326134479191672892873424001435421221560193673112709183273399562220537850831838816145035035968797554603534089890184800302387872690345037299725534390350537614657223724268117166656702154303934344156531712705069008267132164397652321994782968528581573948603292431302763077049989777685351257859499518514834318082871437197454029279618809766250072955311472384652708428358987758452933578913610915574067670770395392049292931910128871930828329022535414377057379647108402082238922721370383300937751273508045353052478176276662958444541722778945621118983289417149982781204077010123462661870618679275849413902050731959789706920848866523605127386841566356851630640499531879732273032168289615151367093096236211454479925780094324269530988377626942862643244620885909458199671703703272038103971616137887467236136069546565388639005106296861559876498831695739838349335891499287466761757304759419719372671827630955888074698358441552532105931065950480249856353299772189661743924270728032534883933405283937534203020793041239298263491017240012031491248743966736211812228554639729298149568423907151981072889271018176363874912583743388238189169298184243210289682742043999258289756041203911595010038148999099720688247293766405305826662774359486362197077017505386492854256380945526208093505448284243793194050862066059502085627512129464270593808480329467786730298662376181856134377035781217010033892312191032127874147172876896998179195989393137924171351148151851418875951338712602106123529231737430604493932916371297269583248708743685755259001671415500523807939665998963724444869071904241624230812329870704347751518518301018083535382699471761999365265909552379991005717313677865431190666613102691199886500831652060657836227974046587476457891884818596133075418841949859302885903529090513319384125068439347604986577417670809610183828540685956113231926517291660392084535516762702423672738396484411887293997083919632851988789688760799972422277641148506561457409502394536452574087427680170828908402691451375593578950740382531941447902960961214349336525889799163711093437897407190323441969805598112912144141761695423390714137303324832013798398884876540585887520292386349924074092401786945744209247362405995312160866301553653313353370096531858450450259279514891446009145026630762045353074544168301336102065585940624201786316071736629101820041382499547757359710952187649892963487464125383237234177847378817135256208365114131111835132250391581337082188685093618300296303349521157735922048860557928543111406177124102996600227072362355712417610071775019584661591463746903631401047240155998619275272298578110124559193163281907253155862527390193302945508461293692237717922774824720454355834079904244604688311439340159885445768779875035912088329337703867818265548949649937052810920572922015172052207663241830143596707863960627456216238809090444035969968400893063520653732420468355011295166812917718353333687065016258266716899099016909160312105105699727155436090527367177142078066683954864884429400263162784325194067989073397477063522078603719683067544385473209834801581407790145660416690055780006755718302722553438774677402703885742014380325389565364061855661800272947580525332721381310904351079662285185451055423355488438732429782787867043657117427009078908988375263772195905713112249928656342398829904223890234933139237266413668172892810798349940933675169313806692100116003782938839164195741566248490847719957309698111373160025551874307832954942150837034374732399318620481095408501690256246766245442527118380069810339111641295364591955630001490301281006226907288744921371051701479097173075285118757356340541499684775892850547976056724906559962736711963900837400737732869051025515024144258703325872074695898385915257149892115968589682073348956509102783907317973927107565888920191183941971003232304644129061870681341013775029109669941635052255814531514401036513529861154520489586173939941214019017199773112867518315266208155212569020104408011816999640533242665122154506481493902701557120536884039404292152949096038764856000985260454570945820792337940185503359459804004888142086177193925244912776435285820982738875052796495002642052817669192193228424716424122901185552194160672424045859471134062047895843283534223910186026008415675898018629581433368801485910414068914757220470677416548807849438330721640122440320558791347647884450696052122532990547683909990119281095091400897213438914958118055000462155361335451226365506733195632661676841536803481185703288637975005384609861276254917048402494430205427775736663059485044621326096649962518297629469453190456792318784645200261933875825754815211143842981745490833689422777903152513174575840546311076931429986425791674499100764730878803897178964583167286073612905792341513544092385891172655934299035282962213427985347818407328648613182196426910440939868544475574959999905907183064872157555836373553852377488745585835939579856287938614227403795866770260987193052740609824895615778479257135937704599447631673311299819249553452790767342834735567430523988428233601446933730043484708167925847470292549026744507200507743219357532210815104029435026689452556763947531675506383315682430982643529179521095735626527047614103221780186222526253392422845939860071870141920389269225792183075981269554686522622996855357365836134459465027211038399968176123579259579789956027432445356780410608063345109236751224501916947305497953879576056046042704297600936627089494193678366738685882474308525332033619736231718808826531218214560758597340835073779174829692633537341007389040313362873505646721063092068146199238674480544160903900854317974785445699746657335272555555741491179568798492799267253173782085622427216414433088546267350590435616437865494263854378458888584855754376522390508096337406730502022597951962636299819840881388939302823390563742694769426425489586127940025940531759372927449773581765458775428448695885701864754244672126310358225187490975253913718113087009845237677622977500217645035390379415366200061295918806214628812144408850208866554682612576192369869159765944742286281457713880735090176005445343531534261868824609531487290992831806005628101011413528310096613291741507484195403223035075439767395479903619392324363901310898970814843872870400",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "normalizedIPWContrast",
            "value": "0.0880942219",
            "unit": "native real1978earnings/10000",
            "defined": "true",
            "rawValue": "39710671208687341437080034916419528302711375147215834938628292147509734259598975728562927742348613494046630409077584032174742013070067455997876274457676830177867819077815290444425361529703629032529784851612562501420402492080639654411359210434948108280915863048399740172814120007805742912132747716587480655610360433947205882501806224422597742157650718995977008041196552377746988455815887268489946584171577497141811366225958743706862427467019703976169160196188569842312434428362876275275762665770588636778834621213403890307336651118517982348321800704191124946499364431917065991342160912788492391417966956082526239917831104721235547495387967321885988983930710047139236239819557965955509693342211512235440325031659551798559641071212058425442811192498467756153356204986365937076771505577212940635321772219916105269425925752203206504364276495409226185466853508101303311814655692425395139565676571141506464818719531882371181234971244346739662308370021232032430812197010891053911252503498621750890313796820666643530819397954250696332139891242131957206074198565881038129163541559028755577983868957071023551878560964214939219874015122011181811297094501792255501461793387740936058719622065598760283897693201513987904965711708524047301411980898352508197876157974548559134377675608849751051177568309432997561472829109541128581915109742836056694353795891036976732261872979243947020931544192150467026627744856775015306159958775633575870886516681455354202839160672723456643707084897477340100179617240158879991019127158519788969668480223851173426779947632963816846979137732217347922849603578632118691337036948846468339772388185300929321768533539172303683489871456632930271912625251879546369053866538478780019968026778800750682807413035493920198135267025420122860598177206140673763026474562488022359825710556375089813880903789395691780042152702272851846800743307741439347355710077122353697983911112707057132109217310801263743038390274998398234269907395864622466530517705469860241392171278328134346405167304959609748614389659148341649429566207521588652415858714913130587377533597289991110942675277502326685441202566117913881594135322216395517491744878065851066070134820289490729357203205375133688047127272292962105688552711337481510007064365882838079881618245391429571826877340822939788331701644245742088538300811922394528102511884092568489446709492207115694265098946700692787940533704938024538811056463610585776208426792885968070334518234284145109470315255753114605558466751016371702200695052899733568008554121200341934500056807774146155527340645567729620026814812091942894876101459478538435327799713269939487285088312936505435683854866595223850063383116216857331909090366679543385273527167926603530455507525945027330778573042328017482119462681385717348444432910518441141082967251436905070150264126385760633850519769938055547071510475652907418245745533729261900611151045550330179206684558995604145694209241932974444935114124052837782970433578762546623689775592363233804235473712108780656233928526774192572723170463159480433849645543522932369290130809900696423389325954665935718896499531242480591718179815592435137591644740251050781704809112883000394741818311164721275443528949820281672841801486832137290928866665442219181712805838547137004096864544895726991824323226465012555241417189051539518016184497389476296925198662307280184574450293927009844871982017466725816270590952110079790737320439459185056745052715806445920702385846123072763125534048497876828451440667127958035871821744799813666615812513990448444782238281723394029156392776072656633251099184395191886913749582504585867648379002432104199266142498744027397466598171476465938004062507004285918952746971001490886809294493518586099608257973599081089193851893805950760710091193691426604791532787959347043566748538654110419518010873188885380976465559897462445428655927374598310354450570056723903235567694056726620689989291457459551268432427136823603050672238529196861375469050671183959160373476177044685003674877611435765335603114121041282201738122754711042028541630373503346770675527898785307415047212551090530185025103399895786641632104455603503587302881112153077563194637044355480262771803559133644273737419083360947532344208114816537059570470786774465741176042315016684761943420717660290962545471760001854679380706703728427042780748044605717434490608926712279755159202114004927558436624150276000859845258647294933179666541446832414476294700458203421861383684316055414310122709572297538966624433451423427369918734889894452344899904084306592398095458305701794943407266960601962892717973692345067465634643966604868665085465212007639335340648975498171558461302344813223650229538040958893952660210157221340595197776669692012383520257389795105114075918314989439811458339818679346346225096944832326794536147662167649607258068601592262919009034557746284458691479703161480219559877062731665992274598683471825619907888468313311928635249662686396739127534073944561768898915725343681320279518907891247968300209599347663529507041280605684286089321358068947287528327768603707587596488291508732421278781487894529249579282302547451011641728746754105408368357675681276663234759685095638367368687764285762707194533575564118676907150866472246107323907768062876674296704438979965634899375380234116043048030999363141154273155002337818763587013320912440048345507727084696568826611120663315378363177233747945398643861767330880208276196062877985168129775316026394482080510154766228632284796652733128729742383871409076701636471530109971790827051549125364460901921011151119682042063710119896675470043770678955657362805293089837359249988375884438694193729795181382398928270112206723567153123050457054627076625904957135667865866932930562338044050640274838631886057437379804908081933232112009219611040168184488546634872878839211025855863481552231689507912755705097997557894278412538999077258781132842465132545616107189785660747324586465298085789622661014702798744474444850984660167739951083128410147464346011687379260462341157062526249285905028603235746757534062839099379124825444392867780793992829747580996952169921386202902094364330122380927384839685597824642148552484799815429250028909018398198212714672834319791646626946270548748970473218519008145995401038181296500655786747637196222178914205087881731484671160800079058183330489732977726265456916218966876188995702943785184411277780420018941779518408816620501785089752238657407100429151740896695506493103635974243130745145474175196144604892104460866339630780814513289777737320275033770172243528588808373896574708098124668798106004574938095422648996153631695097576782448501129882229068581353468133208931122646749193513765695738283187953498642008824693194205276903670046417578797765827359841091005769134314225251087797163298176614916261919097301674021584839875779926822438925505948503921795936413282307467026488074813843689022692527820188680615009806693492932992301451232552916044898471439215417114820130224222532983653690179744445502745799792508775256752282512213320970608291680253156933258708056725450849972760147221902763122884009350228709158629014950144931042426655517081369420290466058347255804015028558338637358276160150214167868589452015349442798637968225411580675542434034918036148973281361541683482264301111181998792268747439550020971712725563161815531585465218267995813353346786765162680827585004829162416815773694523198882796052409191268189840355154617243755929505151254499837885745793090243767518510507215258432231254139456771746923124264881452549354238606050767418789833477118379075334685296388652515095262664749695819701840439871039987701413638171886292742688250625856243437617545642385653846073133422284439814692194161903948839482219544892868663184905704151383759062965233036743423515814230567060940174299026807303711659838434201116026985658913509727976379208328310345954458108367961353068049739512190334790480065637179935430096863158889823326747803804995390422244172188155968326597806158642854288751974338544462347665250499092477580943323419724488424047859787468211253453149635183963775367753693245526026007349225270740410747136329234016331856233528276766966380901474054416495937880614965739099385583458491416996079424942428634360917481193850092938496481193389132407517815125587713728555660427336841473014400824543616618620154878235851760353431987688852028214186501701455361619924291098503327194910940557587569451534790833895045179165498099427384137700475330061011200020159876924798152972498133342419255882748833441612565197613492023245522555577783533191700593581594704655017754275717197190687320060671819922463980946639472487475646873496272327591159570687402760783845628040285278188541221663949384358941162322279543425591542010155659793040879181765046303024451908537232293493293979406344379911979408991241173546998488662198972107329664474721976033134466004351888988715652150009561156551748450543114066523825911658352236596346636090790188184220507641275918769396941814109333071401337306712567998897328442821779123678689389966287590922313005213357372601535713833077026118086213463482823482116411518839552084275536855989511555694071458637554681679471306466734527683189161819343346537167172372060294886915308321944570529314009693813944365097439139733139844891967187966206735352679711205355813155189145456661633366505111852190830380282966270683791810429662826850902969342710287571082779198708921512165953243318516343068545843130171377438166948834443093185808654563773433547946360892018730528958547597692602415472033921273731981652133705617852842753577499685763355742742843932401967546893388034795771190337695079779287349548204687418887490257345365600188493802882811440076266212475546523755562361239835540739511515189927186400109581003579011954132167793421912423416525712700795403794208229980377873949413956764629625144897556284567063007925196174197149325225428166418635856894995855780742132903813705179954159298499106066539362153297691291405532713809633775901737420193762213627395451066357543713044625021802847859159333866571666773151459106688794575409597824553253032926247448951675229983593629454080785537394379081689230272989819008776890185429385650812428382739242536888830616688731632011073000047182847958214317979754545959362402628560791888115778006691954446893300777370706018736552266006416610975099639911320790752333285943781434911513195992276057091150665446940366031598627270638918539955751819901191922378063977833834168560600954631784324899548724439403359343341354020757075400545427565501115607388820594494641530600639567121189113377481551800604783855147093638858404926251366034189864293828838224022121346153659538421879773755369447232814536356039326938858103317943699542803290714711238394553177128386367146089527794988640352984630832891557279301360268146441284891885406559796669274796226164876098466002258491866287993486969892628524923898476447480634452320847026784521830454268523644494915408101548039642189412828277874981945406585615810300598110701508027728692899037575915499005788341057742073647930495212034257505712725273858789878897301480184422595389669463091127346139595458083259119568349640353652300173426805208003072135176715150443376808494679154254517002512212734546614450065757152319246225834210957535597331437760637366014889893821459615713083762414351267323807171450992492123825355000185765219072233069675813694724998632920814399585364093797627986345017565579122398689112109836299388456036615910361272788491516578488933107788489130708639135312837908492479337424322412631326452050186814866152452599629071185512890475165666822095342589027038601359013752654612882997265007971991331412724840999062464478453526931137300972276887220770984932603685016472182021874177297520976488663006652846520634767288741745047075241047134231444431103755741368885501566291460846675275226312532151495083317365284094464591857794537464023320265022088712642645294366911292836705096820799065151388880138875192251689739087616929691313770427341399434259826569776807337235868971371261793284734555310528029204141366804754737030150826047402795913057291504483591638236726599942294056869138786487513932339916112635449261829953945546152594938866687136330628377867743149859669909696430350092686060874802336202624581648046396182825389651809803954450876233953542818896937571094999438378372759646946750758966223646552137033746038436477220221486343752810026859494860304430128688149283170042329218843586065463737790784369550392334919803086987983800440173323448186000527195380805049822886375887763518282309385124164397550666822031248050948699827198195174231412189638891801871105628321041747297119376282715895106386536723220113321447300353538112275259353604850705444783282055801113653951278977953058851463238603371977764967911518532387454831599052897979279962560461854005708401511375534928017221484349425933181990981396191983981631614954572170584476598973455841118954127401043143233388172319199985893066486152637005467265362991484818452520094155191688374039488893223193337012205974185350860623781709322943992768045104220718501951380166369813646039572295890464652843672543957051881468534510309022236006401640349654707977526473496865325077690433258675129097915374795810035933986723441847705962367550941548724069057662178003981439596802153296880727892295700498952943889020338731090558539546766423991958491668330338918504382861724357017580487633626100596347857847245439624047457833183719870249967342372877541090059499814355334500307764570993806484543029178623313962587140901537692923506801612933640580430527610912202028173678041925660053589270859271766116783949547224890353129013718262500779356429984164944319208362324665771406756591753848350433850930143313923235060704682384624363356864012138843616366128189734069338161998119591007288526526610992584809906619590390890635959122750321849307084391775852375888778250307967462885031356554564721628264012306936231648581271125831227334082026808190985656516670530965308809914899188622162316388028592496333070209320092992204015852776520553105661758571613005101773798290518696959181106814583905314279729018120470913469091808535740808537642932003358982950006946222296194063543501436918284142397556993410944667391034227701870316788960190460833128527121287441215226971979733383171230328640444667315220336566059336621264648268648797495422252690358447007201119290807472596826281957229763543906488090398157933956520411061544109550705467831722683952203149542898706733146528584251537403301144282537397238949018415068097538310915865411380395199850373249609019712651356059444632686522643539983337357693607008711821264964331636231691796462845566732100725849265149198753972876291152170115017339898640631635929727322774470388546480605732434343930083715952323341667763527236133481306725298360959439398126021544826319016553342126406854281185701324201610417657145373869190758337085004963767023008868487236895034415741553462412008734233101755943166559896501180277429596236142736260571780939846846884216117292993472975057634407295377286992536745941605960413630144637260412904195419925259728828379904976355570082662550707538418826776906259955654644971901144363735844949070515999708353115819396947054295386398850942068003437166800106964279929464710400980915416752437501288191775201027890662370633117242709621489594496676312871822130604084154712389972413933938480009296570785569554046715434928773201169518608926777898970958643808211058706535073181966524918133869915644439914597319017267118496161016849929514333192826592012012393370500846657608200787298233707224659462863938541975414705437364198944286195895565869590958602635657312740080827196201798841628344694832592445507897253993908921475898692066877579711926621816346778047883632883259032134815918867888233371503254188581857315145242123557465167915015203738936206586568288771048449738258284274574323737271278712215125137961053908918990542378507599502144429737941532301831319933109877935002297889086981039152370847124032432446449400806046111113504311179023680220175812413513215948768003992074818072988906727412528542292849748772284893522917353250174081894435732808876183743171861536869139419792590030505952304690474794693371463097041900042503052169864754535425029711441078066360832596502369921536453846902829247559828978473649897968316838295269277005666125795760222567118875787866144579711852347392973142066593617276859202185697045503856619058103159019369452494046039747764536950801819090327898899298540704524686117518731448753071632545845083565283240947632675007737166697344453183352169059337940824799590178180323592083116582502892636025104417838716622044519067832576928700091232374368843491389971804138887800080967814417230096761302267783793353827752044560578908746142017855583063824904481722669788307207912100257449821976047030539797117148817636607704187345354700931412823459583264678152147353627729210594026355486681865818839368804417180323488200749756297441670897555760241980419477558079587208623467047834642983290846642689865622160676190758947107738079762313425596610767002378226433230417617401203589292818958647236324758323758580129202660323730138748638866370942463024901293134159560010096929125776561703205801951919073374466450367776781555237136457403509372323314339104472113429418931465028048454684302574836709795770297242548629925072578206316307310265568758897341837487524336349893410514111520231081037101278566288301391081166761976404380827811017748215996853169886869428846316881008455565790009369010864222523299137866769100329220045465258598997625315280461832371727801551298045597194032044576161773705362303708090025413481337101013355544532291893460623995315093995215139806136670199626126091173535976957908202669991243605122050600023577224653742143444258937182221157033597945956779864083797448850541314871576704991174379901640678878909383181681247041025359963052083005190991431597129963107676749791835046626349546657568376316545878574803493156142656849017973604946965154593687370381364271583466171690793417933862621541103287578846101311167900371234623465302286218258581383129346392333289571083416965999982595516324465073864594802738285439389258104448138331778745890839822526155624769079187586293074317659781378730563833206063084183029744217120005797812885323889402302278267073213177814355494714336829170390083386442517477333511007842124552626505647246300331318468795326734131665281120134058177364967319457184313774559000065033180008142249619450347831416774915094897579428739220204902340041337368468705892193177321405548442915702664005541593877966082560349544638087380128216691434063353782211664887956958267465687401677644454331574384875796697940631703150908819149447318159945351083846356205404805138266450366899471432707411917617454035760609289360510157030611783799537512512756444952357845805967238279408534929771439418906241830585172501028917854848534018844399039099133066742734943792693164097782171334762592696371465720821455975516753142513956194420861300257264985106108398737155857588959979874055584925973189059496203315163489839622093554314676710282540247840345883976650941612832893269301563069224775173918816841504804630864682152493995153424608019812115851526839857212499860427347028824936931719671372460872522290248279327899928712708987847901818508581216148540379766068888286793211552918979989569943919101822377143378874222289439104966941894828744280841711224338680881966524448046639905249846373124231322958006892823860019506828649682790801856255204304512209935642601835158643871223923730097641430216661650445229263446931040838224215437207579506556274960285741659577031219896973795142475840849773602405120800634894348227165529095823849509817986798708368493910237343846229830800141752523154094644900459859459681937213119914112938835524632700013914846866924267496491084085028356382846096453135666150315874091082226330528697130131193001267503284970415936421683967457991954357960185971055538975104715948114035460844573469565504490453688276744666329830304554376150349795164795001864949488021807274425833357344807226971241419916209028435345100312705625644208551149330096533222526267433003963669972639971174097985979534405566190347425292581200021889183236230865679182358111679403545869158446104391480492415478577612268573800514232214523720856200463598092637898394630222604635617519257838515304944741518882576741002577761502802894443125657256103288947638914002164051110898478325657876681304603397742211854998899289381264418290604921965131536457870645250584264804066277770211938849292008290036065802472335588904092493705523185529171043104426460631304917503074209367344795711982549331833886308749893155904615227820530615565684909718074792642399214856567076782828683211692174460914056864953432785384335875158848187843008536342655942830765865011715170279966715137662421308367294608578823547261214288033970051668670572227711842739390510456362910245841934647097175682706415447030624699567288741407464118517744769393102202259454521983285965219689193899551744512976378930475860721103510632066875874927355390689685990520490089203563008193965669009580243303248040662398527192607801875586791647536520367535329001585962977547600092463524920928251224490287781163745512342219482303074614698884239868746569017685251077880102196293758056986761120581731789145710556996244384448815756987015959161257547285721297792305583983695358413457461445918231462677843652119349613367885757778712005167114431323182198244312785462623841635287593577049965921988681807838619671764107727625952996860496258768576516605206751405946149521566985666701166167967217394493113574821567642980510591702680609533320171197010683772973838011101783991257567074383887986898570307277586257589379589952324663246904629111450076748922868647648833338577569260313530450065633886633678447495406873828694656544169665144738479850640451348311116661173297809625726593352748139927220979752630923617225649170652102445577443522015127220216798254870856592436734299502733758143923087220325146887471785104013117505755287036891216133121120952861122943403926432489218027/450774981093735223105359446060048019686763943659651130388915778447072330749440355122603670911359937732415655182720867836057232543750550155026781528644964419709169673177492973832941248003100844078136047572850005849221605789036222656568363559681157146700288714901439084006145611064277723038904507779988385606294994534425664770522577993666212350968687637013050017280118210910858301787233090676650323340046124378046223611227285299379029053000431709481025229131872453257912267040410772311143480289182044979206737717720837564443050334773971919065580412845068678702510797045688114398221039688008379809322737484274468569250055458801383024984638403152293260199183896051756811308187514824850824176637202863893140954923268581344832660753116181797392804185013267038944263667418549667371647703241638884683845876102343582727248967725550557116433607840925178337921832230540598765468195846080390450587612730978245555210691557624363884189332682311841363211142412896649015777146267293576164452852016836504240173060790345797106769881736891095606622341488516445234261746870727091605341646142824981833651317126687435366283676139124161002388105905323524923020683121897265705354540042911565738072773078360003478490995491873962537100505890139693868033956787594190855964868025764312582743118803954305606148269611296742284119332598569988104418324247674754801252969951598583744349995687578428215683408659499111923702506819596467174213288387111871302747756930463000213178284074340681546907818680107145640657357242039393070651820920965091266459614191059129944397872288047770902621192709141509399767468052333771406077369075058092210490312140082120586503071665479695046468875023459458095084022683536499100075697198124197835817863109462255857221419240158676521619566820888335125174846730943472178912481556154629363573679762156316871815334119771006401990331606043495159285342598866145698919747974865228801559775375508536513202148305285350561013139088251296021294210138314878579184693370449934324181510097285405506044141626295368205586623507524221576562239055690307512505904891309997699296080483618659862513381051754111868219967027480478459423783949489774712892955831277549862719239764046129891694821915557003620261557120024735221535886666205421976613324022316667908161723215603949508501232429327780685195962277146111794369886896981730984009319692056991159638516538659971160823811777790799506630616464009784059551206483859320156920493454339112202519551636455620436892166730744672976716868855074291396225803305277394860778430313007066946174041417241624156160519459723420272326140890130446854382025651578807844881639711493625480579349230743525631320174486320201416014172234551566376237447736926048642003827851288546940936397781454508251495103356854566616970042255327106822048797041701600128395837426727550015003683928188844889087154568698865913375657678330310974928559089986675117363691337645671291814465352010829278731145854362543512837037047992196520609696087513376706408285940529481091413826848235544250471919182013582094754707206120666803305773053156897951665404948263215645301497464136713146005241538534076071859183922546491565723590182718722414296184663247059230161838989288183537449296651548778611514819629125236225447366063833237237653246424114266649320550503233948289269805833704825645901470687648110322113200925893492401689534146253490435105580345942253836627089553751235064520924847439370708880109405333510312508230937803140172149554646097489044430248247969959294764802293467365477260212002768017472045221740029519603350902649527313740083744806375905045292113475989018002749936444276788635721887098735885521653064109253848510100506305046111530161573656413979841018942194470624107933725439299801896535149857789391472049732670573231863285967634252541255038602123223789714718254610520394207732959133347388015642629640687371633328594061120371787348072950335738393596562750447067653089477698773333991218954014559956791627063741107308503798806921473609920850108094207470580603299914806841217849087127041459369294242694462571539046524446152968843982999668477664341002600385138960827496169812382406643708920292703094922457848477879066679830052964318189738558573114555191629532572124756871032716067646746341705530385736866607035620544223572739253491493905572286576797644653625433030371002667780555264232795020600903156678752270343103207166783572037692305709352711639037511786781723270129173775798413034229081583908321367282600121635326662831910699997043643815566698817599037581818289080687950610711030186012373174181056405916017856380389214323451214068439379640098212950273261736661914495821515957892094118955592452833801927642215310530304864603365848370493637699596963635744203593917716614325573739167690062562177321492380549524682412780440475706221343726898454263281614625057637484620995350094287058607466592907666206095912104673460263936149173749898523111193219876916229009474299263698825650728813463646824611229860520964862840731220908354705200007108121113322732473979130859414748516721459220782845473960906788169742182021446266332105786223325403627546104608511423886245386973223149693956813732436885678420993865217681933134059678189670671261927963068528605896586519101989657881759304736480444142887582140377917364034036036567107981167290616924877489112241997855526250792914699589632768862993312849255661876513403791540492011776247130447749252041630146778140953434779424762093080996381149745221523887009422681808405260929301413726025338475146382972885451618544225988498678277160031438340152035293412446073090234659304384488099411486356474199828901774886202558386073160180549152915790595453513548727565970682528475947621753362363066268290911000525951438759750198604631130143787650260931896936807197290215358679635863495926482160647822614003952021000920133876910575261774831356067044710981786731793208973303410316900814254731611453608572454514688324461474109947091261885301561102234084854252840446155461393198896017218922279176322542075311544172390006164025345036962164936213180985231488457932742126874252144717948472492943323254253627950722540034066142192481752679146074262115951942156745319225405995324850287608935515698737535747941479071966140896369193459470907833571672103986237722640278317493346266737170286830745492517239073242851924962355593918582465637527875748184804104695030188813010585092842155577104990781923331416120261570191844865222561985182409702049251415425743059323886310618453798972671077830412928348866443860351312679818133278192445781263552814818686423093856664969344094789531401115929678593749935583597095212898732177244059571500173825856664753143168789086248342397618961342373782203868787149371617089866303387608766526080295678356508286293131789940795093040277219768563474715934513825984163226834042903921107726624071352114252148762544456673073694045866683303437590547920065013427315301283966326709727864499415259399663423281246610894999201034890491392475577063488170310379656260205205430242085285484125719642711274316834392730423339180495425825434853532754624529871212007926023834224226870081295555898823057381015302137917076389810555879624716888628133723015831977391875155106311186610899235299011623055965529162697786378442432400953183221092254386887850259864252290420540493318640569074340229752248570723934765181858132229151436888907834839759930694947570740132540504471772943472331486026821218559395183987896810771789724340186169032855356468716471419501986606357364999585132900980034202539116893061034485936768574445286587560128458972671374310877028240487537487411245362156963558425875359424458060726200715793457754294221329305697331875537922364709734993659316893105049576893955454621667925251607438196607349565588867670041422992127128771811335826062858962986246218398093799569753349069825322562610715001178658031745200931706343063199628791108203366671497482268175060591860172234533063505376807989412095104749977861418553476374692144453183464887930756844167875215534638128717686718769262899219033831419699576044599490268936375032658078444882266578585901060356858103372851428779858383930551286222950878039106105716251976831191414452620833051833839132953356180776980599780636875839343631101641825172633902335020223749165831506104952917565964234860151215903670145225553216810443281044366268833013613018938173779236583402911917109175014042618885167757454433150866628683242237681073769779694294329687914279828457245960101744052540159008299799565220552070392876914563906903833858045181068554977307176056918010882907160767529747577932463637051422147991784522879531420163568507441380852335782415805602026264425204475681433273015199050385443192582233593031843627807202837330192768180624926644710783577076123802202510197315613735969582592015158610994124591601115361384685601971204060920749595135448616776530355061994010555594262447624569191812301630845390342089072207044136115359765171711027032350072939397491405548281534210193461549384536657671907395886607332949484785750893148593365860604465976244722281688130392631829481817471466858526548978468471487239996469126455902319352096026268223261999377515558617082700994601500577169400188991462318451143417895402040211665594377958456694194835868133338987523784747077704719230906383165424379994955549838005239719382362029574438354420678180584597017102297206180215859390223429681923310089965980882343070740716762217178798723025323247600152478127221420000066926674390393619474865434852101780098930866514446123525655980820308368629342211590862331968174240450445158848780856651600342953286235967997456030802054333942865185440092476353277661898288715614563245471056495967571073098218956649980310024185674874186605594430179529312939251848122574383791720991333212771417726664444173374430455410945976185569305842134903308520926277053990711481388759294983990348937273896252958609653198846628874845209428668916784670447050870470549828728177990407032093695199815669475171350289018231763963599490949793795861106982156462835075823295958601479998355274547845668254404827242781335734040649111284019319006873452118294452982881896193413781415596880247611137452524956668730269810784780252585605058779680830306961215175980389983231577252061529566304842011128099687559707337368269960296208594378807684057772435422636203555075554909505974457123892736375873090423049729719294694063006873982107611183950080252960480754439184316960989355226670215905549254369660318359609103039684042850571818661439256859450517585272805894852554841358264941479859891457843770584066244246070696596598357696206759673883582797682856071864232061423544453424514681296468470646158210657796477015507289443567712527433416004998504189644880797693950826493354970474207224329598012057504942079937674667039381980996864538014020389933960160350498108941029048859346009144314896081312768149381107540231050445423153468498141632980672060858911466633373231721926392896746576709908225110979866773942196079801004525639692139406505690863407638777381073942368297262789725578091291857242900414078902327920276621722031912680008506217112093067776688745907267069680551396919161847992947160260301056190477797193969045346962025890503083708733662764528877824735949491221307585119538056384622669778976591930246563350167589863774789266411180856805051476327170802341573641374701985222990073141492191366577178885487920638553150463786692659811715150655525801826303676900611174740917540188366075181951407791476072992264704097181769819959497316280837278174231938002762254762080907561961889191603004878583967184272954166368477078649193412249408305114241567817957071185754691611420142291121020734329916719128401214648459195510129027667780984798710490453271383071071905134852839539159851719817300150738412698650669288422410508051918894049679573906915317402792212485911704219091293510286249189493869552491421142186797855012068410775353050649550148315828050704234831687873005716444290291625132281682546374586348840150454374186476918499356201285333597216476232776786507415929821560394208887057890094725261449967352014251804866360153171140856128042946030470658999470777954236062487329667906593261233217739049261422490367150171666961300686608141853591608130268546868430867319540399119654441928451151130262270695789292805320709464255575897905806161222188921130630848964732150098110954539052036440904893568280380843829687370568258278897505153123992510443327255271020061231958807719900775795510203571641648768866821069877420227886934235098525117559948054450747955590922119275486372645214413745142057591710813607353620199621542728697586805383625494484338801652300174622262123356379686682548464206272408058433286519594555546179756171966944193524173515032675153522869723281330243240794368589913735853314144277278064760905251568672875382059279326422363447535809005970673254669287348406374054217266285408892860174794270484041218922003613668809788872874182102988839145879949543812232568365007541188770788485299604539675569382858595054655284592073047024884402876769042668292636816540259817154866879835746720988220741239100927627789382239600604094993243730756154620085814812801508776447630941800551467942661155122709731596598545723488081409221432332257393334775746260205796131122807854591171842318178825224386661413728683007656869839726272579809182161113595382145228797119589487980948087443051287385780806588318551280363375173566075679741141516149571368120253635057196831409631250898162693636050021500767393154369591616252254003166450450732845459817578563541157859771401727018289148119846723163212503373262229075254588572479196728908286610499682064627967282955218885495352782055572197288992847678856468573440527191062842264724010873769113366620071048085768727179503582198038554832751596175398516695590260263393534522723486517379447004968229402126106791075645624242422624234659536188836995019512695498884588041069458820650307833393160455749518738969545700326488807110837166904634357986051256410167617325528895345569754679466012948311566100578777115714809057213243504613512368039402721319337058322057029454579486650809894894162676048770106228149978458441715631511875532576793596353446832563805090260196161163939328764799768130133307413469625465412506300684335847614887868342900744504560941644334332223939062337477078037478394532263588583360799661306315305729371060159921801001914552031262840028351617358771012144678245893405523670228819996488133832440062804282930773124468704255504370287528263066235883372019360176383343555344294104965635928407671834965324422827766710581845321640127003428584773052908144031966742412628830235116078501555684827583677550608769644662754185906355770827664796630332543609932866843881656563018052460027579789970197350323673344293315375473175783995750718052065085166802406328698632418596026538261658943807276876116947563554129709905501063981415061084420546704614939512541846216569773084169013556984702927869568627134322190865930016435624862443987826497534216327549282657337357566017167336469745221891292772221794341960806325540057491848103709003443209245420851949288831241046572990908525491863024681376828601201264426747961591792079312047094875052847898442530960802341186424923264442779116903892100219777204753083417601358086094395683115852853115908781316099329200862623934894112154540032601878459472963548294174317356283717740761974073245401471730093293075882924357582338435327237064850682627536380361455692452311503227804312837052622946641740285378228635013587831035258450046258513489001113628777682444207223243809520494998712534695762065842188102237718745639647177595854988231843863864054812211909370915256999927336911800361982548217489684586954900288054553144817075711069743848954873293379520543223447865881699469692258583275981080759348577482319971478391527591797812477577724117269586930813911006919274096394973510205361303532013577584919745014124684038791636686466773280290338023511116982869215652927133135282399905391675928856754687190184052671415094182554059657458821734715682957898746796550284496372853199183081340375587118823886318370916178891561275738027395447532036341626727881790732654563648148986008522148001555457381135238105946915810985049327845602628551055825433912618884025312257877774911925706559451203555906057858544906612142353357785710787283952944272643172941756636838259840440796852243772364475057511497854120158772345728822605995870559542955677041043877069413187180918354218041156679127499871081438346750707791078497879012369844599437191303220166230062347887156846535618487582528874297905293709587527760427618292957399448968553462592533844655401173071089474549484448287749649626486931469905533886896533299248414082357478601228976725987476016863389478732141370137498343340550123004996457181827608191851544550367538267063512346439638277057115853325831188327043886635203483936220012624307855879808869452288647216949677708598409948989040728069175737213371443032933041098000407415935795778070503678919811227499114406833553840509161561390438431327920190714468788219694254760208192853906778526923853463698888105156068576363859129470487586527255909111217171610291381743473136223422316266022197874657861399347763618989856630229583375654850386665547151865001642443422375019830783077230121086673049356887126273585132847002493056003134152039025536712856118619529647023323046823089341076017746492085097163484217029118722074164156369170075886099428998646480319746871935648543859112002515758179913307213341197335481848853064245621146598711933780163871012920043893475285623732446161755438501747517768885156426509475478464450834560856032848765589844351285259109038550720541718486097862068603895409671602261992382728614922805919888873584256896861076057383819057294917808952822156393990900515045501439104833236846754149213195290282177472544243953519519959761041274998086029166300645913978040212474087907297070801543654882651780803886611962337944828093430926988898778227954119866887221214513999541398911946330669268844532203733418783665578957861551863373866013707488793747882694935803711826946369471729746688641860108297701133130054995043127249569947403685508120894842175572994567974024650744783071846312533172927905138556951498254807600260511833476277284256725324103860979529483852770994405432764275745784500881573668838126663306194250959321973039651482603749430974184268994785046244644226132800695226445114982283241116295928696920019870668706226180994574686917470502515019625021800533012726435864515460042831849477526930295678605713139063911795655309938881821938078534201988543183028284380397285082110923998244419470113664064381664617693217686978110470419605055143374627495947651211578310044670133094625569102555532817735300646931104060649356675332971367737771841344812231765423961910664696068763663827497988804514432907787696858789777396803660119454629875393475322140651088749881541134244915320116458116149329598414401857476216330681987644847279629008925864744837423998397747945745039726493041915227853226127600606462139204533603677697216192678645225579152734382268497438958722983267061475285182357504551381285790082465662878264115812070677213255092059492700631654926652481676659400716170326381698567105594739153123035566879661179930325417975531821031005738975552395908389158088026445515395738895494238658766204207483261331204332090088262406636804188072424875867974650379712377763526383730624411601607532286533662549778941581173289237114741619234157620438153644506827057321158840720831752116616854864968576281109683474528520523842603161645832281506360397567445530431431561925268823361526678792975646289738000415010169957810564526355493904714068801933799000180966159869920734914953547764953597335589945481873635639999859513647242596665781199611567110684003827022483748744186803935974794804184334432166704561209685615490714323660546645366981013816680461035043308396840782904382276014946811736806207467209559455744491830681280461317300170906182813615813655231035658564488786796710700455033539310827836730209672693869100487904113352001579679973778296322516515743394458573302287505242816005343673515984469402185863163710299912605666394240898638028547912960975530973780798027564452612444721843302867928810419829241266472328007825387974501574294560431555673797195129758997513250461149047933365917224134441098368084011006110862728986299335172750267739067859630351055438122032402621612498454348759878507973305152124283315680802645977026272073791679465723672027261552996822096355293351466066640766597564325518762623765505383260858441782838523911498563314685525492637284963361527504229460224926402232714704394698191888832451469333853584457911539298226162947684973185420977560803454914847122731337835829596402947235762688512967317569368702171036720736215487291024473001572846508871886740926146273183899505191928294651674086241830336471239621643894275401919237355730197648910039660391221903609007060676747202502422180711633003749106308736616013539682974713291576291649753360722946524041648630453141662795052509234615000950560187356643678436371418921128565689445633095866234806355444311881994987218016942217111900380311883021613651212634858886679872140265204259506299252856270810185445703019828169724241123861997456852533933621049574188539526566146907818785116643729218322515106011358844088826318377339131994643754598452004750072871366616770733446429567055032312994501304266294651192769505088356764380711806982814772156303047166046914160391236854250772129601146529266968963202414850489403625890198353787737434375049990704928743967844796265667119485916012324278952193613198060930298263110067225643873778650553434796329004866659869424342156161376595065826656986823099510308704149128838831518941458999727501302975169831913700944032923416705363636696274474854525513178868927376312335987169184103043795178165176840406655651000658617708096416707742144622959165697777039296206804576252829588593477698778819095637197055161667608971975276233723241963040280150972690689245481366760792503638936484556251899847407186128324577531554436547873240941601941564794105344322020488133866264031725568000",
            "exactFraction": "39710671208687341437080034916419528302711375147215834938628292147509734259598975728562927742348613494046630409077584032174742013070067455997876274457676830177867819077815290444425361529703629032529784851612562501420402492080639654411359210434948108280915863048399740172814120007805742912132747716587480655610360433947205882501806224422597742157650718995977008041196552377746988455815887268489946584171577497141811366225958743706862427467019703976169160196188569842312434428362876275275762665770588636778834621213403890307336651118517982348321800704191124946499364431917065991342160912788492391417966956082526239917831104721235547495387967321885988983930710047139236239819557965955509693342211512235440325031659551798559641071212058425442811192498467756153356204986365937076771505577212940635321772219916105269425925752203206504364276495409226185466853508101303311814655692425395139565676571141506464818719531882371181234971244346739662308370021232032430812197010891053911252503498621750890313796820666643530819397954250696332139891242131957206074198565881038129163541559028755577983868957071023551878560964214939219874015122011181811297094501792255501461793387740936058719622065598760283897693201513987904965711708524047301411980898352508197876157974548559134377675608849751051177568309432997561472829109541128581915109742836056694353795891036976732261872979243947020931544192150467026627744856775015306159958775633575870886516681455354202839160672723456643707084897477340100179617240158879991019127158519788969668480223851173426779947632963816846979137732217347922849603578632118691337036948846468339772388185300929321768533539172303683489871456632930271912625251879546369053866538478780019968026778800750682807413035493920198135267025420122860598177206140673763026474562488022359825710556375089813880903789395691780042152702272851846800743307741439347355710077122353697983911112707057132109217310801263743038390274998398234269907395864622466530517705469860241392171278328134346405167304959609748614389659148341649429566207521588652415858714913130587377533597289991110942675277502326685441202566117913881594135322216395517491744878065851066070134820289490729357203205375133688047127272292962105688552711337481510007064365882838079881618245391429571826877340822939788331701644245742088538300811922394528102511884092568489446709492207115694265098946700692787940533704938024538811056463610585776208426792885968070334518234284145109470315255753114605558466751016371702200695052899733568008554121200341934500056807774146155527340645567729620026814812091942894876101459478538435327799713269939487285088312936505435683854866595223850063383116216857331909090366679543385273527167926603530455507525945027330778573042328017482119462681385717348444432910518441141082967251436905070150264126385760633850519769938055547071510475652907418245745533729261900611151045550330179206684558995604145694209241932974444935114124052837782970433578762546623689775592363233804235473712108780656233928526774192572723170463159480433849645543522932369290130809900696423389325954665935718896499531242480591718179815592435137591644740251050781704809112883000394741818311164721275443528949820281672841801486832137290928866665442219181712805838547137004096864544895726991824323226465012555241417189051539518016184497389476296925198662307280184574450293927009844871982017466725816270590952110079790737320439459185056745052715806445920702385846123072763125534048497876828451440667127958035871821744799813666615812513990448444782238281723394029156392776072656633251099184395191886913749582504585867648379002432104199266142498744027397466598171476465938004062507004285918952746971001490886809294493518586099608257973599081089193851893805950760710091193691426604791532787959347043566748538654110419518010873188885380976465559897462445428655927374598310354450570056723903235567694056726620689989291457459551268432427136823603050672238529196861375469050671183959160373476177044685003674877611435765335603114121041282201738122754711042028541630373503346770675527898785307415047212551090530185025103399895786641632104455603503587302881112153077563194637044355480262771803559133644273737419083360947532344208114816537059570470786774465741176042315016684761943420717660290962545471760001854679380706703728427042780748044605717434490608926712279755159202114004927558436624150276000859845258647294933179666541446832414476294700458203421861383684316055414310122709572297538966624433451423427369918734889894452344899904084306592398095458305701794943407266960601962892717973692345067465634643966604868665085465212007639335340648975498171558461302344813223650229538040958893952660210157221340595197776669692012383520257389795105114075918314989439811458339818679346346225096944832326794536147662167649607258068601592262919009034557746284458691479703161480219559877062731665992274598683471825619907888468313311928635249662686396739127534073944561768898915725343681320279518907891247968300209599347663529507041280605684286089321358068947287528327768603707587596488291508732421278781487894529249579282302547451011641728746754105408368357675681276663234759685095638367368687764285762707194533575564118676907150866472246107323907768062876674296704438979965634899375380234116043048030999363141154273155002337818763587013320912440048345507727084696568826611120663315378363177233747945398643861767330880208276196062877985168129775316026394482080510154766228632284796652733128729742383871409076701636471530109971790827051549125364460901921011151119682042063710119896675470043770678955657362805293089837359249988375884438694193729795181382398928270112206723567153123050457054627076625904957135667865866932930562338044050640274838631886057437379804908081933232112009219611040168184488546634872878839211025855863481552231689507912755705097997557894278412538999077258781132842465132545616107189785660747324586465298085789622661014702798744474444850984660167739951083128410147464346011687379260462341157062526249285905028603235746757534062839099379124825444392867780793992829747580996952169921386202902094364330122380927384839685597824642148552484799815429250028909018398198212714672834319791646626946270548748970473218519008145995401038181296500655786747637196222178914205087881731484671160800079058183330489732977726265456916218966876188995702943785184411277780420018941779518408816620501785089752238657407100429151740896695506493103635974243130745145474175196144604892104460866339630780814513289777737320275033770172243528588808373896574708098124668798106004574938095422648996153631695097576782448501129882229068581353468133208931122646749193513765695738283187953498642008824693194205276903670046417578797765827359841091005769134314225251087797163298176614916261919097301674021584839875779926822438925505948503921795936413282307467026488074813843689022692527820188680615009806693492932992301451232552916044898471439215417114820130224222532983653690179744445502745799792508775256752282512213320970608291680253156933258708056725450849972760147221902763122884009350228709158629014950144931042426655517081369420290466058347255804015028558338637358276160150214167868589452015349442798637968225411580675542434034918036148973281361541683482264301111181998792268747439550020971712725563161815531585465218267995813353346786765162680827585004829162416815773694523198882796052409191268189840355154617243755929505151254499837885745793090243767518510507215258432231254139456771746923124264881452549354238606050767418789833477118379075334685296388652515095262664749695819701840439871039987701413638171886292742688250625856243437617545642385653846073133422284439814692194161903948839482219544892868663184905704151383759062965233036743423515814230567060940174299026807303711659838434201116026985658913509727976379208328310345954458108367961353068049739512190334790480065637179935430096863158889823326747803804995390422244172188155968326597806158642854288751974338544462347665250499092477580943323419724488424047859787468211253453149635183963775367753693245526026007349225270740410747136329234016331856233528276766966380901474054416495937880614965739099385583458491416996079424942428634360917481193850092938496481193389132407517815125587713728555660427336841473014400824543616618620154878235851760353431987688852028214186501701455361619924291098503327194910940557587569451534790833895045179165498099427384137700475330061011200020159876924798152972498133342419255882748833441612565197613492023245522555577783533191700593581594704655017754275717197190687320060671819922463980946639472487475646873496272327591159570687402760783845628040285278188541221663949384358941162322279543425591542010155659793040879181765046303024451908537232293493293979406344379911979408991241173546998488662198972107329664474721976033134466004351888988715652150009561156551748450543114066523825911658352236596346636090790188184220507641275918769396941814109333071401337306712567998897328442821779123678689389966287590922313005213357372601535713833077026118086213463482823482116411518839552084275536855989511555694071458637554681679471306466734527683189161819343346537167172372060294886915308321944570529314009693813944365097439139733139844891967187966206735352679711205355813155189145456661633366505111852190830380282966270683791810429662826850902969342710287571082779198708921512165953243318516343068545843130171377438166948834443093185808654563773433547946360892018730528958547597692602415472033921273731981652133705617852842753577499685763355742742843932401967546893388034795771190337695079779287349548204687418887490257345365600188493802882811440076266212475546523755562361239835540739511515189927186400109581003579011954132167793421912423416525712700795403794208229980377873949413956764629625144897556284567063007925196174197149325225428166418635856894995855780742132903813705179954159298499106066539362153297691291405532713809633775901737420193762213627395451066357543713044625021802847859159333866571666773151459106688794575409597824553253032926247448951675229983593629454080785537394379081689230272989819008776890185429385650812428382739242536888830616688731632011073000047182847958214317979754545959362402628560791888115778006691954446893300777370706018736552266006416610975099639911320790752333285943781434911513195992276057091150665446940366031598627270638918539955751819901191922378063977833834168560600954631784324899548724439403359343341354020757075400545427565501115607388820594494641530600639567121189113377481551800604783855147093638858404926251366034189864293828838224022121346153659538421879773755369447232814536356039326938858103317943699542803290714711238394553177128386367146089527794988640352984630832891557279301360268146441284891885406559796669274796226164876098466002258491866287993486969892628524923898476447480634452320847026784521830454268523644494915408101548039642189412828277874981945406585615810300598110701508027728692899037575915499005788341057742073647930495212034257505712725273858789878897301480184422595389669463091127346139595458083259119568349640353652300173426805208003072135176715150443376808494679154254517002512212734546614450065757152319246225834210957535597331437760637366014889893821459615713083762414351267323807171450992492123825355000185765219072233069675813694724998632920814399585364093797627986345017565579122398689112109836299388456036615910361272788491516578488933107788489130708639135312837908492479337424322412631326452050186814866152452599629071185512890475165666822095342589027038601359013752654612882997265007971991331412724840999062464478453526931137300972276887220770984932603685016472182021874177297520976488663006652846520634767288741745047075241047134231444431103755741368885501566291460846675275226312532151495083317365284094464591857794537464023320265022088712642645294366911292836705096820799065151388880138875192251689739087616929691313770427341399434259826569776807337235868971371261793284734555310528029204141366804754737030150826047402795913057291504483591638236726599942294056869138786487513932339916112635449261829953945546152594938866687136330628377867743149859669909696430350092686060874802336202624581648046396182825389651809803954450876233953542818896937571094999438378372759646946750758966223646552137033746038436477220221486343752810026859494860304430128688149283170042329218843586065463737790784369550392334919803086987983800440173323448186000527195380805049822886375887763518282309385124164397550666822031248050948699827198195174231412189638891801871105628321041747297119376282715895106386536723220113321447300353538112275259353604850705444783282055801113653951278977953058851463238603371977764967911518532387454831599052897979279962560461854005708401511375534928017221484349425933181990981396191983981631614954572170584476598973455841118954127401043143233388172319199985893066486152637005467265362991484818452520094155191688374039488893223193337012205974185350860623781709322943992768045104220718501951380166369813646039572295890464652843672543957051881468534510309022236006401640349654707977526473496865325077690433258675129097915374795810035933986723441847705962367550941548724069057662178003981439596802153296880727892295700498952943889020338731090558539546766423991958491668330338918504382861724357017580487633626100596347857847245439624047457833183719870249967342372877541090059499814355334500307764570993806484543029178623313962587140901537692923506801612933640580430527610912202028173678041925660053589270859271766116783949547224890353129013718262500779356429984164944319208362324665771406756591753848350433850930143313923235060704682384624363356864012138843616366128189734069338161998119591007288526526610992584809906619590390890635959122750321849307084391775852375888778250307967462885031356554564721628264012306936231648581271125831227334082026808190985656516670530965308809914899188622162316388028592496333070209320092992204015852776520553105661758571613005101773798290518696959181106814583905314279729018120470913469091808535740808537642932003358982950006946222296194063543501436918284142397556993410944667391034227701870316788960190460833128527121287441215226971979733383171230328640444667315220336566059336621264648268648797495422252690358447007201119290807472596826281957229763543906488090398157933956520411061544109550705467831722683952203149542898706733146528584251537403301144282537397238949018415068097538310915865411380395199850373249609019712651356059444632686522643539983337357693607008711821264964331636231691796462845566732100725849265149198753972876291152170115017339898640631635929727322774470388546480605732434343930083715952323341667763527236133481306725298360959439398126021544826319016553342126406854281185701324201610417657145373869190758337085004963767023008868487236895034415741553462412008734233101755943166559896501180277429596236142736260571780939846846884216117292993472975057634407295377286992536745941605960413630144637260412904195419925259728828379904976355570082662550707538418826776906259955654644971901144363735844949070515999708353115819396947054295386398850942068003437166800106964279929464710400980915416752437501288191775201027890662370633117242709621489594496676312871822130604084154712389972413933938480009296570785569554046715434928773201169518608926777898970958643808211058706535073181966524918133869915644439914597319017267118496161016849929514333192826592012012393370500846657608200787298233707224659462863938541975414705437364198944286195895565869590958602635657312740080827196201798841628344694832592445507897253993908921475898692066877579711926621816346778047883632883259032134815918867888233371503254188581857315145242123557465167915015203738936206586568288771048449738258284274574323737271278712215125137961053908918990542378507599502144429737941532301831319933109877935002297889086981039152370847124032432446449400806046111113504311179023680220175812413513215948768003992074818072988906727412528542292849748772284893522917353250174081894435732808876183743171861536869139419792590030505952304690474794693371463097041900042503052169864754535425029711441078066360832596502369921536453846902829247559828978473649897968316838295269277005666125795760222567118875787866144579711852347392973142066593617276859202185697045503856619058103159019369452494046039747764536950801819090327898899298540704524686117518731448753071632545845083565283240947632675007737166697344453183352169059337940824799590178180323592083116582502892636025104417838716622044519067832576928700091232374368843491389971804138887800080967814417230096761302267783793353827752044560578908746142017855583063824904481722669788307207912100257449821976047030539797117148817636607704187345354700931412823459583264678152147353627729210594026355486681865818839368804417180323488200749756297441670897555760241980419477558079587208623467047834642983290846642689865622160676190758947107738079762313425596610767002378226433230417617401203589292818958647236324758323758580129202660323730138748638866370942463024901293134159560010096929125776561703205801951919073374466450367776781555237136457403509372323314339104472113429418931465028048454684302574836709795770297242548629925072578206316307310265568758897341837487524336349893410514111520231081037101278566288301391081166761976404380827811017748215996853169886869428846316881008455565790009369010864222523299137866769100329220045465258598997625315280461832371727801551298045597194032044576161773705362303708090025413481337101013355544532291893460623995315093995215139806136670199626126091173535976957908202669991243605122050600023577224653742143444258937182221157033597945956779864083797448850541314871576704991174379901640678878909383181681247041025359963052083005190991431597129963107676749791835046626349546657568376316545878574803493156142656849017973604946965154593687370381364271583466171690793417933862621541103287578846101311167900371234623465302286218258581383129346392333289571083416965999982595516324465073864594802738285439389258104448138331778745890839822526155624769079187586293074317659781378730563833206063084183029744217120005797812885323889402302278267073213177814355494714336829170390083386442517477333511007842124552626505647246300331318468795326734131665281120134058177364967319457184313774559000065033180008142249619450347831416774915094897579428739220204902340041337368468705892193177321405548442915702664005541593877966082560349544638087380128216691434063353782211664887956958267465687401677644454331574384875796697940631703150908819149447318159945351083846356205404805138266450366899471432707411917617454035760609289360510157030611783799537512512756444952357845805967238279408534929771439418906241830585172501028917854848534018844399039099133066742734943792693164097782171334762592696371465720821455975516753142513956194420861300257264985106108398737155857588959979874055584925973189059496203315163489839622093554314676710282540247840345883976650941612832893269301563069224775173918816841504804630864682152493995153424608019812115851526839857212499860427347028824936931719671372460872522290248279327899928712708987847901818508581216148540379766068888286793211552918979989569943919101822377143378874222289439104966941894828744280841711224338680881966524448046639905249846373124231322958006892823860019506828649682790801856255204304512209935642601835158643871223923730097641430216661650445229263446931040838224215437207579506556274960285741659577031219896973795142475840849773602405120800634894348227165529095823849509817986798708368493910237343846229830800141752523154094644900459859459681937213119914112938835524632700013914846866924267496491084085028356382846096453135666150315874091082226330528697130131193001267503284970415936421683967457991954357960185971055538975104715948114035460844573469565504490453688276744666329830304554376150349795164795001864949488021807274425833357344807226971241419916209028435345100312705625644208551149330096533222526267433003963669972639971174097985979534405566190347425292581200021889183236230865679182358111679403545869158446104391480492415478577612268573800514232214523720856200463598092637898394630222604635617519257838515304944741518882576741002577761502802894443125657256103288947638914002164051110898478325657876681304603397742211854998899289381264418290604921965131536457870645250584264804066277770211938849292008290036065802472335588904092493705523185529171043104426460631304917503074209367344795711982549331833886308749893155904615227820530615565684909718074792642399214856567076782828683211692174460914056864953432785384335875158848187843008536342655942830765865011715170279966715137662421308367294608578823547261214288033970051668670572227711842739390510456362910245841934647097175682706415447030624699567288741407464118517744769393102202259454521983285965219689193899551744512976378930475860721103510632066875874927355390689685990520490089203563008193965669009580243303248040662398527192607801875586791647536520367535329001585962977547600092463524920928251224490287781163745512342219482303074614698884239868746569017685251077880102196293758056986761120581731789145710556996244384448815756987015959161257547285721297792305583983695358413457461445918231462677843652119349613367885757778712005167114431323182198244312785462623841635287593577049965921988681807838619671764107727625952996860496258768576516605206751405946149521566985666701166167967217394493113574821567642980510591702680609533320171197010683772973838011101783991257567074383887986898570307277586257589379589952324663246904629111450076748922868647648833338577569260313530450065633886633678447495406873828694656544169665144738479850640451348311116661173297809625726593352748139927220979752630923617225649170652102445577443522015127220216798254870856592436734299502733758143923087220325146887471785104013117505755287036891216133121120952861122943403926432489218027/450774981093735223105359446060048019686763943659651130388915778447072330749440355122603670911359937732415655182720867836057232543750550155026781528644964419709169673177492973832941248003100844078136047572850005849221605789036222656568363559681157146700288714901439084006145611064277723038904507779988385606294994534425664770522577993666212350968687637013050017280118210910858301787233090676650323340046124378046223611227285299379029053000431709481025229131872453257912267040410772311143480289182044979206737717720837564443050334773971919065580412845068678702510797045688114398221039688008379809322737484274468569250055458801383024984638403152293260199183896051756811308187514824850824176637202863893140954923268581344832660753116181797392804185013267038944263667418549667371647703241638884683845876102343582727248967725550557116433607840925178337921832230540598765468195846080390450587612730978245555210691557624363884189332682311841363211142412896649015777146267293576164452852016836504240173060790345797106769881736891095606622341488516445234261746870727091605341646142824981833651317126687435366283676139124161002388105905323524923020683121897265705354540042911565738072773078360003478490995491873962537100505890139693868033956787594190855964868025764312582743118803954305606148269611296742284119332598569988104418324247674754801252969951598583744349995687578428215683408659499111923702506819596467174213288387111871302747756930463000213178284074340681546907818680107145640657357242039393070651820920965091266459614191059129944397872288047770902621192709141509399767468052333771406077369075058092210490312140082120586503071665479695046468875023459458095084022683536499100075697198124197835817863109462255857221419240158676521619566820888335125174846730943472178912481556154629363573679762156316871815334119771006401990331606043495159285342598866145698919747974865228801559775375508536513202148305285350561013139088251296021294210138314878579184693370449934324181510097285405506044141626295368205586623507524221576562239055690307512505904891309997699296080483618659862513381051754111868219967027480478459423783949489774712892955831277549862719239764046129891694821915557003620261557120024735221535886666205421976613324022316667908161723215603949508501232429327780685195962277146111794369886896981730984009319692056991159638516538659971160823811777790799506630616464009784059551206483859320156920493454339112202519551636455620436892166730744672976716868855074291396225803305277394860778430313007066946174041417241624156160519459723420272326140890130446854382025651578807844881639711493625480579349230743525631320174486320201416014172234551566376237447736926048642003827851288546940936397781454508251495103356854566616970042255327106822048797041701600128395837426727550015003683928188844889087154568698865913375657678330310974928559089986675117363691337645671291814465352010829278731145854362543512837037047992196520609696087513376706408285940529481091413826848235544250471919182013582094754707206120666803305773053156897951665404948263215645301497464136713146005241538534076071859183922546491565723590182718722414296184663247059230161838989288183537449296651548778611514819629125236225447366063833237237653246424114266649320550503233948289269805833704825645901470687648110322113200925893492401689534146253490435105580345942253836627089553751235064520924847439370708880109405333510312508230937803140172149554646097489044430248247969959294764802293467365477260212002768017472045221740029519603350902649527313740083744806375905045292113475989018002749936444276788635721887098735885521653064109253848510100506305046111530161573656413979841018942194470624107933725439299801896535149857789391472049732670573231863285967634252541255038602123223789714718254610520394207732959133347388015642629640687371633328594061120371787348072950335738393596562750447067653089477698773333991218954014559956791627063741107308503798806921473609920850108094207470580603299914806841217849087127041459369294242694462571539046524446152968843982999668477664341002600385138960827496169812382406643708920292703094922457848477879066679830052964318189738558573114555191629532572124756871032716067646746341705530385736866607035620544223572739253491493905572286576797644653625433030371002667780555264232795020600903156678752270343103207166783572037692305709352711639037511786781723270129173775798413034229081583908321367282600121635326662831910699997043643815566698817599037581818289080687950610711030186012373174181056405916017856380389214323451214068439379640098212950273261736661914495821515957892094118955592452833801927642215310530304864603365848370493637699596963635744203593917716614325573739167690062562177321492380549524682412780440475706221343726898454263281614625057637484620995350094287058607466592907666206095912104673460263936149173749898523111193219876916229009474299263698825650728813463646824611229860520964862840731220908354705200007108121113322732473979130859414748516721459220782845473960906788169742182021446266332105786223325403627546104608511423886245386973223149693956813732436885678420993865217681933134059678189670671261927963068528605896586519101989657881759304736480444142887582140377917364034036036567107981167290616924877489112241997855526250792914699589632768862993312849255661876513403791540492011776247130447749252041630146778140953434779424762093080996381149745221523887009422681808405260929301413726025338475146382972885451618544225988498678277160031438340152035293412446073090234659304384488099411486356474199828901774886202558386073160180549152915790595453513548727565970682528475947621753362363066268290911000525951438759750198604631130143787650260931896936807197290215358679635863495926482160647822614003952021000920133876910575261774831356067044710981786731793208973303410316900814254731611453608572454514688324461474109947091261885301561102234084854252840446155461393198896017218922279176322542075311544172390006164025345036962164936213180985231488457932742126874252144717948472492943323254253627950722540034066142192481752679146074262115951942156745319225405995324850287608935515698737535747941479071966140896369193459470907833571672103986237722640278317493346266737170286830745492517239073242851924962355593918582465637527875748184804104695030188813010585092842155577104990781923331416120261570191844865222561985182409702049251415425743059323886310618453798972671077830412928348866443860351312679818133278192445781263552814818686423093856664969344094789531401115929678593749935583597095212898732177244059571500173825856664753143168789086248342397618961342373782203868787149371617089866303387608766526080295678356508286293131789940795093040277219768563474715934513825984163226834042903921107726624071352114252148762544456673073694045866683303437590547920065013427315301283966326709727864499415259399663423281246610894999201034890491392475577063488170310379656260205205430242085285484125719642711274316834392730423339180495425825434853532754624529871212007926023834224226870081295555898823057381015302137917076389810555879624716888628133723015831977391875155106311186610899235299011623055965529162697786378442432400953183221092254386887850259864252290420540493318640569074340229752248570723934765181858132229151436888907834839759930694947570740132540504471772943472331486026821218559395183987896810771789724340186169032855356468716471419501986606357364999585132900980034202539116893061034485936768574445286587560128458972671374310877028240487537487411245362156963558425875359424458060726200715793457754294221329305697331875537922364709734993659316893105049576893955454621667925251607438196607349565588867670041422992127128771811335826062858962986246218398093799569753349069825322562610715001178658031745200931706343063199628791108203366671497482268175060591860172234533063505376807989412095104749977861418553476374692144453183464887930756844167875215534638128717686718769262899219033831419699576044599490268936375032658078444882266578585901060356858103372851428779858383930551286222950878039106105716251976831191414452620833051833839132953356180776980599780636875839343631101641825172633902335020223749165831506104952917565964234860151215903670145225553216810443281044366268833013613018938173779236583402911917109175014042618885167757454433150866628683242237681073769779694294329687914279828457245960101744052540159008299799565220552070392876914563906903833858045181068554977307176056918010882907160767529747577932463637051422147991784522879531420163568507441380852335782415805602026264425204475681433273015199050385443192582233593031843627807202837330192768180624926644710783577076123802202510197315613735969582592015158610994124591601115361384685601971204060920749595135448616776530355061994010555594262447624569191812301630845390342089072207044136115359765171711027032350072939397491405548281534210193461549384536657671907395886607332949484785750893148593365860604465976244722281688130392631829481817471466858526548978468471487239996469126455902319352096026268223261999377515558617082700994601500577169400188991462318451143417895402040211665594377958456694194835868133338987523784747077704719230906383165424379994955549838005239719382362029574438354420678180584597017102297206180215859390223429681923310089965980882343070740716762217178798723025323247600152478127221420000066926674390393619474865434852101780098930866514446123525655980820308368629342211590862331968174240450445158848780856651600342953286235967997456030802054333942865185440092476353277661898288715614563245471056495967571073098218956649980310024185674874186605594430179529312939251848122574383791720991333212771417726664444173374430455410945976185569305842134903308520926277053990711481388759294983990348937273896252958609653198846628874845209428668916784670447050870470549828728177990407032093695199815669475171350289018231763963599490949793795861106982156462835075823295958601479998355274547845668254404827242781335734040649111284019319006873452118294452982881896193413781415596880247611137452524956668730269810784780252585605058779680830306961215175980389983231577252061529566304842011128099687559707337368269960296208594378807684057772435422636203555075554909505974457123892736375873090423049729719294694063006873982107611183950080252960480754439184316960989355226670215905549254369660318359609103039684042850571818661439256859450517585272805894852554841358264941479859891457843770584066244246070696596598357696206759673883582797682856071864232061423544453424514681296468470646158210657796477015507289443567712527433416004998504189644880797693950826493354970474207224329598012057504942079937674667039381980996864538014020389933960160350498108941029048859346009144314896081312768149381107540231050445423153468498141632980672060858911466633373231721926392896746576709908225110979866773942196079801004525639692139406505690863407638777381073942368297262789725578091291857242900414078902327920276621722031912680008506217112093067776688745907267069680551396919161847992947160260301056190477797193969045346962025890503083708733662764528877824735949491221307585119538056384622669778976591930246563350167589863774789266411180856805051476327170802341573641374701985222990073141492191366577178885487920638553150463786692659811715150655525801826303676900611174740917540188366075181951407791476072992264704097181769819959497316280837278174231938002762254762080907561961889191603004878583967184272954166368477078649193412249408305114241567817957071185754691611420142291121020734329916719128401214648459195510129027667780984798710490453271383071071905134852839539159851719817300150738412698650669288422410508051918894049679573906915317402792212485911704219091293510286249189493869552491421142186797855012068410775353050649550148315828050704234831687873005716444290291625132281682546374586348840150454374186476918499356201285333597216476232776786507415929821560394208887057890094725261449967352014251804866360153171140856128042946030470658999470777954236062487329667906593261233217739049261422490367150171666961300686608141853591608130268546868430867319540399119654441928451151130262270695789292805320709464255575897905806161222188921130630848964732150098110954539052036440904893568280380843829687370568258278897505153123992510443327255271020061231958807719900775795510203571641648768866821069877420227886934235098525117559948054450747955590922119275486372645214413745142057591710813607353620199621542728697586805383625494484338801652300174622262123356379686682548464206272408058433286519594555546179756171966944193524173515032675153522869723281330243240794368589913735853314144277278064760905251568672875382059279326422363447535809005970673254669287348406374054217266285408892860174794270484041218922003613668809788872874182102988839145879949543812232568365007541188770788485299604539675569382858595054655284592073047024884402876769042668292636816540259817154866879835746720988220741239100927627789382239600604094993243730756154620085814812801508776447630941800551467942661155122709731596598545723488081409221432332257393334775746260205796131122807854591171842318178825224386661413728683007656869839726272579809182161113595382145228797119589487980948087443051287385780806588318551280363375173566075679741141516149571368120253635057196831409631250898162693636050021500767393154369591616252254003166450450732845459817578563541157859771401727018289148119846723163212503373262229075254588572479196728908286610499682064627967282955218885495352782055572197288992847678856468573440527191062842264724010873769113366620071048085768727179503582198038554832751596175398516695590260263393534522723486517379447004968229402126106791075645624242422624234659536188836995019512695498884588041069458820650307833393160455749518738969545700326488807110837166904634357986051256410167617325528895345569754679466012948311566100578777115714809057213243504613512368039402721319337058322057029454579486650809894894162676048770106228149978458441715631511875532576793596353446832563805090260196161163939328764799768130133307413469625465412506300684335847614887868342900744504560941644334332223939062337477078037478394532263588583360799661306315305729371060159921801001914552031262840028351617358771012144678245893405523670228819996488133832440062804282930773124468704255504370287528263066235883372019360176383343555344294104965635928407671834965324422827766710581845321640127003428584773052908144031966742412628830235116078501555684827583677550608769644662754185906355770827664796630332543609932866843881656563018052460027579789970197350323673344293315375473175783995750718052065085166802406328698632418596026538261658943807276876116947563554129709905501063981415061084420546704614939512541846216569773084169013556984702927869568627134322190865930016435624862443987826497534216327549282657337357566017167336469745221891292772221794341960806325540057491848103709003443209245420851949288831241046572990908525491863024681376828601201264426747961591792079312047094875052847898442530960802341186424923264442779116903892100219777204753083417601358086094395683115852853115908781316099329200862623934894112154540032601878459472963548294174317356283717740761974073245401471730093293075882924357582338435327237064850682627536380361455692452311503227804312837052622946641740285378228635013587831035258450046258513489001113628777682444207223243809520494998712534695762065842188102237718745639647177595854988231843863864054812211909370915256999927336911800361982548217489684586954900288054553144817075711069743848954873293379520543223447865881699469692258583275981080759348577482319971478391527591797812477577724117269586930813911006919274096394973510205361303532013577584919745014124684038791636686466773280290338023511116982869215652927133135282399905391675928856754687190184052671415094182554059657458821734715682957898746796550284496372853199183081340375587118823886318370916178891561275738027395447532036341626727881790732654563648148986008522148001555457381135238105946915810985049327845602628551055825433912618884025312257877774911925706559451203555906057858544906612142353357785710787283952944272643172941756636838259840440796852243772364475057511497854120158772345728822605995870559542955677041043877069413187180918354218041156679127499871081438346750707791078497879012369844599437191303220166230062347887156846535618487582528874297905293709587527760427618292957399448968553462592533844655401173071089474549484448287749649626486931469905533886896533299248414082357478601228976725987476016863389478732141370137498343340550123004996457181827608191851544550367538267063512346439638277057115853325831188327043886635203483936220012624307855879808869452288647216949677708598409948989040728069175737213371443032933041098000407415935795778070503678919811227499114406833553840509161561390438431327920190714468788219694254760208192853906778526923853463698888105156068576363859129470487586527255909111217171610291381743473136223422316266022197874657861399347763618989856630229583375654850386665547151865001642443422375019830783077230121086673049356887126273585132847002493056003134152039025536712856118619529647023323046823089341076017746492085097163484217029118722074164156369170075886099428998646480319746871935648543859112002515758179913307213341197335481848853064245621146598711933780163871012920043893475285623732446161755438501747517768885156426509475478464450834560856032848765589844351285259109038550720541718486097862068603895409671602261992382728614922805919888873584256896861076057383819057294917808952822156393990900515045501439104833236846754149213195290282177472544243953519519959761041274998086029166300645913978040212474087907297070801543654882651780803886611962337944828093430926988898778227954119866887221214513999541398911946330669268844532203733418783665578957861551863373866013707488793747882694935803711826946369471729746688641860108297701133130054995043127249569947403685508120894842175572994567974024650744783071846312533172927905138556951498254807600260511833476277284256725324103860979529483852770994405432764275745784500881573668838126663306194250959321973039651482603749430974184268994785046244644226132800695226445114982283241116295928696920019870668706226180994574686917470502515019625021800533012726435864515460042831849477526930295678605713139063911795655309938881821938078534201988543183028284380397285082110923998244419470113664064381664617693217686978110470419605055143374627495947651211578310044670133094625569102555532817735300646931104060649356675332971367737771841344812231765423961910664696068763663827497988804514432907787696858789777396803660119454629875393475322140651088749881541134244915320116458116149329598414401857476216330681987644847279629008925864744837423998397747945745039726493041915227853226127600606462139204533603677697216192678645225579152734382268497438958722983267061475285182357504551381285790082465662878264115812070677213255092059492700631654926652481676659400716170326381698567105594739153123035566879661179930325417975531821031005738975552395908389158088026445515395738895494238658766204207483261331204332090088262406636804188072424875867974650379712377763526383730624411601607532286533662549778941581173289237114741619234157620438153644506827057321158840720831752116616854864968576281109683474528520523842603161645832281506360397567445530431431561925268823361526678792975646289738000415010169957810564526355493904714068801933799000180966159869920734914953547764953597335589945481873635639999859513647242596665781199611567110684003827022483748744186803935974794804184334432166704561209685615490714323660546645366981013816680461035043308396840782904382276014946811736806207467209559455744491830681280461317300170906182813615813655231035658564488786796710700455033539310827836730209672693869100487904113352001579679973778296322516515743394458573302287505242816005343673515984469402185863163710299912605666394240898638028547912960975530973780798027564452612444721843302867928810419829241266472328007825387974501574294560431555673797195129758997513250461149047933365917224134441098368084011006110862728986299335172750267739067859630351055438122032402621612498454348759878507973305152124283315680802645977026272073791679465723672027261552996822096355293351466066640766597564325518762623765505383260858441782838523911498563314685525492637284963361527504229460224926402232714704394698191888832451469333853584457911539298226162947684973185420977560803454914847122731337835829596402947235762688512967317569368702171036720736215487291024473001572846508871886740926146273183899505191928294651674086241830336471239621643894275401919237355730197648910039660391221903609007060676747202502422180711633003749106308736616013539682974713291576291649753360722946524041648630453141662795052509234615000950560187356643678436371418921128565689445633095866234806355444311881994987218016942217111900380311883021613651212634858886679872140265204259506299252856270810185445703019828169724241123861997456852533933621049574188539526566146907818785116643729218322515106011358844088826318377339131994643754598452004750072871366616770733446429567055032312994501304266294651192769505088356764380711806982814772156303047166046914160391236854250772129601146529266968963202414850489403625890198353787737434375049990704928743967844796265667119485916012324278952193613198060930298263110067225643873778650553434796329004866659869424342156161376595065826656986823099510308704149128838831518941458999727501302975169831913700944032923416705363636696274474854525513178868927376312335987169184103043795178165176840406655651000658617708096416707742144622959165697777039296206804576252829588593477698778819095637197055161667608971975276233723241963040280150972690689245481366760792503638936484556251899847407186128324577531554436547873240941601941564794105344322020488133866264031725568000",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "stressMinimum",
            "value": "-0.322462472",
            "unit": "native real1978earnings/10000",
            "defined": "true",
            "rawValue": "-6939138432723375312655995668499179754263843410718431508150471597651031421017395467362355913831663806179613997501537014900723928259739541042237043045459549819980581904568619568279836257849791029275610866942651514230201050127610480060476607359072487632031510919286059179693931541364490695885396697043125304011898470087945178215440267240646253876383988799032149998629947688961584666850145703594962146934880671408788031047376300884970090557015413069829419537501920209165899198569297936377070456848475849948043494661118770640201131294143022510670536649593495764624235781091202020479469503518406060713499336942736463993853782692003779457285334877930459062332809829020744856329517203502378364030469225568670289093425743788050095669594292554094495003214602320519313233167248610588093365375313518379199352151803374317273512506791989931308263079083739136062879131295051843273098911324527035016454478350147471741808510604654603325607864345464927900858535044009962012181331214096386518426110556238733280268633304523644134674471906980130055249225354671123127817889420635556533354501956497575014275511234823827104987336933613551768077472728941454949275474712456509771050732430581740746075174009252021579597210765105457459574653062274948933122527469549148828377044480815544007473526506150004614498465204602096512904549231689358015568500928619736231350749210899523944594770841010035390615794745470645394793083881383841287816488048697241127476260959426297988751737824124716211658738784076249162979613763599453248750720078178732053587513754995948720409331727987231648514884619173950240484617275383369313480385262691439044228251621024191989526861858597513662659703611012536145184974434378392152636273281133946121171835810589057503768102250209646341558123415124421821035964352886781299212873741103084706132583512404652040448518227311430989711461909483995042611858829432851456277757420723160688984715778575508366740281523908817206702391359938095771255763822168917259990251776158897798801556560173211322786161041849383724677215481162223405237984127004704706583961012437612473003269498448067347891243832824530453946065157192675465923603840071978881077300096811574917932320127081899045327652333005878172721652607647589034696116619763964234503498833707070699255605368846059688124222465316006857540656217888410470102059812253048115407582471439417164688375268219197884374047131443510208628422231213508848311197805142782000725633208893168967662644375739602101923243318331822477560026039112177026323146203613100026617401899056919929228067127526013295399920565894447580527931186196005410016617124293884539119012625500273773431502708362592441064845004496611491347909210736107859368429486541700828973044952753227522239328543898144757103675281799475458496725779481473732828577014199482059096550524899474885476075292297966816939994329654726188185347405797313659452235151488951538978394088773382660602493667445955082719403573837056429282437628876936076909292830425265534284671193910030754611592420065848951165736814346623946922448125233953026850341211765781592627857447589338602949352731113420313740336990182313957972039119932565723680512696153207251291567698107144919759989671117242085462369416093748950042428528672140010916271574018311662225886328564203836735899809203144376581660910534010545823121356748987633533929896828968731349923143828046692107641350841549219020090389823744829749392018940985885232253666325962478868734578322753799121910204565627306310727381017696197594435632828510565890391598587578699948903472150246374975847404834471407068023383255139640190762395081177567009837521484236019235688582413228814350555566210472006282243092270716873381891904852410293914856999081495729856210984767847232718998532044792263705695866638026120636101827468835909011900221523031114543065534237662076431743088634695814711809541480382206208535910640585247820772435804758893710348419183686197533133969418915346001517476485543094001834480885701999575116571269038852684182212143984112078265695225087315982029420039762757646537055427474182667767843198991531023201595845268564588338916845864538373005133623081065137801936176384819014924299975467360649982872389258638785353159912017669881031552542720789671470188486330735409933634739974657104762665106698886298566592840213562948264384854718961020035847921637111325738118861286826430231381236297818853052065267828600550938456007369181610407542013089436819913108734546507206765368973158751003407335474544360199762971329536173809990839687372319011787548078560722821925537161485886108454146579906986863086057360517727941605677566904696996683038389820780619153332559110208672130299974387297705982153984171460008911854122133941765578386093244863014554979333610344924374189753405572442788258433595270230920567754284471324173095984351479801484580621628273433923473226663409917875876320911225761199991752112831788082282137952695059859298716537060024430237304793926235176204186658517025356423181421186300137843483099900291812034840665248228376594920456850985366139054934942545945017505767326877279249664574216457913726427633521695585383543404054105267714030610840193325951428803156297952941626518234107659804393329220389234397614979597552676792618348420616624365825538380102909435006984169984967105094133270960451753521810168046908271506515649040392897309506705092296174306913222999416797512625804891219823451289984860768963405754842138890322830307596955672667715803149259386489802616201276784383723665105568471919131212926844402514773502800166451556346835412116615558827553939237438558044336966663733279257810510236508798754329866394230044113830050908235945860364517537288827345481111995058434407361138210245613744811049463215295015100363579436202634022816595906946640457100004561887132158096953207393764416385359210676748098813808158203588757266083915134457005483837782485936121162038217091326536697722089671265397535301159619894104887123555528264606348576735658033724009538333076992876823948449298429529391707763405510374579324794642486829566813645127510525248611829928035322921927049089581354417724548867486107024567004524420728848198140136752315125070608102507619252740049989501920715639388346448729324483256160593401261439966769508359883517704714243924850323018123207090777149065683124014462882845263200652952760989942372912473407329818332018478479631366244767911412026293539547672526437343067955301576692091795933431019450271453723461246927279474799733080367790395987402200902008613594176350349344326439538030695421858678712174089061912337119272848694173266499082467559402334205402328013618659905228626266644826558499612788497426993962303007060853901184707083809310174708198957224783711316530373686641959616088496038553220304600271601906140264657664423471293425411257355320993356392338691980684457896592674143989637925700664449175517972697964315228998770112955930808685639335104176597765623097677427905514574348283292736586139280352853460319945747974737646040779803377365487980177378659213946693618918585308602553433824408628339974360878112127597855956862250916735322888032564740253308177634621699251652676804254151044082666351263444569603571230727657949586504879593850185258720280674049592672902011238929835580355905774657917972993079074062962213156348732053839321695771277345790645554436494489300679160417082153348239632779565824105809410813095913931362147013940378184450203662490499907722669546067124539729189549442572849242953398492931892734055647466314428439534155527579027715684026992567620664422518976419914881924332742142701322840885060764031676667269736244420630491430393560506962299614393097116569103043993348919334806625150124637617422198993502252502111482663145485902147651018597048736256780687924620229726282399838481926673863059781736296080967067344693802647330986719293008658197060162972834598663684324100600927324628767768341114020881624936853848833280568495929644305403097517319784598818973737705053641407663491354939527704167910305494882843452485677724533228956826818774904628164600423505827468642011177064510548469386068462016757573078655285720025424204852941966747931805186366606428145717152803477860504545965643871438612596806120251006302508590097155893725190507518804583927688184955361525979977832084621911321971017474209871587245113694698504853059422421006528515326839413970214559450964782987423199604222141339713739443846170173078486995316665851837801549199151899762006456561573172862313125238116419144794704066846307183528414675502275725864106656230646350243588239675305883352952240427279617776205419585780206823427362620209457030651745460277808401493848675855822914461728724680658834495115378765110740152797277576736196962096735488531751289008503188517679425525534258951199854922559301361168009134677693195012680874127838981877470159307889600822751946647315439829155363976140884138912409716707382909481049161057292219270647312907946031189219100707437791737943903957587437017181988014372359147629957290199397424997353499912524539811424936849079093346738641878886158950751655892147529149686397383477783001824644605480252469396389718131767695740873963088936121252361460985851385660565443825908560070290150923150274395066581478667841336428641735479221612402505422903751986339133835530890456920869637212641124720616599129500836490111014577888362066974579143467879256438988560125672355313443502122976138163236068480416715348550007887255333715843903767710556183732962062000326409441787771353439107034879542198889518624382058017851006482681589475037786766353327065111847482156095857077435241346897658470133855280217533051981205795271600775209471848409471274290685810781864196054463026673896993883916674311543239980115708689203681776894913583544401933961881009975747358140385186554751960022423747528115206143353355774024554554123177361156376599010450303414082168151007939155807752189293155439405451260194089904399596725540246455759249814596569113650850776602707113534156925818152388176776843352147304061854396749415152365489168154642452457952459164177359177274533094843388421619004472626821967715049286078651877101339572636321216051644597380893193617037632055175314935851522490695249535004711320634068667158953775879119043277853068883325452378903586059836934767462074638525649401748139769390678552046830229661909367190119238426365731810457225583582782688347489838938254317130941535412215535301937644518809816709002708791448051083187943404557289171360784665159616510155149337486477163177539854051899038343627366936722059854663088384692909742453701985652814333553023451634984578239484853970304852464625337216643045228079803087243705172776293999002774475617152217422256315573770469539838598924636950794182855822493337980331988882795933249546831415871399961323854528913899754008655456166382404195150629219332951595429059035125411665690308353275372947514650669922295371227994752797766361684595803575985163956604053835492931798820200844551325406356452506618539925792806567066435939566682149888658295027046464330703302267484270674501486836709667991494887634703408814123165156586882519661913621673992691209239597852547422796640833480196768322966120888237084203137972276108300208357112240195409003461024394823844631506970465024388701478742184573250613321141084024168894030347039701608310070392026898084558377548134651002915728321522532095960323139964370183126774257996504959544324179273562533491187621235716542136181397431176123631458900256838502483440140872259442431443803848930347044500363895270095357002451720787867302371149168887829701948284207152078230911963155971411132055445794614849723202669991810940006646614603254152079728762752220683385317394679787079751705780216000435476754382857856918253776767962487605142732443355710889980710394611991936879356342055539812872807092097032470692941120710518466004415227442880206112754076004662657273144182409194678697015986705276840456640178116875905435000498829831849670784938952556073631924307702923502285104022890228071711521713703254548401664963985420004747523286994640675138889439340778848264392925536247620881623604700853927002836746453455615551050738369615315760816477281358843622639044671851015913628848221469658499894963167303296101123223325320915552331596574688686497900801728591343177835278079340100967908094758110927862934526379228330890961327463162741412007838095332435545766717626919730368047918035542723437079997885283994948508815245336495417566485220519708587043666933175696704427421103078289762951585747179436786882248411694681066394551457055663350008020729605078274882906746506886116088809273132770450537250458249778025085879380221944529047017021660437338039612917322712204500719484524012474831013356122001723171349082568171798178853671425657703185725284708144105829349840665013819000277972160007057361147835243424092986214235315469408888659606224542907828681175239915285508772638994927665102708448347517258911162051199773393696952507469064711097240967635528999572389779442786565784467953833835864849668399741018934308489406899296532991504505986569647321957871748078065644785760890237483076857007832443082336888699222493579425444042087456289421822225966697241962468588574431028115172852618022374860458601489053580620737835505515447407079756263630272028756425766814775976259823845131303025977442975782127647996290181607428959282610675047963023917256429468336559319131371501570782936410319153964467693040705827183937039941430575574328505524554014162060169951863133927454770098054406887889290617314965426884850586309809105199054539451592211298313964773506233135809659265023345583823741236178712268333539813004065190259762671063073726781428073456767120135488789993011784456494308976865709332580841345214794869725717367224211577831388723056762333951742046381151687215198964511152750803693777473472793377568523582054830124992784619992809238348364874240360933877190816683535669415571453394753635364997324461052858214167350218689720207347320778434754268575238753037252450629102253678930159189079496356895648186826392387327148048257992679954261859069918781321676762208738833955777763758084645820158515328136199238973127748008246353057017173784780200352274173337072338313543865451390709615759522235693185888615694171735765237271047687033080615971521614883208455113997609280039067440928270858250383116951730431325323739028377771704515955433989195861343384153066756978023826278300254880909252866209847344123185200899895745273881722246378282288584050666630820017698523952147302232700559472282938397996336630435276919575303740140675772998670459728400445681572903020868949714253409837600861328180989230762445964436456556018040644047776315131764708256297708845175641028268087494157870590667764196379076447318138874264329818391483783400378646796408290681321011047952432566651575468686542267415971913295781628501202243166218495087450914326833654150861419934133324246802685273630866475454130553503175306709548252771846448173181066026116151559977655586405912564281318251267158874848301502523500913732892647896002119034561664512828521382880271233470569684215291706588995573586827540083664451815712752953907855774413961191641250387030499847652503274073865383973579818747788153026141252529545531240064639825381132691969846342899520396783278886948431868127540254561790550443784466014323446350814171312495043189547421730259043200859603372276876976527708750906334226450641000419461131777178795168053541967708777606257798285681220329633450817001876381510434577813583409906043820860126759696347897301810187995071737729975143560582702680423498513510329637019377256176747948329338942056451665458873565485243166992630814667684908172600082256528569285041316211867267399866952480185416013640951491028823174442893341371305411844789564116614662853851035117226900748083248428157043441089084829287132294784189440594008389864686032511557189135140823044461782866381870105632515230469613947158228867732133803955466505586803382138608761960670484653034843611376634589650710066349161666569546037494863463787436171573220762356394754186495489335738078322827168079104476316028775959793906721042736834390136755678864658589055706022185163954272933685774224559191899521782466953961573283137691091928301616482155354403696289843915856662020257370568643355927221822959624104287484680530486478946090427722761302356283586884980357573236819060804415196615808704201781556061899387621313240028011157716239028795079776476429048137623916074307845190360275127122172633671668893200560905302782372026693143825123616666919691878883820477492303402760355358126275324087634377523770738788084233898248293497288598036425706264207351217850514139032362218288990155655250009576210136447057784534567971431223958423886881202861422094203419810671547820595818609490275750207568998810256444726866894547378819087251070984726822341576201237602932838149959331238538264403659264949573192647549115940751686017899535822547053049771983579923365200708313273696725270175879163186357354605879831947723826086498023640516186521860355613874613222368245909363263456905506683092850145760386269245010906590309152423490839331527348782911424807425152853710051175416690262884633296687334987142254123976334365016724028598479449248125890178393377764340230390304834614315387742346752343036846180099116572069789437790459069719364222745450939095284770453584584687286751548291761760267657792761265106051225274371463363406785982528183856767865314010094870352942351437417767472886179310085612187983030569007308765711305380113299061584457992510340324489296271110858754164634111308093603831246379011364430412927511345572624479611302600409794538021246650487651800499387830768696963808555975432962802567555436979333052118034240687951106432632500156644048795496575822649925269977039781510113993199508483734356093539460915231437237132727981373959241120175402565672783152169953467610549216516451860162671503416871955057851063030134396614501247445734499895183303888808009100838526807097054669018650949507080122514111282538889166642605210375208505010661225714473603265420524852535501293427557563359058061377933328979070088337268806197693500720151696958287671193351380431748289387926791528902666183071827987543873284537302280306851990821193344940262961648374820579313418939218906269772203489602153029571575165282911822464751222881325078300783648971828804442465661274060820658557670389171112310221862089024988222271652810143035792678762651173307159892097764945308898007454819732318018190809804995418608177093886378012694852278749085427155290643757089519695692809368424771825044826745724507299768326941057235747652204555021243219395791574248194227348046303446545903949850700005138859080056539494697887690664517348569190455022921261750035258948552811182811714585872626970087036777952760171989938350379827813946993244423568377176899335774551075990949689435404449235464896400318476531769740319817576953782074216200816870378290648760301605227927253146581015033972912117444318763889233668516837566191140698448224740317640528908437251240525172224786680607627713461098590880263083977708921283409807371579435693600022710024599510453031142359930144588886000358199234098717049993186639813392786088543057844576429817959344209536398280273865997337240979584578813205222544732898138559165575237135592093035464050819902003212451966652028321692165929990273254537975432781875432642864806571312390113557849899394693045636107178070533979420208543956155120762554493953732484754819107925314567359658362158744143437619214841879514067909883462309086022663058843476576535899690786685673251506338049269925860332705418927304418030415696107438214443128856325789888018564661798554611212359934317713714029457465212696467939029583250355027466595378015920560036087823395342909717773108015941753775010366413533857410001890242238104365726695089660870099530375838193466295306891115913048900131919460316569140298895873032811290995050222256784924580254871035581376256806847866317475457138794913106852833112373353151799989321710518188062607013/21519212391164494924394471612615270529306213390023651657258849621676327967438997541569079804839101377807434298726783612494675409332207094305018315895965196120614676450641894247253175144744124040927760933961160954687844647382278454904135916375866067180058591785820408212782325678093835612141347771681194028316764729905342876149607059982302534247276456456294490477008171530037062011400944936098151109883364253873043660580087966274671373792477727921260458298229117031170450220452322421962448487095089493174050395571543189629709683498647556472352825099492787421178626761085962268846354459755801493300306267761096224409259943278521078937629851113083853751030122172178781173828533025442883387587677383987324286536989513980891512763820145701575095490331195444342355916664325517873074500836842875936000414920052275577704314842506627108522995677780836313825156762415890177829677773711532979488231536048977137092109940793148992887480883404263836989181739413980313601595296987168885585633091444961374058278708993137339052565797531785968996502669652905067995329825094763268488644443385820070132159465902255808801185611361947652127844172587494265697530303579905048110178046528893294418477354241042628537335237979524256071256599412543664603253423465713149274642512093037832822264113616155365747139891956514368428599170435351055481880915404661156904339230172008429633420764275423348469539162244205777983100293556125229456224270786324616446288607357278152971404322420557769517297574211455529595125929702841562827355778236275736374141179952353581209652092439408714826225963612918783243473680796827408690506507000629658599769360784270636029991471001963419487028773257601076205557264483632856906881979003096493928563458901131080048602911468707747583317137194352516419607104263700744457675868656106568537776900937584517084761636748429250281198614360859311625533623595245369911038732264742765849554228783728669339733404770444727483369587366387383544894870853445638583320694963335931805537493842468047026974185904949848133866600603868615397765408107439115424826684140059866259357137238129470072700325675021965517345753573000542296174025423868589608493189131937286211682409573249636187138083315472562111568661862228808068599623650157472198375523177985039291109353857429442867363246244566538409329262384884321668232686127721546332893809954516589642294778298482769187146217092261349600227104489342963056804101246271924192581867198083553160258934725085582370917300801737034821423604742052830827591951027413509680982532894638074202305021052011878177624071938238921573731844327486601087417967614571361544366179385882716154476111631424952827660241523250227508436066203521521659712950395795897084201200808702918073748276521690833992908315123021835399783408637976859932721033981802060988619782301887365024726959656040729921629328354110062377221367988275887298968799085184995122832479722065603177414146660784564153996321867308916647460211237693767483017303825669013153846327784475636884694848999696194911467897351813380761319821804217921265904481993209004634849794116260240057112650715466716865880298106672105678490069577328493620727717476130293391067084310009893394002748018098646984423311766676414875782146106095519848902819740557279952760517967188404836885779451520908580492262946909900161212919360693228335721863357477303823266176241054933225401923089653340432610963081808097688953090216094322252780420042312954320265126908112249652850747642133021869953611868198232801976458650369139410487908716835611201870457958610914071575376346869314431760877185132916820701214438189702503792940552530411811499353996279971012050290258006531168789480419409922079736558029895353153535156807831305517890079315729462703686792074182565632700151387420185332376932186029062052921284513371873426719694647665689473761844181676744707717952791459560249896474367749051700846189157776965981757195522887619413234071180276844161905614340748871864080156873930999119238890417076105493342664653780504778437285488603072195773109999366025227797651939617541304213780063429467723291249940861721534271204706382742047031392949616555435092914623360301753010280266889022378139636124284397951333125458071001633648972884131550399075878120322330806570223588576226224620454472978813374998457942454917889726069901995410809126684774180175405013824520837987400671849414566616945408185993103252281922288423407849430956906614454650970497128197687520868891076063971953003268276222730564591729166882278130737556380944896188909252444073645307097585344126474707270447639726080630520287864132045995505257301690288680347852494776315873217810605731791424174946788438203987236852495195494973032715452748211348132742230817147970940381134787861727942883781756899046818484475672082821322567428906133606305587435628249322867826990488860495037567105702700894195584726934269422629023352803397185053554544537651852321612505783388635205507677632193208803503010272438666156099090484485797566777485136790375558219506882669825663254609974320748082847639397214674155733410952133075558113389567649174377717218606482564297378723040198478690590907291646147932433759399155518893924237825879822628338328257591780662551357523988393995819555506967847363026487600106609172764260942526223649031849389635324849674893675727191724052775189342838974072713254380137955383383217839407405418102267694431723483208669577641491187930310083112177571957069723859409935206986291122439874883635025711708763676695042396569846760208252231087499080936451987797966659094914940991825985366687785583683115925860551431900360092881226729918147575927958055871987560353456383225256009837069713358371083618972839021804972459048575681298798045548263436360236609231242179440313367433874520302372456338489123020276220858479963978577526839158017512510181542790428822603793405014453475181129968462409258571776174467369270084794550044019937760643668739161495724478802371574154792189608855478407842336757611624144988431191290056907350846740658460017781840746780653837566365189413171667505214770670914300363485934872437554698466653526563170690268127845218875952789148094857103324020946528160285178316432692199371721950064024487239755775899261213829065180713135903519035605055829552955968556670244996313210102417539568484886592359239706257542231843218419198191093727854561715126456322136447951612026131646283420743513172054999350960128527973127983594693945260223817706694560622031708283062361650784035700863568199633849425283376787796597286476262114050958648695598220621552967885306598107932345686999645707715377725157694484341084807675069736494289661759370409793654204175611178919877329226481772711352693685130369190977518563761095839387782901533167480951508194871389799124212381053739004437623230593864535583309238291721112158153603665841554102324079881239122594107036576854529310790745406766219726213704983602744293402223477469962823074875485032094032772877848688093901488545543502687374602339059772595372014359292921412864609693640912474738656292989215849339062890165170830358107320790082082340043462879998326499769163471971494510634249770879159757436326118193112467844689768976421405867229086089962669589182529794042272353518831675981108307478645404283744575581986659353361601470329771131061909958612761144159949782308597608944503566564005519266949586611428328502599561697697832329592616413196795955449176071347731414831656397900786377500594758675106181929730525290741754072127844017773332200432226148255964408643870089636042282198913888395774578363997125983495358165225880306999884876355097733702720111244530449367547832156907521176688208994242211465835908263967558656112669173588684095325934847273437748008481978290320569139355888440707463400243941177502449359040084001814254064512308274802752520582047646809941742393388288284578013654865158017947655669585655120429996931984666087777248963899335171227382271520529905761761972720123955024660279112113631611354440532731118007500081854665816351156940207746212547959970874159794351194366848242611127183894773918191930751394573600603850851114913973800196710034251588543396991803119968786057395296518205245408243678695785315735630644379477142615576395811507825995980946632077456563944413688501257215906130381209884119913355090222024068944346027206885273874013348801021092670560289683813020421462017726245778085013770768664671891743899174115256217353265783182442478574909216101345181359011834891617120180831936056379920850231647139790753445372628199075467666307647562956602108552455251568316530410059282962785538927408592343926889943224551728283295591233893547252649096186302143447545815216114113902948123815744966940247884127196128948495667112850334775383796493910621987980473035566494699466914040469759722116263083249075595295415773076007872450165259996112892528211950022801096299754708396145059311910009554652948812009010325841838932189151032708588063742607036850034449741031339940459813466781993077131995239830166766324933444555557739158660513698249754833805071881801856962758267386954047978971695413035157946143002913232744917482025890576675501041493548858897765732514916211154049849165230343013507917076547665799572575425460417540749399123920507352687359738212123897400179767140205980986797332812728606448619831886212569577116882432715614318425920837689047126324103747277113255700061571971979406831641985294965545122419993503248003832380117223630131753757911254617830256376186024600272091713683460903976992379369293642707245190549629937477790167954197040428268556771304277633740943059116873914411510803849163624152082453383888521382171771713657367234934073916047002384475036608874737239761443393688202913001627533316041058736960428427834225929474482277665737005805738873921930599648987232695485427932825385036462085584382935541450529943763019729905920557497028299930533956182006887445247066239680952984112683326089117578227339252403818964641642767032748364447601503201178680975121042528128340073015448330804370599911530124847577852248476851056375632069015055588267634711169470190353058705898492412400303277352355677539723464741918580168450300132952576859074602640107833206531448613215517670798822898280230888105211427646095820891946771803337618353206035010986788322079560589089690328339682693563888198851595453080654498114314867264438272242497606003662426308285126534060199536860207831752037357948742318829207024029616784540804058380002237801306930164454216773788095415098210024409698809286160813949742302290374352905068878546961782926512627183085167621908769494083998210139539369073384000108814978368324384562613005430996952113681101801258115270719841550732403733411538178493497048728322336180803468525294074579708614750535708850016838434392640891962670854323772859121421266139274163315616193294930589339821435842619589470458981461130825841727408381257614686580224106838692174910603891456804847823028632140754076252508863892404991287470012810902314426294992816731614968112902165516282463945209752661611504359215421130548798376177289050207667494971065272515565402211256395674225958399696357393108060306486846172690043132135328192415014712780667259558481018352169013436952557558406435158835654284105151687234457359910459261569618116835099229550776795074913433868354846759225119015578842136713927031954892493238507262463044176472069143837799879690558375123782480795915257659618916691488666789439162255706643220399264196081925298268332624425912151636862805654769930924343439309741439741940484620125110707511776970430218005242234354630589434283609721714368056197921407599186752685972465693810278593834974282212714834448054796555247924443656084281134739855672607545737667067534216597317418426990179904968086539194252169921258222318749686404266836324731665611307665224834333989190074461607335212364577369735847726554004579782605834356597917676805280727604749628686255223574076902777192076248594242529933838882359802682909766570156022058003473189844496598076029543839810843554090772056431692875335659512946185105854938446263814761860239677746588438913225418207477195305371014237049930041886983157885324761236069105492930840385362143129746507240460679994769708938084474960379338826060122715385854011504803503295938482018184085452365214989502627412459515470492315257331162963878745129399927744836504085566917533984357503373096940497221624051484479847168926299968906664943601255524736904929477773545798418008775521843184997768373575163430192872166834772590022600179466047745844111304148715938994037989229558718897099443873849033823379036945527189232316195152521819230919220441120999997805159114149808602930883631561438929484503820363746144894995264351749282463881846689736964940561407278259425671999813825185068260468598396320294666701623389592327000868591228658980230254502340878519941538468399166761184270863344670055152748040833465875439273213772204590267382907361427864901390864326304631625839120967817965424117865438113085768002029981449177608820262720253499980860807396528805076884242777529514765864129297834511079114696450632150329441475033654435139961048734851299436574933953173543295000009380763277147199338772164828991237757741314944563005246066358131529521838063197631065871446412700015093321906081321161853765084023510406044681772887749337891956097526503223438312209946208152435840729546067199172708473808537446988586852009809102437589811110971877140444013860339120575197593612152452615163194343280730742967988171339103793671578953117076600625342264385957869534999612272330136895628163244454014137287415398067090543943003878106919303833183111748351528959709760233316912784113906053338653490385354336495305141177353503020988267610126404918780833390481452513502616393950197754349500878965533832120602754743448131811961397222272807026622117814655618136102207642987262565657983834929437909409091415978523080454138134424975360308088203080206227840211702330516004662958480469240782599051715788982696241871186547749172030443235788365973805373728978665593342902898157244840255167185324500839104889122838117661612440784872595062287076138664833554271471122490778100351067806148107602892122304658811325416880813886053975524766055047881965276287318908744735656217786463327067590773734340639650595748613021976800254366220565148066990093501526097914116421565444944800081805604299827088297646299415832508997859595365708032351015666372701803514569641972721014315079102685938090389820504352814453000329635044177143996007926471947688199988330434580370476575010853417561786175281273658344331967696459266970545557837871847416872217848809822255841714366542807144941762620820002425261731373680956156838385013909195179204543148099411213269435165279082160938448346785564737605341715280135013635315759270329809760555733818848319014567336154689910242248101203773386154677613796873815672884337510731101791078117473996762117875819551687533869308235484540047815263610322659641658523264324377206423350390482876953237394226795850739313054917917857986744480798751923989365745571152204505864410328659035870069326558076126644561930536771770312692290687668534088575724781916469190643276724459622233101525795082520820510809143172326319425534576614465186160752018323910455446309645413810240570619463299495629771951179867469082605944784781957770136462524996440144324919706154290485495282133061381770315746638139107055856152639522363628206168667332357587210274076639098237499420686577642894544942120188825656750163175285085834206128894581582393268354112264862622475990787119120073996157294065725378451957296872908776848598513852743506537716121893205732430324100592614900299986531022536198415991798361577024626533536598728280028531690595390937214643384825193119259686057462319447979282795191515641817080646376429376731474459479885449799387692106685584636699183393688432268508974961925828667583320290392432902495555597290053249933266493449549833471492810833583363914836237254238349558981114919278431533605498717871964143922820172490860407441800089250569793558255956076372255736208209829989046660600158479181914428340781025536474138523970168589952568727628146269932115456157416758981834792824801406153265912843944687003289574484771711356030051110810858095682842844166738994089633474987495101069504450802278292595611787268276606834247322299747776409631811761131470096376636590208958780783599633747872215397854685685758061843485941205985294228743161274189309201847897596937410258861591488014940118814368718515560082799573487905364841653766179783045976564320306657738416696994969114108762444491618249665315790697709175654949794831629908096706115956562758655920809108777840906373095513547313395879840165208339409971203822210678201399823715999160810079480616339488747706718897502209844218580768899389912977049480560784850767572106336807600628368249097003003430959033061317252415206832972651560369870785339132005369278158544633085939171496903572319288194753731323703913780728002985835293845681305813705135322825657695044530132468810035441898025131934429662476523715407176226422477888219691530608910039568967437626190165491430668866412575379852762521832497710312106403577493353132985330424283475979440443947287296957144393198901695952556645446839416550555456129437592438353055185382024396059511221094478239798406152617262080356857392698920053486020778478196462531522038628437701140815048258256520012073096713928036726643667587752182890443295751385527181730092965354775916102657049618626523155737301218771842970273733010141931153873838346392191753769074078084271370270525186163495822289782353253662690172578280447855237707365924604521826771192664902056006949285194844156885923828251257044056157669081864680479445442757895625287716255097165401853308852656186803264076078824433118549311690709034289533901753620147868302306722791898701961750432582322310010295633781537769782004642707116052421967912212762476473618286313792026615076967107005703504187113159839595993334792440951403054944360987363093766995568543828541670401185481846173570879313932681229876739014852992195128469478933926520883898411411584733512692853509733201868687855812007615814744938531407125557306497500696122181057174002473314785682440888315212125272410678635246026961381948705854222623077689518154370641328444902472935986414823557538927092193253737227879241023639448781927429719169044102209501348429989236389854007990648354067101310964090929420971465737794769331614867363608094709905654571161140772772956125681545707629341997517143641419747512135901193660993164652177854383576873426659337178924649119142831701376346694964053563315330106506961615087599597084943356163984372009361286069267317897113126721276020439142716607992935274745395925921178161936682291833394579174340068311443420244501478339893174687729820117861006069601356607163618488601622922208130886557403004295633474736942002988114816843849335378021276047063949090776841220913007193338638549736530380423976626419862785132938627555332416094478318815481733478202244571616356351398496607480629550872220398259900454684949798380171482425876192140388379473163314808494427117515065838049121589970718541471379881230794949603246856194152116717644246098301809990818105827310584238734294878983698396718682039459061705632776607901598384443973227849291931722908801114035332230251773104764002954194442189380674065538925935030923779963475145056550855167730912652625535510376992439501876094722435613717192359519245768166395703673868901534482705473804521233556819024723741189725602722005318760150704313916532231699943859322214507858339278878998756715392506746418933992062317913654399142313932251775790239457524917815873080963273701171617984750596577987514362277554350762129098894738579976926641774769591342155421016721049208203175704491458430824703907674089074865791880377364642746611126685766477181537128670881828902662747500005447634135433450772131232386823083332295398457179169969834536524390931252546527776703454837920748596316800126500249354417131846603579882487874789808327884800000",
            "exactFraction": "-6939138432723375312655995668499179754263843410718431508150471597651031421017395467362355913831663806179613997501537014900723928259739541042237043045459549819980581904568619568279836257849791029275610866942651514230201050127610480060476607359072487632031510919286059179693931541364490695885396697043125304011898470087945178215440267240646253876383988799032149998629947688961584666850145703594962146934880671408788031047376300884970090557015413069829419537501920209165899198569297936377070456848475849948043494661118770640201131294143022510670536649593495764624235781091202020479469503518406060713499336942736463993853782692003779457285334877930459062332809829020744856329517203502378364030469225568670289093425743788050095669594292554094495003214602320519313233167248610588093365375313518379199352151803374317273512506791989931308263079083739136062879131295051843273098911324527035016454478350147471741808510604654603325607864345464927900858535044009962012181331214096386518426110556238733280268633304523644134674471906980130055249225354671123127817889420635556533354501956497575014275511234823827104987336933613551768077472728941454949275474712456509771050732430581740746075174009252021579597210765105457459574653062274948933122527469549148828377044480815544007473526506150004614498465204602096512904549231689358015568500928619736231350749210899523944594770841010035390615794745470645394793083881383841287816488048697241127476260959426297988751737824124716211658738784076249162979613763599453248750720078178732053587513754995948720409331727987231648514884619173950240484617275383369313480385262691439044228251621024191989526861858597513662659703611012536145184974434378392152636273281133946121171835810589057503768102250209646341558123415124421821035964352886781299212873741103084706132583512404652040448518227311430989711461909483995042611858829432851456277757420723160688984715778575508366740281523908817206702391359938095771255763822168917259990251776158897798801556560173211322786161041849383724677215481162223405237984127004704706583961012437612473003269498448067347891243832824530453946065157192675465923603840071978881077300096811574917932320127081899045327652333005878172721652607647589034696116619763964234503498833707070699255605368846059688124222465316006857540656217888410470102059812253048115407582471439417164688375268219197884374047131443510208628422231213508848311197805142782000725633208893168967662644375739602101923243318331822477560026039112177026323146203613100026617401899056919929228067127526013295399920565894447580527931186196005410016617124293884539119012625500273773431502708362592441064845004496611491347909210736107859368429486541700828973044952753227522239328543898144757103675281799475458496725779481473732828577014199482059096550524899474885476075292297966816939994329654726188185347405797313659452235151488951538978394088773382660602493667445955082719403573837056429282437628876936076909292830425265534284671193910030754611592420065848951165736814346623946922448125233953026850341211765781592627857447589338602949352731113420313740336990182313957972039119932565723680512696153207251291567698107144919759989671117242085462369416093748950042428528672140010916271574018311662225886328564203836735899809203144376581660910534010545823121356748987633533929896828968731349923143828046692107641350841549219020090389823744829749392018940985885232253666325962478868734578322753799121910204565627306310727381017696197594435632828510565890391598587578699948903472150246374975847404834471407068023383255139640190762395081177567009837521484236019235688582413228814350555566210472006282243092270716873381891904852410293914856999081495729856210984767847232718998532044792263705695866638026120636101827468835909011900221523031114543065534237662076431743088634695814711809541480382206208535910640585247820772435804758893710348419183686197533133969418915346001517476485543094001834480885701999575116571269038852684182212143984112078265695225087315982029420039762757646537055427474182667767843198991531023201595845268564588338916845864538373005133623081065137801936176384819014924299975467360649982872389258638785353159912017669881031552542720789671470188486330735409933634739974657104762665106698886298566592840213562948264384854718961020035847921637111325738118861286826430231381236297818853052065267828600550938456007369181610407542013089436819913108734546507206765368973158751003407335474544360199762971329536173809990839687372319011787548078560722821925537161485886108454146579906986863086057360517727941605677566904696996683038389820780619153332559110208672130299974387297705982153984171460008911854122133941765578386093244863014554979333610344924374189753405572442788258433595270230920567754284471324173095984351479801484580621628273433923473226663409917875876320911225761199991752112831788082282137952695059859298716537060024430237304793926235176204186658517025356423181421186300137843483099900291812034840665248228376594920456850985366139054934942545945017505767326877279249664574216457913726427633521695585383543404054105267714030610840193325951428803156297952941626518234107659804393329220389234397614979597552676792618348420616624365825538380102909435006984169984967105094133270960451753521810168046908271506515649040392897309506705092296174306913222999416797512625804891219823451289984860768963405754842138890322830307596955672667715803149259386489802616201276784383723665105568471919131212926844402514773502800166451556346835412116615558827553939237438558044336966663733279257810510236508798754329866394230044113830050908235945860364517537288827345481111995058434407361138210245613744811049463215295015100363579436202634022816595906946640457100004561887132158096953207393764416385359210676748098813808158203588757266083915134457005483837782485936121162038217091326536697722089671265397535301159619894104887123555528264606348576735658033724009538333076992876823948449298429529391707763405510374579324794642486829566813645127510525248611829928035322921927049089581354417724548867486107024567004524420728848198140136752315125070608102507619252740049989501920715639388346448729324483256160593401261439966769508359883517704714243924850323018123207090777149065683124014462882845263200652952760989942372912473407329818332018478479631366244767911412026293539547672526437343067955301576692091795933431019450271453723461246927279474799733080367790395987402200902008613594176350349344326439538030695421858678712174089061912337119272848694173266499082467559402334205402328013618659905228626266644826558499612788497426993962303007060853901184707083809310174708198957224783711316530373686641959616088496038553220304600271601906140264657664423471293425411257355320993356392338691980684457896592674143989637925700664449175517972697964315228998770112955930808685639335104176597765623097677427905514574348283292736586139280352853460319945747974737646040779803377365487980177378659213946693618918585308602553433824408628339974360878112127597855956862250916735322888032564740253308177634621699251652676804254151044082666351263444569603571230727657949586504879593850185258720280674049592672902011238929835580355905774657917972993079074062962213156348732053839321695771277345790645554436494489300679160417082153348239632779565824105809410813095913931362147013940378184450203662490499907722669546067124539729189549442572849242953398492931892734055647466314428439534155527579027715684026992567620664422518976419914881924332742142701322840885060764031676667269736244420630491430393560506962299614393097116569103043993348919334806625150124637617422198993502252502111482663145485902147651018597048736256780687924620229726282399838481926673863059781736296080967067344693802647330986719293008658197060162972834598663684324100600927324628767768341114020881624936853848833280568495929644305403097517319784598818973737705053641407663491354939527704167910305494882843452485677724533228956826818774904628164600423505827468642011177064510548469386068462016757573078655285720025424204852941966747931805186366606428145717152803477860504545965643871438612596806120251006302508590097155893725190507518804583927688184955361525979977832084621911321971017474209871587245113694698504853059422421006528515326839413970214559450964782987423199604222141339713739443846170173078486995316665851837801549199151899762006456561573172862313125238116419144794704066846307183528414675502275725864106656230646350243588239675305883352952240427279617776205419585780206823427362620209457030651745460277808401493848675855822914461728724680658834495115378765110740152797277576736196962096735488531751289008503188517679425525534258951199854922559301361168009134677693195012680874127838981877470159307889600822751946647315439829155363976140884138912409716707382909481049161057292219270647312907946031189219100707437791737943903957587437017181988014372359147629957290199397424997353499912524539811424936849079093346738641878886158950751655892147529149686397383477783001824644605480252469396389718131767695740873963088936121252361460985851385660565443825908560070290150923150274395066581478667841336428641735479221612402505422903751986339133835530890456920869637212641124720616599129500836490111014577888362066974579143467879256438988560125672355313443502122976138163236068480416715348550007887255333715843903767710556183732962062000326409441787771353439107034879542198889518624382058017851006482681589475037786766353327065111847482156095857077435241346897658470133855280217533051981205795271600775209471848409471274290685810781864196054463026673896993883916674311543239980115708689203681776894913583544401933961881009975747358140385186554751960022423747528115206143353355774024554554123177361156376599010450303414082168151007939155807752189293155439405451260194089904399596725540246455759249814596569113650850776602707113534156925818152388176776843352147304061854396749415152365489168154642452457952459164177359177274533094843388421619004472626821967715049286078651877101339572636321216051644597380893193617037632055175314935851522490695249535004711320634068667158953775879119043277853068883325452378903586059836934767462074638525649401748139769390678552046830229661909367190119238426365731810457225583582782688347489838938254317130941535412215535301937644518809816709002708791448051083187943404557289171360784665159616510155149337486477163177539854051899038343627366936722059854663088384692909742453701985652814333553023451634984578239484853970304852464625337216643045228079803087243705172776293999002774475617152217422256315573770469539838598924636950794182855822493337980331988882795933249546831415871399961323854528913899754008655456166382404195150629219332951595429059035125411665690308353275372947514650669922295371227994752797766361684595803575985163956604053835492931798820200844551325406356452506618539925792806567066435939566682149888658295027046464330703302267484270674501486836709667991494887634703408814123165156586882519661913621673992691209239597852547422796640833480196768322966120888237084203137972276108300208357112240195409003461024394823844631506970465024388701478742184573250613321141084024168894030347039701608310070392026898084558377548134651002915728321522532095960323139964370183126774257996504959544324179273562533491187621235716542136181397431176123631458900256838502483440140872259442431443803848930347044500363895270095357002451720787867302371149168887829701948284207152078230911963155971411132055445794614849723202669991810940006646614603254152079728762752220683385317394679787079751705780216000435476754382857856918253776767962487605142732443355710889980710394611991936879356342055539812872807092097032470692941120710518466004415227442880206112754076004662657273144182409194678697015986705276840456640178116875905435000498829831849670784938952556073631924307702923502285104022890228071711521713703254548401664963985420004747523286994640675138889439340778848264392925536247620881623604700853927002836746453455615551050738369615315760816477281358843622639044671851015913628848221469658499894963167303296101123223325320915552331596574688686497900801728591343177835278079340100967908094758110927862934526379228330890961327463162741412007838095332435545766717626919730368047918035542723437079997885283994948508815245336495417566485220519708587043666933175696704427421103078289762951585747179436786882248411694681066394551457055663350008020729605078274882906746506886116088809273132770450537250458249778025085879380221944529047017021660437338039612917322712204500719484524012474831013356122001723171349082568171798178853671425657703185725284708144105829349840665013819000277972160007057361147835243424092986214235315469408888659606224542907828681175239915285508772638994927665102708448347517258911162051199773393696952507469064711097240967635528999572389779442786565784467953833835864849668399741018934308489406899296532991504505986569647321957871748078065644785760890237483076857007832443082336888699222493579425444042087456289421822225966697241962468588574431028115172852618022374860458601489053580620737835505515447407079756263630272028756425766814775976259823845131303025977442975782127647996290181607428959282610675047963023917256429468336559319131371501570782936410319153964467693040705827183937039941430575574328505524554014162060169951863133927454770098054406887889290617314965426884850586309809105199054539451592211298313964773506233135809659265023345583823741236178712268333539813004065190259762671063073726781428073456767120135488789993011784456494308976865709332580841345214794869725717367224211577831388723056762333951742046381151687215198964511152750803693777473472793377568523582054830124992784619992809238348364874240360933877190816683535669415571453394753635364997324461052858214167350218689720207347320778434754268575238753037252450629102253678930159189079496356895648186826392387327148048257992679954261859069918781321676762208738833955777763758084645820158515328136199238973127748008246353057017173784780200352274173337072338313543865451390709615759522235693185888615694171735765237271047687033080615971521614883208455113997609280039067440928270858250383116951730431325323739028377771704515955433989195861343384153066756978023826278300254880909252866209847344123185200899895745273881722246378282288584050666630820017698523952147302232700559472282938397996336630435276919575303740140675772998670459728400445681572903020868949714253409837600861328180989230762445964436456556018040644047776315131764708256297708845175641028268087494157870590667764196379076447318138874264329818391483783400378646796408290681321011047952432566651575468686542267415971913295781628501202243166218495087450914326833654150861419934133324246802685273630866475454130553503175306709548252771846448173181066026116151559977655586405912564281318251267158874848301502523500913732892647896002119034561664512828521382880271233470569684215291706588995573586827540083664451815712752953907855774413961191641250387030499847652503274073865383973579818747788153026141252529545531240064639825381132691969846342899520396783278886948431868127540254561790550443784466014323446350814171312495043189547421730259043200859603372276876976527708750906334226450641000419461131777178795168053541967708777606257798285681220329633450817001876381510434577813583409906043820860126759696347897301810187995071737729975143560582702680423498513510329637019377256176747948329338942056451665458873565485243166992630814667684908172600082256528569285041316211867267399866952480185416013640951491028823174442893341371305411844789564116614662853851035117226900748083248428157043441089084829287132294784189440594008389864686032511557189135140823044461782866381870105632515230469613947158228867732133803955466505586803382138608761960670484653034843611376634589650710066349161666569546037494863463787436171573220762356394754186495489335738078322827168079104476316028775959793906721042736834390136755678864658589055706022185163954272933685774224559191899521782466953961573283137691091928301616482155354403696289843915856662020257370568643355927221822959624104287484680530486478946090427722761302356283586884980357573236819060804415196615808704201781556061899387621313240028011157716239028795079776476429048137623916074307845190360275127122172633671668893200560905302782372026693143825123616666919691878883820477492303402760355358126275324087634377523770738788084233898248293497288598036425706264207351217850514139032362218288990155655250009576210136447057784534567971431223958423886881202861422094203419810671547820595818609490275750207568998810256444726866894547378819087251070984726822341576201237602932838149959331238538264403659264949573192647549115940751686017899535822547053049771983579923365200708313273696725270175879163186357354605879831947723826086498023640516186521860355613874613222368245909363263456905506683092850145760386269245010906590309152423490839331527348782911424807425152853710051175416690262884633296687334987142254123976334365016724028598479449248125890178393377764340230390304834614315387742346752343036846180099116572069789437790459069719364222745450939095284770453584584687286751548291761760267657792761265106051225274371463363406785982528183856767865314010094870352942351437417767472886179310085612187983030569007308765711305380113299061584457992510340324489296271110858754164634111308093603831246379011364430412927511345572624479611302600409794538021246650487651800499387830768696963808555975432962802567555436979333052118034240687951106432632500156644048795496575822649925269977039781510113993199508483734356093539460915231437237132727981373959241120175402565672783152169953467610549216516451860162671503416871955057851063030134396614501247445734499895183303888808009100838526807097054669018650949507080122514111282538889166642605210375208505010661225714473603265420524852535501293427557563359058061377933328979070088337268806197693500720151696958287671193351380431748289387926791528902666183071827987543873284537302280306851990821193344940262961648374820579313418939218906269772203489602153029571575165282911822464751222881325078300783648971828804442465661274060820658557670389171112310221862089024988222271652810143035792678762651173307159892097764945308898007454819732318018190809804995418608177093886378012694852278749085427155290643757089519695692809368424771825044826745724507299768326941057235747652204555021243219395791574248194227348046303446545903949850700005138859080056539494697887690664517348569190455022921261750035258948552811182811714585872626970087036777952760171989938350379827813946993244423568377176899335774551075990949689435404449235464896400318476531769740319817576953782074216200816870378290648760301605227927253146581015033972912117444318763889233668516837566191140698448224740317640528908437251240525172224786680607627713461098590880263083977708921283409807371579435693600022710024599510453031142359930144588886000358199234098717049993186639813392786088543057844576429817959344209536398280273865997337240979584578813205222544732898138559165575237135592093035464050819902003212451966652028321692165929990273254537975432781875432642864806571312390113557849899394693045636107178070533979420208543956155120762554493953732484754819107925314567359658362158744143437619214841879514067909883462309086022663058843476576535899690786685673251506338049269925860332705418927304418030415696107438214443128856325789888018564661798554611212359934317713714029457465212696467939029583250355027466595378015920560036087823395342909717773108015941753775010366413533857410001890242238104365726695089660870099530375838193466295306891115913048900131919460316569140298895873032811290995050222256784924580254871035581376256806847866317475457138794913106852833112373353151799989321710518188062607013/21519212391164494924394471612615270529306213390023651657258849621676327967438997541569079804839101377807434298726783612494675409332207094305018315895965196120614676450641894247253175144744124040927760933961160954687844647382278454904135916375866067180058591785820408212782325678093835612141347771681194028316764729905342876149607059982302534247276456456294490477008171530037062011400944936098151109883364253873043660580087966274671373792477727921260458298229117031170450220452322421962448487095089493174050395571543189629709683498647556472352825099492787421178626761085962268846354459755801493300306267761096224409259943278521078937629851113083853751030122172178781173828533025442883387587677383987324286536989513980891512763820145701575095490331195444342355916664325517873074500836842875936000414920052275577704314842506627108522995677780836313825156762415890177829677773711532979488231536048977137092109940793148992887480883404263836989181739413980313601595296987168885585633091444961374058278708993137339052565797531785968996502669652905067995329825094763268488644443385820070132159465902255808801185611361947652127844172587494265697530303579905048110178046528893294418477354241042628537335237979524256071256599412543664603253423465713149274642512093037832822264113616155365747139891956514368428599170435351055481880915404661156904339230172008429633420764275423348469539162244205777983100293556125229456224270786324616446288607357278152971404322420557769517297574211455529595125929702841562827355778236275736374141179952353581209652092439408714826225963612918783243473680796827408690506507000629658599769360784270636029991471001963419487028773257601076205557264483632856906881979003096493928563458901131080048602911468707747583317137194352516419607104263700744457675868656106568537776900937584517084761636748429250281198614360859311625533623595245369911038732264742765849554228783728669339733404770444727483369587366387383544894870853445638583320694963335931805537493842468047026974185904949848133866600603868615397765408107439115424826684140059866259357137238129470072700325675021965517345753573000542296174025423868589608493189131937286211682409573249636187138083315472562111568661862228808068599623650157472198375523177985039291109353857429442867363246244566538409329262384884321668232686127721546332893809954516589642294778298482769187146217092261349600227104489342963056804101246271924192581867198083553160258934725085582370917300801737034821423604742052830827591951027413509680982532894638074202305021052011878177624071938238921573731844327486601087417967614571361544366179385882716154476111631424952827660241523250227508436066203521521659712950395795897084201200808702918073748276521690833992908315123021835399783408637976859932721033981802060988619782301887365024726959656040729921629328354110062377221367988275887298968799085184995122832479722065603177414146660784564153996321867308916647460211237693767483017303825669013153846327784475636884694848999696194911467897351813380761319821804217921265904481993209004634849794116260240057112650715466716865880298106672105678490069577328493620727717476130293391067084310009893394002748018098646984423311766676414875782146106095519848902819740557279952760517967188404836885779451520908580492262946909900161212919360693228335721863357477303823266176241054933225401923089653340432610963081808097688953090216094322252780420042312954320265126908112249652850747642133021869953611868198232801976458650369139410487908716835611201870457958610914071575376346869314431760877185132916820701214438189702503792940552530411811499353996279971012050290258006531168789480419409922079736558029895353153535156807831305517890079315729462703686792074182565632700151387420185332376932186029062052921284513371873426719694647665689473761844181676744707717952791459560249896474367749051700846189157776965981757195522887619413234071180276844161905614340748871864080156873930999119238890417076105493342664653780504778437285488603072195773109999366025227797651939617541304213780063429467723291249940861721534271204706382742047031392949616555435092914623360301753010280266889022378139636124284397951333125458071001633648972884131550399075878120322330806570223588576226224620454472978813374998457942454917889726069901995410809126684774180175405013824520837987400671849414566616945408185993103252281922288423407849430956906614454650970497128197687520868891076063971953003268276222730564591729166882278130737556380944896188909252444073645307097585344126474707270447639726080630520287864132045995505257301690288680347852494776315873217810605731791424174946788438203987236852495195494973032715452748211348132742230817147970940381134787861727942883781756899046818484475672082821322567428906133606305587435628249322867826990488860495037567105702700894195584726934269422629023352803397185053554544537651852321612505783388635205507677632193208803503010272438666156099090484485797566777485136790375558219506882669825663254609974320748082847639397214674155733410952133075558113389567649174377717218606482564297378723040198478690590907291646147932433759399155518893924237825879822628338328257591780662551357523988393995819555506967847363026487600106609172764260942526223649031849389635324849674893675727191724052775189342838974072713254380137955383383217839407405418102267694431723483208669577641491187930310083112177571957069723859409935206986291122439874883635025711708763676695042396569846760208252231087499080936451987797966659094914940991825985366687785583683115925860551431900360092881226729918147575927958055871987560353456383225256009837069713358371083618972839021804972459048575681298798045548263436360236609231242179440313367433874520302372456338489123020276220858479963978577526839158017512510181542790428822603793405014453475181129968462409258571776174467369270084794550044019937760643668739161495724478802371574154792189608855478407842336757611624144988431191290056907350846740658460017781840746780653837566365189413171667505214770670914300363485934872437554698466653526563170690268127845218875952789148094857103324020946528160285178316432692199371721950064024487239755775899261213829065180713135903519035605055829552955968556670244996313210102417539568484886592359239706257542231843218419198191093727854561715126456322136447951612026131646283420743513172054999350960128527973127983594693945260223817706694560622031708283062361650784035700863568199633849425283376787796597286476262114050958648695598220621552967885306598107932345686999645707715377725157694484341084807675069736494289661759370409793654204175611178919877329226481772711352693685130369190977518563761095839387782901533167480951508194871389799124212381053739004437623230593864535583309238291721112158153603665841554102324079881239122594107036576854529310790745406766219726213704983602744293402223477469962823074875485032094032772877848688093901488545543502687374602339059772595372014359292921412864609693640912474738656292989215849339062890165170830358107320790082082340043462879998326499769163471971494510634249770879159757436326118193112467844689768976421405867229086089962669589182529794042272353518831675981108307478645404283744575581986659353361601470329771131061909958612761144159949782308597608944503566564005519266949586611428328502599561697697832329592616413196795955449176071347731414831656397900786377500594758675106181929730525290741754072127844017773332200432226148255964408643870089636042282198913888395774578363997125983495358165225880306999884876355097733702720111244530449367547832156907521176688208994242211465835908263967558656112669173588684095325934847273437748008481978290320569139355888440707463400243941177502449359040084001814254064512308274802752520582047646809941742393388288284578013654865158017947655669585655120429996931984666087777248963899335171227382271520529905761761972720123955024660279112113631611354440532731118007500081854665816351156940207746212547959970874159794351194366848242611127183894773918191930751394573600603850851114913973800196710034251588543396991803119968786057395296518205245408243678695785315735630644379477142615576395811507825995980946632077456563944413688501257215906130381209884119913355090222024068944346027206885273874013348801021092670560289683813020421462017726245778085013770768664671891743899174115256217353265783182442478574909216101345181359011834891617120180831936056379920850231647139790753445372628199075467666307647562956602108552455251568316530410059282962785538927408592343926889943224551728283295591233893547252649096186302143447545815216114113902948123815744966940247884127196128948495667112850334775383796493910621987980473035566494699466914040469759722116263083249075595295415773076007872450165259996112892528211950022801096299754708396145059311910009554652948812009010325841838932189151032708588063742607036850034449741031339940459813466781993077131995239830166766324933444555557739158660513698249754833805071881801856962758267386954047978971695413035157946143002913232744917482025890576675501041493548858897765732514916211154049849165230343013507917076547665799572575425460417540749399123920507352687359738212123897400179767140205980986797332812728606448619831886212569577116882432715614318425920837689047126324103747277113255700061571971979406831641985294965545122419993503248003832380117223630131753757911254617830256376186024600272091713683460903976992379369293642707245190549629937477790167954197040428268556771304277633740943059116873914411510803849163624152082453383888521382171771713657367234934073916047002384475036608874737239761443393688202913001627533316041058736960428427834225929474482277665737005805738873921930599648987232695485427932825385036462085584382935541450529943763019729905920557497028299930533956182006887445247066239680952984112683326089117578227339252403818964641642767032748364447601503201178680975121042528128340073015448330804370599911530124847577852248476851056375632069015055588267634711169470190353058705898492412400303277352355677539723464741918580168450300132952576859074602640107833206531448613215517670798822898280230888105211427646095820891946771803337618353206035010986788322079560589089690328339682693563888198851595453080654498114314867264438272242497606003662426308285126534060199536860207831752037357948742318829207024029616784540804058380002237801306930164454216773788095415098210024409698809286160813949742302290374352905068878546961782926512627183085167621908769494083998210139539369073384000108814978368324384562613005430996952113681101801258115270719841550732403733411538178493497048728322336180803468525294074579708614750535708850016838434392640891962670854323772859121421266139274163315616193294930589339821435842619589470458981461130825841727408381257614686580224106838692174910603891456804847823028632140754076252508863892404991287470012810902314426294992816731614968112902165516282463945209752661611504359215421130548798376177289050207667494971065272515565402211256395674225958399696357393108060306486846172690043132135328192415014712780667259558481018352169013436952557558406435158835654284105151687234457359910459261569618116835099229550776795074913433868354846759225119015578842136713927031954892493238507262463044176472069143837799879690558375123782480795915257659618916691488666789439162255706643220399264196081925298268332624425912151636862805654769930924343439309741439741940484620125110707511776970430218005242234354630589434283609721714368056197921407599186752685972465693810278593834974282212714834448054796555247924443656084281134739855672607545737667067534216597317418426990179904968086539194252169921258222318749686404266836324731665611307665224834333989190074461607335212364577369735847726554004579782605834356597917676805280727604749628686255223574076902777192076248594242529933838882359802682909766570156022058003473189844496598076029543839810843554090772056431692875335659512946185105854938446263814761860239677746588438913225418207477195305371014237049930041886983157885324761236069105492930840385362143129746507240460679994769708938084474960379338826060122715385854011504803503295938482018184085452365214989502627412459515470492315257331162963878745129399927744836504085566917533984357503373096940497221624051484479847168926299968906664943601255524736904929477773545798418008775521843184997768373575163430192872166834772590022600179466047745844111304148715938994037989229558718897099443873849033823379036945527189232316195152521819230919220441120999997805159114149808602930883631561438929484503820363746144894995264351749282463881846689736964940561407278259425671999813825185068260468598396320294666701623389592327000868591228658980230254502340878519941538468399166761184270863344670055152748040833465875439273213772204590267382907361427864901390864326304631625839120967817965424117865438113085768002029981449177608820262720253499980860807396528805076884242777529514765864129297834511079114696450632150329441475033654435139961048734851299436574933953173543295000009380763277147199338772164828991237757741314944563005246066358131529521838063197631065871446412700015093321906081321161853765084023510406044681772887749337891956097526503223438312209946208152435840729546067199172708473808537446988586852009809102437589811110971877140444013860339120575197593612152452615163194343280730742967988171339103793671578953117076600625342264385957869534999612272330136895628163244454014137287415398067090543943003878106919303833183111748351528959709760233316912784113906053338653490385354336495305141177353503020988267610126404918780833390481452513502616393950197754349500878965533832120602754743448131811961397222272807026622117814655618136102207642987262565657983834929437909409091415978523080454138134424975360308088203080206227840211702330516004662958480469240782599051715788982696241871186547749172030443235788365973805373728978665593342902898157244840255167185324500839104889122838117661612440784872595062287076138664833554271471122490778100351067806148107602892122304658811325416880813886053975524766055047881965276287318908744735656217786463327067590773734340639650595748613021976800254366220565148066990093501526097914116421565444944800081805604299827088297646299415832508997859595365708032351015666372701803514569641972721014315079102685938090389820504352814453000329635044177143996007926471947688199988330434580370476575010853417561786175281273658344331967696459266970545557837871847416872217848809822255841714366542807144941762620820002425261731373680956156838385013909195179204543148099411213269435165279082160938448346785564737605341715280135013635315759270329809760555733818848319014567336154689910242248101203773386154677613796873815672884337510731101791078117473996762117875819551687533869308235484540047815263610322659641658523264324377206423350390482876953237394226795850739313054917917857986744480798751923989365745571152204505864410328659035870069326558076126644561930536771770312692290687668534088575724781916469190643276724459622233101525795082520820510809143172326319425534576614465186160752018323910455446309645413810240570619463299495629771951179867469082605944784781957770136462524996440144324919706154290485495282133061381770315746638139107055856152639522363628206168667332357587210274076639098237499420686577642894544942120188825656750163175285085834206128894581582393268354112264862622475990787119120073996157294065725378451957296872908776848598513852743506537716121893205732430324100592614900299986531022536198415991798361577024626533536598728280028531690595390937214643384825193119259686057462319447979282795191515641817080646376429376731474459479885449799387692106685584636699183393688432268508974961925828667583320290392432902495555597290053249933266493449549833471492810833583363914836237254238349558981114919278431533605498717871964143922820172490860407441800089250569793558255956076372255736208209829989046660600158479181914428340781025536474138523970168589952568727628146269932115456157416758981834792824801406153265912843944687003289574484771711356030051110810858095682842844166738994089633474987495101069504450802278292595611787268276606834247322299747776409631811761131470096376636590208958780783599633747872215397854685685758061843485941205985294228743161274189309201847897596937410258861591488014940118814368718515560082799573487905364841653766179783045976564320306657738416696994969114108762444491618249665315790697709175654949794831629908096706115956562758655920809108777840906373095513547313395879840165208339409971203822210678201399823715999160810079480616339488747706718897502209844218580768899389912977049480560784850767572106336807600628368249097003003430959033061317252415206832972651560369870785339132005369278158544633085939171496903572319288194753731323703913780728002985835293845681305813705135322825657695044530132468810035441898025131934429662476523715407176226422477888219691530608910039568967437626190165491430668866412575379852762521832497710312106403577493353132985330424283475979440443947287296957144393198901695952556645446839416550555456129437592438353055185382024396059511221094478239798406152617262080356857392698920053486020778478196462531522038628437701140815048258256520012073096713928036726643667587752182890443295751385527181730092965354775916102657049618626523155737301218771842970273733010141931153873838346392191753769074078084271370270525186163495822289782353253662690172578280447855237707365924604521826771192664902056006949285194844156885923828251257044056157669081864680479445442757895625287716255097165401853308852656186803264076078824433118549311690709034289533901753620147868302306722791898701961750432582322310010295633781537769782004642707116052421967912212762476473618286313792026615076967107005703504187113159839595993334792440951403054944360987363093766995568543828541670401185481846173570879313932681229876739014852992195128469478933926520883898411411584733512692853509733201868687855812007615814744938531407125557306497500696122181057174002473314785682440888315212125272410678635246026961381948705854222623077689518154370641328444902472935986414823557538927092193253737227879241023639448781927429719169044102209501348429989236389854007990648354067101310964090929420971465737794769331614867363608094709905654571161140772772956125681545707629341997517143641419747512135901193660993164652177854383576873426659337178924649119142831701376346694964053563315330106506961615087599597084943356163984372009361286069267317897113126721276020439142716607992935274745395925921178161936682291833394579174340068311443420244501478339893174687729820117861006069601356607163618488601622922208130886557403004295633474736942002988114816843849335378021276047063949090776841220913007193338638549736530380423976626419862785132938627555332416094478318815481733478202244571616356351398496607480629550872220398259900454684949798380171482425876192140388379473163314808494427117515065838049121589970718541471379881230794949603246856194152116717644246098301809990818105827310584238734294878983698396718682039459061705632776607901598384443973227849291931722908801114035332230251773104764002954194442189380674065538925935030923779963475145056550855167730912652625535510376992439501876094722435613717192359519245768166395703673868901534482705473804521233556819024723741189725602722005318760150704313916532231699943859322214507858339278878998756715392506746418933992062317913654399142313932251775790239457524917815873080963273701171617984750596577987514362277554350762129098894738579976926641774769591342155421016721049208203175704491458430824703907674089074865791880377364642746611126685766477181537128670881828902662747500005447634135433450772131232386823083332295398457179169969834536524390931252546527776703454837920748596316800126500249354417131846603579882487874789808327884800000",
            "mathematicallyPositive": false,
            "mathematicallyNegative": true,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "stressMaximum",
            "value": "0.505160957",
            "unit": "native real1978earnings/10000",
            "defined": "true",
            "rawValue": "673491332827777822394273989056774844628972587613845362266627949399379371172615781893800609023103830735474825479207938571958722428085842760825352464642858791026841256623084049659241392997384634083011984535656193002733970691037065360581356668725897588604580686816218087982206239308619739921031579829715930190989719084534908061663934942376025454463107028641064247055390210158473149930459810396539399838114141459743880252725029885537539815880264470293913985591548829326945481528157044234561490962845613286406676803285130804085465256107455148440838141933559224826232026618701078830952090949438898117582820525107130127197794587401072328616109557700631912520805545304748987793764134451615965219140354888092199067185106470138729765949239191995225913657619177500255311231638765523239812460286315474736852226069608467395431973588939999158988440990926548588807433158153534818251437784836115785493094345432155351685872834127908423518477539998670824228046420501083166329720475477281708937375227126700314009990953151662483514651324521143277089488430777290515608579213907560713661661255157425331480902798659497283125728183543172531064937798860527911790282027358314597614178226107708389870723172341395661449351156375816377628249061786882570742663361616550126603629118481788997291623270448103769813841022982869994622252413571203217300694151096593388212089831730986388451895854920996189474569416325032595962382145861464722680164043345912108166856521137796407213546627513236338317860580365366853838356711598937334123917289949451846903064341829258461140580805064739325587959716020092806622684689687635145809262612977620174287283505599329449814466168991449352334163068393076098334947040655023293406482374142181899922012482949662704315132691689249104907327482171912624939735640318433609586568026573699443134853234122021984179490474011305865483612231120345186334179177122826811368758949069444992647708911189427442866357824879070695647588840663570442711861159031854515317678952465584801229931214994638997685186611089289429073899743943848301862844939108038754512940827042718613622128397982537439144039151435383531265756761524829069731594901955397407750557526504818920799968615365023052746101520095533638311251214646661894629348422811770857419186458458073507346274138547385335690951438038640867782214702445225096329690982161933037847392067167765317222723982059297800626601592950653060100134002441621331967279277953046446813902199147423357291385673222660847357843751990891080917057177892753290766252685489055002406381388528750887482913717597965162579020928943030903033660251274108463488761491488267499529507915827425037186167535771863120696650128114776795696699445700103520251357751427329228727528399476817962289108837025382917632487825780269718745835420869098969009291462286741282250500888848956737424759608158839023755439728369680418556596658003570798402869640847628097354776110661947550684717141894251453262411301855273512141616281588903232113548696423740453816039340432722164667388457113233504134040085436240402022199816480654775910871152471364399291016508849248936757465351327084175282130579163804899626805686672396372319920869554207840742763142486904331321952798000383462613009139172281737312967504181773795226896558655065075727066935983002011210486890866441467971539609748883282370837396803967300995627306722129334457030740263624456492297200101662501319986807675161812864809666207944101718778342764597260084560640564939037730952559331069579706324404767343945404400241005919300007857687509013268431986860587247301013550497749062416771755006761095949129923038163154362334326328674744070026126294282334392756552431026229122780958749014297514597735755943716884033142373851315954932419813635039315278040680943284124190965714532267489313455784816532388667050074097380978806196200038609194208195790832096530668691748044048815662817826834626839658985445111283426848641736284253748253155494429628347200811740406356908674140668156685001024152518453324150774097638108336036204043095523438617004706305643123108168214774804258531203831043161942058629505783932038686576191450722595633664813975086041062448616387992389298056087987104637125421239610068283334817592563065256991600527853820966171157317639978221675628862343995392528653713531186230829622549448882720165196815545060694907172251418062720317539509527790934250203077645311204173699948844120498553913265981824330809228691754385650150205248418436471028509632112527991599687957935496989034613887711340240645928697130064150016614065808176615237534606219137272703547695232364435863106809382611000218044875910187673561167883477350673155060183168116497298098207070269649837218289415747758030184843846460981366731651398966863196014239638600454160587706149503525667586201189128471398523035560302540122773853882109565548317795257306381060505957727168684357940106151381267011152587101123201436644624710167902249994032245299327117118738413065778426346357781021647128854791769015197553382342465832405804931192604469366034391565034309285684542997490552385668969177231410561676027815111516078927582171702946060040373276552398170842676912834773187319671087542232219263951380638457582458299153055919483999826970003485108399738291360528838339828413050163146684556344926352910473703092159385724028136958269743781094411341916299881721998622780614453145022154251041034502717105740753258413360635609525866906880932464870437012278931840332808138796127045543289957860007300331555090102422718859895053877215173644394430561497705306542746179805556298326162598065636074430930477348705457179944730245748032398730804331925320836046477852748053866886753320102160965913076488416195898238341597839387837305022592878898553511353717630608669467468461129724469040613686821836434257042681988074423143920812951123850465349900485104308710936198600835656680074593873883305911945962619142863656022314288055703965961645904442028225435524791594981010505988747314650746291645044161750238227873849861408521157204481908034411732878743129479893101980961609859817361565285862003604879847025731620671820482377635882795958304913433567741147978891958427793065558285802808483057700647896612728760273202147705620734028260247956450820186943278436601664286295064417695592668972051205527225173582661247938096773833837254700971415552356175215125547683800214606180744068000274807697859232011020128854121079558418178635111181768804500511042764212553983427473535934065626254813413286098177681669958427239747357368056962686999416077713555891192489374103658053916204777192405934262436455502585322754548515982103726781500363186211342401842755355929520203195623227143172835923765482288415807378909285483099547342616975684153529878702549050542879981817983236250491397544856305148059019278394711995427922430588820333147819010728036884901587821781447503367455433753959488271857821776689461541739501112053858460110086687831873621713515598846854211406768588099922051523867360519446510146127962576344481452932974421581569661341120964297420081713332299658371399416720594393187414564123835325735257508411838187419914682757442620297101638339482858176995107079026849400990233985732810347695216630933277487420478959668613218056035810689327260880718703318837754859075448504129818296574718743774533538094422575258863736227962682107214008596207221230080746623790233125948490140108359066007595461428205842806175131302569831927677749923885251749202001491554766962992475355649953486204240865643159132601480581064687300783485601158497125624314457933928486564228974165945351450848714688599072925258612593766874427687109029648916907470389299636947284549439459958644211049360598317342126649491037551923231883990187786896248076720719291042447461730347894594003452269178947575175654290476398620321194177843302271867787339956047862017792895072612675313321070847461217966816904357644842839394949520817760192676036569468844649670063699083906767611124953327726306880203106712490158262457079698204698418711784657044188916696254042358325836523770148912857738068815075602877521624729005359029097243111408817299530965952108150591689811751639701045330309217112415696286527570032747210423216245139964639098337687534024441234589354962332470538051348849882386702850265147360931638639738523173703242984241096441837937317996764280208599761094780427036414984596903079576946689401169292191785289337317334487261655778614448989326109575291110934219462961969823334376145517394021796955824773630587961268264413992318052820860163520556990506846589548645215450824658060903791370241893417364216702337466648321274805897031529281401214922923006180809002027571263600693712332990718009034045439082228177443590719816627969369785606322187966649166035506957033585739104334257726491616459378638291207500649966059483577711481260373946713373219202224828098925380269158617897460644406358619949359955693550715826308880626414225722202046893652612808700454987250819184803685985051478310587001835244658329925020460537299690843532319298328220135019743879146462155099133720158913661673395493669000957380955471824276661347389959504366882856331303690268744201536035130495597561053658965799358702015444404599401848088366959542898311365103689737673516546236258503087914174273982287255062045576976825779352072656794378262868395525664717050941993363869219567322907451610666367473452633094715768320844274088213056391045372024066584709145874130810482757211512452359849669626949736369817283189027035674815656799138676757654122344743824846611639955151333563936979698093520069866373960054401376785052725231582297165017652495096540296147175209628864205963621234309978783212019182168876960817731883489624405542731235165943812704564241140944704567462360156690060676342115491880732198495417354756083469005014764677815339507705147826038297552454444725625119404287244517182893921560838729758625348225638138613491218506737820219080759973671923598518610110807230092114393849828422589654044061500155880154054554447072859606161157869913916094686223622323717044584816581395118477238286853187477002619175685804527135246678795124745746085403708673424336152218886747804255858369059675597950396047070326761716394726274288883816020081738430148198066913807023021074022497849295323798575605360895036021998346766479941563202772398566362587121331053993161458541061591910609784100957733293918431302905895507529557894330373640955963845855611254215601678511475249604639408309536598045675039735819133433451624767595998379855197651710642364808361386497980560534308073810233720104147100320928512653350466997889466829947122260001715249189696379964298824858980731035202936598867345398032157614940119784910154188711974064037461692610191605665192540997361824721840208449902205133690389128622384711024421404222202244905508946595167627647335531149748527144458501423192038487006881220090804829310599298134785048571680242468026622903172028020999234497551876495465858310941969642601973970416864621806166059046508362906871443954157666057673164715305602982009392540899144896339897076361870102742025582249645210604746516305123719698297211167186800375216046325941872761880902097515995731290447910191357559775517808809637569810098302073053198770445143183437606084222305122203397333896763409731320014789410687648582596089432282448622643110296071340213033065357397669024563479477598372685556682373150355969329480952221008311746229876941616453678215320903975003241662547827038391502730939674333450367157716390002065651916698042125271513173141215815759060711161407263397046432420191383094099800735274843047413988281360035861126641501737941558007125394393395021935932706708246101242428234285579170065920463493428789217030683237679046371626669254554887765655195125793861089685905790168370766721637672057569354336188841625526799029167289139197394085914763409406356621909459527641260421659549244247984035169494209030921156045776833134051976945607661610873462847151774733264690330496363384793297113361395446072481404994943486209480941270301672659661678584762639756285524906653797571742653576815740258187845713206689335328653999709056795969384040902158938726610365916144074502354742071785949660113878128314480467862704371342271809543455682684829415721102753092213110744072037876735506629286076482978134115601478336676040463112275520936309117476943491914419894035500480166647609667985159657481125840012103897133880491129257292397026252900253562403754030372768242655410699954500448909515791576909189910067661458472980259808224274828014476236194946447692061359145273548734483931808233581453710194037157463468126289591338157930990783294160225465123841289168583962068685085462986718963183332468442922076922804711371670195722825080864850218634157377583496192392840787159316407009127881437330594986240971483878107444354356449228311670898153995188387152916696566991815008586761269130488362598607770936793102367372069951052765794020112197736340152659940574570374407903788164293706501239569578306853788254202634378274280405290761626221122016958369352106599392727996194763852412457229820604310686526182212862362966478124362131961864476191437801957277313529615075172466687996592950282161218638069324807965674083267752767867262174536100215379828154035671692060586664229970149717840381394653809379149507840126985720747082225541491733180983307170550827939392134894600723858316628110705211532120996855792136698524183412336009834200472317197399322315328496012244769870860817685616011401537755102066415146712498837923355467406267718946724607801269722563799135512685276002098262419989658220404437457999145437583115106904598833501762093851203595849682360420379205938245314930833522351550876318764785233920455369407372131834202526515350583250029836999468546226412277864490948327122228523389572319031631982444730785078361764544662073158341081301816746823686312876122384288817511241435522098834238656260201315752320144083285681485040824876176742506292142055071869026011742467507815549013464545734240030749567307376672778715998426189624444916495791376128095050739307859918948553972158242121041164540463851947591512531817170741972975258564533063973521823082438921758640990233454984035540437108718693873595195585394550772073380083650110613370949835455407714042645934642540762501651796042587112012135790778034978238018588748539111270975270695574379355112438904072094367045388283053035221775687260585299636289377494962430328989790827745642226398669349210720926515467911217277055001007881670991357771643065401320083177288970712721072202668491891302726333730593465249913024594016183252351448480393898404455447820974400395474089829970662838623717213309924090488853920028895699557401087396833642395604721061906510550988833615723170817949007647573789090310029085459120194841977613399314290199556959233239370735364743075981581425340308455113791362227279689155388267965174583248055400468548420353596840976456698350444101656618551226286167555300128663550948915177367997393179144399836409174108494525693275515962167539771920350686856858498553758681117375409968935161605517299187575071972903937909087676200767970981098145996774859423499827846650987917503463253189252681735045830420399102576976543384945968501134890803314367386044410546653326318353872857506638755312770767451170645617857448743143257712556243265939676182100395330507573944389181136690461740210836600707832851379945820067174881357358034919330371513070592114787500719582000548614671173384183163701050139212336647040888381938790064629934058441083048430346198956761246596703780255187212849152828019796259220646180606847276119966699791175675239363906992585119982967808789107359744321897096296890271653653813225438781762227886496503824116799651089541187964846670450678255010520114586426900300303018825850370261454778652568568422985137372187796285475915514567227416453876469891340626580233395116459960789582429306413224678933841601423911768244157906589631935316781052489566356825337683034131682161922771210018368890398055266757562468588645826605123246419882542594017903972237364403682293875418660475173582510250698690876008536630532855057897844535703343557230484087786087203757275328982032681518345915653934538596460535731324261202618073315839793021414341005444757342942831255956564374520420942958065258730313738025703138159201596486880875830385313519341510487728477971326081564464691964325739234097963692879593616298114013757690774259082056283065053597182130654354859695255370242498535452915393392505803926244119122880056192540198858638064106226242586680560341149845391469815597747704651985623319573935595670782100604951601892358354396065765725800891339086069545535847767429307804693708631768888785502937108658551173535258888716125906053680561798399370012008876135853112093956606985979166314077564707939263105381510174352941931873706620383779437193575691136043652708715874657485995166699253016371586440323701837907458054038917159751985999988180567095299387013059923953670532747468373634222325119710233168494481816376508907846097911891051076548278081461384356658896170700165427649851589895641488882883468896722145764004858169130660723376526398672439373525718441273243412524989380329032181235036863137537333936513098191550437201119923712150807800593649004082116051202210406658473281159918413791562250674754869908022781277222649408917404046442135495309875537137139103311890620682092814319885839807135131908681989075321563188455217057055031213631232101051721517789420995737202599903740604824590545768017381876720515797605711993791446320823481859886293850739128054843740853273825665442113308660677067228278979852066553308373412233449966446897902252033125657998095926296967447227711887303833866094497915957971756400356242389221134825627807049162906044713272200946186326764333148739652838566169004687529822932046054706145300914395216803679917145737400263913821464467923364152910555668814121285569262618610390893581119265789955433832122817898288294617078790659305106948451092692207276944835251889811765541933118672602927196381751246826072449257796361528226869085270605471038664322518027168441652156717573623557328092152766814651120907411308965785447936392511693704609065214436984917181338763659908976591283450459927918119155613995169423007684375672648834815349982070515580654915382214669296147894689118049689704901421175883253049879056236988513413960108790689219738198133285212839580536972359939835162414915169597473338070125343602803951517560872288843661269015657313747591441018473797889638479016595193237380226373220807586156036599898451748176988796205203331956519988736146773425425674611458937605184312801452933943165010796654956403609296174293236630864099720660775517967755230986683168964556492072664565412435879981623976007530705763018299565877633310461806250817100261159717169839528880213259536128655230385139765168832589166766815235410718268738853290229158453557035545328886238158257068426244518630770243944478514970666409546951486796564827934425119187144967913698643947176822510448630468100619817717405818467376229690449187996858283635879588490578406150686692753369774636042164334975957057093322374255921104203990455753219844667318071976944166434038003217513966589140877573939369749974951488292680978809278599694875089646900850239847514490376597253528040551112379696888841951647875777100624828619248945974446839772031599288810738835119055862833444081785696511940490822425004634016108616997167262400791472813061006569574402719868346227143281078204913508180911517768198303379089834427801573634208150824408577699378935868748630041571978972424454240211590244550385773749815597696122037952521930431331443055698187071747983698160373612012261252534602263277318221912916778149173043865387485741504297167956938090193646114430348222622151656810485929586949400374632663897301629644492577970144033689711550670965148670183654762100307574329582997799661353492289943656880026780715240312085844601776339303415707712226128432456884124208181056204005601294808557071088959291940907289320940593177322753838155063251548231999787874013506371177214254707012789934507489615448375723597047924564083566780123498026867/1333221269067226982796801085660399416846848228715105929720660747092969588035222820997044230365473386291993972278240303282837411634705555490435595476674089857690890412762962905642873413479082537857094465407565859548664921549394898990178572616455174108163651646417476569566897679597824752059054404052314171474888750900166415331360908397868401830099331106872924912094097920277841499525668287251003580362502965488662933218057921626000601617062973365932950192763515729350470989987941801652740115267762537181305500173115651929179500693211239000756615452096559062731933870656067315420202506985938599788640464672215317210659212597447655496427384419128233122523838644619389219111778201362992405691671194471752499579526178341127081405586281066826481306977224240503481913818311360256239114943978096230312458266371263371600944134341505484596670053057203983096982209372625331397517578116320885726227642029843114082601195356728138600747598741786831138624614813724326986647880399202878629764350924643935255626616564612956995624084699280825547542680293364312705583371617706326302152462062141076661339367400914642435782690951587266977738015256562663195363495227998391667849228061329556296630928362092579188431536319552633719473416560773786171027780847462857606062906795026403076108924713096316672985953273229307809435639033920696052803326584889827736771613478147251416110755101713576993932564560276740974867107928031611982045297118043413573024551625065872934580636680317634318112853835385794883306692259431544262744734979324596225159265350263597228345976889362309503953917426732005169420788350660009478828278856010478270401806894760280661685993965898353659015364638078853143217348624196174749401471138744509885971650235491816816065133372462742882985237827247893910335463352470126684826457666959160181231906189342990310148703875611474133508514337221707420226787153943917219081392137680962894726654183149348935657709691204049424096829055213292390055335166094144582021968463934935918107160993911725898001663026263553372928389008045696436191343352226951071873761824090963368404616917798676342904972806151734603878864460536535549684964737547581006806311518072417239002631303027543126122125797660388667184217461017172295779668894665920486203155096903917944648035755606589000278526201913079148800941555422405198567469832851186370612015350499761448436013667086227700400705706774689191260629634277344476645704607519471804502664703796477531457298798974040038451225766352562644170552412369633807444501780103080150100305443280795429570600875710123370466825026549812244994845037015293501753714196136625102007611111855344825299999983255505117993845990173629716613405036895262035734114742408899079289155951775084918920799669955472714516886668369974988562536911196782126306859578159738689871126444940945894108982937263231628529307152249564298944865077302889435572383500095470642114198290061652282776267182721323396262010025836176196328602979904354003414044558448295768326194868334388286239707156142245923862738970818550764170061332760842912863830184080292198874528315788415852072464398745496316046354268822699823122458226716698672420899990124502022512579797114649816982233118540867177031826862718336667495052163631945780770417403264381434907268295708495268113041129969727841965386622459953427881948801861322795110759206369483617181339354647793145937941538019929668768018158999011894690903649104503405179982248729929195869480739279696641920933236021643059166188008892468846323263180361355977131334547312546806220974530691551017110113036751412053717910059829173791141494275341513437908869823252734477758093050141930371037953669775825938846859600314279922125242168683266361396388549790564748362202959165142263572670724039349187335485007246519234456414310465927576817356094836743413559139380446922363657867457314620834063872537053825067640737603858645975209285538121176201061641777421810850957281505303136717243186176651238941751362614644981001544911977126062480682677304254671062252081436971699076629417241911823910734088629115047816817379654475221025354827217907118126375612969085743458541911907820693030953672680790745238062589516047535382062015016997556166311149092226412314176214796651222594946803453843991771326653701250506935915617372089746573021778812503810133893622351983973896833131845191730711749054248683819004291809330250224238140243139427374919706016421552485647618080877589958295013869638251506943343059159691350158673187668704255603600959226377699150676461532114794453487875190286220847670238812066395034339604703758471623569883696697818191370548672474122243679350006451156824952345279132049732307209106059867420552626853065633080065938107236906578548957562378551778739113566949615972763647540208640727579821797296443922675298228627117229808848786014920858249785599479653611251555747099621551300997639374407269119072732414832602079374248855081246009589127271017223608885712545496855728308629495572251334648033786434862805290034579921589258193855742672099249083401749362179511705621894010297997341669566671723165319449377848827946148089078934528969074587385088936177604426863546588218878213590366056419685683560911775893761506284898980088633134901578174087946267369405686244201877746679278024488522810565527175202437506407157470727874304394250547159599656869217115380109357263519286499522733717332159424074045944953952597074176671680394773433308971687643790681965765057438236015799218673788345859694647503654519118547573580206288733919792052000477190689769489587194169522427695320630935171338048112955390172333970798767041524645847380438615979566750674570461978181518343543082722965906672541898923161411916417020194861428409611033220531487927581867077992172933473330076828991424475745622442438912138929708943512469156378638805123650448549893868932774669979001050519980231927102351736082108855526324463293769067411678044181559636386212082701507079778890489066058353314377326720179645121151635046316417600596147313696401469491770422797139865241189758697376072569008653129641273647660415731761252170827172146676784215084847432562626037702184474419543619491990683934073720592581050164483781963872623681347847969338266302908775633182261651522434845188752393557804773927646037612115961924228663567332054407569367833640181662735769960176390894146020497216773222737908488044790506463251719525584651757178925272208537448448410436144953211213168033608942413755339678959155426739032475980187418783467070123792375243004304159534984897110236628932948587578364867118045172344263285258430584171361290921773567612102904921650629676287341855203654402003285323673868658245570530997813098750452506224788021462366056700512019628588528635667288230142270007773851481784587387830063234438136559549418990683337206309181484869520022487441320958270638966685550121447341382136077017868791792358907445268490653711279693742032745850161802327260341560135743256956247048279730292377103274503903571847103243279763975113828435444716908782170473754552593930279111581891745773708429060902910512641779678820659797752536845903996661217898485103319071016918879483406467246251109237264940348589246634601724692393890071293345089811785117900675681340069947099943789716372403231257331800619674203823145566648106829207820236425805731438707700461742680362682139071460059105391118736154183909198811262147605910072398266259136903091313583760786589312331382500000395711121696301270648573323004520272307860835193820416378067142029075455940527944177354384169711594780805120311734335612622899310422882531934453079122172586630946720786120519161501496601553150847815130604140061327977295846073988265322477451186662929111562411208563840600346121465165879373522972615615787276489407204034421263698539037028878258314408719866184588900923683857773298029515924619733379633137118740634557094976835185557728161099410248513947363800621947005931815539009097483914566138956885433081064416043147944052488642296509180073444134593693510203662760467400459785059730409563519515917813995231145815299658694432138135158364314294506250999974671025403201524398166479246424172536292083790458124290292289513942402328060124639356816705509031886434211644776292732057685227176030848250952234648024227578695958142540972823183131862777073382493979701422345765288613204880789849588665520038883757494159417046682782456792797823020080628151502928912669508224931060368744640087344315364029416340664016028619531660005058948147820393231642415380847559836178884742364089729906857804781183230926373106554442795271846731232775971844405799649020771073760684034257096642278594873796165529941737085842720593306321912200668469642775347565544943667397446862636762155436465261836064248516647852553227659545343004062201333295844413821856149383407917046505156928712324750151813146663542011597106206311058361735874058404654724415730206142165317695973005760390705319582142414838337143143296587884573156488428039237430454786792551034489840140562483669488859451080533576641363008240977695178740493067949655629402209023336801660831685957632233210611487136886568103147607426859024407158828410607531992121385014665009371572334480650689464152740817969967084271289780746828085766356809215374036879986594594344022423086116695495693204473658645340051643479661996648592626013654440369714434321644913806673462023223761759912758387979524373368909782218272300613932820708936144105003341084484768584601722884753058956720490135920059564219373129185416386463173080582044339968772600390907323080404408148966246469941680790443981810354856516089654310215097585531776170186125854174827458208811935147119201667865880627981598257955717746796333280387478108608659018404527383090470963745566750149705138712931045845019784985521329661182362605210375735585227036084980298316309348831730763119693367940648154063440590418910249740395409274949372723980208697523031320376633611675451651300350935088994537995523733754681264295653108204439748042264656269763660215839331008210221751959697518091783221413019308640533826991791837930241431884098063955678739589415257786168095734032313266211677194049258427484696139843516253798739128021537474329288184439046427494412374928256077320130532507723855903836281435143925746971946494654309536028265556504280826357327095971084915148796748000129686862170243199058661344796365875950486963412960375898681461835923901493175590403693366955973807568868414785165813528807384354959356242542765766271656899623757687896718576986940126228963943616540006943263661397984656286764938861891973922782271325003226896610910251816250340698893444254989077906457326980842505513862865205580047071860306237060432348937807217756635502360802412585935857840812052112456804365448788703401458701303895746703324451815594234817240641849053239649054315670654985370410319209721936505914267506714908061457354781534117560493895666214612027925058722763745894418815867701872669754295235457196083463203637017923880502436359087066327803124154311245961504982635039498985910612242447050039827841117674087019071451623426016356293655004886245945708767153878816082656502002401854605983158791670084293431934644516950161815769272850510140436589603217352739070156390676855383492496652637851695677556831146183382994545197721445589284481546060414309932438126750810268818260824281769258962602313235211215983004059976570820167075630392778895414443961193238071954292559140124905075931431330754500723574394775391900722269635396798000698114963713837657997994032116183686392927451870024325344368110941256436213558952000302061652975873913330774031774642631130657405961052752031471661933638970487579070753473996502310618340645781589506435049247863959270500298656805007283283197586908096984021133867450347436665956161979853861871072183475763661598925589195188366640619070317333853252210796828320170247175446002773794051287240572046722852535055973468640243075914158669676948887300845233535822291472738698140988543748129335178057173255571083430818323901137033732457980167172748341935727209799608888547185875680867310197282587400896457184104609088382811814295282797879650581060641570111031330173020839035661988026329047769427813235435333081411233510008735622847717059887008413237436728180966795704930318290099264066602107694860542185909794389261044613453911764476687158609569164781519181297234828213020950921408612803013978616379251652376649787003025495406682442021855406838902222714200494957523532691663453551397844801479981793403459752662010070249537924548561009707935530498498078077325111894909316458453752510421149762201912885403568796650119839284121635222250314287886440835976521951813192745609815124405624098593310925446746246703183145065900676376573929082237710933515791094398011054346460893172863052029255241768761829425124454328890910851548758943934728118515589904735736008378107964865861235516015122923382488589427605085125828101325844006289015330317787344449968755933065295901484470129155429028841122551205992225508708131740718117063325134881429698870729490263256276832022270940654312394159182722837146141772078358084598238211164078339628852191452602376319115497747339240264598656592247888139612563708570241349130510213127912294488751740992922089356859910822604964344225064986801022309783953545245553150063228064214315803884431899517105205944876488107609632491008632775721377822459906521832378736422008155811771360288786628469033202317571967868623716531619441270364003692360123905832281270673858667194313441488063710309175531431875240272412105836541700610061846948652980238072250434001712278776110228622477470745523047243555652400022847613069460081974169906701045722983806780031920294736433954017562608625252172570301763365650995162694645552194657066297386191635294740271323277412810455679272878058087600746143766699967519209633863239466851795444172830976858721688583796685747868459518436048435479497055389637355037154314374217825358459948185668556882985749469833324184692810176903179682522125744913965275527041220464435694493395589797721290290208920945065564989503621551264267022740128432395942459352615783627629735577847293411465724412833462977561687440999759525144912860814423398421323648394994774234644126566502576185526765687716336208613297493174168531872070759559518003313521268220811371007036238709448869723713530796627508482135222077044521243509246192962400085052109184664282208988335873604565266168075219028256999483698451429400911247705350612103558778744360702283793821198919340449447718760777169450981602116767333314084736760217004482949022035518475274167942609200470776804681276474783770637781625781950917558203555364934477396969031708007793464505696045434972007044889541733898155910428055715230333411086828353613542141037415505361453495801131735871051049431729111069229956573145877769261227173675778046525179889905664620071015715021834867450871745546078283108427224444694214650642827025343107761216366620006739428917684500278287301650071773852822708376864852741375321299238849099239540323969224145718345021604783926360196520427454661890601539295345297481254337479686627138208635561125784748467902196748089519753693333751887262545179823777381836774190968717657694380976216990231561833825937883836895273758800040294520960384412770734699014087572653610142283876809653801055454250956189457282822436715990137823978019661010464553572807238440258353395868620535097880097883026409230745288560194905141294733740467715165452364255955894483433891131004690694244023883943847703452375859017487097067175992991564222107013359352914539261273934065477258360486254854685140318652846086845419463144043100844599066133620543393635164940694703130809802910191551357350510880238931885898222981181047374448793832421057753085827455536427269415757517676525938920758894304649443842263625857327528990052520631897284185317267080270587405166657002115265052396140165042339715528578911635387122291829582634441991878584474237849085881034322870310090092632363240489534632298231901126940554663312775696961055505403869456724481501670377713283454341180999509671687030679437090251360856060688139665551364328449533750716673316689702684012455610014946165734878618733682579895376763399348254391180932555889451552313073599999604568013472558185483948741878690262471815445453467468833825724212261802996689952657583266895981652339827546184943604094422823498802606628239178015140023455178322746357133469526030904071819990264833414513950744976412732411482059731160924888738630247424773394870035815297501916847912980460988838857820662757984104841774478182847710168610172595013982015636442713210322782926618248380462982212074675158011190125283948745291023649722639203159227085616109810830777586119554692521651390388833031717819290622961917001154377493391568538961732479247978595528395434498284925378354073350407249202873740699894508827531246305125506542320213227947422027640336505658275075783829165537910234058006037255548692970134528908090273125288925090110523440619175640699277453734633425509644421544907681168620460986094219957679604667290830718403120961080757460173555271259500199034142194263850085043866777923849705552386474767379373181908574020223983781265512727061634156664660766398434707349711750240410428839994575483359218021849375601129064060649122133309359124832810938147782049046479244741195326995235052425122022087494152228419123777201302037393223359455697437724071011001428547732763732298750993034598003913274603390206845093195178255275364060520179569486721299664688423615885162576629335374898014841761949832585193163392123188942197211973211858424839227241326447935711221827246224347739181258637611452240991066964675286697901400570103511295977984675900966185267297295238778946185959732211124275136743467836713640581232480902129977158377251500233852379991737707866924121983027086125490688849624334979428399117444071809924224788184679907263289580900395413611711710720969907060916182149879971186203422820682927713601626399759592364891961780362357551269113156638621170147791885447027533276222519082726036134232522631108597319713855198401259795536933701287979505748604905311596536183455942810708221522877024809644059505524447999321263695137933829643624907991733577156140474997277143903804862665479017626373933518836185292225335571595945259791756351256881518588914377137457528257203223930959265366495494988018038059752529153711459466897288864370888544507350064498321718978380978801320513831880218834123916344735993318128915037588578438447522460624651483912323772624161171153798362663067767342325319573665931752634923874518102470430992133789813630466144848456618225154583532384581412230949544237803908786873088155174690383091465258205393272269266197644954747098323308705609298363742267986966077476294673481325037204646034446913991086063656496760249924079684924869841906566201446737946850754565261207927635893717056035689358660521569327399276912814832295345216885413034755215058237943008754555695341268404493052279585910766563309348229688852156657362027745401669941873772969321106333933004854323772883074188580095110386007592734207100773240728048862829361801160808888170462187839847393065485949398179515401368315347915662956566130593675722420317539212895166886120973264837948052098620918369021397002841055176018754742966078924547717374800563627561607684062549507658032262667754452330073365634386293495691825106712271539484841589273704104930850642860205064616531968231331493278670191793062783843438093992802498307425365030944094192846815453777834029500551753528304951277200440007590692137189761986144223765614513754907305936815520209720813244606842178631505676429743354458403858367761323664797220349100191647610052908675084197080048407589835175882848685426118252896785629808937088081211730044109108932357994217608874126782593759670687552280261264212708286677510751465215082404570566410367758232768708482299145225463292452912201977347844059753993237396332044679232121752821619920650033604865350832190519747074029147335561101523854686350781606944478305705476271365433962886120580539818533751110418956075219637032319227555783591084651929875251200000",
            "exactFraction": "673491332827777822394273989056774844628972587613845362266627949399379371172615781893800609023103830735474825479207938571958722428085842760825352464642858791026841256623084049659241392997384634083011984535656193002733970691037065360581356668725897588604580686816218087982206239308619739921031579829715930190989719084534908061663934942376025454463107028641064247055390210158473149930459810396539399838114141459743880252725029885537539815880264470293913985591548829326945481528157044234561490962845613286406676803285130804085465256107455148440838141933559224826232026618701078830952090949438898117582820525107130127197794587401072328616109557700631912520805545304748987793764134451615965219140354888092199067185106470138729765949239191995225913657619177500255311231638765523239812460286315474736852226069608467395431973588939999158988440990926548588807433158153534818251437784836115785493094345432155351685872834127908423518477539998670824228046420501083166329720475477281708937375227126700314009990953151662483514651324521143277089488430777290515608579213907560713661661255157425331480902798659497283125728183543172531064937798860527911790282027358314597614178226107708389870723172341395661449351156375816377628249061786882570742663361616550126603629118481788997291623270448103769813841022982869994622252413571203217300694151096593388212089831730986388451895854920996189474569416325032595962382145861464722680164043345912108166856521137796407213546627513236338317860580365366853838356711598937334123917289949451846903064341829258461140580805064739325587959716020092806622684689687635145809262612977620174287283505599329449814466168991449352334163068393076098334947040655023293406482374142181899922012482949662704315132691689249104907327482171912624939735640318433609586568026573699443134853234122021984179490474011305865483612231120345186334179177122826811368758949069444992647708911189427442866357824879070695647588840663570442711861159031854515317678952465584801229931214994638997685186611089289429073899743943848301862844939108038754512940827042718613622128397982537439144039151435383531265756761524829069731594901955397407750557526504818920799968615365023052746101520095533638311251214646661894629348422811770857419186458458073507346274138547385335690951438038640867782214702445225096329690982161933037847392067167765317222723982059297800626601592950653060100134002441621331967279277953046446813902199147423357291385673222660847357843751990891080917057177892753290766252685489055002406381388528750887482913717597965162579020928943030903033660251274108463488761491488267499529507915827425037186167535771863120696650128114776795696699445700103520251357751427329228727528399476817962289108837025382917632487825780269718745835420869098969009291462286741282250500888848956737424759608158839023755439728369680418556596658003570798402869640847628097354776110661947550684717141894251453262411301855273512141616281588903232113548696423740453816039340432722164667388457113233504134040085436240402022199816480654775910871152471364399291016508849248936757465351327084175282130579163804899626805686672396372319920869554207840742763142486904331321952798000383462613009139172281737312967504181773795226896558655065075727066935983002011210486890866441467971539609748883282370837396803967300995627306722129334457030740263624456492297200101662501319986807675161812864809666207944101718778342764597260084560640564939037730952559331069579706324404767343945404400241005919300007857687509013268431986860587247301013550497749062416771755006761095949129923038163154362334326328674744070026126294282334392756552431026229122780958749014297514597735755943716884033142373851315954932419813635039315278040680943284124190965714532267489313455784816532388667050074097380978806196200038609194208195790832096530668691748044048815662817826834626839658985445111283426848641736284253748253155494429628347200811740406356908674140668156685001024152518453324150774097638108336036204043095523438617004706305643123108168214774804258531203831043161942058629505783932038686576191450722595633664813975086041062448616387992389298056087987104637125421239610068283334817592563065256991600527853820966171157317639978221675628862343995392528653713531186230829622549448882720165196815545060694907172251418062720317539509527790934250203077645311204173699948844120498553913265981824330809228691754385650150205248418436471028509632112527991599687957935496989034613887711340240645928697130064150016614065808176615237534606219137272703547695232364435863106809382611000218044875910187673561167883477350673155060183168116497298098207070269649837218289415747758030184843846460981366731651398966863196014239638600454160587706149503525667586201189128471398523035560302540122773853882109565548317795257306381060505957727168684357940106151381267011152587101123201436644624710167902249994032245299327117118738413065778426346357781021647128854791769015197553382342465832405804931192604469366034391565034309285684542997490552385668969177231410561676027815111516078927582171702946060040373276552398170842676912834773187319671087542232219263951380638457582458299153055919483999826970003485108399738291360528838339828413050163146684556344926352910473703092159385724028136958269743781094411341916299881721998622780614453145022154251041034502717105740753258413360635609525866906880932464870437012278931840332808138796127045543289957860007300331555090102422718859895053877215173644394430561497705306542746179805556298326162598065636074430930477348705457179944730245748032398730804331925320836046477852748053866886753320102160965913076488416195898238341597839387837305022592878898553511353717630608669467468461129724469040613686821836434257042681988074423143920812951123850465349900485104308710936198600835656680074593873883305911945962619142863656022314288055703965961645904442028225435524791594981010505988747314650746291645044161750238227873849861408521157204481908034411732878743129479893101980961609859817361565285862003604879847025731620671820482377635882795958304913433567741147978891958427793065558285802808483057700647896612728760273202147705620734028260247956450820186943278436601664286295064417695592668972051205527225173582661247938096773833837254700971415552356175215125547683800214606180744068000274807697859232011020128854121079558418178635111181768804500511042764212553983427473535934065626254813413286098177681669958427239747357368056962686999416077713555891192489374103658053916204777192405934262436455502585322754548515982103726781500363186211342401842755355929520203195623227143172835923765482288415807378909285483099547342616975684153529878702549050542879981817983236250491397544856305148059019278394711995427922430588820333147819010728036884901587821781447503367455433753959488271857821776689461541739501112053858460110086687831873621713515598846854211406768588099922051523867360519446510146127962576344481452932974421581569661341120964297420081713332299658371399416720594393187414564123835325735257508411838187419914682757442620297101638339482858176995107079026849400990233985732810347695216630933277487420478959668613218056035810689327260880718703318837754859075448504129818296574718743774533538094422575258863736227962682107214008596207221230080746623790233125948490140108359066007595461428205842806175131302569831927677749923885251749202001491554766962992475355649953486204240865643159132601480581064687300783485601158497125624314457933928486564228974165945351450848714688599072925258612593766874427687109029648916907470389299636947284549439459958644211049360598317342126649491037551923231883990187786896248076720719291042447461730347894594003452269178947575175654290476398620321194177843302271867787339956047862017792895072612675313321070847461217966816904357644842839394949520817760192676036569468844649670063699083906767611124953327726306880203106712490158262457079698204698418711784657044188916696254042358325836523770148912857738068815075602877521624729005359029097243111408817299530965952108150591689811751639701045330309217112415696286527570032747210423216245139964639098337687534024441234589354962332470538051348849882386702850265147360931638639738523173703242984241096441837937317996764280208599761094780427036414984596903079576946689401169292191785289337317334487261655778614448989326109575291110934219462961969823334376145517394021796955824773630587961268264413992318052820860163520556990506846589548645215450824658060903791370241893417364216702337466648321274805897031529281401214922923006180809002027571263600693712332990718009034045439082228177443590719816627969369785606322187966649166035506957033585739104334257726491616459378638291207500649966059483577711481260373946713373219202224828098925380269158617897460644406358619949359955693550715826308880626414225722202046893652612808700454987250819184803685985051478310587001835244658329925020460537299690843532319298328220135019743879146462155099133720158913661673395493669000957380955471824276661347389959504366882856331303690268744201536035130495597561053658965799358702015444404599401848088366959542898311365103689737673516546236258503087914174273982287255062045576976825779352072656794378262868395525664717050941993363869219567322907451610666367473452633094715768320844274088213056391045372024066584709145874130810482757211512452359849669626949736369817283189027035674815656799138676757654122344743824846611639955151333563936979698093520069866373960054401376785052725231582297165017652495096540296147175209628864205963621234309978783212019182168876960817731883489624405542731235165943812704564241140944704567462360156690060676342115491880732198495417354756083469005014764677815339507705147826038297552454444725625119404287244517182893921560838729758625348225638138613491218506737820219080759973671923598518610110807230092114393849828422589654044061500155880154054554447072859606161157869913916094686223622323717044584816581395118477238286853187477002619175685804527135246678795124745746085403708673424336152218886747804255858369059675597950396047070326761716394726274288883816020081738430148198066913807023021074022497849295323798575605360895036021998346766479941563202772398566362587121331053993161458541061591910609784100957733293918431302905895507529557894330373640955963845855611254215601678511475249604639408309536598045675039735819133433451624767595998379855197651710642364808361386497980560534308073810233720104147100320928512653350466997889466829947122260001715249189696379964298824858980731035202936598867345398032157614940119784910154188711974064037461692610191605665192540997361824721840208449902205133690389128622384711024421404222202244905508946595167627647335531149748527144458501423192038487006881220090804829310599298134785048571680242468026622903172028020999234497551876495465858310941969642601973970416864621806166059046508362906871443954157666057673164715305602982009392540899144896339897076361870102742025582249645210604746516305123719698297211167186800375216046325941872761880902097515995731290447910191357559775517808809637569810098302073053198770445143183437606084222305122203397333896763409731320014789410687648582596089432282448622643110296071340213033065357397669024563479477598372685556682373150355969329480952221008311746229876941616453678215320903975003241662547827038391502730939674333450367157716390002065651916698042125271513173141215815759060711161407263397046432420191383094099800735274843047413988281360035861126641501737941558007125394393395021935932706708246101242428234285579170065920463493428789217030683237679046371626669254554887765655195125793861089685905790168370766721637672057569354336188841625526799029167289139197394085914763409406356621909459527641260421659549244247984035169494209030921156045776833134051976945607661610873462847151774733264690330496363384793297113361395446072481404994943486209480941270301672659661678584762639756285524906653797571742653576815740258187845713206689335328653999709056795969384040902158938726610365916144074502354742071785949660113878128314480467862704371342271809543455682684829415721102753092213110744072037876735506629286076482978134115601478336676040463112275520936309117476943491914419894035500480166647609667985159657481125840012103897133880491129257292397026252900253562403754030372768242655410699954500448909515791576909189910067661458472980259808224274828014476236194946447692061359145273548734483931808233581453710194037157463468126289591338157930990783294160225465123841289168583962068685085462986718963183332468442922076922804711371670195722825080864850218634157377583496192392840787159316407009127881437330594986240971483878107444354356449228311670898153995188387152916696566991815008586761269130488362598607770936793102367372069951052765794020112197736340152659940574570374407903788164293706501239569578306853788254202634378274280405290761626221122016958369352106599392727996194763852412457229820604310686526182212862362966478124362131961864476191437801957277313529615075172466687996592950282161218638069324807965674083267752767867262174536100215379828154035671692060586664229970149717840381394653809379149507840126985720747082225541491733180983307170550827939392134894600723858316628110705211532120996855792136698524183412336009834200472317197399322315328496012244769870860817685616011401537755102066415146712498837923355467406267718946724607801269722563799135512685276002098262419989658220404437457999145437583115106904598833501762093851203595849682360420379205938245314930833522351550876318764785233920455369407372131834202526515350583250029836999468546226412277864490948327122228523389572319031631982444730785078361764544662073158341081301816746823686312876122384288817511241435522098834238656260201315752320144083285681485040824876176742506292142055071869026011742467507815549013464545734240030749567307376672778715998426189624444916495791376128095050739307859918948553972158242121041164540463851947591512531817170741972975258564533063973521823082438921758640990233454984035540437108718693873595195585394550772073380083650110613370949835455407714042645934642540762501651796042587112012135790778034978238018588748539111270975270695574379355112438904072094367045388283053035221775687260585299636289377494962430328989790827745642226398669349210720926515467911217277055001007881670991357771643065401320083177288970712721072202668491891302726333730593465249913024594016183252351448480393898404455447820974400395474089829970662838623717213309924090488853920028895699557401087396833642395604721061906510550988833615723170817949007647573789090310029085459120194841977613399314290199556959233239370735364743075981581425340308455113791362227279689155388267965174583248055400468548420353596840976456698350444101656618551226286167555300128663550948915177367997393179144399836409174108494525693275515962167539771920350686856858498553758681117375409968935161605517299187575071972903937909087676200767970981098145996774859423499827846650987917503463253189252681735045830420399102576976543384945968501134890803314367386044410546653326318353872857506638755312770767451170645617857448743143257712556243265939676182100395330507573944389181136690461740210836600707832851379945820067174881357358034919330371513070592114787500719582000548614671173384183163701050139212336647040888381938790064629934058441083048430346198956761246596703780255187212849152828019796259220646180606847276119966699791175675239363906992585119982967808789107359744321897096296890271653653813225438781762227886496503824116799651089541187964846670450678255010520114586426900300303018825850370261454778652568568422985137372187796285475915514567227416453876469891340626580233395116459960789582429306413224678933841601423911768244157906589631935316781052489566356825337683034131682161922771210018368890398055266757562468588645826605123246419882542594017903972237364403682293875418660475173582510250698690876008536630532855057897844535703343557230484087786087203757275328982032681518345915653934538596460535731324261202618073315839793021414341005444757342942831255956564374520420942958065258730313738025703138159201596486880875830385313519341510487728477971326081564464691964325739234097963692879593616298114013757690774259082056283065053597182130654354859695255370242498535452915393392505803926244119122880056192540198858638064106226242586680560341149845391469815597747704651985623319573935595670782100604951601892358354396065765725800891339086069545535847767429307804693708631768888785502937108658551173535258888716125906053680561798399370012008876135853112093956606985979166314077564707939263105381510174352941931873706620383779437193575691136043652708715874657485995166699253016371586440323701837907458054038917159751985999988180567095299387013059923953670532747468373634222325119710233168494481816376508907846097911891051076548278081461384356658896170700165427649851589895641488882883468896722145764004858169130660723376526398672439373525718441273243412524989380329032181235036863137537333936513098191550437201119923712150807800593649004082116051202210406658473281159918413791562250674754869908022781277222649408917404046442135495309875537137139103311890620682092814319885839807135131908681989075321563188455217057055031213631232101051721517789420995737202599903740604824590545768017381876720515797605711993791446320823481859886293850739128054843740853273825665442113308660677067228278979852066553308373412233449966446897902252033125657998095926296967447227711887303833866094497915957971756400356242389221134825627807049162906044713272200946186326764333148739652838566169004687529822932046054706145300914395216803679917145737400263913821464467923364152910555668814121285569262618610390893581119265789955433832122817898288294617078790659305106948451092692207276944835251889811765541933118672602927196381751246826072449257796361528226869085270605471038664322518027168441652156717573623557328092152766814651120907411308965785447936392511693704609065214436984917181338763659908976591283450459927918119155613995169423007684375672648834815349982070515580654915382214669296147894689118049689704901421175883253049879056236988513413960108790689219738198133285212839580536972359939835162414915169597473338070125343602803951517560872288843661269015657313747591441018473797889638479016595193237380226373220807586156036599898451748176988796205203331956519988736146773425425674611458937605184312801452933943165010796654956403609296174293236630864099720660775517967755230986683168964556492072664565412435879981623976007530705763018299565877633310461806250817100261159717169839528880213259536128655230385139765168832589166766815235410718268738853290229158453557035545328886238158257068426244518630770243944478514970666409546951486796564827934425119187144967913698643947176822510448630468100619817717405818467376229690449187996858283635879588490578406150686692753369774636042164334975957057093322374255921104203990455753219844667318071976944166434038003217513966589140877573939369749974951488292680978809278599694875089646900850239847514490376597253528040551112379696888841951647875777100624828619248945974446839772031599288810738835119055862833444081785696511940490822425004634016108616997167262400791472813061006569574402719868346227143281078204913508180911517768198303379089834427801573634208150824408577699378935868748630041571978972424454240211590244550385773749815597696122037952521930431331443055698187071747983698160373612012261252534602263277318221912916778149173043865387485741504297167956938090193646114430348222622151656810485929586949400374632663897301629644492577970144033689711550670965148670183654762100307574329582997799661353492289943656880026780715240312085844601776339303415707712226128432456884124208181056204005601294808557071088959291940907289320940593177322753838155063251548231999787874013506371177214254707012789934507489615448375723597047924564083566780123498026867/1333221269067226982796801085660399416846848228715105929720660747092969588035222820997044230365473386291993972278240303282837411634705555490435595476674089857690890412762962905642873413479082537857094465407565859548664921549394898990178572616455174108163651646417476569566897679597824752059054404052314171474888750900166415331360908397868401830099331106872924912094097920277841499525668287251003580362502965488662933218057921626000601617062973365932950192763515729350470989987941801652740115267762537181305500173115651929179500693211239000756615452096559062731933870656067315420202506985938599788640464672215317210659212597447655496427384419128233122523838644619389219111778201362992405691671194471752499579526178341127081405586281066826481306977224240503481913818311360256239114943978096230312458266371263371600944134341505484596670053057203983096982209372625331397517578116320885726227642029843114082601195356728138600747598741786831138624614813724326986647880399202878629764350924643935255626616564612956995624084699280825547542680293364312705583371617706326302152462062141076661339367400914642435782690951587266977738015256562663195363495227998391667849228061329556296630928362092579188431536319552633719473416560773786171027780847462857606062906795026403076108924713096316672985953273229307809435639033920696052803326584889827736771613478147251416110755101713576993932564560276740974867107928031611982045297118043413573024551625065872934580636680317634318112853835385794883306692259431544262744734979324596225159265350263597228345976889362309503953917426732005169420788350660009478828278856010478270401806894760280661685993965898353659015364638078853143217348624196174749401471138744509885971650235491816816065133372462742882985237827247893910335463352470126684826457666959160181231906189342990310148703875611474133508514337221707420226787153943917219081392137680962894726654183149348935657709691204049424096829055213292390055335166094144582021968463934935918107160993911725898001663026263553372928389008045696436191343352226951071873761824090963368404616917798676342904972806151734603878864460536535549684964737547581006806311518072417239002631303027543126122125797660388667184217461017172295779668894665920486203155096903917944648035755606589000278526201913079148800941555422405198567469832851186370612015350499761448436013667086227700400705706774689191260629634277344476645704607519471804502664703796477531457298798974040038451225766352562644170552412369633807444501780103080150100305443280795429570600875710123370466825026549812244994845037015293501753714196136625102007611111855344825299999983255505117993845990173629716613405036895262035734114742408899079289155951775084918920799669955472714516886668369974988562536911196782126306859578159738689871126444940945894108982937263231628529307152249564298944865077302889435572383500095470642114198290061652282776267182721323396262010025836176196328602979904354003414044558448295768326194868334388286239707156142245923862738970818550764170061332760842912863830184080292198874528315788415852072464398745496316046354268822699823122458226716698672420899990124502022512579797114649816982233118540867177031826862718336667495052163631945780770417403264381434907268295708495268113041129969727841965386622459953427881948801861322795110759206369483617181339354647793145937941538019929668768018158999011894690903649104503405179982248729929195869480739279696641920933236021643059166188008892468846323263180361355977131334547312546806220974530691551017110113036751412053717910059829173791141494275341513437908869823252734477758093050141930371037953669775825938846859600314279922125242168683266361396388549790564748362202959165142263572670724039349187335485007246519234456414310465927576817356094836743413559139380446922363657867457314620834063872537053825067640737603858645975209285538121176201061641777421810850957281505303136717243186176651238941751362614644981001544911977126062480682677304254671062252081436971699076629417241911823910734088629115047816817379654475221025354827217907118126375612969085743458541911907820693030953672680790745238062589516047535382062015016997556166311149092226412314176214796651222594946803453843991771326653701250506935915617372089746573021778812503810133893622351983973896833131845191730711749054248683819004291809330250224238140243139427374919706016421552485647618080877589958295013869638251506943343059159691350158673187668704255603600959226377699150676461532114794453487875190286220847670238812066395034339604703758471623569883696697818191370548672474122243679350006451156824952345279132049732307209106059867420552626853065633080065938107236906578548957562378551778739113566949615972763647540208640727579821797296443922675298228627117229808848786014920858249785599479653611251555747099621551300997639374407269119072732414832602079374248855081246009589127271017223608885712545496855728308629495572251334648033786434862805290034579921589258193855742672099249083401749362179511705621894010297997341669566671723165319449377848827946148089078934528969074587385088936177604426863546588218878213590366056419685683560911775893761506284898980088633134901578174087946267369405686244201877746679278024488522810565527175202437506407157470727874304394250547159599656869217115380109357263519286499522733717332159424074045944953952597074176671680394773433308971687643790681965765057438236015799218673788345859694647503654519118547573580206288733919792052000477190689769489587194169522427695320630935171338048112955390172333970798767041524645847380438615979566750674570461978181518343543082722965906672541898923161411916417020194861428409611033220531487927581867077992172933473330076828991424475745622442438912138929708943512469156378638805123650448549893868932774669979001050519980231927102351736082108855526324463293769067411678044181559636386212082701507079778890489066058353314377326720179645121151635046316417600596147313696401469491770422797139865241189758697376072569008653129641273647660415731761252170827172146676784215084847432562626037702184474419543619491990683934073720592581050164483781963872623681347847969338266302908775633182261651522434845188752393557804773927646037612115961924228663567332054407569367833640181662735769960176390894146020497216773222737908488044790506463251719525584651757178925272208537448448410436144953211213168033608942413755339678959155426739032475980187418783467070123792375243004304159534984897110236628932948587578364867118045172344263285258430584171361290921773567612102904921650629676287341855203654402003285323673868658245570530997813098750452506224788021462366056700512019628588528635667288230142270007773851481784587387830063234438136559549418990683337206309181484869520022487441320958270638966685550121447341382136077017868791792358907445268490653711279693742032745850161802327260341560135743256956247048279730292377103274503903571847103243279763975113828435444716908782170473754552593930279111581891745773708429060902910512641779678820659797752536845903996661217898485103319071016918879483406467246251109237264940348589246634601724692393890071293345089811785117900675681340069947099943789716372403231257331800619674203823145566648106829207820236425805731438707700461742680362682139071460059105391118736154183909198811262147605910072398266259136903091313583760786589312331382500000395711121696301270648573323004520272307860835193820416378067142029075455940527944177354384169711594780805120311734335612622899310422882531934453079122172586630946720786120519161501496601553150847815130604140061327977295846073988265322477451186662929111562411208563840600346121465165879373522972615615787276489407204034421263698539037028878258314408719866184588900923683857773298029515924619733379633137118740634557094976835185557728161099410248513947363800621947005931815539009097483914566138956885433081064416043147944052488642296509180073444134593693510203662760467400459785059730409563519515917813995231145815299658694432138135158364314294506250999974671025403201524398166479246424172536292083790458124290292289513942402328060124639356816705509031886434211644776292732057685227176030848250952234648024227578695958142540972823183131862777073382493979701422345765288613204880789849588665520038883757494159417046682782456792797823020080628151502928912669508224931060368744640087344315364029416340664016028619531660005058948147820393231642415380847559836178884742364089729906857804781183230926373106554442795271846731232775971844405799649020771073760684034257096642278594873796165529941737085842720593306321912200668469642775347565544943667397446862636762155436465261836064248516647852553227659545343004062201333295844413821856149383407917046505156928712324750151813146663542011597106206311058361735874058404654724415730206142165317695973005760390705319582142414838337143143296587884573156488428039237430454786792551034489840140562483669488859451080533576641363008240977695178740493067949655629402209023336801660831685957632233210611487136886568103147607426859024407158828410607531992121385014665009371572334480650689464152740817969967084271289780746828085766356809215374036879986594594344022423086116695495693204473658645340051643479661996648592626013654440369714434321644913806673462023223761759912758387979524373368909782218272300613932820708936144105003341084484768584601722884753058956720490135920059564219373129185416386463173080582044339968772600390907323080404408148966246469941680790443981810354856516089654310215097585531776170186125854174827458208811935147119201667865880627981598257955717746796333280387478108608659018404527383090470963745566750149705138712931045845019784985521329661182362605210375735585227036084980298316309348831730763119693367940648154063440590418910249740395409274949372723980208697523031320376633611675451651300350935088994537995523733754681264295653108204439748042264656269763660215839331008210221751959697518091783221413019308640533826991791837930241431884098063955678739589415257786168095734032313266211677194049258427484696139843516253798739128021537474329288184439046427494412374928256077320130532507723855903836281435143925746971946494654309536028265556504280826357327095971084915148796748000129686862170243199058661344796365875950486963412960375898681461835923901493175590403693366955973807568868414785165813528807384354959356242542765766271656899623757687896718576986940126228963943616540006943263661397984656286764938861891973922782271325003226896610910251816250340698893444254989077906457326980842505513862865205580047071860306237060432348937807217756635502360802412585935857840812052112456804365448788703401458701303895746703324451815594234817240641849053239649054315670654985370410319209721936505914267506714908061457354781534117560493895666214612027925058722763745894418815867701872669754295235457196083463203637017923880502436359087066327803124154311245961504982635039498985910612242447050039827841117674087019071451623426016356293655004886245945708767153878816082656502002401854605983158791670084293431934644516950161815769272850510140436589603217352739070156390676855383492496652637851695677556831146183382994545197721445589284481546060414309932438126750810268818260824281769258962602313235211215983004059976570820167075630392778895414443961193238071954292559140124905075931431330754500723574394775391900722269635396798000698114963713837657997994032116183686392927451870024325344368110941256436213558952000302061652975873913330774031774642631130657405961052752031471661933638970487579070753473996502310618340645781589506435049247863959270500298656805007283283197586908096984021133867450347436665956161979853861871072183475763661598925589195188366640619070317333853252210796828320170247175446002773794051287240572046722852535055973468640243075914158669676948887300845233535822291472738698140988543748129335178057173255571083430818323901137033732457980167172748341935727209799608888547185875680867310197282587400896457184104609088382811814295282797879650581060641570111031330173020839035661988026329047769427813235435333081411233510008735622847717059887008413237436728180966795704930318290099264066602107694860542185909794389261044613453911764476687158609569164781519181297234828213020950921408612803013978616379251652376649787003025495406682442021855406838902222714200494957523532691663453551397844801479981793403459752662010070249537924548561009707935530498498078077325111894909316458453752510421149762201912885403568796650119839284121635222250314287886440835976521951813192745609815124405624098593310925446746246703183145065900676376573929082237710933515791094398011054346460893172863052029255241768761829425124454328890910851548758943934728118515589904735736008378107964865861235516015122923382488589427605085125828101325844006289015330317787344449968755933065295901484470129155429028841122551205992225508708131740718117063325134881429698870729490263256276832022270940654312394159182722837146141772078358084598238211164078339628852191452602376319115497747339240264598656592247888139612563708570241349130510213127912294488751740992922089356859910822604964344225064986801022309783953545245553150063228064214315803884431899517105205944876488107609632491008632775721377822459906521832378736422008155811771360288786628469033202317571967868623716531619441270364003692360123905832281270673858667194313441488063710309175531431875240272412105836541700610061846948652980238072250434001712278776110228622477470745523047243555652400022847613069460081974169906701045722983806780031920294736433954017562608625252172570301763365650995162694645552194657066297386191635294740271323277412810455679272878058087600746143766699967519209633863239466851795444172830976858721688583796685747868459518436048435479497055389637355037154314374217825358459948185668556882985749469833324184692810176903179682522125744913965275527041220464435694493395589797721290290208920945065564989503621551264267022740128432395942459352615783627629735577847293411465724412833462977561687440999759525144912860814423398421323648394994774234644126566502576185526765687716336208613297493174168531872070759559518003313521268220811371007036238709448869723713530796627508482135222077044521243509246192962400085052109184664282208988335873604565266168075219028256999483698451429400911247705350612103558778744360702283793821198919340449447718760777169450981602116767333314084736760217004482949022035518475274167942609200470776804681276474783770637781625781950917558203555364934477396969031708007793464505696045434972007044889541733898155910428055715230333411086828353613542141037415505361453495801131735871051049431729111069229956573145877769261227173675778046525179889905664620071015715021834867450871745546078283108427224444694214650642827025343107761216366620006739428917684500278287301650071773852822708376864852741375321299238849099239540323969224145718345021604783926360196520427454661890601539295345297481254337479686627138208635561125784748467902196748089519753693333751887262545179823777381836774190968717657694380976216990231561833825937883836895273758800040294520960384412770734699014087572653610142283876809653801055454250956189457282822436715990137823978019661010464553572807238440258353395868620535097880097883026409230745288560194905141294733740467715165452364255955894483433891131004690694244023883943847703452375859017487097067175992991564222107013359352914539261273934065477258360486254854685140318652846086845419463144043100844599066133620543393635164940694703130809802910191551357350510880238931885898222981181047374448793832421057753085827455536427269415757517676525938920758894304649443842263625857327528990052520631897284185317267080270587405166657002115265052396140165042339715528578911635387122291829582634441991878584474237849085881034322870310090092632363240489534632298231901126940554663312775696961055505403869456724481501670377713283454341180999509671687030679437090251360856060688139665551364328449533750716673316689702684012455610014946165734878618733682579895376763399348254391180932555889451552313073599999604568013472558185483948741878690262471815445453467468833825724212261802996689952657583266895981652339827546184943604094422823498802606628239178015140023455178322746357133469526030904071819990264833414513950744976412732411482059731160924888738630247424773394870035815297501916847912980460988838857820662757984104841774478182847710168610172595013982015636442713210322782926618248380462982212074675158011190125283948745291023649722639203159227085616109810830777586119554692521651390388833031717819290622961917001154377493391568538961732479247978595528395434498284925378354073350407249202873740699894508827531246305125506542320213227947422027640336505658275075783829165537910234058006037255548692970134528908090273125288925090110523440619175640699277453734633425509644421544907681168620460986094219957679604667290830718403120961080757460173555271259500199034142194263850085043866777923849705552386474767379373181908574020223983781265512727061634156664660766398434707349711750240410428839994575483359218021849375601129064060649122133309359124832810938147782049046479244741195326995235052425122022087494152228419123777201302037393223359455697437724071011001428547732763732298750993034598003913274603390206845093195178255275364060520179569486721299664688423615885162576629335374898014841761949832585193163392123188942197211973211858424839227241326447935711221827246224347739181258637611452240991066964675286697901400570103511295977984675900966185267297295238778946185959732211124275136743467836713640581232480902129977158377251500233852379991737707866924121983027086125490688849624334979428399117444071809924224788184679907263289580900395413611711710720969907060916182149879971186203422820682927713601626399759592364891961780362357551269113156638621170147791885447027533276222519082726036134232522631108597319713855198401259795536933701287979505748604905311596536183455942810708221522877024809644059505524447999321263695137933829643624907991733577156140474997277143903804862665479017626373933518836185292225335571595945259791756351256881518588914377137457528257203223930959265366495494988018038059752529153711459466897288864370888544507350064498321718978380978801320513831880218834123916344735993318128915037588578438447522460624651483912323772624161171153798362663067767342325319573665931752634923874518102470430992133789813630466144848456618225154583532384581412230949544237803908786873088155174690383091465258205393272269266197644954747098323308705609298363742267986966077476294673481325037204646034446913991086063656496760249924079684924869841906566201446737946850754565261207927635893717056035689358660521569327399276912814832295345216885413034755215058237943008754555695341268404493052279585910766563309348229688852156657362027745401669941873772969321106333933004854323772883074188580095110386007592734207100773240728048862829361801160808888170462187839847393065485949398179515401368315347915662956566130593675722420317539212895166886120973264837948052098620918369021397002841055176018754742966078924547717374800563627561607684062549507658032262667754452330073365634386293495691825106712271539484841589273704104930850642860205064616531968231331493278670191793062783843438093992802498307425365030944094192846815453777834029500551753528304951277200440007590692137189761986144223765614513754907305936815520209720813244606842178631505676429743354458403858367761323664797220349100191647610052908675084197080048407589835175882848685426118252896785629808937088081211730044109108932357994217608874126782593759670687552280261264212708286677510751465215082404570566410367758232768708482299145225463292452912201977347844059753993237396332044679232121752821619920650033604865350832190519747074029147335561101523854686350781606944478305705476271365433962886120580539818533751110418956075219637032319227555783591084651929875251200000",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "sourceRows",
            "value": "722",
            "unit": "analytical records",
            "defined": "true",
            "rawValue": "722",
            "exactFraction": "722",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "eligibleRows",
            "value": "722",
            "unit": "records",
            "defined": "true",
            "rawValue": "722",
            "exactFraction": "722",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          }
        ],
        "plotRows": [
          {
            "series": "actual out-of-fold scores",
            "index": 0,
            "x": "1",
            "y": "1.5572552122415007",
            "defined": true,
            "xExact": "1",
            "yExact": "7202296333450321885249986883703879842597149543163889959557969832448580389753352254575905963373145421275526536269/4624994205723925056357030237676710647864977947578543195747671388104423721311548322906769080886843783837122560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 1,
            "x": "2",
            "y": "1.2423977690805263",
            "defined": true,
            "xExact": "2",
            "yExact": "2124833631674719558087901825078655571211513627889056960458765797910905847819313718381810489378150061867014551/1710268389524931419725645391697494442615347980855072721309314325786549941065426386296705626540016925671424000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 2,
            "x": "3",
            "y": "1.3194219242091341",
            "defined": true,
            "xExact": "3",
            "yExact": "31477332507881705504221486886292006304834668155230771880462047069341358677588837469267370695126382144467738491/23856911826555651553632097100711367167390116859597125981273828940938991948827366597093263839987361859502080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 3,
            "x": "4",
            "y": "2.6570214402506878",
            "defined": true,
            "xExact": "4",
            "yExact": "44191950414595633821551909003077292557031986163510313472243890571165625695467431393110491123469317981260741/16632139186060222697952618770386464071790582843257796394981891230748959491424048537747748775286601482240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 4,
            "x": "5",
            "y": "-3.8724837758226394",
            "defined": true,
            "xExact": "5",
            "yExact": "-24524038174501997318846587874565069916785447879099268438129658105161868501073599317872882042409041773139345470317/6332896299686190107630186373927142911609420151121365138382037547724862044304958069921396418382697443109109760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 5,
            "x": "6",
            "y": "0.39313346522935483",
            "defined": true,
            "xExact": "6",
            "yExact": "286937998911881021600197178634259756463060349843519258882416213288900003809546385207025017045027224009552569107/729874264823730599472775056245792819898978455307618637837886158651017447157566391148285049829507375185264640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 6,
            "x": "7",
            "y": "-1.8394227223577515",
            "defined": true,
            "xExact": "7",
            "yExact": "-73960110568636247641320571067293297568726128440098202020475060043230146867936904803028189192868552633099631/40208327139633787644762048420118782493563386072586555684018312604284827329144894387791924270939882127360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 7,
            "x": "8",
            "y": "1.0702542583929415",
            "defined": true,
            "xExact": "8",
            "yExact": "24918809767568561944193250995669375482915648819302462164486065241275561212853377936583941535982554030511804031/23283074626571283391741472544318518256809481408526418219689928113299881898106485190517450772575584733102080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 8,
            "x": "9",
            "y": "1.936107768681208",
            "defined": true,
            "xExact": "9",
            "yExact": "6590021670526845606018700153874109408425654850459707181620029531133205417864782273450164009781465916670631007/3403747341510684664757823365683855777556203368129358476230491284356640351179535941676089946116603377614848000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 9,
            "x": "10",
            "y": "-0.9179478121689848",
            "defined": true,
            "xExact": "10",
            "yExact": "-2848572248347407536124266450898429694677239585497105283984297858616208087791396940454645720572645738615839811/3103196293498016912579180294791988834181104023037882688205884690109885586163739030731835173188420806901760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 10,
            "x": "11",
            "y": "-0.19375524108849873",
            "defined": true,
            "xExact": "11",
            "yExact": "-151035046708839654176015236182171123890974555160173962571938997167705544062895886015896485512277226693418563/779514638470365756312599577736760310185538788564574851034118240875220196550431224027082747826430153850880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 11,
            "x": "12",
            "y": "1.0197833764192021",
            "defined": true,
            "xExact": "12",
            "yExact": "6546288410480209725594472774912557851778513141727722198298906812779833529288291265292902450305766559851287039803/6419293118374219239845721972526413975311898782107671270429631396765468044143622007489663450403273288460533760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 12,
            "x": "13",
            "y": "1.0269741939556343",
            "defined": true,
            "xExact": "13",
            "yExact": "1393989353614314845049630989281949778335201348721833267308796342421435903857735699019282669030845439610489589183/1357375250341038009161936943206073208509658407581164283453391226633668022280543192129010167882077121140490240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 13,
            "x": "14",
            "y": "-1.7839078267077249",
            "defined": true,
            "xExact": "14",
            "yExact": "-52165097484835517189627755525005298029675660090704820113156036722863958605604644342417324726883860301563772573/29242036333854955034338598423434170457319748820795920705441752972249014293773471876184659804431918505656320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 14,
            "x": "15",
            "y": "-0.15436223966616872",
            "defined": true,
            "xExact": "15",
            "yExact": "-104156251212956142352136447014619688645455326801112982838797022862844925820974656221117164005462020245845816787/674752137816926679767609202853506636823448545257419948606433631003007100599767179908689974918781936069509120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 15,
            "x": "16",
            "y": "0.16394112698040711",
            "defined": true,
            "xExact": "16",
            "yExact": "114309679408362726046188191604747339854113857760231508586439559103748700379898327464530892778860433472605550819/697260544158782568550544276614982994175545740824646889161820196800815502707883938543248989477928536894341120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 16,
            "x": "17",
            "y": "1.619146807049834",
            "defined": true,
            "xExact": "17",
            "yExact": "563750889297010891359054924951170450527048037548483166664209836950600044029627834031639980959663097347248801/348177748208139974464528828122032358495892478189216214178657893710935390127360546740979945209867004805120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 17,
            "x": "18",
            "y": "-0.92709146137216758",
            "defined": true,
            "xExact": "18",
            "yExact": "-913765575243116413651284233004776880890941670656793789535171678543204549294501216066822457102884705584319680801/985626136487841398477087198073558674605529638636942095148005409886164351949524045109003249520617893910282240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 18,
            "x": "19",
            "y": "-1.6026418628266548",
            "defined": true,
            "xExact": "19",
            "yExact": "-5642497493188890839444295853657195144930446718041485058865707129390190143582436709172492424430056455883733187/3520747600612998293976604456906030616610283784003504338131133717119865678959772082660333774637424939368448000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 19,
            "x": "20",
            "y": "-1.3087996718390187",
            "defined": true,
            "xExact": "20",
            "yExact": "-735437444243154772239791426317677997437475102390390915619718001855212222911015729134751686550189410655050229/561917503547183838085627755406973855405757680158377149364115441343878064296510955612482491567779521495040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 20,
            "x": "21",
            "y": "0.6132228135234199",
            "defined": true,
            "xExact": "21",
            "yExact": "3796788789758124623711444902184486150446558845830362396017344306140987669287369723129937149091153119018518639171/6191532190302505445729686202666037670107843745144650157143487376195937955491003816264520372384897042753781760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 21,
            "x": "22",
            "y": "1.4996898664524119",
            "defined": true,
            "xExact": "22",
            "yExact": "2422735067910238530851107070115466683420116178228040380098501461133746453653206313711038375701712237952541/1615490723853015171672419098116301297337818678970788248832052507576121850521373844024031873263784099840000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 22,
            "x": "23",
            "y": "-1.1386848992521457",
            "defined": true,
            "xExact": "23",
            "yExact": "-156849631769627330226804104935770993550336498900485764463681973418969562325761508325036217900635498021827953593/137746300027901930185307942623014571235927779379213950680433603367893795763758367047907016968450570692067328000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 23,
            "x": "24",
            "y": "-0.24604381273611559",
            "defined": true,
            "xExact": "24",
            "yExact": "-1477085183553380737907837937354852856054454652742365238192035151643442256899991235692433773549637921355103399/6003342116704918872517418539622289845501047386971046606177275983193181742532432113112331079593736491499520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 24,
            "x": "25",
            "y": "1.1476855712571414",
            "defined": true,
            "xExact": "25",
            "yExact": "27387068147129959443042798457014362067455537392366687751079230841115704318604715195323944011249583501726879881/23862867002092706157688867442080972979096709586652862408424070920416036226362320138401162979651842688942080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 25,
            "x": "26",
            "y": "-1.4922639956907513",
            "defined": true,
            "xExact": "26",
            "yExact": "-53706672460574137927343694603955331728626012372709680246964421966873329824530136641300461104688037197195849/35990061152493298773674238329549538104225534178242216142579370754542931270263419491696235943857535057920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 26,
            "x": "27",
            "y": "1.255209104015355",
            "defined": true,
            "xExact": "27",
            "yExact": "41302286432269899103616912367966568061497285337762062224266584239751700121280881759452732667037266594063493/32904705917241855483991803115876808751645086100064006758453393007138894454833003930679797975645004759040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 27,
            "x": "28",
            "y": "0.32916783928671645",
            "defined": true,
            "xExact": "28",
            "yExact": "59976209106757989702818582693203094336126770324243089268475068250111891503653604843564457008503496100446631/182205555794035697822639069412394736230060135598808657936360165030058654860128651614064026853668831625216000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 28,
            "x": "29",
            "y": "0.97624287885822736",
            "defined": true,
            "xExact": "29",
            "yExact": "8608200757507071203111271323187926236126220759532430906566268432303495316574905345246531113536229526147118919/8817683533399865741621928600374518986131214859906229160743977111405335436815238196435747472807292234629120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 29,
            "x": "30",
            "y": "-0.7344173254809403",
            "defined": true,
            "xExact": "30",
            "yExact": "-1913790750372255991840569466991224295188322557774237987125818265165616989300119052236459309532831594752521449/2605862748566003233726551373436418826852082176593151739579315009943745828393329263525446924329324075863244800"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 30,
            "x": "31",
            "y": "1.6068740708654585",
            "defined": true,
            "xExact": "31",
            "yExact": "214586977465036415014657616567480669743937075629895915523039590426773291417957888599530101035842888033785592431/133543120370011567094392268074099580069025043712510498812017227628349923679138934856389862749147593751265280000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 31,
            "x": "32",
            "y": "0.98957177330240542",
            "defined": true,
            "xExact": "32",
            "yExact": "2664955912048988218803615639369396884127974654849691028865400693922546541461614124873307035942094773160909563289/2693039538865867081206829095490331731696606347284016518439673797507724605345364867733196265223143237463572480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 32,
            "x": "33",
            "y": "-0.2727864865194054",
            "defined": true,
            "xExact": "33",
            "yExact": "-1264624822313064341901343105946324017035615618188370392218978751068639028676723114230834676568761025664704967051/4635951136909055881260288656903715599926662873316596591304540660167194223604527317704913132019492254184898560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 33,
            "x": "34",
            "y": "-0.53756474378627916",
            "defined": true,
            "xExact": "34",
            "yExact": "-22594035501834465009484153511991658836038396903998611472222684946157512683204039661902844506463319897828391729/42030352181759198111441894459054631431701899620979500458552474402009896426648848846947893689557967682142208000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 34,
            "x": "35",
            "y": "-0.39587723517127377",
            "defined": true,
            "xExact": "35",
            "yExact": "-41124917450486202654951411588573053737376727435975582925274261982937329836310970065428701389210153019558595527/103883006641424507184092633273725878629736004683685548598008650799265970645943257539408158226157187385786368000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 35,
            "x": "36",
            "y": "-0.88731895421491647",
            "defined": true,
            "xExact": "36",
            "yExact": "-2401960355892666108668142273002324142581812581169629492626375779349718439424873473016211414365827132077359266101/2706986416195601980116539062795459349932509778935581352200124823929320114038070655331431941051308981464596480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 36,
            "x": "37",
            "y": "-0.62115157358001849",
            "defined": true,
            "xExact": "37",
            "yExact": "-8663693885354020206441167368383239350232549304879673663058832899969321628903971922131190044970577807186933/13947793507823963119526219406471286762479243320689102974059578900701671740877527838876376784259847290880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 37,
            "x": "38",
            "y": "-0.0070908431123290414",
            "defined": true,
            "xExact": "38",
            "yExact": "-44965643688422688577950261737130563520420584081692694865922156089837890795449889096876916112332191041758786689/6341367729634252354386707116584016813770425628852291128358721035625407077920808714660898985594130790623477760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 38,
            "x": "39",
            "y": "-0.66011278458914724",
            "defined": true,
            "xExact": "39",
            "yExact": "-735685461276662118156663512372944343934650751521124364405875956092033656228018195562295916873826587581115419/1114484491819911040988329339595040404455379170184562999376820021918395143820294970293546082427580695183360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 39,
            "x": "40",
            "y": "0.98534726982863596",
            "defined": true,
            "xExact": "40",
            "yExact": "7841518402892393057844644984257901511367850683539608793168847199956253787327177718008084978845400093699613/7958126685890274638495037967325239181425671049701029787781797603621115387289188350992407522063531376640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 40,
            "x": "41",
            "y": "-0.27373986606954565",
            "defined": true,
            "xExact": "41",
            "yExact": "-5282326009858130306874382810241361960758606698749277644554609133274765939635832439253489011346235012681477/19296882422365604920772948202036657209049787008857550559510491541621517588114685722166634609972173864960000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 41,
            "x": "42",
            "y": "-0.44566561799181859",
            "defined": true,
            "xExact": "42",
            "yExact": "-120377966965334997122103080962944509052769695808770561828507557158680809481843749917837854545022798576691789/270108265267941005583280435194289455017909744314360069909730296418998729204856701997382048404905226403840000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 42,
            "x": "43",
            "y": "-0.28975543830683292",
            "defined": true,
            "xExact": "43",
            "yExact": "-199552274300446569955337272335323810296002616440620200923730968058316200002444036483461177248643870791478801/688692075864105679394022378643208626456293290285278228700114780338850531215744841174418502865900147834880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 43,
            "x": "44",
            "y": "2.2113801590380877",
            "defined": true,
            "xExact": "44",
            "yExact": "130881396499572369208959213054445171296209486655733120585006627355726539368483544488501594521093039305963177/59185389705451421072413250952149838540680545451523834242766277461915176504513524320155764296243892715520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 44,
            "x": "45",
            "y": "0.099706933787772054",
            "defined": true,
            "xExact": "45",
            "yExact": "5181999346457931442839836461217956669819077092339335225968021418011259041903948778909312219591400173707931/51972306735336052808822200531005556691226775888062828444446255028783233353390336133082283242530018426880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 45,
            "x": "46",
            "y": "1.8184401204731866",
            "defined": true,
            "xExact": "46",
            "yExact": "339737422313184519146470146001617199366924287617207406224094014390251649885743965730667868135284750738964808057/186829040169208049742586226317146956932942349233244736987099078922564690699746159891739016485147706164405862400"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 46,
            "x": "47",
            "y": "0.11450671702574697",
            "defined": true,
            "xExact": "47",
            "yExact": "5425258925990879742783867591157219063116834982051504607929520793842857721145980067364379098700328843585299/47379394562250912068181932162649621709575783139241420050711514641736415461697290068702650406321882398720000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 47,
            "x": "48",
            "y": "1.0255893181011007",
            "defined": true,
            "xExact": "48",
            "yExact": "659903955548210598804286576420811513235897138968077805731654659254170531188266472086476658877735352145881/643438795530784274644847963399585595254207951853434999583451935714396002317882126517296428451520839680000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 48,
            "x": "49",
            "y": "0.80228888338578341",
            "defined": true,
            "xExact": "49",
            "yExact": "299518546479408246233108661394504490820558946217590304030943592437633567234001033128989694529327240212153765711/373330046921993430128597649893137931733820062623040947886150343975123563822879325821772690094492633132957696000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 49,
            "x": "50",
            "y": "1.5308778851843796",
            "defined": true,
            "xExact": "50",
            "yExact": "275406710931920580461868310580946402471665891078346773750597711308205275653373762553335249912221671902899827/179901162331279265923555280496446929019952580071915049551764335598391642354182052143467072535056283074560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 50,
            "x": "51",
            "y": "0.29737155884824967",
            "defined": true,
            "xExact": "51",
            "yExact": "19775572338010117970516793095589112759956654919245265533047709362854261828442869108704387556960863565102833933/66501222963631498279056195738284255282727085300691622072737789153326116667914019359770640778253003039703040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 51,
            "x": "52",
            "y": "-0.13049469776330011",
            "defined": true,
            "xExact": "52",
            "yExact": "-92106892691784617929582821452967566756007287109251590469144407971705422938384750600334541506886421346146603297/705828621932625813947073145873316282871510754827881565814726456668333639817131835917741861945943417568624640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 52,
            "x": "53",
            "y": "0.92015927176668744",
            "defined": true,
            "xExact": "53",
            "yExact": "126124632766742469401251260444754920315841398055793777272054223815147032475215648315694329668005543233768097/137068262676510010984600736394414307965199265402927817520696487114597937788733740336316906656694046556160000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 53,
            "x": "54",
            "y": "-0.24331701220431809",
            "defined": true,
            "xExact": "54",
            "yExact": "-24546056833507149206009686518155014779085378267479908251204467138367979888383662828212120215591871460809335007/100880972567981979042776426397798542119613463793537925582976393032280571683641993405862336730516043142791168000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 54,
            "x": "55",
            "y": "-0.8414323835082933",
            "defined": true,
            "xExact": "55",
            "yExact": "-427894688354018606631427100289758275344738757523224594544559687645807071844406506141788205861310804640359327/508531281586693539458079137035792920972710133961180847119394598233203851811662540645736124394228987985920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 55,
            "x": "56",
            "y": "-0.86861203353000149",
            "defined": true,
            "xExact": "56",
            "yExact": "-63122622885765913156489907709601994039165840034719888508699517788809448856965204648234121730046260733245442667/72670675110541952869111789437152234440278984124302971957121873323097787161953066481836219703341167390228480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 56,
            "x": "57",
            "y": "2.7923485811774564",
            "defined": true,
            "xExact": "57",
            "yExact": "5630626350234670317785969866007847530936242085358752034535645701529023446927764119006719580058058802876886919521/2016448228630678315464263028938396709555972614049995126994680357697609686380173081896522490641273727069716480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 57,
            "x": "58",
            "y": "-0.90094849774637931",
            "defined": true,
            "xExact": "58",
            "yExact": "-166780623158341403686571363340415046253822095157659847668330672547767341189846892695166054204928773331342853/185116711527378370297562760810359704247125898707580461446425507210456820954583581282563982011787174215680000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 58,
            "x": "59",
            "y": "-0.31358840664882331",
            "defined": true,
            "xExact": "59",
            "yExact": "-49283721893799323594905701549565913027757530807753907374590858586034359981415230852058004915178420186220679/157160535430732424860885320234945826364449866272126050769728088939274899781846833159323798693969432412160000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 59,
            "x": "60",
            "y": "-0.51559736564816161",
            "defined": true,
            "xExact": "60",
            "yExact": "-87707812823431963219704819737077148452211699887218154232653098851277604660674185002021540761436858144049021437/170109117437351082971697963510541641586830011900049469827389538363372193733212589064550942388060747181588480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 60,
            "x": "61",
            "y": "-0.19970725366094882",
            "defined": true,
            "xExact": "61",
            "yExact": "-2262967297154855247298036509533803185732763927762886841519606935830578296163092276897178037986481164529223437/11331422648256870761643436821927314148595777711065894353935289590674792143579527542429539217820479693783040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 61,
            "x": "62",
            "y": "0.44405918504643571",
            "defined": true,
            "xExact": "62",
            "yExact": "1050147427932898430310407618682544821088296957568952992350277651309255167840368189584738704205207905938958641/2364881671849853615923485936104682399957518706672853724906302873108538994264167275986496545997870185054208000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 62,
            "x": "63",
            "y": "0.84164718370698033",
            "defined": true,
            "xExact": "63",
            "yExact": "219075001986711085603943294591544337559887875785642058168661527392844900799641614831145732918079588681282957/260293156357762036726091514844876521023776602074578077534844453651962817978969714523311328466006662184960000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 63,
            "x": "64",
            "y": "-0.29384329632215217",
            "defined": true,
            "xExact": "64",
            "yExact": "-377274833343273338394293339959173183380376228539340811667884069848727860334982423156082586693047489699500441269/1283932075583755594624351481850019238387443353551416516821097165434248983139574270345743335162395331135537152000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 64,
            "x": "65",
            "y": "-0.14155838768099319",
            "defined": true,
            "xExact": "65",
            "yExact": "-303707066009422012501973379099817236334299351357181062410124602105231785724352026798306734977642285122679364279/2145454402135722146577380060827189741936124399160512859777459379031942547751051243806085412001999218980945920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 65,
            "x": "66",
            "y": "-0.78596766907137661",
            "defined": true,
            "xExact": "66",
            "yExact": "-1621960060381048059829756289949243809167346794537530282278402650130780821437898761827511971279945619684991861/2063647302817683541013406312297519451584253271908150304349944480918075076026593185178336838526372142261469184"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 66,
            "x": "67",
            "y": "-0.41324147992063842",
            "defined": true,
            "xExact": "67",
            "yExact": "-5219637682618466146506191423023939752376682423177790910692197786358854088737246622245519750002116815168216437/12630962612032264881294223008507213087820843360383771386846394919770821116365227983588501359640833205207040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 67,
            "x": "68",
            "y": "-0.94686185641928289",
            "defined": true,
            "xExact": "68",
            "yExact": "-850236841979077785590651291224327996817304795691117463147028714865738710106414886564102863680202894497125493679/897952363604962625312988514902826694149533227713195763467346275515747164846019721089905195193183960291082240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 68,
            "x": "69",
            "y": "0.41497415962735268",
            "defined": true,
            "xExact": "69",
            "yExact": "195095270441364158483107107930564579963657709132702423718219704827460613850231540954655615722176330928047536669/470138359016281780618605197631735182630803900560463485757126985969517381300581567893534685262536806296453120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 69,
            "x": "70",
            "y": "1.0143004922078687",
            "defined": true,
            "xExact": "70",
            "yExact": "6039471232645500660500657394119983738334880685583759265677536532552469230725518609231537948407108851672963139/5954321504369124863513659263907403138881604259032723867927410615011198713617364064515766712545015976427520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 70,
            "x": "71",
            "y": "-0.2217391966661954",
            "defined": true,
            "xExact": "71",
            "yExact": "-480881822460239223836305160696561960946270068022958320617528692812096036620065425197130889073604250192876797/2168682080977118785786884266579268505597829653385911343991040496431409285673841633496669335285167979233280000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 71,
            "x": "72",
            "y": "-0.097644681812085729",
            "defined": true,
            "xExact": "72",
            "yExact": "-28157026897938444089009114197369612617932772899821945666065973872132048745900804291363344601479826466601643/288362114304656140886623531558603128752343198616579690478649601471450989469712833857173709349489241751552000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 72,
            "x": "73",
            "y": "0.8385873842868623",
            "defined": true,
            "xExact": "73",
            "yExact": "5457545959975512875903886579953848069699689281000529973178737672995789685369309343264291319863574379843442323711/6508022970816129576020257770165177822267278078825195375753393118349797136824724493772276709972546709367029760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 73,
            "x": "74",
            "y": "-1.5758601216479862",
            "defined": true,
            "xExact": "74",
            "yExact": "-222611351066217378008709598420895770862606928818847938562578577526250383938610697215479910441262891852981449/141263395150463762138563002815181659877717868842548070449062634312805091523618092799795961989643483217920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 74,
            "x": "75",
            "y": "-1.3618642908042304",
            "defined": true,
            "xExact": "75",
            "yExact": "-225809299652377931386650323006505925049226498985780761693788943729945167831237684384022956008883176610375301989/165808958482220950734477613247919106275094469336398670866717976339354540017490826109203927260320322321121280000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 75,
            "x": "76",
            "y": "1.4986658035047449",
            "defined": true,
            "xExact": "76",
            "yExact": "88227761817856113298626659496760900767945921971920549581091172983288327409485890722579712374029046369155907/58870871418783778669384248993976755191473103859755371363319192127697687572541718717229402423104262635520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 76,
            "x": "77",
            "y": "0.98880898078688462",
            "defined": true,
            "xExact": "77",
            "yExact": "6335992785380933725871411037380380462374336511304282871935867445905448370337780444702982204693772101742752627503/6407701495933837452410932972184761200846266829602830659305319292466493696180579780960142690366873155152117760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 77,
            "x": "78",
            "y": "4.940337425282797",
            "defined": true,
            "xExact": "78",
            "yExact": "372138337891573060624243363686601071217292614161417364870853612259366440209892470696491975742684895792109571/75326502191350012733853292016625812836554450524715829970452874828172018470791815835112317554217083469824000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 78,
            "x": "79",
            "y": "1.0287311363262654",
            "defined": true,
            "xExact": "79",
            "yExact": "6409830287134457943331218480765249682589652524559459262747166085528754489851897728168219353736460404828259834403/6230811978749673128840727321481492034153120759282590701034643851548472850099621879615976599525096783358197760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 79,
            "x": "80",
            "y": "-0.67226257294921854",
            "defined": true,
            "xExact": "80",
            "yExact": "-726921695611336386475447108577611414148867451494751754172967524040506827773958947465339205928823013156598141/1081306211087028124327391170552408865368273932494040221314031079703381391434984256070722144769472447119360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 80,
            "x": "81",
            "y": "0.1152384286513885",
            "defined": true,
            "xExact": "81",
            "yExact": "79277284274337891550116075807396032393464288407192924032687810815554724334371879105920139681948950076810341171/687941385543898475031592524303392515097343840527554511268993706105535158858308545407980749771748317216112640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 81,
            "x": "82",
            "y": "0.40596998836672227",
            "defined": true,
            "xExact": "82",
            "yExact": "7756062354516836496142419715177837006344110471250462301063991348406568961182617741611552069816274170332440831/19105014106389072868478401056855249025188246385436202493620161283804204654650072392112421498873946801438720000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 82,
            "x": "83",
            "y": "0.92447147801761553",
            "defined": true,
            "xExact": "83",
            "yExact": "888536563442048683580099949646970692416467095859230432052835860658104312279041438302422665490955358800646487/961129233913604675394961495441860084964324796112276140214252074958252715130830220802841920423716788056883200"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 83,
            "x": "84",
            "y": "0.67822343475735047",
            "defined": true,
            "xExact": "84",
            "yExact": "15399426116749917782588396385409359396104264768730185742567246512096369686772251878197764298642029685584634283/22705535266942529153308951369008802766055701750140878087558065412341594450348229720358358594215935428526080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 84,
            "x": "85",
            "y": "0.54377584596233419",
            "defined": true,
            "xExact": "85",
            "yExact": "51349418640451149457529793738662622904846951918632130818611954923785530786103488781430717353118035034571392121/94431223861326092319464819770938177216963165965626182218162818217436425416472941672130946293011870641029120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 85,
            "x": "86",
            "y": "-0.41027611579834522",
            "defined": true,
            "xExact": "86",
            "yExact": "-214776153537239028692305414338637496717687325467592152120961993589355135863615454030112241875711050028034417981/523491729756951413382967743114073296817603081184865773507370555381904033450463134539536616257077016621219840000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 86,
            "x": "87",
            "y": "1.0015791091344048",
            "defined": true,
            "xExact": "87",
            "yExact": "21237212989371932279448778812936697055866464112381320259623994990480242938574011084103281745853653294237694589/21203729985668107603490380158748108085940537405259678763447165056322387088325186073318578152030222694324633600"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 87,
            "x": "88",
            "y": "1.0009375674109526",
            "defined": true,
            "xExact": "88",
            "yExact": "142025321191577361496705503413090961385645202290596862091395974627129529023628808754833989617133606747069092751/141892287606851663112730790058135632762643332252443036724980842580105529909434634658499508426618323366576128000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 88,
            "x": "89",
            "y": "1.1934519689485481",
            "defined": true,
            "xExact": "89",
            "yExact": "29068291601190893638006359878049686916369803261364476104973794249753925420993852165066993017231088829411791/24356482168947748860052291543485325715441877783702165573321114085695885157419673823426628010277466537984000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 89,
            "x": "90",
            "y": "0.057997396081991483",
            "defined": true,
            "xExact": "90",
            "yExact": "1447806075439425958463664270026749666739118725861478866093700099000528832629395315728012595368477813225467411/24963294445023850831105386114585392346932776910767819533401385843378880319705302326560972911475336365998080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 90,
            "x": "91",
            "y": "1.2424203729267811",
            "defined": true,
            "xExact": "91",
            "yExact": "5513685102668103349713127690964027289118510239352959697579168169391608010797702031480797382900024406799410407881/4437857928616756820137960509284650714807706405232790013384900076706671976776762591423625148160627393492418560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 91,
            "x": "92",
            "y": "1.0681603013261145",
            "defined": true,
            "xExact": "92",
            "yExact": "747038562169616344302501022302005026585369904209034075960482787275760972188014304228885792283440669186303207767/699369337394558158687685032580758305089526156846841490036885508713507288803378938065604658401986497101168640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 92,
            "x": "93",
            "y": "1.3372076621300626",
            "defined": true,
            "xExact": "93",
            "yExact": "3227392000101230076461690771567152544062152531996904957714698349675387892565587300217110213760325483698603523/2413530890901610742904608376351277890171109514536460784896794860977606517917865402071925069139191996088320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 93,
            "x": "94",
            "y": "-0.29719779777390837",
            "defined": true,
            "xExact": "94",
            "yExact": "-21696742888242567516416064863474389243809894823028187459340284729738728816485810034155429985999068188159308237/73004386475125395029419056972997407829900439116949823026125235825011377665867946588889250179558605759447040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 94,
            "x": "95",
            "y": "-1.6837014946556021",
            "defined": true,
            "xExact": "95",
            "yExact": "-4329701676461198873284154779953629631481676421212876433769954614234560601207667325795504634352530388747270448931/2571537585613910136059860713313929665351758850294980343458309230386287017469172447824481690344672902884884480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 95,
            "x": "96",
            "y": "-1.2429385953677881",
            "defined": true,
            "xExact": "96",
            "yExact": "-2391066659797544890129414059754525055052248385401385708192886966255174755999334327121312476165057555227580764989/1923720663843432532447358756377683186781450881077861101147472448720803130564368949245778292341966186851860480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 96,
            "x": "97",
            "y": "-1.1232854100010117",
            "defined": true,
            "xExact": "97",
            "yExact": "-3275182389161063601180770205532634724197083949407648347948607842453063630626540635548920012462650158951151391/2915717020804279690601310137726047529042415708387225906752158942665391699995902678111396164568489699573760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 97,
            "x": "98",
            "y": "-0.77218952986892631",
            "defined": true,
            "xExact": "98",
            "yExact": "-1526898779162164060761021880553342255837603798358401441800454937470130537145479902914760053438455076908850077931/1977362707082216403461801938148886454354171321702890569909096544657958602887141062770262090220690024017428480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 98,
            "x": "99",
            "y": "1.5785158267856811",
            "defined": true,
            "xExact": "99",
            "yExact": "1610671545182045193346886886647278579828736928914056295970294056231496352018232773767244192936072813724338083749/1020370855870252811973611234667068638888233276562430017980849033132576450955167307530091675239763646047322112000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 99,
            "x": "100",
            "y": "-0.07223103769329596",
            "defined": true,
            "xExact": "100",
            "yExact": "-3008214439191025993937169486919282390906812671908593795616112245396363463763143741270991957762059274887669/41647116464868809540218168216551960743487975792045329759556721868321000992387324007334824825892584816640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 100,
            "x": "101",
            "y": "-1.189892211755943",
            "defined": true,
            "xExact": "101",
            "yExact": "-1550152148338817125246987833168149375552067009644646342955338595113211267737193359510475511885480152814993101923/1302766866631753944124878583680966701341243470396185172666468477690153658250415476060723271145171115431690240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 101,
            "x": "102",
            "y": "-0.81427115486060664",
            "defined": true,
            "xExact": "102",
            "yExact": "-3793798733710754776135541610490497629542290534584156395459409387687625997746150087163197551851128937451999790907/4659134381789819456129866657587021148857926778326277813553164868765142919530611770763954652092292520801730560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 102,
            "x": "103",
            "y": "1.4636012876534876",
            "defined": true,
            "xExact": "103",
            "yExact": "701881048410544269773099175263376074534979715197991168686783195642779227790685541735503635606176311537778481001/479557550496441567464000087882451907450186018817498963995006495389891474274440587305156685120365183167365120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 103,
            "x": "104",
            "y": "-1.5800063988947624",
            "defined": true,
            "xExact": "104",
            "yExact": "-866138699241534697827199422365833068933514279048184589303995456803122580233820750500125035002609127159421934967/548186830032721037064837937855062437203256526760894326422369830422201209947045392839742444876904927686819840000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 104,
            "x": "105",
            "y": "1.2421732778655967",
            "defined": true,
            "xExact": "105",
            "yExact": "434248840421439725746876103599211870511784361785550222123531596601548163257861221984408486808955373677082629/349587974688685528169115910892155173891889061205648775134702971063924904158797455108391587215404913950720000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 105,
            "x": "106",
            "y": "0.82976685495889646",
            "defined": true,
            "xExact": "106",
            "yExact": "144427571164932942423522098020764818848134789957749410523394942814460070379674644082798583133204159944379413/174058014370901029227762666373335020367999720822057383821966279788600903379788263081917177310625414512640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 106,
            "x": "107",
            "y": "-0.0043639282017909299",
            "defined": true,
            "xExact": "107",
            "yExact": "-21126663969226696699237482188359382191145149997884789776736934359412504093812855925622623601014614100302441739/4841203381979666672144537673480629379952629957374441585149819240853540601489891898314230338130297471694274560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 107,
            "x": "108",
            "y": "-4.1482643822692715",
            "defined": true,
            "xExact": "108",
            "yExact": "-10732656137654550641623866423709609139928890540558662327473959971565911649535392971324997419594678331146108153081/2587264250448604453403348547945207901461007735257578674842410590328217055396711632099797077059675756015124480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 108,
            "x": "109",
            "y": "-1.0208621650835921",
            "defined": true,
            "xExact": "109",
            "yExact": "-481890614037116889566853886685295661402302309358524811073261211017329138442793433811669661295968206186643122789/472042779641713781158180628678398563773102505302362252048661932203266716357819744762159070592236690140037120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 109,
            "x": "110",
            "y": "0.88565552471331133",
            "defined": true,
            "xExact": "110",
            "yExact": "1151035856796370502648642739837185676168109946790328181742529102060055974108943309530407468525991815589431558207/1299642834801898155496778040531641360162236511918663962575030994157296096329130440351361842866000425244426240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 110,
            "x": "111",
            "y": "-0.85178465272707937",
            "defined": true,
            "xExact": "111",
            "yExact": "-10081351357027380173319311234999635440945826759594416731356367713823102100369285564276261062802729859961190729/11835563513325650364906710902937644714369773099366278194503658288161965883356072040907352284357710357463040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 111,
            "x": "112",
            "y": "-0.070110817080820592",
            "defined": true,
            "xExact": "112",
            "yExact": "-333836505314416955342817686310437228900968240558183510587759519480607118565497093320436117661825006681366593299/4761554909987502655448375917317952651836773270569481666969645310747300514187802114335511365708638731695554560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 112,
            "x": "113",
            "y": "3.4082380370864143",
            "defined": true,
            "xExact": "113",
            "yExact": "5247415359852382175805275513665238744268493334314446489915831289079377394424741454995959080546965854065059713831/1539627016292036227124623482316186783143396152647576427467264639945611541498331864592106782138922628567531520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 113,
            "x": "114",
            "y": "-1.2214414438604184",
            "defined": true,
            "xExact": "114",
            "yExact": "-281882952457215801107630802749379215314381307821542740676506651632631593535760558410753498219585168378087204983/230778932444205050795550221902031198510838621730470569256784858500973055191621770672442571819693430764994560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 114,
            "x": "115",
            "y": "1.0534183582230108",
            "defined": true,
            "xExact": "115",
            "yExact": "24616699146069957063837074263229481941949554419710761824415633831630568979935320194040871368552942290514941181/23368397706297191657879489659298242207869169925669196288344614969346385301827957659264887860520250460078080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 115,
            "x": "116",
            "y": "0.95328780986846873",
            "defined": true,
            "xExact": "116",
            "yExact": "1763420454565652272113149199786591245801388304085753035438404678419599114878255278139028658800587363788137576429/1849830068433333653772026302311946149783995286873978288132448902683017032336268512552765786351340792163860480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 116,
            "x": "117",
            "y": "0.27424362987684486",
            "defined": true,
            "xExact": "117",
            "yExact": "3287614133899359331118687184638888795320084349405088801659425675521135842685724471353183153372288624528520589/11987932537852327571935791746440443085819491551577491544567097800159258833546379903207155317007505728471040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 117,
            "x": "118",
            "y": "-1.22904463482018",
            "defined": true,
            "xExact": "118",
            "yExact": "-176480160403285007200179111667679314636889004530923765379117453007394366694390407136676809176749478489801399/143591335418917156242375931797515966263140036890730839960776992235511022081250274152758758273849079889920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 118,
            "x": "119",
            "y": "-2.6638620058615547",
            "defined": true,
            "xExact": "119",
            "yExact": "-1843121600743759469726470394652436080935538532699169639656316516542626922397042976592481735215748412924086826571/691898302798027709168307702634272923434866041646490131196137719393084509518819437941477901307987594722672640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 119,
            "x": "120",
            "y": "0.88707208648932234",
            "defined": true,
            "xExact": "120",
            "yExact": "1363192499101688841873460361734119561324000154080666931805134415239790244264569210759679438476415833576425867/1536732493180640318884807992520522422821899518111610671357723165814379248582841556452065493707225442549760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 120,
            "x": "121",
            "y": "0.11883539116763196",
            "defined": true,
            "xExact": "121",
            "yExact": "34440966734808018620852518114284947416313515660374104175230727844291029014257348847249981117299518213093643/289820788204624940529356832190029022598929885463473170097952675585248921108222212386392268649813340323840000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 121,
            "x": "122",
            "y": "-0.13607931759331288",
            "defined": true,
            "xExact": "122",
            "yExact": "-12513601362310422037953170066877033518595721900485998834263787055916527018393615771540170562036913975660579/91958143115536596350127098056739765598503519018563757588890454294013973111445943383225145187416474255360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 122,
            "x": "123",
            "y": "2.1622415365287582",
            "defined": true,
            "xExact": "123",
            "yExact": "1395139041257215129348580436259144348273963724236064605588231229961228654283062116062935060035369825473734224211/645228119841300355384355157204959951245036847711929969012696656538128141619753483330492790421916754939740160000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 123,
            "x": "124",
            "y": "0.13464975278079061",
            "defined": true,
            "xExact": "124",
            "yExact": "344670119876045942473486616024880205219418631673337115519718974635823688580442591623877099062000386750025322127/2559753083521570824334072908585464283945714508055790499413384268757071795609804962477793603288490080841236480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 124,
            "x": "125",
            "y": "0.55543127055600361",
            "defined": true,
            "xExact": "125",
            "yExact": "997868524277193034521068040315627021872148861701326270572913337569795543165739861375091694164536200933794522113/1796565258701218462086840713858857065660146463966817872369161744848290237202177078441027862300334093086228480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 125,
            "x": "126",
            "y": "1.1192449811775713",
            "defined": true,
            "xExact": "126",
            "yExact": "7054506080249469869828708671594644502799693663251555752505249723351349532139689206687688756228683694258685116203/6302915089087410831182620908868906976775204852703440095228914999257216133626069409014876822054307782469877760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 126,
            "x": "127",
            "y": "-0.72213005017979626",
            "defined": true,
            "xExact": "127",
            "yExact": "-103271019507536894545304108547233357152950487923219771928540403432420918125611037859590021465100726884440873219/143008893594477106767233309250244043150275264838717649121258396967480758209083819392225158084207312618127360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 127,
            "x": "128",
            "y": "0.97156725374276609",
            "defined": true,
            "xExact": "128",
            "yExact": "2422731952143888331800256403015094033920103078365132585278633102984802708663783372570019265170047617048591202239/2493632780243265891636299620924212631839570440550846774830551163129320331706253689808359969784386254908948480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 128,
            "x": "129",
            "y": "-1.2453061437578528",
            "defined": true,
            "xExact": "129",
            "yExact": "-172682844175572433980591097246145981886783032090061225281541581423819326486739936902167826923016739334661369/138666981642347272535446650816023134588280336012888752535653696306148203900863741275982045704504071946240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 129,
            "x": "130",
            "y": "-0.3014892645873643",
            "defined": true,
            "xExact": "130",
            "yExact": "-1844021477280628394754830200765883028841389086909308867624460095402575825166323229760180144618613187596204798101/6116375254039188176106609344263719118495620766861449344476172162664804546984115095697458296965301301160181760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 130,
            "x": "131",
            "y": "0.61618894691694703",
            "defined": true,
            "xExact": "131",
            "yExact": "59166882367907793684651621176633558568000599150873055461362883236900921615987153363000507274615442988136927/96020681097810396166540062153343654183498892558488503326784516058588112159247034333047477971689962209280000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 131,
            "x": "132",
            "y": "-1.3701586686650977",
            "defined": true,
            "xExact": "132",
            "yExact": "-55474424928869450684970323238688581991504999700069144181696368303112619394237408599377193702287509203317587/40487591837021639582093801151312919396522328548704885931356884474881018295356994270014064288203926405120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 132,
            "x": "133",
            "y": "-1.273802582336218",
            "defined": true,
            "xExact": "133",
            "yExact": "-2441595633154840737538742032559777627361577768092102433645646661204814857841680273653345687045288371609587952989/1916777110529036393493270500324051639161914018042926640857566839981542557460462681270683113391076296732180480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 133,
            "x": "134",
            "y": "-1.0711606584811804",
            "defined": true,
            "xExact": "134",
            "yExact": "-278425254943349832214896375561944070874836743064915406677970632601785202587262420692935175881752902625990943629/259928566960379631099355608106328272032447302383732792515006198831459219265826088070272368573200085048885248000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 134,
            "x": "135",
            "y": "7.1563999461251937",
            "defined": true,
            "xExact": "135",
            "yExact": "2628251866545157469718006256043586812035905971946185420241834208276983304558963126919052578245293758347641402473/367258941133972621864688144145014700403119439902573771268144049708122169452307594196257477214243222790864896000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 135,
            "x": "136",
            "y": "-0.94048484965089163",
            "defined": true,
            "xExact": "136",
            "yExact": "-18670209606111354707577265140797395670715025279831867254804880890396398915759925657611891890933804580207503/19851685663029812919590128881147578488475929187922797435170725825281398443632993211072753477311342837760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 136,
            "x": "137",
            "y": "-0.48773038137241131",
            "defined": true,
            "xExact": "137",
            "yExact": "-179811646927535561907721055517107467952831980502044640387244144341077035354027034010370498819490522350507342903/368670178842598313528445471468719890987538933015361193317807894330357153387402906284412070335233722806173696000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 137,
            "x": "138",
            "y": "1.761322738890809",
            "defined": true,
            "xExact": "138",
            "yExact": "3278316447576136270253384854931916928228515901367546039673886866529660803175372109758558353185898123841713897709/1861280942549264043625879764825345529216485670958231477474061324124932207082285815514199122616420401524244480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 138,
            "x": "139",
            "y": "-1.425759148639584",
            "defined": true,
            "xExact": "139",
            "yExact": "-12698760537539909460898841437695614231999112975200759389983218046394582362922235060737032587149838906110493803/8906666002919694702009173231368905381181038203097547547055556579380343653197360637881743055273087986565120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 139,
            "x": "140",
            "y": "1.1939386587884944",
            "defined": true,
            "xExact": "140",
            "yExact": "5379294912806371416214174364468471175781637489368296474070227208156520715893279081290067140789221414304964437829/4505503589493294657152102767990623894389657039961472033428444205791906527544826255406619581667773204460994560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 140,
            "x": "141",
            "y": "-1.5165790071358916",
            "defined": true,
            "xExact": "141",
            "yExact": "-727510325472386825883380771728301068736994214346018406849779540063123715509747971385530442234617302312840205767/479704863412499406935994707002652320385814407786423302861488716372426004410301629732559432662990535880867840000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 141,
            "x": "142",
            "y": "-1.9223668590174037",
            "defined": true,
            "xExact": "142",
            "yExact": "-511800516911564703238082633682036140376584435798061213316539739475331643680403674956376034940929217704238731117/266234571466325532481413816781983595660155297331981242864937444912951607466922748301092581144382564543234048000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 142,
            "x": "143",
            "y": "-0.6900924321491213",
            "defined": true,
            "xExact": "143",
            "yExact": "-17627770822984423061788044889397728128753872053480593925692425326841992848755638059083500342889952230946587/25544072071747132067654580552084216088253779954128828434595365497946039591482729297105474885823012536320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 143,
            "x": "144",
            "y": "0.73208648269609822",
            "defined": true,
            "xExact": "144",
            "yExact": "2764194988460061268684371544888490936398256572620079107557693028595843927151967618381222016888425294156823/3775776569839394960921091760183276611714280230066286399786006771241250508806062892121153925810411274240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 144,
            "x": "145",
            "y": "0.73848439707910385",
            "defined": true,
            "xExact": "145",
            "yExact": "6241578717817754461501897069961018199487848871231605225284849647278280185521789668367808954275965065866347/8451876224473810168306312697377938248285893575188723770128208816267814642893642424563115080755424788480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 145,
            "x": "146",
            "y": "0.74616013119417945",
            "defined": true,
            "xExact": "146",
            "yExact": "14421342828731979793952513025253952600808700540722543205288560799804034532812631954740324821686848281816801/19327410063643556193747438169464188077361743449263878207226423287763366556786628586854046953765904056320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 146,
            "x": "147",
            "y": "-0.10794469510892502",
            "defined": true,
            "xExact": "147",
            "yExact": "-54521149447612168783095432655241499943924368635802724402391065405230185800165954452896577446761760487154963987/505084102489667270212010997625453854868599484482780062731090572746690535842271381377139320815921982173347840000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 147,
            "x": "148",
            "y": "0.685173973809312",
            "defined": true,
            "xExact": "148",
            "yExact": "42315919487321135580666330389529270939550326659479611577381392116804616063418473699832524780521128408634221/61759379522342905703066644144497274821081483047296694773707805028217369492283859891445157481535771770880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 148,
            "x": "149",
            "y": "-1.1989986552674132",
            "defined": true,
            "xExact": "149",
            "yExact": "-616263144362127879593726013230578384329184418120449198579281898123475863368743054350318706655200062720873092591/513981514203351956049769682965519106320884657121490690258921313492593379336327581449298421152709509442437120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 149,
            "x": "150",
            "y": "0.81412269113704405",
            "defined": true,
            "xExact": "150",
            "yExact": "2611684880720576469308027281777878804734107793634466339248188978681100482176788059777872256100252453777084007/3207974558568031105440483032167446892078855785113727014888163423058996857133535966574246377811549661429760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 150,
            "x": "151",
            "y": "0.87903007201674277",
            "defined": true,
            "xExact": "151",
            "yExact": "624838149579722778338164194744654009021669754490385306947850647978350096956567508392526305713615181496402317/710826818639057410837973516209917951473289285904948242391350789229497424181359401655590702662953724385689600"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 151,
            "x": "152",
            "y": "0.89964646672268078",
            "defined": true,
            "xExact": "152",
            "yExact": "11532609536775807237562375365020534387485119516163345155638106615983414510123546642799067334936188954759283/12819046106842294399905860450318701757358561294649417786728025699148574798665373757693430114565158338560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 152,
            "x": "153",
            "y": "1.0083650097894621",
            "defined": true,
            "xExact": "153",
            "yExact": "22113891937897506966752243422142169435598794938099617484420447432792954772134117717114482309067936760746512629/21930443562807376478214120012956822509301115160004127326017222712995621437356815340301213549302586964705280000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 153,
            "x": "154",
            "y": "-0.96465847060222409",
            "defined": true,
            "xExact": "154",
            "yExact": "-1369039271943390553445173122481130276396322764754979864343691191036513169062193072487500793330440408586525719603/1419195822837399257041361849102424107468899032709203278573789781868634104381191916434707747236776135743242240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 154,
            "x": "155",
            "y": "1.1140798102866556",
            "defined": true,
            "xExact": "155",
            "yExact": "6507653145369970258616887641112705582752284702720640162137308288382724615930230982259334032255781941876576589/5841280925551944444992885006394114894749700362862554815049719129530022358473612061196495240462163202539520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 155,
            "x": "156",
            "y": "0.89819979652756343",
            "defined": true,
            "xExact": "156",
            "yExact": "15655063905302752092795254709564862384828205109697166110759301865907445337186847981465585013217900115304890477/17429378147072802206397269445329052982593478079052593785165022306551421989648095166400019214795180201738240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 156,
            "x": "157",
            "y": "0.25430109675146229",
            "defined": true,
            "xExact": "157",
            "yExact": "366055181238485487777576355475164834251158200049702978630725114580757325599925728065993169705737402093902511939/1439455770795375473644344346532854653777461832538572950355224298131384927670013507974491882980518938038763520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 157,
            "x": "158",
            "y": "1.2471309087120703",
            "defined": true,
            "xExact": "158",
            "yExact": "7860252064817812580547935953955394814052695891055210842997635644636277110749155619767639481300349764544455023303/6302667995724046266865623669113263651732112730509642884504491991883108030097849999703208409162025752865013760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 158,
            "x": "159",
            "y": "0.82238600991997257",
            "defined": true,
            "xExact": "159",
            "yExact": "358291017493338972701034253283824514527542699914855341492772093312574679554547134070704381975960759619959519353/435672559079895737192828457956954327500055376032331845304092926764206873488141979982759583032051288961449984000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 159,
            "x": "160",
            "y": "0.60198284581033423",
            "defined": true,
            "xExact": "160",
            "yExact": "918227513866071750103530707195305541075343010723942871453129604831128984117514924903550784218858785470598451/1525338338553547641127974557638537988101523997312282593903652632355423161980882237571984320571069049077760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 160,
            "x": "161",
            "y": "0.13063977484174941",
            "defined": true,
            "xExact": "161",
            "yExact": "66063596260007320531293215439534404280271966803467686585284782327109414501244967351294250203357230070377337633/505692820888841204928858687582509685538693091468227473595361087861288897080770214421480656989958008303779840000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 161,
            "x": "162",
            "y": "0.97510874302594053",
            "defined": true,
            "xExact": "162",
            "yExact": "12994151486502297270523922401867290739650536938896470994923311804491936461199124462792020752207015454737681309/13325848608616791428449956109824420907669235859822056667844668140851167306177159199346560198000369850122240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 162,
            "x": "163",
            "y": "-1.106726936686214",
            "defined": true,
            "xExact": "163",
            "yExact": "-18490536233015749400893152458094046100382384134834307057804936736385471051184636683956942705145061979676944367/16707405973491995822132073601723182027456494157557957229745922481382438925949088596525710865937119172362240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 163,
            "x": "164",
            "y": "-0.88001482438097589",
            "defined": true,
            "xExact": "164",
            "yExact": "-455165912808129957763896833618330220748537947814054061702129305573635201487925730677842013190261875042509962323/517225278708577294949723502684411229683056870471734409427278737911400849800643026547166657548429216051101696000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 164,
            "x": "165",
            "y": "0.10842495598156336",
            "defined": true,
            "xExact": "165",
            "yExact": "697331096661703549664110218064897555550732972195438506465581434254326291706338532167862475416020405757849374211/6431463036796419027814531518212138176343909600347196778039423693412168912731426463627218642153031752493301760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 165,
            "x": "166",
            "y": "0.17500624738232282",
            "defined": true,
            "xExact": "166",
            "yExact": "4219411763144269122538216714248816728861133169471150489973508276434842912137073041263201396222563199455320343/24110063647764768169725214964788152836335891739340038846854517282913846282490577639086602032028679096238080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 166,
            "x": "167",
            "y": "1.2732236084060577",
            "defined": true,
            "xExact": "167",
            "yExact": "218864675623935201703992837219437637587571530493665192617454749525074237759246720522962163163053538759637363/171898065806312516251693025818464819674243824795366140336045995343301771003289420147464132498682822000640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 167,
            "x": "168",
            "y": "1.0483860021564093",
            "defined": true,
            "xExact": "168",
            "yExact": "6736990063621963422908793255013430707489742591965451000488617444141461845272484446605384642834192767828103473807/6426058770114014445447374650543236443426332700885733292991273580056980641666392104175364509435546835364085760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 168,
            "x": "169",
            "y": "2.4078067106960845",
            "defined": true,
            "xExact": "169",
            "yExact": "222607868447373254011846426530252673802404852416564749220102961993004177110967065322430235177261568658138313/92452549226020917117621993367340677823082832550513322542683741406663428681764399280513311936507685109760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 169,
            "x": "170",
            "y": "-0.0091630171545179807",
            "defined": true,
            "xExact": "170",
            "yExact": "-59132919982492246916072973427474341925875361315810340623347245169473333608048284929422858643533557489543609421/6453433294440113639618558392436724476304847612855405888235124877426187242362685455346849021608722025425141760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 170,
            "x": "171",
            "y": "-0.023247861705776293",
            "defined": true,
            "xExact": "171",
            "yExact": "-12297792759259747086141905097142478084954330775287925010872724675881094456836382438248114121014975943524725147/528985973630605697806102132106790448420315409164295523267063026611407238135853766776502121298798296002723840000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 171,
            "x": "172",
            "y": "-0.84005501136728511",
            "defined": true,
            "xExact": "172",
            "yExact": "-1579461512620238279011510784729046801455252252436982015445503444886647944584943226828045453818295650081888918661/1880188191544128716285674736116173743789682196051094743654584453757774074481083584234994380491094369611284480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 172,
            "x": "173",
            "y": "-0.59394884935680192",
            "defined": true,
            "xExact": "173",
            "yExact": "-7154725021577446565151154560604533351857565496349799381901012222409759198645937943952233132001587205568448633/12046028928796527925025785270639549792237912279924994851647915226644528557472908500566278823348453286871040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 173,
            "x": "174",
            "y": "-1.310257071145877",
            "defined": true,
            "xExact": "174",
            "yExact": "-6294557783199515795822105740532602516972959149366453206912552416158666789048600008556200716397098169537780778191/4804063203944131750387451878624091902919275549583940514610402311989272865904309081770627201508984432424386560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 174,
            "x": "175",
            "y": "0.38630361776356048",
            "defined": true,
            "xExact": "175",
            "yExact": "2511294936458526637762202904956795740240208853810511336193754619086568376850158912197102475178240639713911474123/6500832042415870229049608810341748626175085783969546218725114182689671055574284869922452023346210137188597760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 175,
            "x": "176",
            "y": "0.46753710219007605",
            "defined": true,
            "xExact": "176",
            "yExact": "3846824975515532619424652344104813358783225458667702453195019994914820060808971176443198148599671245221890093/8227849634811689201789342722056276723249013683007485633146982242093275309459942540022939261338513828741120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 176,
            "x": "177",
            "y": "0.31526982223590311",
            "defined": true,
            "xExact": "177",
            "yExact": "226447461921820030787410943032150643296812245128550025000953793436228450437757521267840251292370905033439348931/718265580625027162724646312407081047596281393177051031532443794387661971628407161127221452526818943974768640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 177,
            "x": "178",
            "y": "1.1499891315089765",
            "defined": true,
            "xExact": "178",
            "yExact": "812252183761417795019520509995118837239053264814508308287322347527375525315616805083267084294810039274866360867/706312922014843904369837225032879621215442189912496913848377820500134695810440543999791780872386107293040640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 178,
            "x": "179",
            "y": "-0.35574534615799952",
            "defined": true,
            "xExact": "179",
            "yExact": "-889344981592732123375373089552312632532891881651590661148404526959190530776195074304889140598283162182043386519/2499948323140512519046651608935967619251340677141848622153834862415880007470752869676458459070020050857492480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 179,
            "x": "180",
            "y": "-0.0025530270032023553",
            "defined": true,
            "xExact": "180",
            "yExact": "-10006196212793897869434849864251089067292543455090359863687681506913478202074841568252976949623156385753133/3919346015628804030777840798941977967964740098926594899069574623635769720728963295388908219181269442887680000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 180,
            "x": "181",
            "y": "-1.4797765799980469",
            "defined": true,
            "xExact": "181",
            "yExact": "-6116265660397953753051805479476668551720669941499068362240624344790423678111144453305883279328365655214380524603/4133235883761605699423412075109509715528722299898345105948581617465393596833231408339862449142847383860674560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 181,
            "x": "182",
            "y": "-0.46952740192851333",
            "defined": true,
            "xExact": "182",
            "yExact": "-81136096353375184107612019109470617457377604035260809714619927085045551954329625450593064581696944671360477/172803751219036093084503594519977970310681894947564554651017169709113779969021723345090003520789167472640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 182,
            "x": "183",
            "y": "0.71078467316945704",
            "defined": true,
            "xExact": "183",
            "yExact": "965617676265061182792329333438168900884519122933107866555392682335444588750612646123032573922594108554820118083/1358523492015210896774840397692968491387810329737331627014494693484445510548979044889378566145314121438986240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 183,
            "x": "184",
            "y": "0.89416782649999405",
            "defined": true,
            "xExact": "184",
            "yExact": "75659839262113235940861540888552129239729647682645008731926608121110514657038807659969151655038311555874969/84614808338906093094574604611627878059840502283961107923438106605728669222401882256687311479537999544320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 184,
            "x": "185",
            "y": "-1.3499451745803246",
            "defined": true,
            "xExact": "185",
            "yExact": "-22811030540110705078636562178439863853493262298056570551151206772103645579826172645362128339901859742302010181/16897745900830582481988637293566669602905609084019719370146098681873923650355646943967990864476818233098240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 185,
            "x": "186",
            "y": "-1.4195687396020567",
            "defined": true,
            "xExact": "186",
            "yExact": "-6132840620708299895169290587211389244675072839941931647545496032556999875871621536268440291653470305738411039/4320213914000036598302177156165056090943438575462695315617505613590411352313384750331916210815798015426560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 186,
            "x": "187",
            "y": "12.786052587710509",
            "defined": true,
            "xExact": "187",
            "yExact": "14536878893694948489630527225743969988138747578048046634500556131346253016795820146793844405940230638262404893/1136932512515025199126745963169379432742049589022768090027189632060518615583801675075684102252230066831360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 187,
            "x": "188",
            "y": "-0.56306403101818592",
            "defined": true,
            "xExact": "188",
            "yExact": "-4745245871719008869965026078695739898696369779626328973378602189049240040575514069803835627464845113491712123/8427542180483814174459814368038403813687882412724165167909377626925335974247455354797136160252242684805120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 188,
            "x": "189",
            "y": "-1.1644783093112461",
            "defined": true,
            "xExact": "189",
            "yExact": "-2839157200118442168672964499127809644460825135651861520517812456555033230381947505602395558240063587684736658351/2438136612263493541768908885425506521894142093466151611447045647272709981328076824051875979009730359701012480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 189,
            "x": "190",
            "y": "-1.0413074737676333",
            "defined": true,
            "xExact": "190",
            "yExact": "-142730206341395027579564694555603422304023772003307784978623064527140641661089579461412265912782656932930911/137068262676510010984600736394414307965199265402927817520696487114597937788733740336316906656694046556160000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 190,
            "x": "191",
            "y": "-1.447095856104037",
            "defined": true,
            "xExact": "191",
            "yExact": "-24835508377896298832268647064173482570603294128772546214536450878670387197833885180519186488843705027720954081/17162310480772176138921464921671471684786822711901357946862774239861055167843076701505235846824815875850240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 191,
            "x": "192",
            "y": "-0.87048575420626473",
            "defined": true,
            "xExact": "192",
            "yExact": "-37990405876517085570327969873972229550034240723043981664913660194403379300953381436138060748073416209801070357/43642765769507494092994944057973150867903127109853612205149675201466834073272471379304523801829378708471808000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 192,
            "x": "193",
            "y": "-0.7791499716801551",
            "defined": true,
            "xExact": "193",
            "yExact": "-1442427188450572903976154085045101821926933006952885197291299248169124635390555483011918303078216533210161173753/1851283117344059152403703004887035695088733096117229438705403661972585343044046712172614609121529925053972480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 193,
            "x": "194",
            "y": "-0.84666095614895154",
            "defined": true,
            "xExact": "194",
            "yExact": "-5521790474398196996599989503213945513077744438030906236032182898566340185839363840054473208538347530095949/6521843760829758486135488593896626862673498406214962647561374820092631657329363753435610105003879956480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 194,
            "x": "195",
            "y": "1.1533293161113274",
            "defined": true,
            "xExact": "195",
            "yExact": "722825387038061069320047007315272942961174949919758147970113883515240579922833308080215215129099223217982268841/626729397181376238761891578705391247929894065350364914551528151252591358160361194744998126830364789870428160000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 195,
            "x": "196",
            "y": "-0.008236057053022057",
            "defined": true,
            "xExact": "196",
            "yExact": "-36135960739521143626899532836485133383042110213666859173278047594394061151563192421508663543988686589588201/4387531619424828201900951720089865489169570785138881933955106181482773151885892068673509903319731724615680000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 196,
            "x": "197",
            "y": "2.1174207424996943",
            "defined": true,
            "xExact": "197",
            "yExact": "206906501220718316937399147329416359476328194261716487845369951529077050489799068189191605752603705030310465109/97716290894769193412315345125873761131832201216981923262877824020868704959970417328707854555072925841489920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 197,
            "x": "198",
            "y": "-1.2320924550559",
            "defined": true,
            "xExact": "198",
            "yExact": "-352454377698170378202692078675763157008701416898039790999605982972276086535142520076753256406076790224225173/286061631375041204062648869249795753084123850756935070568498171266394925274751025532682945595219734691840000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 198,
            "x": "199",
            "y": "0.75034278665062826",
            "defined": true,
            "xExact": "199",
            "yExact": "1077888227885687580544785732128032660695110372651799395438982206702492404235202085176496423036744776220819481/1436527740470662778766150790118092776756285724907918436212407757321069999067583221868838810298078418042880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 199,
            "x": "200",
            "y": "-1.387760813187924",
            "defined": true,
            "xExact": "200",
            "yExact": "-19870589339730890459190613485325955214140158011288947856875298162279600812389822283631351564540122116306384563/14318453980614099798162416483021437512025857528978713504796599354613183245622726274597552453784055699292160000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 200,
            "x": "201",
            "y": "-0.74620570820751775",
            "defined": true,
            "xExact": "201",
            "yExact": "-226593326641674751454564750592278749236549545925107647857949883762328896746822137088712267257927104717093977/303660671781754526601805594943709149581558233232050390686651224543496964691791560004596996326419046858752000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 201,
            "x": "202",
            "y": "-1.3337983821636539",
            "defined": true,
            "xExact": "202",
            "yExact": "-8539274720120073936887919869629479170942652169130234145858647156938792753179770187110699752091620502090071117357/6402223030341272039959303762571258724815424366733803961526884656435108445034090283561070664800548919978229760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 202,
            "x": "203",
            "y": "0.21753672732338813",
            "defined": true,
            "xExact": "203",
            "yExact": "346890503362168114908897657846350121852429399708120412863554159886270435929363184548145441257157219323375841/1594629594875185423559907390357921633679105782243157261512343204264193107481367136220423136864877106298880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 203,
            "x": "204",
            "y": "-0.35857145385867512",
            "defined": true,
            "xExact": "204",
            "yExact": "-1733190862944677682183403212378535206298836059811172756468965355032174690486307253669952573043149290919348227381/4833599675304285772117032937237017172199414329543270594700618024296417870934150563229193320430778963785154560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 204,
            "x": "205",
            "y": "0.21574156768501088",
            "defined": true,
            "xExact": "205",
            "yExact": "5174637664659349564674385686051685328908018816384334032926794339457234383708306666133349905974951586375223309/23985353032265319648426138926040349538616727437844848772018225450070387044841878350444353298783278155694080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 205,
            "x": "206",
            "y": "-0.68438050036303",
            "defined": true,
            "xExact": "206",
            "yExact": "-16701195641762156000862822101252353661580794293316292718744543154079864360011902519755776755089845316721288467/24403377409062647398890794688703756960509996175323403253404596146230555957364085761706515583389009921966080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 206,
            "x": "207",
            "y": "-0.81682909529094705",
            "defined": true,
            "xExact": "207",
            "yExact": "-79452264287608293942085824307908523869441983973253554776434131022618078130437165437347191329510095326091/97269140810059078367864767785829228179900210984407809944601522109261419690598021681904255114742333440000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 207,
            "x": "208",
            "y": "-0.89235967479487255",
            "defined": true,
            "xExact": "208",
            "yExact": "-812264280679285636158389165404265699745394763603079558236879220058684020866154331719802577346085766193973545249/910243149283949345469289899965440372950199281585406732242443645747330048617514693301697099127323001083658240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 208,
            "x": "209",
            "y": "0.5679448129420277",
            "defined": true,
            "xExact": "209",
            "yExact": "2604240267002105257394521714412796853690805717128868224943350396017833884320868318126390174823134501206921378929/4585375564065465244132564608152897670841186653961781880163743271412319271945995377650511484115070811698626560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 209,
            "x": "210",
            "y": "-0.20365310985874999",
            "defined": true,
            "xExact": "210",
            "yExact": "-326339629389130729296337467886110844883475769313918678463698300758394155836662599962384247927616915974369574533/1602428902831259614218667112523305309098451351274018965299816965235664686789969262907405898983495867322859520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 210,
            "x": "211",
            "y": "-1.0705585606704275",
            "defined": true,
            "xExact": "211",
            "yExact": "-1438760781030424879945504985861258063864332188831144279248580368986680552379182500145919315101983579180263743773/1343934684086234558086083597584842008324284827673639923336410234313728279014936359978026968747840944068362240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 211,
            "x": "212",
            "y": "0.75409700027528603",
            "defined": true,
            "xExact": "212",
            "yExact": "35226878072628710103823311810950175823493900596072391418600172959295419484215749759211620587797319627886491/46713987802323838555767652778626741557374304242032142121549666473133475446518286368147498645125170462720000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 212,
            "x": "213",
            "y": "0.81628203263497789",
            "defined": true,
            "xExact": "213",
            "yExact": "67492892414844701741603811099464299009294136333686737674314044305691811727095450193117330837711914510042563949/82683300276714447952973066100993940727224641201531475049259315958150252925686654448164019219744456081984716800"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 213,
            "x": "214",
            "y": "0.35766431440454483",
            "defined": true,
            "xExact": "214",
            "yExact": "10971880339309691864062584999592069991317230781139510033498837418037844277055677601913917100248248400406444011/30676474832486872244883363629518691625672014954531675640928738041870550165764088064557837418881831607992320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 214,
            "x": "215",
            "y": "0.86473956394405105",
            "defined": true,
            "xExact": "215",
            "yExact": "2268318964589406394533531106353852652950616580783856596944507261092461763512190036769735242476694572272409634489/2623123838862734707993544670421193555045569917081802156058730700128077815921999709906822614925250010394132480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 215,
            "x": "216",
            "y": "-0.97155045414473795",
            "defined": true,
            "xExact": "216",
            "yExact": "-136499267913432219762134161201213777634523738486539623535592860349980787303109226907766582796780507952602959/140496324540955927813179059059270429708363190498777342699340989532003019052939846909786080813985861468160000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 216,
            "x": "217",
            "y": "0.99945193551601508",
            "defined": true,
            "xExact": "217",
            "yExact": "907050275187136999186766994000912021039362243821493819075832499467847036560296217199471169027467298626027003/907547669832495488115259547870133681814646069530504551934058321111499450310428776893923406721609540567040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 217,
            "x": "218",
            "y": "0.94985590152926247",
            "defined": true,
            "xExact": "218",
            "yExact": "7680696983136165036411921565276426767096786209118952289027806741339862705800105430523725136437788815059350027/8086170724180675788184700122818067356161874381813512098436812396864223254147192270752496976897708638863360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 218,
            "x": "219",
            "y": "0.97071536083887999",
            "defined": true,
            "xExact": "219",
            "yExact": "55731222956918706297585851545069544185322080990935111722479030490393950457866565275113563762941218402811121/57412528126428828023785567339381321922959420536271242249447483659093840828921279840444946503585240186880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 219,
            "x": "220",
            "y": "-0.36252074504790971",
            "defined": true,
            "xExact": "220",
            "yExact": "-6117997213781814656496030356871029259812302017215214078519125259818553592687716817085979473292803288395228569/16876267902884501705623816726575019612550219046116768085514854439980564363568660429005854600697682712330240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 220,
            "x": "221",
            "y": "1.2481657846105338",
            "defined": true,
            "xExact": "221",
            "yExact": "1345970645723794703681250858558948929114067867605296563915550196852988130492823427766510316444238131313241301/1078358870527587008495479201551756919984630111156306549732394071028053126999454167545371264735295292047360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 221,
            "x": "222",
            "y": "-0.56075124850386338",
            "defined": true,
            "xExact": "222",
            "yExact": "-13574624799389889251276746796182750352994129234618727318243208404402208403928921138972477578904152102244722103/24207926126973866909114468512167704302936231012269729467189964891764306333406146496165810411103417223086080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 222,
            "x": "223",
            "y": "0.41690360849050739",
            "defined": true,
            "xExact": "223",
            "yExact": "223479438309149796450309849683570317922162173637865398549325626975518096972341617637852354330378108695715028103/536045823921522281427299609202575520549543984599857860054999114574115370649103571061866856622221573038800896000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 223,
            "x": "224",
            "y": "-0.40946433442205998",
            "defined": true,
            "xExact": "224",
            "yExact": "-770057459899702145822838278607225696659102327149338693169015241029711227510887667626075789909803022452571603/1880645993225765833364064512588189319355241367378522301905747973986507172777908143794276409436661072527360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 224,
            "x": "225",
            "y": "-2.0638440955577622",
            "defined": true,
            "xExact": "225",
            "yExact": "-3207464785072291627334480250035673527068425904689298990767918075925073542382936049740904886261029018429878269/1554121647064363887946846333753786766193418045716372822256906752485357705313019211416365890953391253749760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 225,
            "x": "226",
            "y": "0.96638717211459324",
            "defined": true,
            "xExact": "226",
            "yExact": "5859775252908039716206334418266396873544730350288312346371942044891222541313528505383619420491976170691057039/6063589648117963280934897215263064031651470301367848101634687441738548962204994451567052677518637617643520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 226,
            "x": "227",
            "y": "1.1236707862900626",
            "defined": true,
            "xExact": "227",
            "yExact": "7013827777892401495086318208432598838654986280549054121591679288529374557113222970632906382483504126892311522103/6241888517053484222904390445492944686939373354546478670081340437536609906889493730828377737077121833249013760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 227,
            "x": "228",
            "y": "0.97780446285290712",
            "defined": true,
            "xExact": "228",
            "yExact": "6152491173598140030845444392249618247081828816653429230227519019046878317707319112078421292773387390176926657831/6292148795933313507438475322362593695786235375397068125435546506557873662832907621255917650239940967278837760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 228,
            "x": "229",
            "y": "0.72729905363742597",
            "defined": true,
            "xExact": "229",
            "yExact": "1099014239962675486715429068326176027879573263274724416291625789714656702149985060911265418759472327295326309/1511089880381664012494661382649002647569760875697249753032866624231806091386895271412398745086175302778880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 229,
            "x": "230",
            "y": "-1.0160453171115298",
            "defined": true,
            "xExact": "230",
            "yExact": "-462067030487586234105668490910406821944153407923191134481804483683714830364487443383010616927683700608679482413/454770100019924437493887180650767287023657977895683523218263278622826876690571992842887070546824607886213120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 230,
            "x": "231",
            "y": "0.8466473493635851",
            "defined": true,
            "xExact": "231",
            "yExact": "5503392188828966438469237331755176024204679472236981220577946270699005160258859554581193364944601698508440327911/6500217821464629557165998851495712270181043589512069503024411073711321678745019327088683604059957346183413760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 231,
            "x": "232",
            "y": "0.72635524855120226",
            "defined": true,
            "xExact": "232",
            "yExact": "4791211765955569891742429217500834338888200581319087758794202032969212139755687209553271581900442841189615271791/6596237551132430417742206516019388144986412709781697562720312798099058204746302666233972447834269403064565760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 232,
            "x": "233",
            "y": "0.95698823357841256",
            "defined": true,
            "xExact": "233",
            "yExact": "23135853700945406003253449823371563296285979419357455572005152643778639707667429575970880757783311861248533031/24175692959603906308282702617883837114065842364306610912418401650561871769248436697886633297322977216430080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 233,
            "x": "234",
            "y": "-1.4176233168912586",
            "defined": true,
            "xExact": "234",
            "yExact": "-17555497924173894023816653196522375956255916907816710586203706287422428110236585170673759959800761410339307207/12383753649503862360705636066586046111713563390664055503515307882862399896505843276150703145864289625047040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 234,
            "x": "235",
            "y": "-0.10961389992526135",
            "defined": true,
            "xExact": "235",
            "yExact": "-18640918575111141689710138798595065121540230977966271557986134811325217419475503259695681208567115054262981611/170059806172585598217711723361086200189202371235783537800754589567731910813956730840806262405294189411041280000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 235,
            "x": "236",
            "y": "1.4847960101812572",
            "defined": true,
            "xExact": "236",
            "yExact": "6054568726011201246790886407791000494414432928769397281373421508181505191438096764295387893782607204447016997/4077710799662027128128046273305123998265726488727296150014274461764844167209249948843781116636884301250560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 236,
            "x": "237",
            "y": "-0.11770813989473751",
            "defined": true,
            "xExact": "237",
            "yExact": "-78349916215416383743048093871424421563830283196186177841418592066237360631808523670012295674597467359481137/665628700661501526405039595014862730888308748587048324448706459768362166656873860589642175581453515489280000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 237,
            "x": "238",
            "y": "-1.2039206629274684",
            "defined": true,
            "xExact": "238",
            "yExact": "-1226029396533859235639081166385310033026941774965873443592860464383567089837808305298255488554730566335299517/1018363945637938487896444111327987595400514956264197184358784140301211923405420731871421098698958422671360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 238,
            "x": "239",
            "y": "-0.30092640671651666",
            "defined": true,
            "xExact": "239",
            "yExact": "-523156270127736000016339984300504246261928392305645000990626891332648565363740930851619112564582833845543133377/1738485750838635283624596984409247059787733352253693846117991284921644152232750173430124958417211323428372480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 239,
            "x": "240",
            "y": "0.16262529274362689",
            "defined": true,
            "xExact": "240",
            "yExact": "164849437952325924125197291227067919375437344217116077289634800348679095584574881795476579612685296486870963/1013676502413467201792749272922672488285999355018598646766773619074697949182517876326217052021311652495360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 240,
            "x": "241",
            "y": "0.85217470641174575",
            "defined": true,
            "xExact": "241",
            "yExact": "2263556143929988454763466484212555325994070667825506183418519551586074218676077684035626183278724520817103412939/2656211369451635163304765049028888741424238201507058914197983664584331830915434683403668875914275152834068480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 241,
            "x": "242",
            "y": "1.0046351501423585",
            "defined": true,
            "xExact": "242",
            "yExact": "484888348207397421378934718091213974092109974416407092800495127178356136085275277278620426717611491499955489/482651187487007517273187381839541115323487618213315182909763675446033812746571141510997197414119028817920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 242,
            "x": "243",
            "y": "0.032607383111213008",
            "defined": true,
            "xExact": "243",
            "yExact": "23235223996293967827985394783372457765386974494030413333225312191720389399518391463229357166508055078011694387/712575551280711429429173575755362630764123254719095261898194880944208771925229919817690523992577487814000640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 243,
            "x": "244",
            "y": "-0.56245478353610956",
            "defined": true,
            "xExact": "244",
            "yExact": "-33036605630377163551684554394858147544419518796874281658906928583665415948502864683096247627104232736269303/58736464863323920854895358122205983656446791953936211657213819717156041532431799626306045458581967339520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 244,
            "x": "245",
            "y": "-1.34061165410469",
            "defined": true,
            "xExact": "245",
            "yExact": "-706556499015652539896277801751245373677677751042585626396632331097600850495457834004165933296765579898496271/527040397457619538798307102364867503170918288692319198033431966687044445272554074063757203677439385927680000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 245,
            "x": "246",
            "y": "-5.629873506427713",
            "defined": true,
            "xExact": "246",
            "yExact": "-496362160841026074196793810107492671268636913338628406175241362436422443117269563028154323018556246415967357/88165774999086878280665920573603106025032179896231402343189706383450311043020564737732525821300907704320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 246,
            "x": "247",
            "y": "-1.5127170155093344",
            "defined": true,
            "xExact": "247",
            "yExact": "-36989301739532227725490682998420500654734516402722001761391435924362664228595340281755213270673899449815951823/24452228249100421802613243443767614968836859368469347469770054410078429930767918260215555419446571386798080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 247,
            "x": "248",
            "y": "-1.6668629242054041",
            "defined": true,
            "xExact": "248",
            "yExact": "-28943129429442135968537849778168766306288930979628075403242939113059926799683139226944732365967006638755757681/17363832987790143181236650216302528276812426571627935620459284885462179051121247707343825290619936429834240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 248,
            "x": "249",
            "y": "0.87351225311572123",
            "defined": true,
            "xExact": "249",
            "yExact": "5391810450591028621672308306680247187275921719102144475524437140260592161547828855703050351272220758127815939/6172564187118199696757550257974773267077804768451065742189454546990581905136072221075487980860259127787520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 249,
            "x": "250",
            "y": "-1.428246061549346",
            "defined": true,
            "xExact": "250",
            "yExact": "-1253724955207712266382093817649130806613584520444364367169081889860212647829644551768584301999789475411586025507/877807395350129632004746526978075848623958206474475216900204242583377814644559834048744882435316722161418240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 250,
            "x": "251",
            "y": "-2.198194593883235",
            "defined": true,
            "xExact": "251",
            "yExact": "-2984251120323827902436142899969737732751609688982969318617859972866320141388868302734382749159870178097887303973/1357591874999555644783546153094215125614634285255875891129527835094099217473024333634605821194529844614922240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 251,
            "x": "252",
            "y": "-0.28845166859887267",
            "defined": true,
            "xExact": "252",
            "yExact": "-391924792252713901661832104798206973581604654192480385252174438712060004577742394926778749576102817904313540301/1358719102428674995508515964133328405127793325292447075308922615462323911311313963823984032440602140727050240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 252,
            "x": "253",
            "y": "-0.61680075212966323",
            "defined": true,
            "xExact": "253",
            "yExact": "-161633809799700186379890671988590630744022276119652606370082082859633169194555663260153378278619902175452369/262051901268955788755828160574874581072209809862585737652443581061447402609450823910561163200750115880960000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 253,
            "x": "254",
            "y": "0.78292604041571079",
            "defined": true,
            "xExact": "254",
            "yExact": "1078106550100076266760458770795033508230537644508250411257455757556738315280727605355689666531239415316827225757/1377022214675135013397303976192537194702953112098896681475663198769982294008371333474873229736866086508298240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 254,
            "x": "255",
            "y": "-0.13666839704466313",
            "defined": true,
            "xExact": "255",
            "yExact": "-13874170696584892723072046237769570308996378335610869255835401578362306053029861922027061674044557456003213/101517036832229931979927771976249962704151891732410545230887040008708767234957891358408930423393273323192320"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 255,
            "x": "256",
            "y": "-1.2383097141252271",
            "defined": true,
            "xExact": "256",
            "yExact": "-2113708878463914575641725324973680578784378428172695613436635453417570452520377008568938164966256435754451031839/1706930709137730883862159286294813371393106213329064251392151539246864895663209509402476943157811082014228480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 256,
            "x": "257",
            "y": "-1.1859809412153755",
            "defined": true,
            "xExact": "257",
            "yExact": "-223841515793258400534974970411365349629502789767972215650113381422214386997528492068657604535603093171913/188739555598481173728471506257189494070700795824266202318320176683234762394198006081990312307966935040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 257,
            "x": "258",
            "y": "1.0371412231212627",
            "defined": true,
            "xExact": "258",
            "yExact": "741279800282832987509041016946536455492726132740037888747792739642939890878613563108800487222463892183013226467/714733715869437031475225759279865247831217860061902472660607459702434378430820123880727105519959127768432640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 258,
            "x": "259",
            "y": "-1.3693314955353362",
            "defined": true,
            "xExact": "259",
            "yExact": "-701874182923631153705873659724966422789043615417517955346523108127370013256838655921578083521472807195862166467/512567033776752114601102537184133050733836059582208877924977646586341890878331321937224497024757255205027840000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 259,
            "x": "260",
            "y": "-0.39610273971034443",
            "defined": true,
            "xExact": "260",
            "yExact": "-117332632994186530361353200653443662212250404699106976330396676648604777940702050832021361180410144637701529217/296217675949395440163200008268703394202110917910709160758115990474478398410282707072693190690707985221550080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 260,
            "x": "261",
            "y": "-0.20232492346155023",
            "defined": true,
            "xExact": "261",
            "yExact": "-1288570188476999265253051813336804799374919914392713694982409698620729858275322534872967878194038477179707327769/6368815894903223491363521539178863734849455204878874756579591732843587569919026980860346857679761214548213760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 261,
            "x": "262",
            "y": "1.235514871351423",
            "defined": true,
            "xExact": "262",
            "yExact": "2095195355573738780504631046720943039555254351980918267707481230196640624390986675501946218474517106448542717/1695807476021705384409771962331027841730221362950484898356813549469721627784866756859834034821647444213760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 262,
            "x": "263",
            "y": "-0.55446594225655965",
            "defined": true,
            "xExact": "263",
            "yExact": "-9147255298131687741985603827876170438539132881454766325389905015388923395324469396987505244697266966962689/16497415983575625878800472356026015982939706986633543108669816874947076927525863768929729402463966986240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 263,
            "x": "264",
            "y": "-0.46066212994576489",
            "defined": true,
            "xExact": "264",
            "yExact": "-754927560847676369398520540376636828766014703337169582467757799293724452901785147123502633007025655058730211/1638787978809016013613088459323556612891676723498126912567914331417521920185961386561266071003518085365760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 264,
            "x": "265",
            "y": "0.68116379886491807",
            "defined": true,
            "xExact": "265",
            "yExact": "11385178883046631091712868700825660405075077389719024104203164849069012436731123889447967023092551426371949/16714304110140228495285248370138405873355741555468014633131423723738811517313401523735838079073420574720000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 265,
            "x": "266",
            "y": "-0.68965484486114237",
            "defined": true,
            "xExact": "266",
            "yExact": "-315516204902582020868721220947197257077745132961999286447530675068034172082611224021370171662289622203921183407/457498714398373031624070990016386844387752437004095605755573587541240918354758906526779944478023680402653184000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 266,
            "x": "267",
            "y": "-0.18749133899718753",
            "defined": true,
            "xExact": "267",
            "yExact": "-408845666152642535748554098129552755500228367604656859617680423776817865269623022072501611714507442707840146523/2180610946294300089308618256028757730889712860531472486538948550351293766186054302866513898861759151126609920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 267,
            "x": "268",
            "y": "0.52166314855045448",
            "defined": true,
            "xExact": "268",
            "yExact": "2394390426714298754888409757396904823525184975929455518635625862229175898066553317278305507262260210854371260053/4589916756373517927182495974937575464287398439502698711810368873196232692057127876486850662630256984257986560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 268,
            "x": "269",
            "y": "-0.077511750049692643",
            "defined": true,
            "xExact": "269",
            "yExact": "-177594190149618341355518983895588757790061030713721167937421172069698894966621945037150460930680293909907/2291190561892397429763585565856823267713511112183152465502728410268742976865303372403040542883524116480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 269,
            "x": "270",
            "y": "-1.3220407193280235",
            "defined": true,
            "xExact": "270",
            "yExact": "-23147888545603746900307293049478244596742812889933760980441559976677424968359032234830409584097252181988181/17509209971512469295493802832324928961445836386128108290553997124307262054640746247087407207488751140864000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 270,
            "x": "271",
            "y": "-0.014042285268502468",
            "defined": true,
            "xExact": "271",
            "yExact": "-3299730445526069191797363663148003079943308962005023428615106005979599896155184442588674849723146304859/234985287824021480178683140900012318568940324684272404336447798821122480505083946668384748912336458219520"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 271,
            "x": "272",
            "y": "-1.9431545280387101",
            "defined": true,
            "xExact": "272",
            "yExact": "-5333560964961980658781042773758228785889354227456568153367496310098497115682430556920603656490267786808476864753/2744795068020307968483376163135290037748334833017010835720742144897196196287046522656999127677956190481940480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 272,
            "x": "273",
            "y": "-0.044342158357365935",
            "defined": true,
            "xExact": "273",
            "yExact": "-295185968491237983719948528520543722441536556273335603306614365164715981350731853040736760473844071163141999229/6657004968324978113192515749669291837454646543808239163933200096918094740336939679027209031033911121291509760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 273,
            "x": "274",
            "y": "1.0128508360670034",
            "defined": true,
            "xExact": "274",
            "yExact": "24034326214183573069911513231045536936027009484088682819478747916197286542921491310601643723928139876840688531/23729383793087594850012087581101177685437661886416514566054164881930876833677460944202042034949280974766080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 274,
            "x": "275",
            "y": "-0.076951984980095797",
            "defined": true,
            "xExact": "275",
            "yExact": "-124877832551493915336344170168864454229196680505073978900369644801736261117196889212507333520622997925304899/1622801966496309328001436660719953104861860136614761578160868595200914838593489868129249307307419248885760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 275,
            "x": "276",
            "y": "-1.5347609498927599",
            "defined": true,
            "xExact": "276",
            "yExact": "-152955046555720560852644609104783821793042620294029475064320679645512596801256946439863083427491803562250673/99660501895365628339898727792674749798349882557476796105279856688515842068311255203520090222912159047680000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 276,
            "x": "277",
            "y": "-1.3245170458228963",
            "defined": true,
            "xExact": "277",
            "yExact": "-240115174840235129764142336159997564139738607110862000801859515883087339468755824309537449208713710405889473/181285077151314646864439598629754766528126222186655802621452670296763604063994973313477129567804257730560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 277,
            "x": "278",
            "y": "-1.6027453834062872",
            "defined": true,
            "xExact": "278",
            "yExact": "-12855774449616794621943378598664524650235632224530696277461316968311182087580818072748200403523125236559976553/8021095916242565063506180505425789177732943207944188620166722901084117707226867498720010398823309634437120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 278,
            "x": "279",
            "y": "-0.5359461641917298",
            "defined": true,
            "xExact": "279",
            "yExact": "-28883621715308232097809159387757409634247581144186987805534216406651019462945438955458623131930865628005720343/53892766932790997979870208769898521184177211936304496975694736711370693714264323950382388050099949802199449600"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 279,
            "x": "280",
            "y": "-2.15151534929729",
            "defined": true,
            "xExact": "280",
            "yExact": "-3260372856650390779872172832612712624397504703687543514898106051319452418464537479006163350560039182785196197/1515384427870926592401728550810342949670741290724353613585357562586989946266352026318189062451134343413760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 280,
            "x": "281",
            "y": "1.5547002963276593",
            "defined": true,
            "xExact": "281",
            "yExact": "2857595630148922974349801568925023114494907738493883529572548400353969493321245432889244323181586076411911613527/1838036332082021522700942979067528238555614552444134772417313122099049418627009236076425936300945258950164480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 281,
            "x": "282",
            "y": "-0.86958721158739949",
            "defined": true,
            "xExact": "282",
            "yExact": "-973502807782755408781276802179048474937390027421130920409636301544347094837257125989250573102169864111790947/1119499913074459567247792950077419304213893767535591666728304394072769705461920886990651239058118001295360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 282,
            "x": "283",
            "y": "0.25880153840498349",
            "defined": true,
            "xExact": "283",
            "yExact": "1568571510787870191744878364219287053762059392731598578469910496114990731368720549908028882324196142144461097/6060904894364668794154421315806922638402641608331545978362071516513904891978450587173747621091277492715520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 283,
            "x": "284",
            "y": "1.0050150720139504",
            "defined": true,
            "xExact": "284",
            "yExact": "25232618796873139873440626906670834592112062971857542050968396316810313557422379594292379572538345192719831231/25106706853967352992339640687883570511443622532718158102251451024198831942689591686131194162072326457262080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 284,
            "x": "285",
            "y": "1.0003305871918597",
            "defined": true,
            "xExact": "285",
            "yExact": "363555857375013348617739556941620511040159876872975720678152594820805541596441764500163960267420772608126973/363435710184162005326166777901963912272931056604235880061563998652344430869581000064775993912807262781440000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 285,
            "x": "286",
            "y": "-0.237358645288236",
            "defined": true,
            "xExact": "286",
            "yExact": "-1523674718285400688446121193224202157029346636786666617057695879444103106175833368135619434038757185068865560773/6419293118374219239845721972526413975311898782107671270429631396765468044143622007489663450403273288460533760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 286,
            "x": "287",
            "y": "3.1234264433719399",
            "defined": true,
            "xExact": "287",
            "yExact": "53906379869204546960319193605402881004272429022013923849061909551695288210183313140976633028050152190635374369/17258731987620985674121235215369605080474101044767037647855648594458415182205150228905145038905848747786240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 287,
            "x": "288",
            "y": "-0.84478888876726432",
            "defined": true,
            "xExact": "288",
            "yExact": "-244421502879128155474722761356838204878056664790460502116320953481799679668305941831490655861260805606669031/289328501036269229645921390395760281187813841566589730420730506919873836885144482469628720774814199971840000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 288,
            "x": "289",
            "y": "1.482481054506199",
            "defined": true,
            "xExact": "289",
            "yExact": "86452226745192822695206676721526587781642023542243726370960073718693866626402494887220352309572192818356997/58315906623163738511818695584005416529472618650296166043110360598946701147740664354728420676911358803968000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 289,
            "x": "290",
            "y": "-0.026855123486262889",
            "defined": true,
            "xExact": "290",
            "yExact": "-35955259249775997432009956643549042889049005800575742121162253853940606654797828512780884920048212437607276471/1338860320942782833003129141112382538477069378346429374367936833739449145018142651725001086773525171787530240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 290,
            "x": "291",
            "y": "-0.79118739740261312",
            "defined": true,
            "xExact": "291",
            "yExact": "-859831867446282981259409957624465555122960529089300146341272687625091953809974080800808472135727016867369363/1086761328945610816126303955398400274171857392663308425118782616031446412678255434945497477555214860943360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 291,
            "x": "292",
            "y": "0.97217816006061053",
            "defined": true,
            "xExact": "292",
            "yExact": "23212030886016197940973814097617024259826138042061737044471138284726796206538842564228550660245255811612835681/23876313868817050327213451041914207368903038637014005019119439412320386661632715060307481339568778069934080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 292,
            "x": "293",
            "y": "-0.17901361436528379",
            "defined": true,
            "xExact": "293",
            "yExact": "-1256151087955922406479039858504042448894056542535420654117875644644171073644160928793257134509485821669673/7017070139663793906869782226300148798987001527793553193553180474528180972760709658113663753116290803302400"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 293,
            "x": "294",
            "y": "-0.12621192141402379",
            "defined": true,
            "xExact": "294",
            "yExact": "-88577638192000554103412212756061682384429816124737045294126816621917940681253610385738071235503785730451100697/701816731728785977347462209393388741890129637131259961268927070608517017876074404094114778659953818353008640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 294,
            "x": "295",
            "y": "-0.97761975932815759",
            "defined": true,
            "xExact": "295",
            "yExact": "-260089020305881446253540730289075909720584226367770870887162030009326842070800032746105182651106694539646303/266043129574856911246345492706970844943429173216365365676847078397613940249754809341484397691837307944960000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 295,
            "x": "296",
            "y": "-1.4057831700462728",
            "defined": true,
            "xExact": "296",
            "yExact": "-23846827381151208860618033606122869337694083513831038620303297111556758351744288442300615060262682135245351781/16963375212669720620546124946662353880635559708986291435709983049521949137113506002768022129771116353290240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 296,
            "x": "297",
            "y": "0.038613374297453276",
            "defined": true,
            "xExact": "297",
            "yExact": "1331426374928262468257003610809533690590560559610344068965675614506021080606075068988511123296661329124836707/34480964151741483575387616777435308627975664658543862637125053310773014035825457735432960122719507427885056000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 297,
            "x": "298",
            "y": "0.48877612494717859",
            "defined": true,
            "xExact": "298",
            "yExact": "347235096140533749545391655565023164991677755623362199533704917426797625295616303367827362827565306402335312323/710417466029174420096505584391790749298502052213430249511055417280365809506958160674024842335101580885360640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 298,
            "x": "299",
            "y": "-0.11044630564153686",
            "defined": true,
            "xExact": "299",
            "yExact": "-56567476369470180055139964046906726425017919217392319980000016828361720943243766437914178996921457071334364133/512171738483176315060962138319449080507970125705832398112661763466077867572095873317454631828255702642589696000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 299,
            "x": "300",
            "y": "0.8145157542287691",
            "defined": true,
            "xExact": "300",
            "yExact": "13612211723716222550002780841807639273356329294186325425217051012842123250286816714072455870248291543279870997/16712030004385927070910123303455743911109903623322392396404652643391214254785079991075325996949954746122240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 300,
            "x": "301",
            "y": "-2.6427699850594957",
            "defined": true,
            "xExact": "301",
            "yExact": "-7062399156149542398992880543940198196231637549023271402383332390928241400769567085736638808327934997186124844023/2672347270506233440978464187788481981590817463784834787146095390710180563690729041519914243767435376832020480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 301,
            "x": "302",
            "y": "0.872252296943825",
            "defined": true,
            "xExact": "302",
            "yExact": "448606854101693308925390365390175042665196456433276747979236513745867396344718406738019626925475276130975689/514308595888495053808447004979506196195285358397453065026547968816756336095231110481494222639501195345920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 302,
            "x": "303",
            "y": "-1.4958930893023088",
            "defined": true,
            "xExact": "303",
            "yExact": "-2410741638098842139104896244514053705270636190519250482337516700675856939390573281498571581680110435815853997001/1611573484321143987438931742130307356005516226730286382767329980351590575028086401185443199695436561535467520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 303,
            "x": "304",
            "y": "0.63974699768470911",
            "defined": true,
            "xExact": "304",
            "yExact": "1353043491907029294970921040947052788458413967459653434246988347410752180246697325145818008873675752116264395529/2114966536464871355105629780659214224963737210325462707157588989058813516962980794214947857840766638798929920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 304,
            "x": "305",
            "y": "3.2505043728966077",
            "defined": true,
            "xExact": "305",
            "yExact": "54648853898987461284722140500558002253265667692717549889085434569271446708887654056271751208779033648377411053/16812422821104674215850620178586945651845920566876941301491411825827420246634174475220553776532152506122240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 305,
            "x": "306",
            "y": "1.9570236855301397",
            "defined": true,
            "xExact": "306",
            "yExact": "8081791233183432305853543520343427299201779288001672441504164267772298964208322574849426894116515060838468839/4129633837821512849195172637501834691003305536012820124954803814725566020016182266415035030242634954178560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 306,
            "x": "307",
            "y": "1.1744237111797906",
            "defined": true,
            "xExact": "307",
            "yExact": "1684016533839892576166620651522657654401396881668134955351830236186374335658070183835887305138257405170733017/1433908833591396397808002391674090216016893411570662381465151594937530903321095776416340144344399227125760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 307,
            "x": "308",
            "y": "-0.91911356966868341",
            "defined": true,
            "xExact": "308",
            "yExact": "-23129308014238650775795292733353495466611751359067334151576942785384291695094694567712577683858192755268403187/25164798755583781897651608761017648219095104780969474276834935537284947069268414366559400890860754126766080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 308,
            "x": "309",
            "y": "0.96215950216296597",
            "defined": true,
            "xExact": "309",
            "yExact": "18382070861419752349482488853572798158566686874479468442909239133192431274893582342876125041681094420369985791/19105014106389072868478401056855249025188246385436202493620161283804204654650072392112421498873946801438720000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 309,
            "x": "310",
            "y": "0.11873861099602219",
            "defined": true,
            "xExact": "310",
            "yExact": "93760411213012912224425155109299862936157861362980931026040940904383146248147563184609110777786671701459439/789637089624991015322012450230581731670469974377293015717027074478452746467083001742448316106424063098880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 310,
            "x": "311",
            "y": "-0.33859745565196647",
            "defined": true,
            "xExact": "311",
            "yExact": "-945716679514831267875216199158476096120966084746064908862519766611414899059766089794381456073087223060534723/2793041305327773085105687506074040676595047342513234671975092216866761397474469577090750304331669873623040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 311,
            "x": "312",
            "y": "-1.23822887242602",
            "defined": true,
            "xExact": "312",
            "yExact": "-68281221704688420389333732625046033036880083695217286200986179743985920582496448048943282445750159310916417/55144265511195301716927430649489197823486227441788170510777745548358884522091066445788456598492395601920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 312,
            "x": "313",
            "y": "0.12487635801612681",
            "defined": true,
            "xExact": "313",
            "yExact": "342171825256124680869813642047375934173202411516579004140451221400514995351531110831431102297896764908994604723/2740084918331265230322827607899787091311475899779916758677080102417897739355714281510426229071838310149652480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 313,
            "x": "314",
            "y": "1.1337617879098718",
            "defined": true,
            "xExact": "314",
            "yExact": "358607706296696450227735888101620456232692381351701510499378035675810381959321665059217742267086786821337503123/316298988130303697037463847157519826756019923679707623871126571361129394338551359360461238673727624214216704000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 314,
            "x": "315",
            "y": "0.89978150872343121",
            "defined": true,
            "xExact": "315",
            "yExact": "580536093203723755167412949814778281340550468709519553339226223407339614664214933257291939802056850941106601541/645196736735968048592773125640928504252332560368940717672223370757263852299717148029307255535112221354885120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 315,
            "x": "316",
            "y": "-1.0891961542075326",
            "defined": true,
            "xExact": "316",
            "yExact": "-5161707498114531602537274079633344657394129439908698186623424825832612780612044192918531977650557986200137643423/4739006356361990043110328497749294925309456392326587660288463934385555663931780893007846554539590128039362560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 316,
            "x": "317",
            "y": "0.44100170864146016",
            "defined": true,
            "xExact": "317",
            "yExact": "678321905647898956518469633507039921812789600113723187159618415289131127068459421504596731521215057767124363/1538138951292325004588480006355384420435985878742623001969966589933854663445067219374286630272417016053760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 317,
            "x": "318",
            "y": "0.8302127684835372",
            "defined": true,
            "xExact": "318",
            "yExact": "2223824531596109090521540436478965354173718453354001077110032882387187485494517868685136340248834172490169654739/2678620006842507057860935405919899664990998264166497319442236215984688166300176575663306605699905905602068480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 318,
            "x": "319",
            "y": "-0.79722305162801665",
            "defined": true,
            "xExact": "319",
            "yExact": "-1460920691614100093502306969403000916481014444857861754304136275669988158424330220935111584128895007070380968711/1832511853026251922285697557400352074347488409562146281837247030130802827953605925826796522104596049800724480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 319,
            "x": "320",
            "y": "4.3318957083913645",
            "defined": true,
            "xExact": "320",
            "yExact": "53422453207981714029922647220276414493701959385477260166663129653496616771027810418851390965471889046582151/12332349808075128026393128843542593032018588030062499187897900896601873638121087301740278759225642844160000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 320,
            "x": "321",
            "y": "1.0253156159583618",
            "defined": true,
            "xExact": "321",
            "yExact": "6452294640186992161454304065676350714332175981264500949316901306718214555013886190942019716551098009626485254103/6292983877121618385595911199860167977375226939557956589231773212540007402958868412857883836722474818742517760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 321,
            "x": "322",
            "y": "0.029823611315822198",
            "defined": true,
            "xExact": "322",
            "yExact": "50138776858659984366333589206764667670187478715836980936048663752344656191628556926876779231461560456766247049/1681177250055564738296572891270669262987395883725604805691901450838137491797322888998438327741848061062676480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 322,
            "x": "323",
            "y": "-1.7151529216763697",
            "defined": true,
            "xExact": "323",
            "yExact": "-43507760449383490489110008514656196229722498975229463975329290532280839374992729098332635381141271839853941507/25366694654176684791891886197654522610118546805740020249412191513971984863292849807747368399092903266222080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 323,
            "x": "324",
            "y": "-0.30262727312679338",
            "defined": true,
            "xExact": "324",
            "yExact": "-252247858826301386326286618053356128093482435874431391942756578830648391127921470305393274445658997964202475403/833526523303852117518803392300298906564405236708650320901557893184218476879580514665995127215360264933212160000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 324,
            "x": "325",
            "y": "-1.0701527676490572",
            "defined": true,
            "xExact": "325",
            "yExact": "-151838995463975146146729031395267644900241660046123650119480016373631010652340292007147498143003131704079287769/141885345769407737820535473125223478550716484229650707571018951135488156338094351921918663099126274827747328000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 325,
            "x": "326",
            "y": "0.12763034031542075",
            "defined": true,
            "xExact": "326",
            "yExact": "199516608301387523125856936116372526230822962152011082486089189186794975616558973445542323778218247687352531487/1563238081229821745585795722377174699704621684421902400504872074849666754816647303305422255589158274748907520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 326,
            "x": "327",
            "y": "-1.3508621194856616",
            "defined": true,
            "xExact": "327",
            "yExact": "-6332566164911198914572091531246568289321950329590848940630178640639646104058445530782291412999484864949988954103/4687796092263148443451073867883829173820033146204985733580223713394476866603185721222068197731417022592450560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 327,
            "x": "328",
            "y": "-0.90481095507303932",
            "defined": true,
            "xExact": "328",
            "yExact": "-1989027154658995940760878854382554664145666922421175834379237427267696469642749807932882824898558200341369673991/2198279257680335229543334233525607044634512790649527947222696867954748480238455170814428874364363181832273920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 328,
            "x": "329",
            "y": "0.23933931512348272",
            "defined": true,
            "xExact": "329",
            "yExact": "1475338808058314702022713442995117422064244096071530011634906411486634087069816184609146395390879162935641803/6164214213185747218404844582951273247323072023039447538400956518635472889410997203754691971810634713006080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 329,
            "x": "330",
            "y": "-1.5496950237533598",
            "defined": true,
            "xExact": "330",
            "yExact": "-26979518136255042655735507919144250820704236224360073244564527267286580461479296016415993953809674135639839581/17409566219623443192918481799813326379349001100988109669200734598555199378081675073714117669648456079114240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 330,
            "x": "331",
            "y": "-0.86334669724896895",
            "defined": true,
            "xExact": "331",
            "yExact": "-5590469581372738704164668891431871757540793201890622092772449417511869906139182884606198996667457471031290633469/6475347156810375289425075230890734380428217464331512679348863421551728246948643444943137123874018966120693760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 331,
            "x": "332",
            "y": "0.71760567858585722",
            "defined": true,
            "xExact": "332",
            "yExact": "707791861064103808107910735095177363254067447892632809058384890191157474062242066339694505632104461801083771861/986324219812344738356205487150971466879514079508273508085933976362938531922611224378012502566426150711590912000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 332,
            "x": "333",
            "y": "2.1445189317779878",
            "defined": true,
            "xExact": "333",
            "yExact": "3771172917690687886188382336596743114070036210972421771037916352989306528855421926458541619949475711610827962609/1758516962386555455795843243402077261086917280115886063992573008988655694116036771484817867738388189523476480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 333,
            "x": "334",
            "y": "-1.7328000534595558",
            "defined": true,
            "xExact": "334",
            "yExact": "-9818422352085034563151913796003476951372804825978710049916583111031841366758810043556070330802264835332472127/5666217710740738797249596195330139231776525955376209071322583467194333762061990928469693398237102426030080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 334,
            "x": "335",
            "y": "0.94967236539450384",
            "defined": true,
            "xExact": "335",
            "yExact": "682116972933626282796012211548610696219203002449508482921085613849781736763842964842307024893980933901624604867/718265580625027162724646312407081047596281393177051031532443794387661971628407161127221452526818943974768640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 335,
            "x": "336",
            "y": "0.49415235123959428",
            "defined": true,
            "xExact": "336",
            "yExact": "2759251901511501896588437448891706538254950732867128706146711192373377797630758526790219606431866257921487529/5583808100052231435164070071245450499217349277536359464133667594923566762848274900091625524578254445304872960"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 336,
            "x": "337",
            "y": "0.58746331537289009",
            "defined": true,
            "xExact": "337",
            "yExact": "17239272123066463827058931167906241977984352223450547257946011539660983326773424191739349843223512466359171853/29345274286827425510774679710509896115363403079694428609162537070123565908158392634930885364978401584087040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 337,
            "x": "338",
            "y": "0.67872881640084026",
            "defined": true,
            "xExact": "338",
            "yExact": "17670296371710674983124390902090060197005932929944846757212943902194745906725825204705464941318080864506761/26034398341023197504848181421548348973557260630749353281239193278661704835583664140478322545895868989440000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 338,
            "x": "339",
            "y": "0.1726640205689679",
            "defined": true,
            "xExact": "339",
            "yExact": "62145977668026565930862070412501443362959011275024721894636296904669618646203995079806081386855577297230045263/359924305383606785183830091271919669767493027848403848346274766266374835104054851623867989746022323385794560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 339,
            "x": "340",
            "y": "-0.29108702685133803",
            "defined": true,
            "xExact": "340",
            "yExact": "-14505124951013154362937905414554763372773381579297401217666653677655815959792979768752060676354572508672033/49830887717373654774218551710977761476739923883439246024676662678378756397184537680812475029192957755392000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 340,
            "x": "341",
            "y": "-1.180564469533038",
            "defined": true,
            "xExact": "341",
            "yExact": "-17763811814336685447693487904985337678879921890129272069395479233162514593784142052198262969940706684513286581/15046879922926198510348689493340347610662936547492761919125267239701918421313884870429594549687735146250240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 341,
            "x": "342",
            "y": "-0.57468731986178856",
            "defined": true,
            "xExact": "342",
            "yExact": "-11713430855506396649487372596100604935831841159319727731598860941050622996288418206770925325920806704026836371/20382267801425405362951534174522424414422816358793640425471938238437880522738038263919503080083655442930073600"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 342,
            "x": "343",
            "y": "-0.4908688453763288",
            "defined": true,
            "xExact": "343",
            "yExact": "-1321116551939800897743047419957449692658136875910875507816591911752880384538003461454302227616362687698867403607/2691383990619644132725159133319925942118172614643306077953054725816726177320164337147788067856305079561748480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 343,
            "x": "344",
            "y": "-0.67588097009654147",
            "defined": true,
            "xExact": "344",
            "yExact": "-10896895477488341496232105761065973331072459041156606771669750324887001757462638632146933314540679581068482879/16122506712878528743438090655910433057454890272431227463109054123038238224980277363598176776995908474634240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 344,
            "x": "345",
            "y": "1.0449850657378021",
            "defined": true,
            "xExact": "345",
            "yExact": "12232103642670119854112777415099610120801645890931766719590327840580125960089880824964680576258790092875795503/11705529623080072895474249108394052091699507092120292661335979198684818501844346946819303202246291661783040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 345,
            "x": "346",
            "y": "0.97198218206705611",
            "defined": true,
            "xExact": "346",
            "yExact": "2513969214624273924435204679433069289481876775756306552852394070878909036359112948062670352910652278177901317/2586435493372899743033362626221741496247691418839185822539370054794819099019189991996893404904729602949120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 346,
            "x": "347",
            "y": "-1.416622764016495",
            "defined": true,
            "xExact": "347",
            "yExact": "-26076227912983156376502001548609563047369439295598893032839745609249265820795468474854736216628762580077462381/18407319559831333389076516633874095790909527551975564546548182699859915264511519142516638827487238412042240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 347,
            "x": "348",
            "y": "1.8438808465381094",
            "defined": true,
            "xExact": "348",
            "yExact": "33940903972479296824359292150724087249962013489058408608414496552924533166275148895378723082244830096373379219/18407319559831333389076516633874095790909527551975564546548182699859915264511519142516638827487238412042240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 348,
            "x": "349",
            "y": "-0.42273711599320929",
            "defined": true,
            "xExact": "349",
            "yExact": "-29002623117677730531460886984880886403105343286263188201130221426048282468295304994089492355268729712355612381/68606758243919180560774063100168499431705150428911448251866385565676567634479391198044200793395885417431040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 349,
            "x": "350",
            "y": "6.61739304897376",
            "defined": true,
            "xExact": "350",
            "yExact": "351412539948235970436961021323903719670850700158355604477706644540875849126701444006973530549323494455449963741/53104377713023074149475110049490076212490852628734413902547537512319429403441778913896799082721530258391040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 350,
            "x": "351",
            "y": "-0.38019698905411198",
            "defined": true,
            "xExact": "351",
            "yExact": "-380097253018379811464649697254323724640352589081126942601600651855074726839755379810813447784848137085148073/999737672736493046604670972638140885661789156753491753474293820666633285715397881466847023655855512040243200"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 351,
            "x": "352",
            "y": "3.7596032655300324",
            "defined": true,
            "xExact": "352",
            "yExact": "17837321758156506994424794941589635747097315413624015870087160229348858175362901039517027578181765111859700152821/4744469162929558227512417981717008731290041654051869631270896967292993655722309796316502948957788487873986560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 352,
            "x": "353",
            "y": "0.32155959747576973",
            "defined": true,
            "xExact": "353",
            "yExact": "75568491459568588973062370309015090399766666580495331077185213894524663359282644019975518767287839174877122359/235006176313126049738646090117133695045021216021079319509226570541311749900535458732922560856709661778247680000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 353,
            "x": "354",
            "y": "0.94400744444420714",
            "defined": true,
            "xExact": "354",
            "yExact": "598493562351446178778466485506866659238988952388301036071959223258161561492227347001837443657984325963989439391/633992418040532101314687947195423042468952529039221515050097095057085684607346201899488390642296844970885120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 354,
            "x": "355",
            "y": "-0.99994667856960684",
            "defined": true,
            "xExact": "355",
            "yExact": "-4946963356582697883096874847702650563668812183712103793861558731597224257391309556479813048107561929666868607/4947227149810805474239342575427984013080978311054310654992059108444037943271295659486032789645165000130560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 355,
            "x": "356",
            "y": "0.33791124725496868",
            "defined": true,
            "xExact": "356",
            "yExact": "1002225909565570282089791804965070035860018770739260107011128281857205637137646430744159252685450603264384351/2965944216734956220946521227233067853646450331154116157731817971876721558448525344246628708171787315445760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 356,
            "x": "357",
            "y": "-1.3905606063993268",
            "defined": true,
            "xExact": "357",
            "yExact": "-2753254960184528300105118305303661116752059241178700472778601729972539811950321778009505483924137796856317/1979960418491732546797656804935620344977488928267008507967270569246152718926340350540585201169719951360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 357,
            "x": "358",
            "y": "1.0280880745333647",
            "defined": true,
            "xExact": "358",
            "yExact": "6039087615979993791533913457629516745296083907516580059577793622230993978518896304006597613951435876673763289/5874095581471513514271628832941957033614675675345840847831661313354035101852541590596510873109312262635520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 358,
            "x": "359",
            "y": "-0.72109685751198871",
            "defined": true,
            "xExact": "359",
            "yExact": "-1873976216075605650438173536628215257210386296595777642399517776453410855937549709038222817265611943971863789159/2598785720050720891778671160391475135529548058367570124533343856427010589278576793032258578344374117707284480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 359,
            "x": "360",
            "y": "0.83478344839519258",
            "defined": true,
            "xExact": "360",
            "yExact": "576303691792108391420416078927742641744394882188649315133565051672436798363095358825794181385537324431577939903/690363103029903386534626340939757602491963227935239651690435848132945737296086882691761499793923440262512640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 360,
            "x": "361",
            "y": "-0.62751576536456632",
            "defined": true,
            "xExact": "361",
            "yExact": "-2987950773666216525931169332369863448773954199199146862382937934795103240187751650745546674567200185435373567763/4761554909987502655448375917317952651836773270569481666969645310747300514187802114335511365708638731695554560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 361,
            "x": "362",
            "y": "-1.2272160228642641",
            "defined": true,
            "xExact": "362",
            "yExact": "-357831074979014036218076924576325187873215153942098263863141947127416132966089810568576326279816759038952423/291579533115818692559093477920027082647363093251480830215551802994733505738703321773642103384556794019840000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 362,
            "x": "363",
            "y": "0.29840955926227619",
            "defined": true,
            "xExact": "363",
            "yExact": "772891593225287827594356178244707758210695174088781643847560557929698532761998862878220874426051520436680532639/2590036308273834252682324291813498368666901632656545397919477735671823800928564736409976353936224867954196480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 363,
            "x": "364",
            "y": "0.97048951060927346",
            "defined": true,
            "xExact": "364",
            "yExact": "357831074979014036218076924576325187873215153942098263863141947127416132966089810568576326279816759038952423/368711944917743261415376715091958092418230679968258860414361380880798184761024328226525498117037623869440000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 364,
            "x": "365",
            "y": "-0.65560414862797367",
            "defined": true,
            "xExact": "365",
            "yExact": "-418117166966532048007450648592871289960881262918004436834565833897028892109831611129018313470561826778876271157/637758574044343057198965038241289643389450160158783833931279139404676029824839519243946880493373170683740160000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 365,
            "x": "366",
            "y": "2.8298267530424113",
            "defined": true,
            "xExact": "366",
            "yExact": "5403174443130834092047069323745356959057899149495471371590434144064645264980315951052086137732336444210692021859/1909365807402081393663188336332426709916733200178478151010753372099208537549168954057697575286040724352532480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 366,
            "x": "367",
            "y": "0.21331362728613479",
            "defined": true,
            "xExact": "367",
            "yExact": "54528350650721494922327067645840199282914502160977685191868307401484067007154573337257380444714120925046862479/255625256316035610100980590489184238013991696569158534016102902085445363882841922281261996190565951466792550400"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 367,
            "x": "368",
            "y": "-1.6846920814085855",
            "defined": true,
            "xExact": "368",
            "yExact": "-8326383520374567435276567907239611897418952436725243040223798202999767934531320843286444201155458178797569403003/4942377074279833268762457445474595825387265110410052291499791127774964805338829272593587730847981208925634560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 368,
            "x": "369",
            "y": "-0.18126624314147918",
            "defined": true,
            "xExact": "369",
            "yExact": "-2317754905520278453766643018613270533983389418541416599165352670484352508359736982965151097264428645708091/12786467382739650766861702300023061820828870032622398496364047095711849161378972618454370625127482654720000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 369,
            "x": "370",
            "y": "0.50766635287057671",
            "defined": true,
            "xExact": "370",
            "yExact": "913212740948368695163488338839157435024296255730325677474424862397454369114395889657166786273035305508117187427/1798844331093932053120804067195029718925906391568945065157220661755014929882907493836429345231185471712788480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 370,
            "x": "371",
            "y": "-0.60393171187147876",
            "defined": true,
            "xExact": "371",
            "yExact": "-99663863912772673476765529362840082497490329731707734940083011519364985404318011016963069993783541554167012809/165025054908827018440475672049945512470785048382901182708171128047234926548610474848527637886046430001889280000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 371,
            "x": "372",
            "y": "-1.3799116095710922",
            "defined": true,
            "xExact": "372",
            "yExact": "-12089935257051781528557820646030395769201249313437789139758173955686057023774217285251431842355429312241068953/8761383825743452706281745133294883398080086443838184999639272860741265559077646872687258280769364421509120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 372,
            "x": "373",
            "y": "0.41993128635620969",
            "defined": true,
            "xExact": "373",
            "yExact": "39936210998449501145356050548678923792653065007473155946071384916291868832964240056975659845316871535788793/95101775685685219500522032783269093024786110751225059071885751498603427965843299469264847091473349345280000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 373,
            "x": "374",
            "y": "-1.3590683362475782",
            "defined": true,
            "xExact": "374",
            "yExact": "-2172559113917758709607591590771731310616880921651604672127543784791661373682641370551019005611118406567352904201/1598565028684465685073737445742754384276574033772405428258379597136006570802288520730898978971362489553387520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 374,
            "x": "375",
            "y": "-0.24720901719671476",
            "defined": true,
            "xExact": "375",
            "yExact": "-875369164628333879851971176466588197984455256364631644862696120686922540869522546003789848298539809134793583/3541008230827459426478370050430452901820456304531426798843977072617882023555225196517947260255908997890048000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 375,
            "x": "376",
            "y": "0.4818498107940879",
            "defined": true,
            "xExact": "376",
            "yExact": "4206920573592169703168616962867219582354424301543215092694891179575058463464672956175000497001490988176218639/8730771454821513122661537786239964130927409623818824660351307836464857137281346497614665815227444485947392000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 376,
            "x": "377",
            "y": "0.94599836294245387",
            "defined": true,
            "xExact": "377",
            "yExact": "176480160403285007200179111667679314636889004530923765379117453007394366694390407136676809176749478489801399/186554403597863820744859164708476621269656849719139005354179599702254823168613550847325042476948129054720000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 377,
            "x": "378",
            "y": "-0.80584206581914097",
            "defined": true,
            "xExact": "378",
            "yExact": "-786670362040979223677879257239729200686086102856562478591761310291746225099384665216991292564892948943051518567/976209105243626610930660677400807881062418835637310565857774498611963541590904836367132172985541862214336512000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 378,
            "x": "379",
            "y": "1.0496001902006236",
            "defined": true,
            "xExact": "379",
            "yExact": "6504773298599538636662557880583423262659045522552780756349719044785170656913810869669839854411949559714571545603/6197381973945905641322285243109395718857731382247396254693923772470793255719709596417957237567856498190581760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 379,
            "x": "380",
            "y": "-1.5976187380593438",
            "defined": true,
            "xExact": "380",
            "yExact": "-1061475899217821236246369788270097577807214716910276276165025352457649468561088647351818472597342362945838806517/664411272809190388505782580265769172245218442438144832988388367018079781637731277013519126612944211143557120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 380,
            "x": "381",
            "y": "1.0591723004044975",
            "defined": true,
            "xExact": "381",
            "yExact": "201913723984998998652055876919615490616238418347094847987151530188836612103393083552115785123984199059315519/190633501185678872778238584289718024219284608994094190823606700227414508012418527100253592207622912081920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 381,
            "x": "382",
            "y": "3.2509718194571677",
            "defined": true,
            "xExact": "382",
            "yExact": "766224652051373698790562948656004373078047028591301763431188402693701730695887344017377851253463503546693694169/235690954767892874582899968371814484399454538366750490012760582535715364285678765606699830761598945555906560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 382,
            "x": "383",
            "y": "0.8034852662603853",
            "defined": true,
            "xExact": "383",
            "yExact": "9455144466875999347429826993580981914537487790939150578455213381976800331220029702622040996494938419068828917/11767663781667743419119625653684683797170709672574670835525558825780001687025089190422689756615830447063040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 383,
            "x": "384",
            "y": "-0.35404650826056383",
            "defined": true,
            "xExact": "384",
            "yExact": "-346128644130844473493618703819422427830338123071355013105090176113922878844628306672557051589255981607328650087/977636090329996689514389844182156714210243475505379126421982940744323889134468275685375458252395768302272512000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 384,
            "x": "385",
            "y": "-1.0691023038969114",
            "defined": true,
            "xExact": "385",
            "yExact": "-753491247494690631626944602675785821932847476580128261649471232778720282459329648788297264352605478711052401/704788722976455554650153325486901622321703720220574237022607940281716268562186140553691968533395170498969600"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 385,
            "x": "386",
            "y": "1.1858238678415114",
            "defined": true,
            "xExact": "386",
            "yExact": "2224935563357612313534403140074908842429327985013987653440631706776536449122315165580949683143279487322284578541/1876278276813180938351967957724731523538064915753221392871500407642954522555733980560851314297015581912596480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 386,
            "x": "387",
            "y": "1.0490300303473472",
            "defined": true,
            "xExact": "387",
            "yExact": "3275606399235746361122280200090629405084412343920819427978331485040382565661899778173997083784889616423485503339/3122509656040210034446315403328084812126998212748133146164603241819268702890394642320489703333023473865850880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 387,
            "x": "388",
            "y": "-0.0011765896797604426",
            "defined": true,
            "xExact": "388",
            "yExact": "-24682134741042627807843129033648270911365576792996642858532285950093778840428431372588554880616510090753/20977691004452790520711419435045889510708007726990280277683817278607549062449157765022386149232330670080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 388,
            "x": "389",
            "y": "-1.1036337792984239",
            "defined": true,
            "xExact": "389",
            "yExact": "-17555060226175590581044729279264047693271221029457777746944727242437732087408711857255718680967955834742647/15906599231980087518688704369954532134807150221030761189615596991762163939858604986165295350000194682880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 389,
            "x": "390",
            "y": "0.79256574152226611",
            "defined": true,
            "xExact": "390",
            "yExact": "6789032341555819374572285430866283979564380347773797058394844295999248799443971216921690863365210814711000731/8565891743587418656066010418887076974525165171632491177502914612518399041261441133300045110068766305157120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 390,
            "x": "391",
            "y": "0.30505217340865198",
            "defined": true,
            "xExact": "391",
            "yExact": "211215486167250624992185436004817177117804257886604568769918193535363469559903269332538161984242451760520926003/692391350001311115677235740335522913316742245888347874722157472570168050437641449363904756530367248350576640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 391,
            "x": "392",
            "y": "-1.4981688319862212",
            "defined": true,
            "xExact": "392",
            "yExact": "-23378343342513239768562490155362491047600240086461863767472997524157253533884453997199998599700115077931711/15604612005923943913984985856199719724917480303608645231949131556082225570724344579342575513611867258880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 392,
            "x": "393",
            "y": "-0.81213011472837815",
            "defined": true,
            "xExact": "393",
            "yExact": "-758135203666292977870211464596668016345662658503980067349310571840657966222417184044931445305416620039586286369/933514457741609440020368084237473585940246762286219432820458077500093065413018918134051991250619799688970240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 393,
            "x": "394",
            "y": "0.79051791288540751",
            "defined": true,
            "xExact": "394",
            "yExact": "3706011080294635953780406613079472248361452819333635913448369429897103449046018411021473706692929639403553/4688079827018232911292549052830380971345528203808228321807082288883189434218270632574836627560650506240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 394,
            "x": "395",
            "y": "0.37856758226233395",
            "defined": true,
            "xExact": "395",
            "yExact": "15163989815211307961047471636857730350328136684021564302064255349013977737681746688752626307780178273415438849/40056229127150139893848897008010370648526747632500657958170057860640773112677251494663400461128546720415744000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 395,
            "x": "396",
            "y": "1.0470831075010825",
            "defined": true,
            "xExact": "396",
            "yExact": "6507047776473326380890164682936449286911929786843585294284623977354627662601180211663917980219378296167097869003/6214452061978852841208703453064550969354205797621263563596670512801152854829241320346550023170580866672885760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 396,
            "x": "397",
            "y": "4.3067775522438909",
            "defined": true,
            "xExact": "397",
            "yExact": "19086538900328698457461034254443856807110984128181646051217744673127894563231136666647054809896697566470928049609/4431744771768940445154800718556500416372916915596976100039022608439082879960209862293176413690551495357890560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 397,
            "x": "398",
            "y": "0.061859013817522381",
            "defined": true,
            "xExact": "398",
            "yExact": "16347783406955673614156945956333555461541079614463190053828971250121305715465577162032496140728977074145547/264274879246861665013973016749968478211862169684216759744261264102940065952554232812732314620161383464960000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 398,
            "x": "399",
            "y": "-1.9734849435020034",
            "defined": true,
            "xExact": "399",
            "yExact": "-337507430367663357249767921960688636016583185247122730588918278388559980102708543195963596591290156482369113609/171021031337967603272029919796611994641149599865793211931808304204231535444849215572226725786253544893972480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 399,
            "x": "400",
            "y": "-0.28549862634961642",
            "defined": true,
            "xExact": "400",
            "yExact": "-85465121569282679086724782630911802304881375110410287280960170344744978462974735002101977224486292108202420253/299353880129089092347635215002398352153628768204631390796184350005031968203145587706133454333669802197909504000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 400,
            "x": "401",
            "y": "-2.6315889015015665",
            "defined": true,
            "xExact": "401",
            "yExact": "-1750591572179236333821969840308162268384462403391279495160244859741334074683320223097205517047093106109519904643/665222281177869650488935111781480383734816385358956807321736915604413965248546415576947758874408368466821120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 401,
            "x": "402",
            "y": "0.4426145340224234",
            "defined": true,
            "xExact": "402",
            "yExact": "1833905800132050960084124957446983575138580146273847774993224874343785223592177900353028356553602747560267/4143347448322027076941282138966456248048887133345819060730137037577225886603829317018563605950435950592000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 402,
            "x": "403",
            "y": "0.58953871454668483",
            "defined": true,
            "xExact": "403",
            "yExact": "1284532439921824194000448305059168181688774540281104162205184227970348269087932981481386323154147228547205584961/2178877159763022941876962066763905283626487509903300562283404515413281288034252317082165716111273122773073920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 403,
            "x": "404",
            "y": "0.94314152798731588",
            "defined": true,
            "xExact": "404",
            "yExact": "795580819236160384967323085557332127746428824392199680554261569491038277084089189245568282370978300172305150913/843543408521038041627075592641116679489952001757992294584296057900131299541679422326449765655830061682524160000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 404,
            "x": "405",
            "y": "0.95251228738647498",
            "defined": true,
            "xExact": "405",
            "yExact": "23208945719675668937525893007215222866999197062753161062606189601724470840255287541176831149741287152760696081/24366032886942492968139266309727324689514957290768373052818577851053356493654995045328913295862676277166080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 405,
            "x": "406",
            "y": "-0.13227850937628494",
            "defined": true,
            "xExact": "406",
            "yExact": "-275016138202660002516754910997137159900211862029762699423863846734661227151962559385189767863095228652298259751/2079068924343089458795097357267627281038719908908384010548745213264385151696529730091034236431684488050769920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 406,
            "x": "407",
            "y": "-0.98809489610884627",
            "defined": true,
            "xExact": "407",
            "yExact": "-5426434596598459181883538125215522960996002350928195410725162466241424432123909448018009836013604478683/5491815227432057612303647268719661208420469259613654685923136563544717041345460099432165156981152153600"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 407,
            "x": "408",
            "y": "0.94474111749080991",
            "defined": true,
            "xExact": "408",
            "yExact": "363073416825638439156873193516301809779249756259294276164441518742467630786842317725536298664810664718598549227/384309955503942878235997174253320965584545831418358668630646037246343157670697062705827945952037333646704640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 408,
            "x": "409",
            "y": "-1.5165819804956058",
            "defined": true,
            "xExact": "409",
            "yExact": "-3362849266051274816529358468206930234308317022610541925065004619819228695602260530813054674058187075764533516607/2217387064662554554424139040390145727942583702568666560574069431040971111620171137786504571457112849692753920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 409,
            "x": "410",
            "y": "-1.2343960843824424",
            "defined": true,
            "xExact": "410",
            "yExact": "-19756666799731284867442255862578025372156571442982244801504640791940997037572020853161549462078247736712564141/16005127567797959565447407220001350745649248128239526677417625144611933779213695436598808339729425749770240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 410,
            "x": "411",
            "y": "-0.91550201924415486",
            "defined": true,
            "xExact": "411",
            "yExact": "-5960029858618251668772262233852838823466945664900213391283501464967126216611416588321537970890425759279125097961/6510122024131520651729442231915692703825113321846034512721799734448651290837770124531699403983219366045941760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 411,
            "x": "412",
            "y": "0.68144387499422732",
            "defined": true,
            "xExact": "412",
            "yExact": "5731120090630098224181984823677074107937232783307094257594967833074313309529444542063752894200686657338979/8410259892171820649278624834708031500731338818565798523274464759139201314717251818774780495263034245120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 412,
            "x": "413",
            "y": "-1.2619372354054936",
            "defined": true,
            "xExact": "413",
            "yExact": "-317376497674007471909663767556149836925809616802329108885569155232788726014808762316447530821255958613689837/251499431801793276577408286194886220781610563134539776946848816604539894826564167587062154792289393704960000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 413,
            "x": "414",
            "y": "0.90326487518982312",
            "defined": true,
            "xExact": "414",
            "yExact": "48967207037211391460213655907893279975542231030418624059295152211056333241959031586108636704869086781431588343/54211348611248527414191511374939219638190555937654157843310298107101057675338640720659293428067451349237760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 414,
            "x": "415",
            "y": "1.0244112227290074",
            "defined": true,
            "xExact": "415",
            "yExact": "2643372126937678887167233742997112264419104965296680455232294898269848576189068136792930600054230544703701263439/2580381850850674866244306245664663320343680481564913262059342366296917504153711421502077457644228179242516480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 415,
            "x": "416",
            "y": "-0.98385546854818995",
            "defined": true,
            "xExact": "416",
            "yExact": "-28681139339079162072032150601787018449763368961263097046737498947599497797442563759008562116591172769126753/29151781187334367363146810831728653264742127778881620167296531251308761701383183353899176307570969149440000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 416,
            "x": "417",
            "y": "0.90388020767743027",
            "defined": true,
            "xExact": "417",
            "yExact": "20762286829528627103810676319571644684210512808453472931301661262399203110931297097795113897860058483375437/22970175309932343448233277274080447952778730453928322759871051655532995567898627925323822237768336015360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 417,
            "x": "418",
            "y": "0.5641668799000138",
            "defined": true,
            "xExact": "418",
            "yExact": "214235254458697114104616928900320861082936269322378195824546374483893420958352659351131026981095879508390682417/379737382840810566581627662923148489420964995682531959623150591808662171588095174564097808816529266936119296000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 418,
            "x": "419",
            "y": "-0.26631890389966822",
            "defined": true,
            "xExact": "419",
            "yExact": "-507595401543795130556666492883375776248917528604817208216130193830818491033176464717868014562960429968909283/1905968348889811920044743182056204606231630515049783730678906583334825984613340483356700236478979490447360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 419,
            "x": "420",
            "y": "-0.61369488030300967",
            "defined": true,
            "xExact": "420",
            "yExact": "-55109280864541966267960274797439019426475430278688556853007908083434944516282796612372938656104959962708181403/89799153672802277197742991679041428575423433883640578142945676906226916218984094995502893848105470651269120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 420,
            "x": "421",
            "y": "0.91393376604972965",
            "defined": true,
            "xExact": "421",
            "yExact": "21939022826263010689322747271265022405330594212264024315929176573084047315048756023988982255408033961959862043/24005046800152089776006668387924389211946465330021054775109027938468864961805491760391759121433645762478080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 421,
            "x": "422",
            "y": "-2.7065826812221778",
            "defined": true,
            "xExact": "422",
            "yExact": "-4250493878951668725276195778542638504375200674737501927707756795658353638813907945625809772549011649047139/1570428240910906274987477278938653420150431092217613964382495163912968251870599848071584476623299149824000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 422,
            "x": "423",
            "y": "-1.6386800679769029",
            "defined": true,
            "xExact": "423",
            "yExact": "-2488013451386187710037433956454140833465142141058708400909840774733123751043285949844432630990106212693696957/1518303358908772633009027974718545747907791166160251953433256122717484823458957800022984981632095234293760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 423,
            "x": "424",
            "y": "-1.3844761998722805",
            "defined": true,
            "xExact": "424",
            "yExact": "-1727830222127606043265810589898437160864535494732889353179291413634247299272485021860687445566810686200829729/1248002834781125452819019857344208211294523024115998772820883266755333835107773671483838411340536647516160000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 424,
            "x": "425",
            "y": "-0.57435462387791236",
            "defined": true,
            "xExact": "425",
            "yExact": "-65465555227790489038386076458683753347724805047840077172146232473227478689202734511197594708281242467958863283/113981071112097746257172682245229403587115143409842846187089912177267825189889599098510491495090841997803520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 425,
            "x": "426",
            "y": "-2.6993018036106466",
            "defined": true,
            "xExact": "426",
            "yExact": "-16345186668007147541808565309338416549579536476957010296610470085770495511975455765933586928153809513401476937169/6055338697637833570929288098800205962998026952209989398049737627721548914740339020283800046367942820243701760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 426,
            "x": "427",
            "y": "0.41828444270930809",
            "defined": true,
            "xExact": "427",
            "yExact": "531196058776158990730423828225501821724813789020522994087790050870844458461559993756196163759825281500688194427/1269939793446538091596229283586567195063713698227379705491736213171581145177367205636048314381633083791114240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 427,
            "x": "428",
            "y": "0.046072205314122913",
            "defined": true,
            "xExact": "428",
            "yExact": "11869543134421323338039232899197039872602024501755208513864874986865558023545536193798235693732861822798458111/257629150883794328528599732530357851632906589570151623633032692431203372720193436676821905787321640259944448000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 428,
            "x": "429",
            "y": "-0.28177932060471644",
            "defined": true,
            "xExact": "429",
            "yExact": "-49932202166309930392324766535661147367663409801590922924455843194213551031987764163788693204646693482375620537/177203217252253400634427839705901812797045402231406812354580631864070886725556509256563598459291068824289280000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 429,
            "x": "430",
            "y": "-1.5077922586865187",
            "defined": true,
            "xExact": "430",
            "yExact": "-4104109965644793839482032124627796738439547570946430828895627946751457918737860223113302104483111970958416609/2721933304804205845350815688912969453503954220167539507234941592881805863497912397159026796913440087605248000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 430,
            "x": "431",
            "y": "-0.48489060431324288",
            "defined": true,
            "xExact": "431",
            "yExact": "-41028925549301400551275059463965081841310530234703112284030979801745141678620320915096274695562501904063847/84614808338906093094574604611627878059840502283961107923438106605728669222401882256687311479537999544320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 431,
            "x": "432",
            "y": "0.80773781936519606",
            "defined": true,
            "xExact": "432",
            "yExact": "5105229948645117573361798587815718181845580075890148009891666298604658691949748029969499257696600456434012789/6320404747987824972542243869724616462242856153235937194195898081985030037423517344281102135483008504299520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 432,
            "x": "433",
            "y": "0.83598673706124127",
            "defined": true,
            "xExact": "433",
            "yExact": "263430819195410286361905390054710925241276902191350505263907787072564518996427744916814936324406069578641920443/315113634603167538141335720006927564782421678580546564207108189534570966236732701608140544488673245197762560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 433,
            "x": "434",
            "y": "-1.4619950681141993",
            "defined": true,
            "xExact": "434",
            "yExact": "-1920681240433610011285942663652971654035720769623177955226788666555673680252945906082411887089631579515348136011/1313739890320602603179123973852276333172092984810448554212602738060736621194524910381753610610223244498698240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 434,
            "x": "435",
            "y": "0.92663776952255283",
            "defined": true,
            "xExact": "435",
            "yExact": "938037492204413315132208606465913409057364228720437040179440351461848372441904429079880435033782370924272483/1012302242641948627321309383641732385857944881277984542728406211187115803277184622261794139120348414607360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 435,
            "x": "436",
            "y": "0.98270294979674777",
            "defined": true,
            "xExact": "436",
            "yExact": "6347191639061017422382679283761801310287800609013391008067966449748372230594145105672750499807190998755956977703/6458911760032679052070187602050226952335690075724432586013559513457572493509174952745921047175046260599029760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 436,
            "x": "437",
            "y": "0.97503913626284755",
            "defined": true,
            "xExact": "437",
            "yExact": "707140862140723773758751071580406578659681373550305554231019388182793761582830125753748004447746255213521542367/725243568018274205735095604652316439369065304135544646847171830531001209994144649828921354398438192725360640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 437,
            "x": "438",
            "y": "-1.2146864900057308",
            "defined": true,
            "xExact": "438",
            "yExact": "-1208810817953079713834996227871015746134968552338788515611602996699936907456789370924148257015376774592089367/995162807768922017101678620857472212037437824185949388043765335962856425477337938764906785572425286287360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 438,
            "x": "439",
            "y": "-0.76403973588861152",
            "defined": true,
            "xExact": "439",
            "yExact": "-1388965443241942795025830001812643376687460599627137182502219147836154563504024871471677337392616823845223691139/1817923045097275583596940757292225591283962907498454578159162570960085596419563240915444924707122872430100480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 439,
            "x": "440",
            "y": "0.97525627683037852",
            "defined": true,
            "xExact": "440",
            "yExact": "1303586477200830501282611785946606087504036549132790720004359284746282301425897103372311703239257511803103307807/1336660432924910944638958205849837840373683327559048034291433743279162682212564593670836640551483533547274240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 440,
            "x": "441",
            "y": "-1.8289459246416808",
            "defined": true,
            "xExact": "441",
            "yExact": "-3981060901885783526943718872270093987345261969478577732946040222049321409607888663595593321033521486487382834747/2176696887670823607333024322981041134157312233967190130361325595029655578173298395456308986908247833622609920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 441,
            "x": "442",
            "y": "0.74900809733231144",
            "defined": true,
            "xExact": "442",
            "yExact": "182096388211775624961472870881519555502107495996788169186727508327057646545865721305677415804222051930665027637/243116715106732890558037157608083025674085241789571554283584277782144102073619574285528212882690780919234560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 442,
            "x": "443",
            "y": "0.13902362370234711",
            "defined": true,
            "xExact": "443",
            "yExact": "221951970971496397310128686071287604554062013414584407824313883112429140247424098606612194150043754223284926859/1596505435987633801459913180322890977748362126269397605688690829132705833017674638297177393719200784077291520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 443,
            "x": "444",
            "y": "-1.3922234085941474",
            "defined": true,
            "xExact": "444",
            "yExact": "-2349069075532843954031006242796827804433643116996937721472746139893304512741283476116726156830942589850466909/1687278823953196872766653303990828628475432446176523249644696094919108272620807146314399396280341783117824000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 444,
            "x": "445",
            "y": "0.88450669129567783",
            "defined": true,
            "xExact": "445",
            "yExact": "20505833960928484042763205053072109577663106949202861139843777498671079661687344791130725550166514770043637/23183356511289161876080143423171121898043361700959554289277006493046278553411489669232893114706936463360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 445,
            "x": "446",
            "y": "-0.10195719019341384",
            "defined": true,
            "xExact": "446",
            "yExact": "-649498443916205592834987165120816364377191703846296202110205013472398152116856111807506490694267245217156071313/6370305445688532262611333924456453079151896471473207873970879003685773573394757256017836634510234628663541760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 446,
            "x": "447",
            "y": "0.97439799178280673",
            "defined": true,
            "xExact": "447",
            "yExact": "492435190519166468183169301256435464561759468413541134891937084802308894921640543512829195560461609358547689/505373774034758319352049080286570219249197464035318929108089300567416727839541230798240326789984467025920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 447,
            "x": "448",
            "y": "-1.3583848058012977",
            "defined": true,
            "xExact": "448",
            "yExact": "-2077361078500045300409288193929224001051015568307175513514701191299827722875592867958439726643800988793183647201/1529287628680910304707596266267447076665586574483422025412721397818519203775838970603894358981234219045355520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 448,
            "x": "449",
            "y": "-0.70401059417593059",
            "defined": true,
            "xExact": "449",
            "yExact": "-32221587489946164060688927283039525715989948170512398847916088329336347279333378238831118214637815967371883/45768611660826890934134871326579899316748169699968015899446955002807441402051280142372289706936751253094400"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 449,
            "x": "450",
            "y": "0.27576591035389914",
            "defined": true,
            "xExact": "450",
            "yExact": "198596200424291079657850960002394136127444738973794057571186435390755826419891358779312942729789835169258698979/720162257073132407156470557957653853207000772663036288077193432202146371529466241563731762038232762695024640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 450,
            "x": "451",
            "y": "-0.40716131625603563",
            "defined": true,
            "xExact": "451",
            "yExact": "-4966065477020023895794900433732644239855241684057958454453271943840992119395813789660282440481560770383641/12196800822544764018162008422050973951112620709740401258890205434028031930552688294349527158784647495680000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 451,
            "x": "452",
            "y": "1.241223586900555",
            "defined": true,
            "xExact": "452",
            "yExact": "7884406580279263343131976049000241302491920601018062351552358714304418696381861947840599064850663050546516215503/6352124358164449161670587748926321001176079196101117887348377289263968473068706012150746643657881697921269760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 452,
            "x": "453",
            "y": "1.0903517320735316",
            "defined": true,
            "xExact": "453",
            "yExact": "7013236756436588126252199604567413333893018229004407333556205477254561640366069611429605847305348031139171435503/6432086592002245920420478734240467990178486626663428213458855688157359963272716713498829532806640912574709760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 453,
            "x": "454",
            "y": "2.0702027989727951",
            "defined": true,
            "xExact": "454",
            "yExact": "52676967691015801670277188868569073454107861172284340545141913146855132367276782326432723822701866634567397/25445317587800263579465857394067761408686948651730121830951886414026917120814725387287320696893649541136384"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 454,
            "x": "455",
            "y": "-1.2403237894685266",
            "defined": true,
            "xExact": "455",
            "yExact": "-21406415860307737947396485598648039853235978628059703882626970904464249805842954152289475628215620098997522591/17258731987620985674121235215369605080474101044767037647855648594458415182205150228905145038905848747786240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 455,
            "x": "456",
            "y": "0.89446072664749487",
            "defined": true,
            "xExact": "456",
            "yExact": "2326237608911708332811212149408877294703137048885256499345894286924249290531658859408680753256905618901724497189/2600715201471862813437374313530182631478809854422363750814478148727721480537257817647184885139619257626132480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 456,
            "x": "457",
            "y": "-1.9397206800338442",
            "defined": true,
            "xExact": "457",
            "yExact": "-46894091587892307696941554367065187007939261767163086093697076382949464145933328683956177545988442280408124889/24175692959603906308282702617883837114065842364306610912418401650561871769248436697886633297322977216430080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 457,
            "x": "458",
            "y": "-1.5163619640397565",
            "defined": true,
            "xExact": "458",
            "yExact": "-36659101258247095429278734147544806001982378707806557941004754382552332370247119098992105929992539131999920601/24175692959603906308282702617883837114065842364306610912418401650561871769248436697886633297322977216430080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 458,
            "x": "459",
            "y": "-1.2257277099556103",
            "defined": true,
            "xExact": "459",
            "yExact": "-24419605341100394484916751105957699084219212734890001149633833531701826744152200550226344170621785824411164651/19922536745118334769489888129328131956746548114377278288434353574824414894944712993215387248717543448248320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 459,
            "x": "460",
            "y": "-1.248951398384256",
            "defined": true,
            "xExact": "460",
            "yExact": "-1198131132675563506846529529991664915469584221264616330940132846666813841595512795933148014365419927274027126357/959309653062210797591483386330440932803406148777602451945524719893054423785769490900269097971644993361674240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 460,
            "x": "461",
            "y": "0.40649197535566695",
            "defined": true,
            "xExact": "461",
            "yExact": "1947184616432670604684255123568254161829654035944765685028534602335476550662191828364899812738959730136538443713/4790216620460831642769583127614760676798879638448189586996704155376634461260376064793624911347763233486274560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 461,
            "x": "462",
            "y": "-0.087202480703046356",
            "defined": true,
            "xExact": "462",
            "yExact": "-581693146237567175820871279505450499792173035471887024330679125502692885232553696264403783503449626862847867909/6670603193255786561423144626020906502187304421675437726836478030951583026557737356348502255127513692121333760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 462,
            "x": "463",
            "y": "-0.27888428654912989",
            "defined": true,
            "xExact": "463",
            "yExact": "-34358314610086617989315259319386134796637593282617054698986447296029835717756668294600533195350741046960971/123199177103991685183439959054378941329679807157182836460622621500973917944011547208854082944037200855040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 463,
            "x": "464",
            "y": "-1.135545241155941",
            "defined": true,
            "xExact": "464",
            "yExact": "-14638504481048328310976600865541308093235702113662574053291137440227413265966570932094846439160635929055110311/12891168005025407307070726524695816036408669051414683098223570413723718735748542283654008326267233412055040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 464,
            "x": "465",
            "y": "0.66874243269406364",
            "defined": true,
            "xExact": "465",
            "yExact": "1222863708644681765651428446425956825612168538844154428240402200156307590777552766038762741345713794423401819827/1828601938295304144351990779008909854095871129264272931054162984015983276028256322152653455910517262102036480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 465,
            "x": "466",
            "y": "-1.8856103250262126",
            "defined": true,
            "xExact": "466",
            "yExact": "-1277473022093946321205214905637159903884192951610316856884346376557297667839455101166286931067212803147670022807/677485164956437960016252356917444803755314507280077149578358015994070817003259727573374635587044739640197120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 466,
            "x": "467",
            "y": "1.2342705091961503",
            "defined": true,
            "xExact": "467",
            "yExact": "27498854698805691204164008579673682558141385711552766357909160234070893154256461715412305156864362612877869359/22279439145568673159947897909499851197600177167004503686265521510026766467247195008611459961645466867859456000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 467,
            "x": "468",
            "y": "-1.0991055661567113",
            "defined": true,
            "xExact": "468",
            "yExact": "-842025912149678695921916058584351383267645308008149144872773416698401555924433042844767135448446931096410161/766101035311854631695638126188957606400512541101945708080378877606382835874824248498259340514791950123008000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 468,
            "x": "469",
            "y": "-1.4112720026027401",
            "defined": true,
            "xExact": "469",
            "yExact": "-2142156908670596343844114801021350647082412566562653596224468078377162348854190014390491060415255892880543989601/1517890884762059190576000588073830864422252919613242128633563545149994770716732785975462049829416764199403520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 469,
            "x": "470",
            "y": "-0.68826796101482524",
            "defined": true,
            "xExact": "470",
            "yExact": "-2190788954536968088345281622864461099019552779575661175500764469724973566931361486123377040970340911459852929/3183046543829720178679957920519202827398626947192321611281431626160721832726411997799215386410866747637760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 470,
            "x": "471",
            "y": "-0.49453760519710022",
            "defined": true,
            "xExact": "471",
            "yExact": "-3150089935013183170124810975413969105229535516613105441410607182811320020604098934306966066162011728936369081913/6369768247973175942009130263240393553139473057742420749033635365447040599515318085429063084640566839093493760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 471,
            "x": "472",
            "y": "2.0296164451184233",
            "defined": true,
            "xExact": "472",
            "yExact": "5472437894833157374295150155036547822087174846111406137137933084772363693118274911687651577856059572381641931/2696291660424466785531906272156656512690592799678376903145795518768163059159263004590460800822987629527040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 472,
            "x": "473",
            "y": "0.52774903727144828",
            "defined": true,
            "xExact": "473",
            "yExact": "41955997217110323582655208590012775268631312265658934765789995616563333267216858759610995175082334059866421/79499902897085167006586441129910705951271384543844807387158643092960130611988823470959797680705286176768000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 473,
            "x": "474",
            "y": "0.97922729295223465",
            "defined": true,
            "xExact": "474",
            "yExact": "23403561631902494157115966008846437472632956795059088884688337446483111000038097509876554119095592725190852831/23900029952539411382288121811060625587557038920702070703363538594023883641120405881696916210838612428718080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 474,
            "x": "475",
            "y": "-1.3560417792389936",
            "defined": true,
            "xExact": "475",
            "yExact": "-23403561631902494157115966008846437472632956795059088884688337446483111000038097509876554119095592725190852831/17258731987620985674121235215369605080474101044767037647855648594458415182205150228905145038905848747786240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 475,
            "x": "476",
            "y": "0.96697998822954312",
            "defined": true,
            "xExact": "476",
            "yExact": "2071415435335348903816727627741695888636434132261879641688061325145448634267342098288041670119311879832241192501/2142149228059964043627338805111612080837918824448072066387919321309650027012301667306670225516848906418257920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 476,
            "x": "477",
            "y": "0.41775252838170723",
            "defined": true,
            "xExact": "477",
            "yExact": "126195742970015919158315232080288321916502062535438239467145640731194686609912426669105327759161321448622143/302082535463935810524789070780044460949684178900348734363384208063485903089851159828690223608541454794752000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 477,
            "x": "478",
            "y": "0.99305433684147615",
            "defined": true,
            "xExact": "478",
            "yExact": "703254745535549331152776701456602241229142415552468451817814288894232964594315252229209252738180425103301203967/708173479985327005848677394697161188872590888761677337944425090200641610884612925900328568795713824243056640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 478,
            "x": "479",
            "y": "0.09401775867546433",
            "defined": true,
            "xExact": "479",
            "yExact": "140810483448002543672122327325681012533306511082043894782085141478036116236476875937025424215905516919945610051/1497700917696409985869096452973346718817952457589361221478443761529541517583629040092551319858673437659627520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 479,
            "x": "480",
            "y": "-0.7562451132341339",
            "defined": true,
            "xExact": "480",
            "yExact": "-1195315043041200471730155811023143735333087299098964241423586145765613014846978544398255262444204130316578691/1580592088627659279287757163199999663699463149702577735338489537373284807461943242835253273673576360181760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 480,
            "x": "481",
            "y": "-0.2930534472914611",
            "defined": true,
            "xExact": "481",
            "yExact": "-271378596951573289901202790489381840298489121539666942390959770620435152461921835726603809547387245083559900931/926037893291421564946030779966224655337041250255504639358419689410839255263743073418684807579249018102874112000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 481,
            "x": "482",
            "y": "1.0202414501511223",
            "defined": true,
            "xExact": "482",
            "yExact": "6552491999056907138107659971753193582989488782353661358444976457660701535594266335155608698769648754951398326303/6422491458356573333704218387444767482285369617437298391302367296582730616216041440370570950028520917838069760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 482,
            "x": "483",
            "y": "-0.087585836772065037",
            "defined": true,
            "xExact": "483",
            "yExact": "-26349908201227540770131226524095767726640332694198350338396365418058666225482989240350091631693636873834041/300846679923844523354226961775712253504065100771238134498492620688321629283021784984997260750829520945152000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 483,
            "x": "484",
            "y": "0.83986892193955387",
            "defined": true,
            "xExact": "484",
            "yExact": "751791584026772003223626069714300690423377674769414683989556402179432392991958304694008670907636036573193770113/895129661769862613560759549748380569183763068544814107184717527641922097994506684408790690236407169191772160000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 484,
            "x": "485",
            "y": "-0.2782845236528968",
            "defined": true,
            "xExact": "485",
            "yExact": "-49269996151535228763424806721618119174620547721960914163806306579928577974312093355178656242748649704222219/177048998287053514281056724467266829118515421127113127113386125520163391443879065700709535858111561072640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 485,
            "x": "486",
            "y": "0.05692692235716338",
            "defined": true,
            "xExact": "486",
            "yExact": "14997251093613113623118496776278481746524682216582517861157634605251117886238961587471423744815066257042795123/263447424744294817476104996998471833516670995149358770019959909870863956158695203281009516055842160559259648000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 486,
            "x": "487",
            "y": "0.013487557310234538",
            "defined": true,
            "xExact": "487",
            "yExact": "17906715568169530060749645504703748839403930490813314553071367341736624483407787972132047063587210330758388191/1327647042106110310138952590966487580981650754655385700866616398600712357668865779917277123373389549786890240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 487,
            "x": "488",
            "y": "0.9994227325366517",
            "defined": true,
            "xExact": "488",
            "yExact": "718786190836680984424539004250826059147908496393034809821729601800625820467066924154574551353381723990161023803/719201362382780292672310471034443363901854351756675506172132726592935359586915097007215173926412963954032640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 488,
            "x": "489",
            "y": "1.0350185782430859",
            "defined": true,
            "xExact": "489",
            "yExact": "25187798506490327652746277007921732274697538128112259086435918655393130223780380187773654300330213539815516781/24335600380474222195282166071409186664968184457466343574413601939981354267601042444200539397284145612718080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 489,
            "x": "490",
            "y": "0.80743651084060009",
            "defined": true,
            "xExact": "490",
            "yExact": "2218556265142179082259008756716366760438433622219244186251630347717390558887044033275969937173700412274512946689/2747654131756440973371012628069089860057008494187082487049574465723454772045040396545921526493193004756500480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 490,
            "x": "491",
            "y": "0.84164718370698033",
            "defined": true,
            "xExact": "491",
            "yExact": "219075001986711085603943294591544337559887875785642058168661527392844900799641614831145732918079588681282957/260293156357762036726091514844876521023776602074578077534844453651962817978969714523311328466006662184960000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 491,
            "x": "492",
            "y": "-1.256237286659446",
            "defined": true,
            "xExact": "492",
            "yExact": "-2373874502955251965561170589355604094292573592995440614705891940284240608029115279495046830863884964100749443339/1889670469237382812705465290173540746114607696836737630746867184073280081480124578570170648281925506936340480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 492,
            "x": "493",
            "y": "-1.3622778919180483",
            "defined": true,
            "xExact": "493",
            "yExact": "-2113190857076382804757649610503618896739813428370839286759131671948501160062280670608318549908828512102667285301/1551218638732418014559412482657839557609028105152417038591576744244585889461374091121627542175322761875947520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 493,
            "x": "494",
            "y": "-1.0960611200332864",
            "defined": true,
            "xExact": "494",
            "yExact": "-112935649021367740874542699390953144658961738057537035900293564123894941893164752918089663554564698971849057/103037729335694335915206606519034846604107561222432069981090125203777222392985405118289493889340287221760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 494,
            "x": "495",
            "y": "1.3821199433945903",
            "defined": true,
            "xExact": "495",
            "yExact": "159095931583272655302257067549353018808895595626682435194459750516151050227821244653070990384032718220732310203/115110075897263373787308084165633526625316237546433050566739455173348201230206379382471490868773252020961280000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 495,
            "x": "496",
            "y": "0.90366754649905057",
            "defined": true,
            "xExact": "496",
            "yExact": "5954590158362614786520166172273589788067118841922253866369501112635465455308538137722462778515322487891128408703/6589359307448440276178373490963318657872695909079557143889655967832860189568876015044214597526765310322933760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 496,
            "x": "497",
            "y": "0.75221575580178324",
            "defined": true,
            "xExact": "497",
            "yExact": "1629432319236322121550742844914184098037539268505327153040550859741895956430044916159562947783970694016328968561/2166176800563712954764884410524679976453160456447064633865829210049892314291575966000726214648939744245841920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 497,
            "x": "498",
            "y": "0.74379220331903195",
            "defined": true,
            "xExact": "498",
            "yExact": "322237083053971048597686747130246319436717786562532605728502580622898822391389071634042444458826639930405599101/433235360112742590952976882104935995290632091289412926773165842009978462858315193200145242929787948849168384000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 498,
            "x": "499",
            "y": "0.61590608023233928",
            "defined": true,
            "xExact": "499",
            "yExact": "2727144309918242249547333657498803088538386452767126284803929863132170665430000480107351900303495927108623271601/4427857424121348479682659801132261352857401400842945090238512190202965957802336384827536683478892097369538560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 499,
            "x": "500",
            "y": "0.25121199324468479",
            "defined": true,
            "xExact": "500",
            "yExact": "1650129120387015947529122399144203498132131693943371181449962655849354349182727523750671614243830905741416378427/6568671738453831871953638831338632131389777426792426536027937849520987346236559974460425974969999849433333760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 500,
            "x": "501",
            "y": "-1.2705189941143482",
            "defined": true,
            "xExact": "501",
            "yExact": "-10031903547270120277506694340885300591837438770104000451632060944864082894862169091135197406824700548036871653/7895909934241594450051182216276020434000013417691290752890454002247837634955007132365107809933880716165120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 501,
            "x": "502",
            "y": "2.8901751720341644",
            "defined": true,
            "xExact": "502",
            "yExact": "2730402752212842811254899013580000396352983375796368113620897312570449041873292149688453557879246424264328850001/944718776437045387298453262682979047723626793615938635442584353200271233105389864263870856143435176072970240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 502,
            "x": "503",
            "y": "-0.35687523411873356",
            "defined": true,
            "xExact": "503",
            "yExact": "-466413533063245310093185550658798625561298674789125987604104468195456367972782077942570777820126498335940007249/1306937238766386324841156440585704601693999262950509814414073223742654712096151782807037641564737013929738240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 503,
            "x": "504",
            "y": "5.3789044959797288",
            "defined": true,
            "xExact": "504",
            "yExact": "17698141403105819265001805922347834876276354860175345610001789228751032902112681872192717822456198192249045163/3290287346862854204743604451356802034855485721225924604756372382648585742956934238056679920420624398286848000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 504,
            "x": "505",
            "y": "0.84755615506167303",
            "defined": true,
            "xExact": "505",
            "yExact": "450724418320380401343825135516235573233619569703758044910376745507495696232586477659536386649105184165765839/531792985784621115013337494263703757908506100099598742717139113579210637229151622508367006160188651601920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 505,
            "x": "506",
            "y": "-0.8776488510871735",
            "defined": true,
            "xExact": "506",
            "yExact": "-3976171878713227145828175927841041107732525000997067138352824003445583716452546911766642437839522623171882177343/4530481494720591025305075113008780439338646459968748755142246304148311261572912195272614598721767244625346560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 506,
            "x": "507",
            "y": "-1.3023545410159929",
            "defined": true,
            "xExact": "507",
            "yExact": "-21203361536502494580509882934632127943668749674231322616730070550767067934810385776047070949661503180351928981/16280790574862454491441988026824562272158051571844066886472488201149921907341726252788525426213790537482240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 507,
            "x": "508",
            "y": "0.94337798179913102",
            "defined": true,
            "xExact": "508",
            "yExact": "52734078509170079402535503896161544406680591364602216625071090530057141647988408059997329881080955395019307/55899204270805733609272038736990278921053587694351840890546894659347228482578127469489450775199398808780800"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 508,
            "x": "509",
            "y": "-1.5278357989207534",
            "defined": true,
            "xExact": "509",
            "yExact": "-334293225169757101891434642650145609788898987828819750643197870534780231736208198402209106501393520077044430737/218801801480170961344506119855722363393926006062170999064923243934769131624028164578442088669092106958274560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 509,
            "x": "510",
            "y": "0.48651380030646585",
            "defined": true,
            "xExact": "510",
            "yExact": "17968651288980771563405708339602597650712490457841962975452191342970416209081577265099620291311461453562541/36933487349509754956622124159268351567906199183795773916749332320354033335498372162294499104466172641280000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 510,
            "x": "511",
            "y": "-1.2979499912200312",
            "defined": true,
            "xExact": "511",
            "yExact": "-17276296952300588031390574281366961029701611133213728516528193425310488581383165993815868461339475922991645991/13310448837910484707766760659673117834164756583674964911731127449475335512403222504578237605388297772728320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 511,
            "x": "512",
            "y": "0.12912057389095513",
            "defined": true,
            "xExact": "512",
            "yExact": "5253803680139439839163874992737621813496586791429076951183325857690641220729886407434933510081693517126037/40689128942196159267368789225267729050779950289145239183737459784663651528444148718165898307675200159744000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 512,
            "x": "513",
            "y": "-0.11877161461797381",
            "defined": true,
            "xExact": "513",
            "yExact": "-748888401158003500307341208990785818667004413275524855407082986255002967672360012092730961338186327115456837593/6305280967736154253092423712453829697867420337359626805888838850484336101523389437388585976750526944258293760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 513,
            "x": "514",
            "y": "0.77175407763431458",
            "defined": true,
            "xExact": "514",
            "yExact": "4931995847705432540618049472223645059839640154650552647786717898539604543149412704472600733672013558688005741559/6390631407900890252524514762229605950349792414228963350402572552136134097071048057031549904764148786669813760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 514,
            "x": "515",
            "y": "1.0216766344346773",
            "defined": true,
            "xExact": "515",
            "yExact": "24622735230120753767412340628125734550358190178068828685183714186213281530751188661552317901930940654133800031/24100321373939625650905158876957899650260769678723706081607460902226607125898444571090625421785635178414080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 515,
            "x": "516",
            "y": "1.099360301515905",
            "defined": true,
            "xExact": "516",
            "yExact": "9064123588629910019814159667403538430138125163518587204001779478385513952261834724443582644931508120214980789/8244907130202367407365468879939589604811505270775282352409555610761165755440505281014459895231355798159360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 516,
            "x": "517",
            "y": "1.0694800619393756",
            "defined": true,
            "xExact": "517",
            "yExact": "6789712123219233987563563800867820180052829993978069231846959994051426152768952785948520198912795166080386574103/6348610287233307014477363739153989146405914361478129343864387948466829336015937855077793114267876195576053760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 517,
            "x": "518",
            "y": "0.21553020606828141",
            "defined": true,
            "xExact": "518",
            "yExact": "569476538052149447630747162028275958523137340178299532102164889591191570016347372103349871912234076961239411077/2642212191231030687427561123403305338672216852531890136648414494425891258900068465010438879216692730375700480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 518,
            "x": "519",
            "y": "0.17880091728759245",
            "defined": true,
            "xExact": "519",
            "yExact": "270845102886928614636676971454458351465386573852761762382296171285220333821544324492708661756483398559373723/1514785869086385128949554683258549627810924750584236633198057867898515654197995581248485312162608326901760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 519,
            "x": "520",
            "y": "0.20641417956310301",
            "defined": true,
            "xExact": "520",
            "yExact": "11893481268622153201537917525246977140365555651790656392430842021213044275024136424861813617467728485488241637/57619497331995008032661921603844739902823266699520652567444569891495491640393161225463767732541550399324160000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 520,
            "x": "521",
            "y": "-1.0626975075080101",
            "defined": true,
            "xExact": "521",
            "yExact": "-1440505752282435974354027706872508267406115492773633110210449013373071049648089505951831503203251629748965148423/1355518143314717571260582185430540412832270434673989446113531898254270181991522295042777022455019948070666240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 521,
            "x": "522",
            "y": "-0.030487013367730863",
            "defined": true,
            "xExact": "522",
            "yExact": "-191760713237561529497466401274011915534236785545373598062829859405302088531452246025635291370526338046727420333/6289914690053950554642637632476805582840817497537284332697641306104150230368611090155653177093375378335989760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 522,
            "x": "523",
            "y": "0.90660601142817721",
            "defined": true,
            "xExact": "523",
            "yExact": "22149891818597983905935338354093945529002104551043774787845215463571089777771421401424822445574505626289614481/24431662198781631106696753962823008967244907915734945118382462218701381980412854104128944561156974397358080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 523,
            "x": "524",
            "y": "-0.33448124945628449",
            "defined": true,
            "xExact": "524",
            "yExact": "-8171932898542355075861211606304362009552196933073819701045069111882523649576788866095612042396539657100125551/24431662198781631106696753962823008967244907915734945118382462218701381980412854104128944561156974397358080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 524,
            "x": "525",
            "y": "0.80304404244953398",
            "defined": true,
            "xExact": "525",
            "yExact": "2133054715724853695411383777262858178764654022776338330538608699522171452606418985145162435754709132219359459819/2656211369451635163304765049028888741424238201507058914197983664584331830915434683403668875914275152834068480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 525,
            "x": "526",
            "y": "-1.330516506721606",
            "defined": true,
            "xExact": "526",
            "yExact": "-227372324311208760932004070516203565406401000816502827640361871283260578921280988280769008297993644633874868289/170890269427362749313102659942581692437159000808907029636696374668209378482169234374393519620525752351457280000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 526,
            "x": "527",
            "y": "-0.87401595670605436",
            "defined": true,
            "xExact": "527",
            "yExact": "-78370418141229511061171607765816396452981855927706466140320884578125599822562687497198108751369027513744031/89667033582073080942980347176456995338251337428102336528793256075183143126793822888184512994445395230720000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 527,
            "x": "528",
            "y": "-2.2824361772779338",
            "defined": true,
            "xExact": "528",
            "yExact": "-2582543330520366331700961557579110175106881906997158362004723615001526262463872581394395444496923734854679/1131485452355712692995863199509557460586727637028080728602156685940599601845556324908931830258164865536000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 528,
            "x": "529",
            "y": "-0.9903952889580947",
            "defined": true,
            "xExact": "529",
            "yExact": "-1112077782861968506288997057705118927529036168818083148741002434501515699535249825972457741117938165224216131/1122862553225475182888852797329394952354583926718706809086396612784641938539952799977685424374282437263360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 529,
            "x": "530",
            "y": "-0.59159114731875284",
            "defined": true,
            "xExact": "530",
            "yExact": "-304260412317571575411200956492840767420629010430970638832912558020504952798159209628121993881961826830002231/514308595888495053808447004979506196195285358397453065026547968816756336095231110481494222639501195345920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 530,
            "x": "531",
            "y": "0.95729659865790917",
            "defined": true,
            "xExact": "531",
            "yExact": "23420513941431623849177752118172533470587581695480599019475727318957409948634937504200971018860140193139293431/24465263925795024668538292043154259961320091765521401856351362081148312399873438173709599552939320100782080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 531,
            "x": "532",
            "y": "0.16278900333623883",
            "defined": true,
            "xExact": "532",
            "yExact": "16774074967475758348666984369043966537053760817411169458440516549982079440622281785715788440911429794892421/103041818696003059507584100317708383638906524172419640249428669894395848505016907546227040685017959235584000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 532,
            "x": "533",
            "y": "-0.23315878132209036",
            "defined": true,
            "xExact": "533",
            "yExact": "-630058583435203326132639547359820617794731208993120686572830381854014917666959991492061766698120397440928250579/2702272588073049622793031883905854241903329760705671227888212943183346217755088735942881138946183275851284480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 533,
            "x": "534",
            "y": "-1.1477675156710165",
            "defined": true,
            "xExact": "534",
            "yExact": "-5528781876032577812298007591616027778001979914226803565858042006968855080999242872709489207637218966837331524591/4816987587246968912228666812348249877452143807634844457799364879115105824901306104473085838762994714080706560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 534,
            "x": "535",
            "y": "-1.2179249242564436",
            "defined": true,
            "xExact": "535",
            "yExact": "-2267398005379813610134739676750319175391455698169920136761624576114545697350708265405775092160206833781862524239/1861689468884204599663211157616605040474539413689529689193415948472237291021691295649499716899542404541972480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 535,
            "x": "536",
            "y": "0.99523025980497193",
            "defined": true,
            "xExact": "536",
            "yExact": "6326172420107168923280107382968936107595330742448384249126317324130800102208955662544757789626188984681918272303/6356491231834995852751678342319295449356843583481228732597079071475414898851984609174364333558700049705205760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 536,
            "x": "537",
            "y": "-0.50937403709195217",
            "defined": true,
            "xExact": "537",
            "yExact": "-8681853503157865855320916673418271320787872767489500806136020897569667906968376996358046640336194739029152861/17044161796551516292241197058099799305806092997415296039612177453481907445019473441011506648935860655882240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 537,
            "x": "538",
            "y": "0.089126391492425572",
            "defined": true,
            "xExact": "538",
            "yExact": "2137727964437715799016406173918223267016585599250564015841294311008320889445544898508095609107942325537256461/23985353032265319648426138926040349538616727437844848772018225450070387044841878350444353298783278155694080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 538,
            "x": "539",
            "y": "-0.066460304244950974",
            "defined": true,
            "xExact": "539",
            "yExact": "-33713558870994135375725402677759861563551008433819237292536422313759044362501397521750952591966563193378663/507273616243720045689500422059513956001552527245422424556151459178817997573306672932494883700527380561920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 539,
            "x": "540",
            "y": "0.96235536370007113",
            "defined": true,
            "xExact": "540",
            "yExact": "23082433140840295038984468130505628021483068698338779056494082429034739455410281918154108787397094210306259981/23985353032265319648426138926040349538616727437844848772018225450070387044841878350444353298783278155694080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 540,
            "x": "541",
            "y": "0.89817447554405216",
            "defined": true,
            "xExact": "541",
            "yExact": "10991106444126222710185490309995137199053644692102472744176223446845791294215092067853602042395870019672492153/12237161869322292619882881260156435471387376087153167076354902823362316841136795169251331552564653630423040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 541,
            "x": "542",
            "y": "0.97454796484871242",
            "defined": true,
            "xExact": "542",
            "yExact": "298621322802189421295851969664119061276517187264989699139965356890307031422224035479456544114471354694686171043/306420344173154171180106576377847266804625676965966924275116014220406361962213757213620845869752748406210560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 542,
            "x": "543",
            "y": "-1.2257218441385389",
            "defined": true,
            "xExact": "543",
            "yExact": "-1126347242114545898746226892438233410941494211751295909344542858676927367642602173198139519387353081870301564657/918925649812633101331611284129347102876721260222527729142373618329375833878976233222700393853146622318346240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 543,
            "x": "544",
            "y": "0.89817447554405216",
            "defined": true,
            "xExact": "544",
            "yExact": "10991106444126222710185490309995137199053644692102472744176223446845791294215092067853602042395870019672492153/12237161869322292619882881260156435471387376087153167076354902823362316841136795169251331552564653630423040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 544,
            "x": "545",
            "y": "-1.2178452067978112",
            "defined": true,
            "xExact": "545",
            "yExact": "-219805727929195860733072284934025690317034422397913481818690241424683431074060419776253325379322938205500407/180487410635010516600134162406446282369430316001250936257630711401553170564342421939217017446637434306560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 545,
            "x": "546",
            "y": "-0.44203106828419347",
            "defined": true,
            "xExact": "546",
            "yExact": "-589108227148478247340594515307825315982562677150206428009230678592891776106378973170166846589754953284148158991/1332730365390798610807998419139336546540904796343920720714283958613550111322565413848208103855025567684362240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 546,
            "x": "547",
            "y": "0.05035719183263028",
            "defined": true,
            "xExact": "547",
            "yExact": "105123480346698360712605813512430483330766602275247459106184319287389706713785482977808874864232337419974140653/2087556444690007611687356003763342205769540441919873003094247445205709642727209910859319025274789804030033920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 547,
            "x": "548",
            "y": "0.73280731325833059",
            "defined": true,
            "xExact": "548",
            "yExact": "986597075478745814309104701171925600933525659062690066850544997246687305149298649482693179002098805848774245731/1346325367704059422137137566540394185259965848879563434819602845603334604093370334193109610508356445656842240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 548,
            "x": "549",
            "y": "0.82319287542656905",
            "defined": true,
            "xExact": "549",
            "yExact": "1106317456978445047834219686371027196103842839832288282738494368164867905045612584129689022739904489037529134307/1343934684086234558086083597584842008324284827673639923336410234313728279014936359978026968747840944068362240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 549,
            "x": "550",
            "y": "-1.339523001597569",
            "defined": true,
            "xExact": "550",
            "yExact": "-11317488390810281759937592423547228761915992905162982938501690800549053153256319482712355577666933710615523903/8448894402942383137237089651913047391465639612933753786652388702194893725490391778746023126095398169477120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 550,
            "x": "551",
            "y": "-1.0271749733125128",
            "defined": true,
            "xExact": "551",
            "yExact": "-125476715172965194342139876484708767059594532544197132079692868223589068109064870818927184060299654882996227/122157099260623753883303555621185255979688097003495234845142334084109133209435929496602538141401654231040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 551,
            "x": "552",
            "y": "-1.313187424637388",
            "defined": true,
            "xExact": "552",
            "yExact": "-2104289484073497264779655684072158870717113212083747006164614138219369953351815807657790054871802581676746260101/1602428902831259614218667112523305309098451351274018965299816965235664686789969262907405898983495867322859520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 552,
            "x": "553",
            "y": "0.1597256101976669",
            "defined": true,
            "xExact": "553",
            "yExact": "47546906478925390876539072991557075563680428856094211976261050722685115496228466049844639184234380116719811939/297678665431825069777795363637463654408495280251006067942471255108916999616695229455062686141499802973634560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 553,
            "x": "554",
            "y": "-0.98192774708373798",
            "defined": true,
            "xExact": "554",
            "yExact": "-684190551562038192994124291518757802346207738850007129731424508326018069501434776954827054423217103941180691359/696782989984792620526457082748192393946143627155762530272644840499054650752544410111648180115689328864133120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 554,
            "x": "555",
            "y": "0.79603688084915303",
            "defined": true,
            "xExact": "555",
            "yExact": "24419605341100394484916751105957699084219212734890001149633833531701826744152200550226344170621785824411164651/30676474832486872244883363629518691625672014954531675640928738041870550165764088064557837418881831607992320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 555,
            "x": "556",
            "y": "-1.268271025063721",
            "defined": true,
            "xExact": "556",
            "yExact": "-20781644776199264266663096567472031124396895039374080374840834585775707988172969382671006422661997881787423081/16385807422475132885160534603688325896547477981163050958217977545594903228026812131483368336808823871242240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 556,
            "x": "557",
            "y": "0.91836070169941431",
            "defined": true,
            "xExact": "557",
            "yExact": "645692217719107711901204778957675539970580509023630750042582629258607676927227084936748350416013831920010428067/703092169040185207270052348002498602710526357289168979174446691871786772419934517635138976435508394212720640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 557,
            "x": "558",
            "y": "0.64891757596427024",
            "defined": true,
            "xExact": "558",
            "yExact": "3215121119017887962612679493750646249876503411170221220282261715938087884992185281978478280246635505527806997/4954590903537052834249764484548380954296732396861211478600241928577479119059748795823738582587127461052416000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 558,
            "x": "559",
            "y": "1.4018758030652829",
            "defined": true,
            "xExact": "559",
            "yExact": "987370833061613315362836779591284793715394268298361764364837502226868098295626327324127427047951460086683727/704321189439656213390729113466640450249182461099121540662587177263756195841259314805895930710438937886720000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 559,
            "x": "560",
            "y": "-1.2257277099556103",
            "defined": true,
            "xExact": "560",
            "yExact": "-24419605341100394484916751105957699084219212734890001149633833531701826744152200550226344170621785824411164651/19922536745118334769489888129328131956746548114377278288434353574824414894944712993215387248717543448248320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 560,
            "x": "561",
            "y": "0.5832922813914313",
            "defined": true,
            "xExact": "561",
            "yExact": "82021647061579896185937229057906909887184052932632296520467107450810800830997237665501330248163329400014500487/140618433808037041454010469600499720542105271457833795834889338374357354483986903527027795287101678842544128000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 561,
            "x": "562",
            "y": "2.8305863928384212",
            "defined": true,
            "xExact": "562",
            "yExact": "499269223322537326774802895929481572288038654141879223419859082684806110620211065506682837258783734873204447/176383672508891761864081989036450808923086164495899729316566080779422473093219833368967403065569375682560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 562,
            "x": "563",
            "y": "-1.0048235403912771",
            "defined": true,
            "xExact": "563",
            "yExact": "-2751883781697236506785913909994805614567552200059824448412003290939166066351183004533472252157345125643638780237/2738673678590030086507794156654515546197040109543820503688114775903250174884694759796435021025202943143444480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 563,
            "x": "564",
            "y": "-0.89393727602493545",
            "defined": true,
            "xExact": "564",
            "yExact": "-471561728527769517651283651880535548203819106474203265929103317285336484765203788125239100470008135350418787/527510979992533398371282915140397844746070440475726235691357432133617652247617188283226558548224303431680000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 564,
            "x": "565",
            "y": "-0.41523011219318573",
            "defined": true,
            "xExact": "565",
            "yExact": "-146932339020374227199031339353533099723736830431795737387212268126683608824237831397697113169960040429353461447/353857619439733640955868163865882929586901504003021016115903267833817521728490846556910508880834619371421696000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 565,
            "x": "566",
            "y": "0.79603688084915303",
            "defined": true,
            "xExact": "566",
            "yExact": "24419605341100394484916751105957699084219212734890001149633833531701826744152200550226344170621785824411164651/30676474832486872244883363629518691625672014954531675640928738041870550165764088064557837418881831607992320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 566,
            "x": "567",
            "y": "0.65141320321328888",
            "defined": true,
            "xExact": "567",
            "yExact": "4088563065110920481302684119471349729926659607900879787274258393196926867483309932640777945044783827815720881759/6276451022089927748174931241236020836261575380214352767553580407177244191388268583235991251717327565367541760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 567,
            "x": "568",
            "y": "0.30340079956866961",
            "defined": true,
            "xExact": "568",
            "yExact": "338542978005152970191300585486955843733194329989458535992219558352897746672232174298335604106516342044793293/1115827573580700174769906214409402712160851095566676168616000103146703600018028362428686085435308622479360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 568,
            "x": "569",
            "y": "0.41410289107585013",
            "defined": true,
            "xExact": "569",
            "yExact": "58328156752885327375095577470984304333038144396375281246110167182962343471997474376201837016969465584456121/140854261126618192191304528744601504545876856944554343954023911750698506417184524902505298113924468572160000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 569,
            "x": "570",
            "y": "3.1627433250328281",
            "defined": true,
            "xExact": "570",
            "yExact": "3968139219014384517560190457950804740769007413900143501461985009664977208688729010720061380609974082031083707/1254651045377891011105640886600509062941116210059641097799783811814027634311897104521398223993114169075302400"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 570,
            "x": "571",
            "y": "-1.2706792403369291",
            "defined": true,
            "xExact": "571",
            "yExact": "-6028449037903797729453849712752419632381528351851547045977019152481582404673804214512384292754585248952352599967/4744272863311526282958285126596822310198735587685620217879119420090219972638977703123430073475854977004994560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 571,
            "x": "572",
            "y": "0.89604891634840533",
            "defined": true,
            "xExact": "572",
            "yExact": "1366777765325583414461027797385754848693073663237725477133149670756296850195034647998923428598572718500438067/1525338338553547641127974557638537988101523997312282593903652632355423161980882237571984320571069049077760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 572,
            "x": "573",
            "y": "0.97417900378056654",
            "defined": true,
            "xExact": "573",
            "yExact": "3930223808491060049498911574445558853690758155538660818547687402199957650997870808086389988146068105531496649/4034395930561794035566176545739855797283373307213771495005558723624250266942934631635345759315800547655680000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 573,
            "x": "574",
            "y": "1.0042956630835727",
            "defined": true,
            "xExact": "574",
            "yExact": "6315222915040867465922758542373640401654702673301067550548659867204142221346695764485082382940711597415603568703/6288210879703207053206005502498674447370945921985759496986092110153976502413857713459993191147802575775989760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 574,
            "x": "575",
            "y": "0.92849331467783625",
            "defined": true,
            "xExact": "575",
            "yExact": "22428683758872577479254023839341489680277569000487133678507472828955428819782413351989417065435647302417724281/24155999191717136180702173155999797440736104472130404909327599162163393852284823287939227474672609609646080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 575,
            "x": "576",
            "y": "-0.78410906250133561",
            "defined": true,
            "xExact": "576",
            "yExact": "-44661128467450993964480156648142486398935299988418360323138849012849611490846049816532370745333640562834271/56957801667258403639705284073981486569003778974396504620840214028821886713287514688026539085430527098880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 576,
            "x": "577",
            "y": "0.8302127684835372",
            "defined": true,
            "xExact": "577",
            "yExact": "2223824531596109090521540436478965354173718453354001077110032882387187485494517868685136340248834172490169654739/2678620006842507057860935405919899664990998264166497319442236215984688166300176575663306605699905905602068480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 577,
            "x": "578",
            "y": "1.7101707110641449",
            "defined": true,
            "xExact": "578",
            "yExact": "3105844889275088903145651390246403588220385033950172987259641210038542837411795731072650740963575056600861418029/1816102257617599585387477008653134737917740661768211810439037328970035429385838081635613960497305109769748480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 578,
            "x": "579",
            "y": "1.0289724335815977",
            "defined": true,
            "xExact": "579",
            "yExact": "6457078174403423290441316218499453871848805553429159623520371722077420369037924913298730265989014450855578840703/6275268378111876434103714604042189551047859860496971198735371530102215820884274759110608910435338456148213760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 579,
            "x": "580",
            "y": "-0.1663580581496778",
            "defined": true,
            "xExact": "580",
            "yExact": "-260881088601608708129862023539470950190349162669257526825308996372657677573176533007942129883420630833425941/1568190272856427886527663185797081552710155752173034266754623860820057725931662843024233253674799999221760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 580,
            "x": "581",
            "y": "0.93660236650613293",
            "defined": true,
            "xExact": "581",
            "yExact": "7553604065188663709282344841880581361710267826695137857893814861777669269191263000807804399163119180111770027/8064899615155096360107292332807427146227176692583444549937519631610779337033302526668625961553636344463360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 581,
            "x": "582",
            "y": "-1.2460683329429181",
            "defined": true,
            "xExact": "582",
            "yExact": "-50919757859679933012669348165491360966574271581477203437047330367987606204747518361418031930278506170422821/40864338265799219893418218455905472615344509250402453121441884528037719513097611894172218283999945031680000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 582,
            "x": "583",
            "y": "-1.1639288602924838",
            "defined": true,
            "xExact": "583",
            "yExact": "-618018023805792404957383914547636213169242564777315858057899515279759184273499022075372221725357085040641719/530975770847791009297775523568208394172666523025288109287542090777285171572584680970333787284001234616320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 583,
            "x": "584",
            "y": "1.398965569439069",
            "defined": true,
            "xExact": "584",
            "yExact": "23251075545046707797587445423762443464461183789339712667205469878232039138334341795890605485627982008063726343/16620191413552434700649586241828987576864174179898705471858589610488365210271193296109986343817131972362240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 584,
            "x": "585",
            "y": "-1.3749323862454124",
            "defined": true,
            "xExact": "585",
            "yExact": "-2190256584194643985967614279596001184579568120317719439533708490288983080959635843670472856484281560112115846501/1592992212639396040905985097319835613555186587201056568867881654475338593184683127352947956295747751662059520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 585,
            "x": "586",
            "y": "0.49438312626501485",
            "defined": true,
            "xExact": "586",
            "yExact": "541301129320527927790553156451372576711117658638305463232122463019945978455080138553895814553521285110592517/1094902112476959053452644288698457369912995454247120396485787414539886056226913102888812301405786981007360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 586,
            "x": "587",
            "y": "-1.0660604012896837",
            "defined": true,
            "xExact": "587",
            "yExact": "-545694547412717515012404647821945110727426796813702693785762322663563002426272837973107755027132273160235911/511879577135174326433429596696250628333935199150305823926483555707475511370085886111214509185609807953920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 587,
            "x": "588",
            "y": "0.7275124563502674",
            "defined": true,
            "xExact": "588",
            "yExact": "1533196382163761829459874706776783378247217296903523475642297821062538495436380450135210143160325206403663017581/2107450351923033817659613974136328316121298250911164704930528530271565233544307053772392920784417104246865920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 588,
            "x": "589",
            "y": "2.5554847270601111",
            "defined": true,
            "xExact": "589",
            "yExact": "928198240728870575093873178409796457478346646425910837783239921355904185494050759900526065024636157595342719/363218074011614765361794999804428650204129594451406601711291735392320539208845320478037236587134970757120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 589,
            "x": "590",
            "y": "0.0097600384504077306",
            "defined": true,
            "xExact": "590",
            "yExact": "3462307606236147328375185711326481748723136425431917213974057820184813789004622400627558542472599726674783/354743234243253185633823081833986376453888069544657062333311633492021606514801138602701983776496151429120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 590,
            "x": "591",
            "y": "-0.23514969736069924",
            "defined": true,
            "xExact": "591",
            "yExact": "-1467699698355676798051622518879614778398757631021364609467898471530120765616793594346976705165000422663420677849/6241554698258244882394393176879001236303299372051440313875040280482001158824440209709878862289902981359861760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 591,
            "x": "592",
            "y": "-1.3357516289144016",
            "defined": true,
            "xExact": "592",
            "yExact": "-6383807515921938404214777053389588924442492603729601777826603425184315400436380650339249585304482339813667182103/4779187520894297151344256859594243189716054379775933786543606620806862382344188332461818526240463851156930560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 592,
            "x": "593",
            "y": "-0.40036984421297145",
            "defined": true,
            "xExact": "593",
            "yExact": "-68628197408215518071926976217236992087178291305987012555354444441833054536764002889614490377409029620160133/171412004176092877477563120003999906503167758776777499576654603865978331118270168290345029754455342448640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 593,
            "x": "594",
            "y": "0.95369526759315937",
            "defined": true,
            "xExact": "594",
            "yExact": "681388782411714522128861820005732061527249987709451962949564907576226546424148757367551268404086921442319314667/714472227728816673860997821305935436374842634205080518442944518758693171826289000254200833503991306534256640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 594,
            "x": "595",
            "y": "0.83811487886567504",
            "defined": true,
            "xExact": "595",
            "yExact": "117984964465835683907448451793302595531961410220289450277452283898494231732559629908352234292327105001433030431/140774215374292593680380454080445128670493735993085472034692219466835190230254051157324396816096164100177920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 595,
            "x": "596",
            "y": "0.84164718370698033",
            "defined": true,
            "xExact": "596",
            "yExact": "219075001986711085603943294591544337559887875785642058168661527392844900799641614831145732918079588681282957/260293156357762036726091514844876521023776602074578077534844453651962817978969714523311328466006662184960000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 596,
            "x": "597",
            "y": "-1.305528688145948",
            "defined": true,
            "xExact": "597",
            "yExact": "-233109130057923221537372018308729652110976569899510174396680300346582861136171222428385742740230191474171357/178555348629660615827736930860047293102440263999819665970723582267087296258405247284419322789777569218560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 597,
            "x": "598",
            "y": "0.2798623643194581",
            "defined": true,
            "xExact": "598",
            "yExact": "1850424166662567445677962852515312595559241700853911554509222677159973239422196726798415932391555965186107584163/6611907861073952888516420910531976384400012787322451150570837344194605039824897236371879408695813913979125760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 598,
            "x": "599",
            "y": "-1.2462436551709621",
            "defined": true,
            "xExact": "599",
            "yExact": "-19520955294577821370195524843480619218797636204922223122811494704453357606129708911659115826341118827755687781/15663835248894326500895338760082454941410494059668414402798877720425920164327805561609059987950762841866240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 599,
            "x": "600",
            "y": "0.85587200982886735",
            "defined": true,
            "xExact": "600",
            "yExact": "21129452736720603838214881281368769445001059169497016838890979587815837208758701078719360957672349756972645931/24687631437959355905110805307762180820423973467163279324346522786840892191577271510371255824990971578286080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 600,
            "x": "601",
            "y": "0.87787248372207649",
            "defined": true,
            "xExact": "601",
            "yExact": "5729485173248323940309002280824916508361925296753886998847646559699234175939964033443489859628624159032062406203/6526557420909216889084329860756200131917640710453114606057103642542807044277238616728915480682192071567605760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 601,
            "x": "602",
            "y": "-0.54173741450769675",
            "defined": true,
            "xExact": "602",
            "yExact": "-3527215125249544442836949073288842727705864326571131889533092219663539625098349911807579011942902169621639398489/6510931367837861245395349641376011087119932576445111310548800798167140284929438516950035874217352395761909760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 602,
            "x": "603",
            "y": "0.93916806932447494",
            "defined": true,
            "xExact": "603",
            "yExact": "1525740850655181676343302666680400028254169742349847296395856213540567410237464835343142062883242364009076317/1624566358769647060417069279204380402183326770586845115654458865840052954153923800418081771625857820917760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 603,
            "x": "604",
            "y": "-1.0293317754129001",
            "defined": true,
            "xExact": "604",
            "yExact": "-10837809471925008886831994964382117504699076754697639615394440607816877704617982508233822125311665219621533/10528975915056731604359436975794931510846611268850300442567053306710818361190862540082442120956496733798400"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 604,
            "x": "605",
            "y": "0.68761073407428519",
            "defined": true,
            "xExact": "605",
            "yExact": "36199184290013138296696133490682102292331069354613554931888401145279443007728056141196158425720684306409359/52644879575283658021797184878974657554233056344251502212835266533554091805954312700412210604782483668992000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 605,
            "x": "606",
            "y": "1.5211519577409978",
            "defined": true,
            "xExact": "606",
            "yExact": "6247549431186950153099955731112893861251239682096655742120344788860012054827252535461553006611256230643707323/4107117240584521754557385790294546968019330559933609998136330243404538732471887091464271720195289183682560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 606,
            "x": "607",
            "y": "-1.1181816195885748",
            "defined": true,
            "xExact": "607",
            "yExact": "-124344407704169363650060476870834734106810315693001624758733060742762356356797690368449035707048652131818964201/111202335582944755763155350993295683651892902814141574072609247410605708741972479325430460665565448026849280000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 607,
            "x": "608",
            "y": "0.35129692022961001",
            "defined": true,
            "xExact": "608",
            "yExact": "92623480018482230566519052237645030691517564655892355004805957336700789040600474584303214932386897944822143/263661520169157506820932639206820236397492767005782375780571599629712823037610877535178864992068525096960000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 608,
            "x": "609",
            "y": "1.7265568691239055",
            "defined": true,
            "xExact": "609",
            "yExact": "7055756135282067081349096117691892694818240863322884616950645217804253108086587643246787850003636064034672889/4086605116495421030730141875271735584654003774438110555100691201163719638264611817444909352388634539458560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 609,
            "x": "610",
            "y": "0.8670075452739856",
            "defined": true,
            "xExact": "610",
            "yExact": "448470134271885038886121895823406211147359691442964245359377059329125707357346651106122793734337375363899297/517262089259168628755326588031859709370322373778531831631312026179884914131575535339526383268466072616960000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 610,
            "x": "611",
            "y": "-0.72808432731946604",
            "defined": true,
            "xExact": "611",
            "yExact": "-4517049857692608808718428990165723009239424439352082852996332949775675910216203369026226913173508068565737027/6204020177611425415818125792152458306133657009717206793968355859460136095862834276308456748447490593259520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 611,
            "x": "612",
            "y": "0.31477498296074813",
            "defined": true,
            "xExact": "612",
            "yExact": "1512971814889189627511439460484392379268819260146627501498675601463197886525282017398687160878340060564621/4806518614212281753768806343475529786502397550677082707575925261183036471341164966386125064093220995072000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 612,
            "x": "613",
            "y": "0.7844277188807377",
            "defined": true,
            "xExact": "613",
            "yExact": "206480513979954500739115847851524761292223043579837190371630847742907757666084433195736304654305502245529947/263224397876418290108985924394873287771165281721257511064176332667770459029771563502061053023912418344960000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 613,
            "x": "614",
            "y": "0.27548802932980265",
            "defined": true,
            "xExact": "614",
            "yExact": "3370903708392527146029407452073471914842703617855408346547337050608397816276431315213615029416216676454954097/12236116816375435041622456805918925979022368605910964001244666091718563669908640099632953107903691662295040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 614,
            "x": "615",
            "y": "0.92480050391770141",
            "defined": true,
            "xExact": "615",
            "yExact": "1973397373953477801588263992333512952380006127168143877850509349825775513583831883616413864884324953046768362101/2133862779695340359142591060485536967470492446655672248653147274732968199788009017276564651965599085672529920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 615,
            "x": "616",
            "y": "-2.1709171368620512",
            "defined": true,
            "xExact": "616",
            "yExact": "-1175958990074910744663489456883691898386067539406548728575484823078333667837614315642147074715314408059413093/541687644409449324763499316160941548064940924749158659948124337297586288978283639583524806495411419217920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 616,
            "x": "617",
            "y": "0.190762848339842",
            "defined": true,
            "xExact": "617",
            "yExact": "527133794309960200967587634598587128725545802956980744352064980622069120714705430210427615068382863764449048249/2763293790680232085105839741634858741063477615378575890181910650182732979746438811242493791269508155551252480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 617,
            "x": "618",
            "y": "0.7807003045551324",
            "defined": true,
            "xExact": "618",
            "yExact": "1425759145187368791746167436472178530084393677961471463890909646742861131329174470055648703163410516141687/1826256678610893095451473558914336998760249759675362478357403669171557750346775605209178643721601679360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 618,
            "x": "619",
            "y": "0.022162252012520429",
            "defined": true,
            "xExact": "619",
            "yExact": "34667432872463055278802933847765665264861703263056149450251648884842916935936493662437050488035733642884737167/1564255873134097658255502177949175408352108001226805394844810646720276338932793652831438782679870607479275520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 619,
            "x": "620",
            "y": "0.75550154722877427",
            "defined": true,
            "xExact": "620",
            "yExact": "1226029396533859235639081166385310033026941774965873443592860464383567089837808305298255488554730566335299517/1622801966496309328001436660719953104861860136614761578160868595200914838593489868129249307307419248885760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 620,
            "x": "621",
            "y": "-0.69733313752043946",
            "defined": true,
            "xExact": "621",
            "yExact": "-710138925349397879943786869862469220737415301243984998023703307628351010950834790597042997329785788342534461/1018363945637938487896444111327987595400514956264197184358784140301211923405420731871421098698958422671360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 621,
            "x": "622",
            "y": "-0.89074449513895471",
            "defined": true,
            "xExact": "622",
            "yExact": "-1032610887768697504717450332259146523716898765469933360374142742535895790194332259008641411108398577170671/1159267212319523685013302239156737643961521903794081169933321955802660744726890129112607123298161881251840"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 622,
            "x": "623",
            "y": "0.90875290204712544",
            "defined": true,
            "xExact": "623",
            "yExact": "1606979383171290744680652326169432379079136273776504583544768522949748559683321533252244028979120443571278550259/1768334802069173701903544428989410929709285027010674653517703818984455342818709688463707591305850277441044480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 623,
            "x": "624",
            "y": "0.40088035093690322",
            "defined": true,
            "xExact": "624",
            "yExact": "69404881026093380183423988833756880274826859509530477239680332378282179175292567021847566083197164782353828743/173131162113299475058960879509627014470152303160364691246277533277072305773551390304634037634320384686817280000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 624,
            "x": "625",
            "y": "0.85041181059387605",
            "defined": true,
            "xExact": "625",
            "yExact": "572458816128103004393376645921600086026496634180815612276387796595269329775105438854167924040791981476893297591/673154828045406020794092396921859165849419136522521958882397545245023060798059577891647340924424498965381120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 625,
            "x": "626",
            "y": "0.83694552127687194",
            "defined": true,
            "xExact": "626",
            "yExact": "24260205480534834690733351854556123907033256886995337790710317530253764018262873732292274606261316474461723/28986600517943698600296710750541763819250482000434884915634536606124927354347787146562363708620868157440000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 626,
            "x": "627",
            "y": "1.4455142224377935",
            "defined": true,
            "xExact": "627",
            "yExact": "11965990423165339617597042047663769342245290697760895724019494717987877511122256024371755877788411351996034959/8278016388510689246681844607821850981680688629869963859655372540664814377946444398216050432646373174149120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 627,
            "x": "628",
            "y": "0.88128229561554394",
            "defined": true,
            "xExact": "628",
            "yExact": "2705497740950067327296925377270287784573903521803066307370923107829615790394331282324002137323137049490735807/3069955852296311688237972454411574361729305086431139027670561562846392135749382850906262524134246623477760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 628,
            "x": "629",
            "y": "-0.11969763480686649",
            "defined": true,
            "xExact": "629",
            "yExact": "-102398862382478426346692251637962449737763229390405196650095687657626923799611441817716988623562930661584501/855479413170529020665160253126069899202034244282113635332960667478080530353262352092951120582705288314880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 629,
            "x": "630",
            "y": "2.0163458321819188",
            "defined": true,
            "xExact": "630",
            "yExact": "33045626403926309293289583080289670646189793512325406302845758130052935397795621171297787343332024882683565029/16388868356063271118462762260882324885679792169210029892074195045553427976196858900284236417644728538890240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 630,
            "x": "631",
            "y": "-0.33869305848968007",
            "defined": true,
            "xExact": "631",
            "yExact": "-24304300639838029116545037587037981573171902076732964141131435508486020977229818716641495208000864401276779/71759075158543821589413863555010224316989126957602281931475030576690410759408203596328994900266272686080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 631,
            "x": "632",
            "y": "0.81614213690389514",
            "defined": true,
            "xExact": "632",
            "yExact": "16429257521164136405319663365327327267767135572574029899245769265064438775413773599350731691213457143305814487/20130387561521976529292849685503061207478489489226323844177819926347300102353615112153529536263071145656320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 632,
            "x": "633",
            "y": "-0.025466140699779434",
            "defined": true,
            "xExact": "633",
            "yExact": "-125739739148674202930276710636118406961069318938584472648564118026714970556738719101064620972826425181739409/4937526287591871181022161061552436164084794693432655864869304557368178438315454302074251164998194315657216000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 633,
            "x": "634",
            "y": "0.16742034422549532",
            "defined": true,
            "xExact": "634",
            "yExact": "118116502200484651768602283082426341784907564116677873585207255431872239461793133672170603920528922353672449871/705508656949096692996966798747790329006842569135416653649516821945238391154365539698975750068374091218288640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 634,
            "x": "635",
            "y": "-0.41683128577868572",
            "defined": true,
            "xExact": "635",
            "yExact": "-24670322090235904838259451375461460545636348659217093828609047204623390961685194500070875215778147186039127/59185389705451421072413250952149838540680545451523834242766277461915176504513524320155764296243892715520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 635,
            "x": "636",
            "y": "0.18983194011990553",
            "defined": true,
            "xExact": "636",
            "yExact": "337095994527961763470829761795764115291058303133455555567155692500872153590473594090561021354441933016884173439/1775760150346871424184591740788106804223013498530725294837687332256724871985320345734918827303513404583444480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 636,
            "x": "637",
            "y": "0.09430817077435133",
            "defined": true,
            "xExact": "637",
            "yExact": "2873440196968279360744650116898934423111262654227186435420878737847269686343788460266252725674973083654443561/30468624016083230485080402073343762374940073579682630085185271690347664958355185945619695131336303910584320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 637,
            "x": "638",
            "y": "0.12786217125855506",
            "defined": true,
            "xExact": "638",
            "yExact": "1547046651344482293149949873978324863822922162497101773335800887368857867389491099762921255808668603837235313/12099330365790045156885590856744829708132974365350896971827471295093322777072779761156473009322471236567040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 638,
            "x": "639",
            "y": "0.86619773589337223",
            "defined": true,
            "xExact": "639",
            "yExact": "5375729537313025066276372718933296965800386713212036657042771072448894146881872778953262809361976156913147839/6206122822254490738676902670215082465947081192331732658755887150920538528603175997887665289641837154795520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 639,
            "x": "640",
            "y": "0.88650822835388976",
            "defined": true,
            "xExact": "640",
            "yExact": "705483632546350516371199848683996347784901229223273545991802831488644280352887984246072943673278899467985851/795800433636499658252997290543459566890267298585830124087116604340727960426107227559955660130622955847680000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 640,
            "x": "641",
            "y": "0.81298219715758291",
            "defined": true,
            "xExact": "641",
            "yExact": "10101512838422698643457552463229835171540362449482058374898767825533675544336839871227732028178495022940610027/12425257125851540547130765557502293835610594866475333180535668953134210680720479525371745453139494740951040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 641,
            "x": "642",
            "y": "0.013203967285876791",
            "defined": true,
            "xExact": "642",
            "yExact": "107210195533815395503906883463456991844709044956183114106320761927441613159048985402782830596034540103782641/8119544165221418871436249210602114438867020625014306507159531758921379129995940041646418794585359641477120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 642,
            "x": "643",
            "y": "1.6230941075100345",
            "defined": true,
            "xExact": "643",
            "yExact": "1037502974581707312405692978722193441347732484660156730927901230084361557338116840225408302774949860964408791/639213074449100109162965146223667653405705110209651607461640462375822490492054224839632039936784129956249600"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 643,
            "x": "644",
            "y": "-0.24898141938472826",
            "defined": true,
            "xExact": "644",
            "yExact": "-17552461817060399655703725050678871771175662325714705338555608497693927929258855145416881939630786296387345873/70497075084700129349182000871740779253541382416550376591026282204139009841655455006358437357298679088886579200"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 644,
            "x": "645",
            "y": "-0.17789596840616209",
            "defined": true,
            "xExact": "645",
            "yExact": "-32535486984789929790444409579804678044896684755137740758346528561306038304120401465044985534852504723617901499/182890524593040426890678168056995779401517745383890247122581655616989162732708858812330554422758146190606336000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 645,
            "x": "646",
            "y": "-1.2765220666591506",
            "defined": true,
            "xExact": "646",
            "yExact": "-689017455557625227149882390171492513791748257865044765058540521758143944175451190572504729758980962127601409/539761492224640607980654456419985661588331240346248752641890113460648556444175883118249879279310780497920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 646,
            "x": "647",
            "y": "2.7404029125395715",
            "defined": true,
            "xExact": "647",
            "yExact": "84541742087268367894843066068925896930869372409013596912583251756361675737107562703335362216292828157894171/30850113937779426052864837736124774172867411120070812695624306233479379295598101148713093346349332561920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 647,
            "x": "648",
            "y": "-0.99569811077113446",
            "defined": true,
            "xExact": "648",
            "yExact": "-274219683528383086551933666867284813447157755751007511744096619874717727678005312737152879903199214010058542151/275404442935027002679460795238507438940590622419779336295132639753996458801674266694974645947373217301659648000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 648,
            "x": "649",
            "y": "0.38686869433448728",
            "defined": true,
            "xExact": "649",
            "yExact": "4886524013904647147884838117013798983850197356247513725402697878045109819661543824303173370739505003605576203/12630962612032264881294223008507213087820843360383771386846394919770821116365227983588501359640833205207040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 649,
            "x": "650",
            "y": "0.76005932751999239",
            "defined": true,
            "xExact": "650",
            "yExact": "410250756801447911714835321245170833446574835650102381629504780728413394183358285602344609518094945273002239/539761492224640607980654456419985661588331240346248752641890113460648556444175883118249879279310780497920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 650,
            "x": "651",
            "y": "0.78530290242155321",
            "defined": true,
            "xExact": "651",
            "yExact": "425023897229708554056471583130068656481884411197393746200562870539514091609763824262813783509126061207647039/541222878355738352318518865473917679765442987536728657853903687157649843933264969311047563163468085329920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 651,
            "x": "652",
            "y": "0.071571264954657418",
            "defined": true,
            "xExact": "652",
            "yExact": "8092124216659012443420752855052855307638265530638680489608079717661075754474023534220407067693333614266147/113063870280700219991596969402686363209199754327194517029073355767689327180396010352866203298976932823040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 652,
            "x": "653",
            "y": "0.21928336758784392",
            "defined": true,
            "xExact": "653",
            "yExact": "302221813409497780720689281415787656136906894126792356829254527891042170290973791108505901179266243526667938569/1378224973165961156963852904049552214217071201901648136841559579705647424326572214068297905195241915406090240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 653,
            "x": "654",
            "y": "0.34432869958819928",
            "defined": true,
            "xExact": "654",
            "yExact": "2205904129299547371249498446844344188649481971474257638892596097075045553617890631745174516129246420918652113543/6406390556284456327511144999149627641477754708019820701059394582383821856230363444375312567642048657893621760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 654,
            "x": "655",
            "y": "-0.66985477628119572",
            "defined": true,
            "xExact": "655",
            "yExact": "-859913800944637656844269595827688384204553088447971037551225333947014333971793399705994336046275076743030751813/1283731685423793655462838278282353230581590351068176810972437712905852839694711755151657348299904325099978752000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 655,
            "x": "656",
            "y": "0.057224034087830701",
            "defined": true,
            "xExact": "656",
            "yExact": "50050074415800169566334212358606691463366463847145560651730648467441999679387390644850609763347611666180205923/874633800528296698742305727076146454714672944467551768380994378172943651193170313596035267971306103494410240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 656,
            "x": "657",
            "y": "0.71768717357618417",
            "defined": true,
            "xExact": "657",
            "yExact": "2659944260786546750718743099688728922146475491017419945865302805883069043696778193639464328716694701127961683/3706272535890858507292684684726766585174642015815201152883849358648531193072372192212940071403300915773440000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 657,
            "x": "658",
            "y": "-0.41890445511945462",
            "defined": true,
            "xExact": "658",
            "yExact": "-2164581449360406966948127659294367476240887580760338495085441268309600096967624446313330429937539172285346599/5167243802033940724013217345253334306171879994874361244607811378448478454776728084796549922714472248508416000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 658,
            "x": "659",
            "y": "-0.73074237030849043",
            "defined": true,
            "xExact": "659",
            "yExact": "-234381676246875615460293650363340632911032854304365339214369190250826608249699361460850524636342823586263/320744609550872185819730803165638573109541313141582324402291847912082900028431353486040244406226288640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 659,
            "x": "660",
            "y": "0.23421987373737083",
            "defined": true,
            "xExact": "660",
            "yExact": "184707582954690966343431424134319194179788771694452822870213272601489706006418673319146397675649730226779/788607644634811597646670012240943985821773922266797681891352387939367742813438418792494930798640660480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 660,
            "x": "661",
            "y": "0.99013888295679087",
            "defined": true,
            "xExact": "661",
            "yExact": "186878372750041265833453536453304913345521135031810541875457595028896529823871866268685101369540935231023/188739555598481173728471506257189494070700795824266202318320176683234762394198006081990312307966935040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 661,
            "x": "662",
            "y": "-1.545084155130783",
            "defined": true,
            "xExact": "662",
            "yExact": "-4328755083291191996554404499626083023834174137097040065450773478608894738274953343668492706564036930496201388449/2801630622459387102089475216289154282961966359060213217015318654886775239548144327162963872808724884467220480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 662,
            "x": "663",
            "y": "-1.3056781763075811",
            "defined": true,
            "xExact": "663",
            "yExact": "-16380567745154057702192140366014657249044695676116324236778494410560612410256823331648336011625412252180748291/12545639532306356615156205893527489136761154843240993318191708063724317712643755514841064271696167478231040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 663,
            "x": "664",
            "y": "0.77839949065344705",
            "defined": true,
            "xExact": "664",
            "yExact": "1249498162721513837673356899652850191224334403463286285936732518068582891747724285117687048523438460539235517/1605214517384371807704070203419972504377528058734684976984877321106068992288678774256750959959984711925760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 664,
            "x": "665",
            "y": "-0.21080808692452185",
            "defined": true,
            "xExact": "665",
            "yExact": "-37655911716675997925101232363166732903278177940578714343834874410561986287022602388119523702484264200590539559/178626504637644163072953861115143031605963145365823364568432576691696086930512520436305986312571613712744448000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 665,
            "x": "666",
            "y": "0.57226881076444081",
            "defined": true,
            "xExact": "666",
            "yExact": "7739123584708935258315120925185045891745705118898083194281478951923235124335326891347259842391955298673695203/13523580945064887797835453082072531945077204316163964079574868457032810987507179490957683884388225688535040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 666,
            "x": "667",
            "y": "3.295970167217515",
            "defined": true,
            "xExact": "667",
            "yExact": "5796019446572051734196066643548164191615914684108896199286727667155398344930722814549556327268777333463611273457/1758516962386555455795843243402077261086917280115886063992573008988655694116036771484817867738388189523476480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 667,
            "x": "668",
            "y": "0.4845038569470751",
            "defined": true,
            "xExact": "668",
            "yExact": "2449527206853320212636761969252928538085790603049008989890829527837249174939190874943899090481858962479987137/5055743461544610402055936760098992430670007683478184799556068209402245698404687222452320579498774983868416000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 668,
            "x": "669",
            "y": "0.67424942481262584",
            "defined": true,
            "xExact": "669",
            "yExact": "3130337120222585737761583762308715433716482055857764068125581524318187821497206408284701376433293410356807174873/4642698985012123218774979028746513720765399389719197720217860960670987166091143278566738575393319815280066560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 669,
            "x": "670",
            "y": "-0.14761898813218877",
            "defined": true,
            "xExact": "670",
            "yExact": "-3722842186500691768313169234845531989639297361326764344918020011700541067847627726118189719513893101506811731/25219263684201575629519437459524564200111842462196153739365446411518390530869719732803284175309333546926080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 670,
            "x": "671",
            "y": "0.38120709292322119",
            "defined": true,
            "xExact": "671",
            "yExact": "1050822598108355385305934250394259466339216635585230647468344137491886822855070363048632320438712634057876777039/2756566227690840113267938056750331337543821173025719615508425625287219579558328802703261580740254364446228480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 671,
            "x": "672",
            "y": "0.11966279017577389",
            "defined": true,
            "xExact": "672",
            "yExact": "3027906787755467614827181869134308896245816880894211967129059590529349030836704114845865441923830270216692661/25303661926215699067277156985690142275731087858766879676599906046929537769376265566815201265280753289134080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 672,
            "x": "673",
            "y": "-0.072834292117376631",
            "defined": true,
            "xExact": "673",
            "yExact": "-578917424561182284037123626217711782586674481635628513220227367158189244315433011316566586689695921049081739/7948418358047933646910455504707902246194726622350782788763198674470328295297550071712529265231397383045120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 673,
            "x": "674",
            "y": "0.77621442453155709",
            "defined": true,
            "xExact": "674",
            "yExact": "9804335375178237070220859085572483084894170767801558112368973593368148164022670031640658731703311205427736203/12630962612032264881294223008507213087820843360383771386846394919770821116365227983588501359640833205207040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 674,
            "x": "675",
            "y": "-0.9736458700936147",
            "defined": true,
            "xExact": "675",
            "yExact": "-98384676660096564955285938213181659114034496521694843510262714404364401506459413444740352997550121448112729/101047700896258119050353784068057704702566746883070171094771159358166568930921823868708010877126665641656320"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 675,
            "x": "676",
            "y": "-1.2868570043977918",
            "defined": true,
            "xExact": "676",
            "yExact": "-160285302255989169301456000433935790452506375566635562940588528346555797780729035660533203102001178153768731619/124555643485033211324382232671248735669525690783012516281415337297574809942488644073231162275347866981498880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 676,
            "x": "677",
            "y": "0.23490307629799131",
            "defined": true,
            "xExact": "677",
            "yExact": "8406122852060344119829626813752153459282710249051451504081772184788109692181321461260179067350677301802549/35785494956211546780973532092895978438172818790871234306800979507611025369965459770625156256578879356928000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 677,
            "x": "678",
            "y": "-1.2150910172277858",
            "defined": true,
            "xExact": "678",
            "yExact": "-5661853341418720554186941549087636882722277272399588066157461607071562604638759002524983754523712854550454264671/4659612540249177995909128131272530195210392842905996129196955182299256833708373166897029432577040620516802560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 678,
            "x": "679",
            "y": "1.8905612768546343",
            "defined": true,
            "xExact": "679",
            "yExact": "3014052127378295230140601612092058122587447640161562777064146491372246350310504919894905622570933083140439661/1594263124014068301436619471211369892891144545529589374401199083415115218015437274037520290785437311565824000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 679,
            "x": "680",
            "y": "-0.057978910886499681",
            "defined": true,
            "xExact": "680",
            "yExact": "-6608498364756098459774255164296837813318835193442799469389218771551785144260717949852288481274305577954471347/113981071112097746257172682245229403587115143409842846187089912177267825189889599098510491495090841997803520000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 680,
            "x": "681",
            "y": "0.46035523751746832",
            "defined": true,
            "xExact": "681",
            "yExact": "724386291252487994725684691939321600996750163478326164847491209079501229742762653450105300947959175490024899/1573537634021163843528151806377168889036374887726547794064881436468446176813061468651847851958562542714880000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 681,
            "x": "682",
            "y": "0.1822106528776628",
            "defined": true,
            "xExact": "682",
            "yExact": "499418473243547205170932195024113805954624233872084813194377624678917622701404983910379687708475972648129596777/2740885153289360190549669384743847817496717552719137484937658098782376644361696918982856061483877402783252480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 682,
            "x": "683",
            "y": "0.84107007969460512",
            "defined": true,
            "xExact": "683",
            "yExact": "58269636194654649735448889066677312473242467535480993975189785589420235228045916017832760734728408273300533/69280357964716227315729049389394147650062251980416611594934319143735900000321701811760846628542043914240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 683,
            "x": "684",
            "y": "0.42739687811709248",
            "defined": true,
            "xExact": "684",
            "yExact": "147704264614332267804582810163680384683878578983095547614704908109413982217700604073708778153488740499857308281/345590415318537323443707246762719831527226805745451464480790851324482783453179468523369373834640820336066560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 684,
            "x": "685",
            "y": "-1.2699312520192165",
            "defined": true,
            "xExact": "685",
            "yExact": "-648570732246109140361402732466265140103632872543511416700903495456808765634950167616319432910464813276881622267/510713262009158768473433129278791463138440167045186967105419644424654248853605010587630968672744582246563840000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 685,
            "x": "686",
            "y": "-1.2481749612113013",
            "defined": true,
            "xExact": "686",
            "yExact": "-636015908061062795100232542854344253673289888222811212553633085563718275129385188901442023836926617876868498267/509556695035635134073788354363060610360570408969841010636798455960947013068450956597987577002091386073251840000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 686,
            "x": "687",
            "y": "0.61408245753629354",
            "defined": true,
            "xExact": "687",
            "yExact": "442986615229377698746702317451245336119448786403123666969415507541878669194755395238148864622222231996282171227/721379693871480276590165937871765514547187986633931109805734462431343094006463907652414434386304814955888640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 687,
            "x": "688",
            "y": "-0.2805294137034437",
            "defined": true,
            "xExact": "688",
            "yExact": "-829857100450392189375990596076439491119611841454948231519657671317959335158348278475598124132038132401020179/2958182136749694742386927629680235151496774199212885542632241334312481642029893492837456657170747593064448000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 688,
            "x": "689",
            "y": "0.49713470735905524",
            "defined": true,
            "xExact": "689",
            "yExact": "204465614935599358831354041309205025242036914698004876320591009580842150740670594080373753957819163210593173/411288151699945972748029506577672440628882522361471542131372416370347976860644260649783569913610635837440000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 689,
            "x": "690",
            "y": "0.84844044669197738",
            "defined": true,
            "xExact": "690",
            "yExact": "995445116783092880891374244511997470620406111643729579689679208224191893508181066515602518893420582327588873/1173264571089554467897589002788133222582465610305138327555638733274573263837140490103086081049664422543360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 690,
            "x": "691",
            "y": "1.4686455200269215",
            "defined": true,
            "xExact": "691",
            "yExact": "4525738677669073467651658770899523143317940462521476313831174533510370739745061111446296201174759643365379021/3081573201943320340496257483028656617646285701648016039366963430457281990632677631073349744823353132187648000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 691,
            "x": "692",
            "y": "0.78783063920344798",
            "defined": true,
            "xExact": "692",
            "yExact": "86500343487463223197308444469674611257753903306521261108524638533413120718819083642904466500615117617242121/109795607308343749670461526525229465048574706719754659521835290187940129829211807961791075752503214735360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 692,
            "x": "693",
            "y": "0.25921483771995596",
            "defined": true,
            "xExact": "693",
            "yExact": "1691780522730956928074079265840326004328353273616261707395479520403638851587240774696039038866129733921408652859/6526557420909216889084329860756200131917640710453114606057103642542807044277238616728915480682192071567605760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 693,
            "x": "694",
            "y": "2.5181271265517657",
            "defined": true,
            "xExact": "694",
            "yExact": "2232953023167774120124163394022171582568388625029252584380617060682762497705425243020855869652234083889775087/886751506555390187220039151445087523623438158027514980077920801351673616877525408697885175677022356111360000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 694,
            "x": "695",
            "y": "0.72288993029323478",
            "defined": true,
            "xExact": "695",
            "yExact": "10170293978914911566113525521867925086595544671470908736190151816281110449070800050199558651726116567211775429/14068938510167667327669442304795304802346887074569791157742106846393425146450460894312974936995676935946240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 695,
            "x": "696",
            "y": "-0.68733976917484052",
            "defined": true,
            "xExact": "696",
            "yExact": "-2014291103448150592151184707483695211006543021984014419696706746537709828242579408943236135467987832848684015103/2930560974038110594104133247823620091419768583540717094502368202847061230068171523240335224828459603308052480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 696,
            "x": "697",
            "y": "-1.1341971518345388",
            "defined": true,
            "xExact": "697",
            "yExact": "-170520335302945220709594500712076737303391339601431973277421586805855514293004954210255831868187957074174857/150344527869014957015295655685971990180562546617768154995357560332368724534114690936461801514178639298560000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 697,
            "x": "698",
            "y": "-0.59414467490502332",
            "defined": true,
            "xExact": "698",
            "yExact": "-311688481905645585003024476843517025026556194125166494373333924177843100037623153878969338693752759887550353/524600312130156460061005221095442756888699734513788073652050503494422429228431614767806056181587492536320000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 698,
            "x": "699",
            "y": "1.4649759025987772",
            "defined": true,
            "xExact": "699",
            "yExact": "2733058140899330149414518929642560489454692603123325771653774593493637566470677077420933043458567245138903573607/1865599383615152377596917936008047260726156693987403039976499994587056842947040899323642783093621192240660480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 699,
            "x": "700",
            "y": "1.0151610513636939",
            "defined": true,
            "xExact": "700",
            "yExact": "6490391139738831782911840908064051359212938856192880023443342514267240071167176976498848557495097036490286731503/6393459570794319144513607840173884788007883950251298872463837499129435011638647852676216928830504305961205760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 700,
            "x": "701",
            "y": "0.64316327443392451",
            "defined": true,
            "xExact": "701",
            "yExact": "2905076691929606034700641041911136140620764724424795316682375239336447353835110360407327895153999119678179801/4516857238912604338725581580220309629860280131636809140690260168962606490708541214068312947331385712967680000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 701,
            "x": "702",
            "y": "-1.1012400657205448",
            "defined": true,
            "xExact": "702",
            "yExact": "-9457862381086084462931156588499281841664444425654560854105510640104578253126884529390349888579680062520280407/8588374756323251169283049622092459785268187420099062738591547382135269017101675137038742370327197970490982400"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 702,
            "x": "703",
            "y": "0.10352805827445231",
            "defined": true,
            "xExact": "703",
            "yExact": "227772641394356758032254616153702135514372433506137275786797946562355385964950456290859499643901523127311721949/2200105412877857033693877303396774536644793611605870179815508413298543563953951669947452882886471260223569920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 703,
            "x": "704",
            "y": "-1.7681418593340101",
            "defined": true,
            "xExact": "704",
            "yExact": "-1765545834205073491215516187932326483054015767825483163663656118600859726545434307277964629086405562302365429/998531777800954033244215444583415693877311076430712781336055433735155212788212093062438916459013454639923200"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 704,
            "x": "705",
            "y": "-0.51615035798184683",
            "defined": true,
            "xExact": "705",
            "yExact": "-362901274744324766249299131195891606427073197059940819011202258474559846100851722826256493111266415281969052509/703092169040185207270052348002498602710526357289168979174446691871786772419934517635138976435508394212720640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 705,
            "x": "706",
            "y": "-1.3649192372973855",
            "defined": true,
            "xExact": "706",
            "yExact": "-23219337030189334927039842895537514226485948081318798439545861345632595545837578817241484028753856227077255131/17011509835677083200766532941371852422589812329253238335948820927453010273152202212708335207777857033994240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 706,
            "x": "707",
            "y": "-0.17543422208370832",
            "defined": true,
            "xExact": "707",
            "yExact": "-371037509057789602353215875525068659083947698522564816033061143209081021457589920802829580047125224838574529783/2114966536464871355105629780659214224963737210325462707157588989058813516962980794214947857840766638798929920000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 707,
            "x": "708",
            "y": "-1.2730413058091032",
            "defined": true,
            "xExact": "708",
            "yExact": "-140971630152893765187786621646981016042783940204817725970506863714190713468326227263907731760307373551755852729/110736100635239665782423992582590202686748619912981834564459796315485650433982007789897023203294806063841280000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 708,
            "x": "709",
            "y": "0.36869839284866346",
            "defined": true,
            "xExact": "709",
            "yExact": "128174272247719723715839736338985494305444509498745648357500297778031773654106289948087973643296567136288708123/347639899532543802832298231936623335585787615569500263916380899080725384158851255662876989600562894571831296000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 709,
            "x": "710",
            "y": "-0.99714477834069393",
            "defined": true,
            "xExact": "710",
            "yExact": "-796215137258853983075504576802378597390485595836847439092087715212331212751889261336360160228732843658565691/798495017527747232429827535836272199262712916916463501049014629790470425335403730030560661823437201735680000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 710,
            "x": "711",
            "y": "-0.78190815458821183",
            "defined": true,
            "xExact": "711",
            "yExact": "-74449713970670838215149731470040231234562651286648539413562945961822766098178406726587149725775892648812505119/95215420805886616785870788018439510474835060801167638119042366457519465303162540183412664969276241996677120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 711,
            "x": "712",
            "y": "0.62056748843052911",
            "defined": true,
            "xExact": "712",
            "yExact": "7866401028856247557468026897219780652631395556184527576790235176424472683209917963401436341402409022677798477/12676141073311915892921894613788184873317983171117063827044517793449491162888362644456100585182628193239040000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 712,
            "x": "713",
            "y": "1.0181712120166038",
            "defined": true,
            "xExact": "713",
            "yExact": "886639911128433875108631100761918418975146221370962160405957415716531185595091376742391947813570882925805824979/870816126663356393805408031126196960529698283697101225354040691598491552559504107175674856332051873257226240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 713,
            "x": "714",
            "y": "0.32245445600998313",
            "defined": true,
            "xExact": "714",
            "yExact": "524723707277485374820641709705827933638283509103128552885264783818838004177262579722433866436367096123500157/1627280062339222283762246466848212435171440676023577215340908623774620149019698689942993703411968256245760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 714,
            "x": "715",
            "y": "-0.32692886450723596",
            "defined": true,
            "xExact": "715",
            "yExact": "-97330267220135881360045787984441740227902866700779166444829101783222875240401414930491981050532845059141295297/297710841062740271788256435191905052676605242276372274280720961152826811550854200727176643854286022854574080000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 715,
            "x": "716",
            "y": "0.70584953012997997",
            "defined": true,
            "xExact": "716",
            "yExact": "1222471946084345540456587287111859616949005643505097496444343116758314153183592283365076077083498662028501525489/1731915789274848846398896821455542906074059097167268820130580180496322728705849192431027536458680891715092480000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 716,
            "x": "717",
            "y": "0.1645474246354881",
            "defined": true,
            "xExact": "717",
            "yExact": "90329791918986218901362285935026347319291773193143241711984018477724557378342388192346635788646437388214187267/548959013604061593696675232627058007549666966603402167144148428979439239257409304531399825535591238096388096000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 717,
            "x": "718",
            "y": "-0.0044297915024206934",
            "defined": true,
            "xExact": "718",
            "yExact": "-4292046001407951092166107537252572810523633383407835392886897890736971614383662313632944810659484544103503/968904743950709529574568289379989725993346652850066568435018197277106372907841584319267941157174263152640000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 718,
            "x": "719",
            "y": "-1.0006013053425495",
            "defined": true,
            "xExact": "719",
            "yExact": "-700586592743433801956823163189054793667520592161960981489962009495126983342410691952524216750940061012590134271/700165579439847343601619947934041502940731456781289380972857345336645917446445120082722787762227286633349120000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 719,
            "x": "720",
            "y": "-0.80104400860122227",
            "defined": true,
            "xExact": "720",
            "yExact": "-5255407502301349035065978035487827101005436666891309950204328736093826766538131758360307576933239268481322480861/6560697596975111288857166280666510632910589541200849223862597123203526242496302064586101051887640808532213760000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 720,
            "x": "721",
            "y": "1.1103176071542133",
            "defined": true,
            "xExact": "721",
            "yExact": "16956279273278057001060754646578593608038937829388407651398240515536449325704185700510297479923772101013893921/15271557583183473950489487122253721450536830064189173097069917630700974196409666188410433923296117249802240000"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 721,
            "x": "722",
            "y": "-0.068890242279132693",
            "defined": true,
            "xExact": "722",
            "yExact": "-234575187197727525337709740316540531416694119559458030333710723763464066208293185391649809422743496005769/3405056789425487151563186998018118475139782918823220254199891161637775055939859239431189809646401617920000"
          }
        ],
        "plotFile": "ml21-code/python-realdata-person-result/plot.svg",
        "fullResultFile": "ml21-code/python-realdata-person-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "company": {
        "api": "realdata",
        "variant": "company",
        "language": "python",
        "title": "Actual NJPA stores: generic FTE-change scores",
        "input": {
          "kind": "company"
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/realdata-company.py",
        "codeSHA256": "f9fff47eff6a62493f72900288a16f51a21771c8e4f35dd9bbe4e27d8644846c",
        "code": "\"\"\"ML21 complete standalone fixed example, not a general API validator.\nRun: python this-file.py NEW-OUTDIR\nFixed literal input is also supplied as matching human-readable JSON.\nRealdata reads3factual CSVs under data/, using owned public scalar code byvalue.\nNo production engine/model/checker/computed answers are imported.\n\"\"\"\nfrom pathlib import Path\nfrom fractions import Fraction as F\nfrom collections import defaultdict,Counter\nimport csv,json,hashlib,sys,html,math\nif hasattr(sys,'set_int_max_str_digits'):sys.set_int_max_str_digits(200000)\ndef f(v):return v if isinstance(v,F)else F(str(v))\ndef ck(v,label=''):\n if not v:raise AssertionError(label)\ndef maybe(v):return dict(defined=False)if v is None else dict(defined=True,value=v)\ndef mean(v,w):return sum((a*b for a,b in zip(v,w)),F(0))/sum(w,F(0))if sum(w,F(0))else None\ndef extremum(values,p,radius,cap,sign):\n q=list(p);budget=radius;upper=[min(F(1),cap*x)for x in p]\n order=sorted(range(len(values)),key=lambda i:(sign*values[i],i))\n donors=list(order);receivers=list(reversed(order));left=right=0\n while budget>0 and left<len(q)and right<len(q):\n  i,j=donors[left],receivers[right]\n  if sign*values[j]<=sign*values[i]:break\n  move=min(q[i],upper[j]-q[j],budget)\n  if move>0:q[i]-=move;q[j]+=move;budget-=move\n  if q[i]==0:left+=1\n  if q[j]==upper[j]:right+=1\n  if move==0 and q[i]>0 and q[j]<upper[j]:raise AssertionError('transport made no progress')\n return q,sum(a*b for a,b in zip(q,values)),sum(abs(a-b)for a,b in zip(q,p))/2\n\ndef fixed_source(kind):\n selectedKind=kind\n S=Path(__file__).resolve().parent/\"data\"\n def read(n):\n  with(S/n).open(encoding=\"utf8\",newline=\"\")as stream:return list(csv.DictReader(stream))\n def source_rows():\n  rows=read('actual48-country-revised-original-2023-2024.csv');lk={(r['countryISO3'],r['indicatorID'],r['date']):r for r in rows};isos=sorted({r['countryISO3']for r in rows});g=sorted(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])for i in isos);median=(g[7]+g[8])/2\n  models={'country':[dict(id=i+':2024',originalID=i,sourceRow=i,foldGroup='country:'+i,a=int(f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])>median),x=[f(lk[i,'NY.GDP.PCAP.KD','2023']['originalValueToken'])/10000,f(lk[i,'FP.CPI.TOTL.ZG','2023']['originalValueToken'])/10],y=f(lk[i,'NY.GDP.MKTP.KD.ZG','2024']['originalValueToken']))for i in isos]}\n  native=read('actual38408-NSW-all15-fields.csv');pairs=defaultdict(dict)\n  for r in native:pairs[str(int(f(r['id'])))][int(f(r['year']))]=r\n  people=[]\n  for ID,pair in pairs.items():\n   pre,post=pair[1975],pair[1978];ck(pre['treated']==post['treated'],'native stable treatment');sel=int(f(pre['experimental']))==1;ck(sel==(pre['treated']!='.'),'no recode missingtreatment')\n   if sel:people.append(dict(id='nsw-id:'+ID,originalID=ID,sourceRow=int(post['sourceRow']),foldGroup='nsw-id:'+ID,a=int(f(pre['treated'])),x=[F.from_float(float(pre['age']))/10,F.from_float(float(pre['educ']))/10,F.from_float(float(pre['re74']))/10000],y=F.from_float(float(post['re']))/10000))\n  models['person']=people;company=[]\n  for r in read('actual410-NJPA-all46-fields.csv'):\n   ys=[]\n   for suffix in['','2']:\n    v=[None if r[k+suffix]=='.'else f(r[k+suffix])for k in['EMPFT','EMPPT','NMGRS']];ys.append(None if None in v else v[0]+v[1]/2+v[2])\n   company.append(dict(id='njpa-row:'+r['sourceRow'],originalID=r['SHEET'],sourceRow=int(r['sourceRow']),foldGroup='sheet:'+r['SHEET'],a=int(r['STATE']),x=[None if ys[0]is None else ys[0]/10,None if r['CHAIN']=='.'else F(int(f(r['CHAIN'])==2)),None if r['CO_OWNED']=='.'else f(r['CO_OWNED'])],y=None if None in ys else ys[1]-ys[0]))\n  models['company']=company\n  for kind,rr in models.items():\n   groups=sorted({r['foldGroup']for r in rr},key=lambda g:(hashlib.sha256(('ML21|'+kind+'|'+g).encode()).digest(),g));folds={g:i%4 for i,g in enumerate(groups)}\n   for r in rr:r['fold']=folds[r['foldGroup']];r['eligible']=r['y']is not None and None not in r['x'];r['role']='analysis'if r['eligible']else'excluded';r['w']=F(1)\n  return models\n MODELS=source_rows()\n def solve(A,b):\n  n=len(b);M=[list(a)+[v]for a,v in zip(A,b)];pivot=[];i=0\n  for j in range(n):\n   k=next((k for k in range(i,n)if M[k][j]!=0),None)\n   if k is None:continue\n   M[i],M[k]=M[k],M[i];v=M[i][j];M[i]=[z/v for z in M[i]]\n   for k in range(n):\n    if k!=i:\n     v=M[k][j];M[k]=[a-v*b for a,b in zip(M[k],M[i])]\n   pivot.append(j);i+=1\n   if i==n:break\n  beta=[F(0)]*n\n  for i,j in enumerate(pivot):beta[j]=M[i][-1]\n  null=[]\n  for j in range(n):\n   if j in pivot:continue\n   v=[F(0)]*n;v[j]=F(1)\n   for i,k in enumerate(pivot):v[k]=-M[i][j]\n   null.append(v)\n  return beta,null,len(pivot)\n def source_expected(a):\n  base=MODELS[a.get('kind','person')];rep=a.get('representation','full');rr=[]\n  for r in base:\n   full=r['x'];x=full if rep=='full'else[]if rep=='constant'else[F(r['a'])]if a.get('kind','person')=='country'else[F(full[1]>F(6,5)),F(full[2]>0)]if a.get('kind','person')=='person'else[full[1]]\n   group=('higher-GDP-category'if r['a']else'lower-GDP-category')if a.get('kind','person')=='country'else('schooling-over12'if full[1]>F(6,5)else'schooling-at-most12')if a.get('kind','person')=='person'else('chain2'if full[1]else'other-chains');rr.append(dict(r,x=x,fullX=full,group=group))\n  eligible=[r for r in rr if r['eligible']];limit=a.get('trainingLimit',len(eligible));keep={r['id']for r in eligible[:limit]};lam=f(a.get('lambda','1/100'));eps=f(a.get('clip','1/20'));nuisance=[];out={};dimension=len(rr[0]['x'])+1\n  for fold in range(4):\n   tr=[r for r in rr if r['eligible']and r['id']in keep and r['fold']!=fold];fits={};means=[sum(r['x'][j]for r in tr)/len(tr)for j in range(dimension-1)]if tr else[];scales=[max(r['x'][j]for r in tr)-min(r['x'][j]for r in tr)or F(1)for j in range(dimension-1)]if tr else[]\n   def z(r):return None if not tr or None in r['x']else[F(1)]+[(v-m)/s for v,m,s in zip(r['x'],means,scales)]\n   for name in['e','mu0','mu1']:\n    use=[r for r in tr if name=='e'or r['a']==int(name[-1])]\n    if not use:fits[name]=dict(defined=False);continue\n    Z=[z(r)for r in use];Y=[F(r['a'])if name=='e'else r['y']for r in use];N=len(use);A=[[sum(v[j]*v[k]for v in Z)/N+(lam if j==k and j else 0)for k in range(dimension)]for j in range(dimension)];b=[sum(y*v[j]for v,y in zip(Z,Y))/N for j in range(dimension)];beta,null,rank=solve(A,b);minimum=sum((sum(b*z for b,z in zip(beta,v))-y)**2 for v,y in zip(Z,Y))/(2*N)+lam*sum(v*v for v in beta[1:])/2;fits[name]=dict(defined=True,trainingIDs=[r['id']for r in use],rows=N,rank=rank,unique=rank==dimension,theta=beta,nullspace=null,minimumObjective=minimum,meanX=means,scales=scales)\n   nuisance.append(dict(fold=fold,complementRows=len(tr),fits=fits))\n   for r in rr:\n    if r['fold']!=fold:continue\n    zz=z(r);pred={name:None if zz is None or not fit['defined']else sum(v*b for v,b in zip(zz,fit['theta']))for name,fit in fits.items()};eRaw=pred['e'];e=None if eRaw is None else max(eps,min(1-eps,eRaw));inv={name:zz is not None and fit['defined']and all(sum(a*b for a,b in zip(v,zz))==0 for v in fit['nullspace'])for name,fit in fits.items()};out[r['id']]=dict(r,mu0=pred['mu0'],mu1=pred['mu1'],e=e,eRaw=eRaw,propensityClipped=e is not None and e!=eRaw,nuisancePredictionDefined=all(v is not None for v in pred.values()),queryInvariantAcrossMinimizers=inv)\n  return rr,nuisance,[out[r['id']]for r in rr]\n def aipw_expected(rows,role='all'):\n  out=[]\n  for r in rows:\n   reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n   if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n   plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n  def summary(use):\n   ww=[r['w']for r in use];arms=[]\n   for A in[0,1]:\n    arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n   return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n  use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n raw,nuisance,oo=source_expected(dict(kind=selectedKind,representation='full'));scores=aipw_expected(oo);use=[r for r in scores['rows']if r['eligible']];values=[r['score']['value']for r in use];p=[F(1,len(use))for _ in use];lo,low,ltv=extremum(values,p,F(1,10),F(2),-1);hi,high,htv=extremum(values,p,F(1,10),F(2),1);fits=[]\n for n in nuisance:\n  for name,z in n['fits'].items():fits.append(dict(fold=n['fold'],fit=name,trainingIDs=z['trainingIDs'],rows=z['rows'],rank=z['rank'],unique=z['unique'],theta=z['theta'],minimumObjective=z['minimumObjective'],meanX=z['meanX'],scales=z['scales']))\n rr=[]\n for r in scores['rows']:rr.append(dict(id=r['id'],sourceRow=r['sourceRow'],originalID=r['originalID'],foldGroup=r['foldGroup'],fold=r['fold'],a=r['a'],y=r['y'],x=r['fullX'],eligible=r['eligible'],eRaw=r['eRaw'],e=r['e'],mu0=r['mu0'],mu1=r['mu1'],plugin=r.get('plugin'),score=r['score'].get('value'),IPWContribution=r.get('IPWContribution')))\n unit={'country':'GDP growth contrast, percentage points','person':'native real1978earnings/10000','company':'post-minus-pre FTE employees'}[selectedKind]\n return dict(kind=selectedKind,unit=unit,rows=rr,fits=fits,AIPW=scores['overall']['AIPW'].get('value'),plugin=scores['overall']['plugin'].get('value'),IPW=scores['overall']['IPW'].get('value'),normalizedIPWContrast=scores['overall']['normalizedIPWContrast'].get('value'),stressMinimum=low,stressMaximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\n\ndef aipw_expected(rows,role='all'):\n out=[]\n for r in rows:\n  reason='zero-weight'if not r['w']else'inactive-role'if r['role']in['excluded','unused']else'outside-selected-role'if role!='all'and r['role']!=role else'missing-required-field'if r['a']is None or any(r[k]is None for k in['y','e','mu0','mu1'])else'nonoverlap-boundary-propensity'if r['e']in[0,1]else None\n  if reason:out.append(dict(r,eligible=False,reason=reason,score=maybe(None)));continue\n  plugin=r['mu1']-r['mu0'];tr=(r['y']-r['mu1'])/r['e']if r['a']else F(0);co=(r['y']-r['mu0'])/(1-r['e'])if not r['a']else F(0);ipw=r['y']/r['e']if r['a']else-r['y']/(1-r['e']);out.append(dict(r,eligible=True,reason=None,plugin=plugin,treatedResidual=tr,controlResidual=co,score=maybe(plugin+tr-co),IPWContribution=ipw,effectiveArmWeight=r['w']/(r['e']if r['a']else 1-r['e'])))\n def summary(use):\n  ww=[r['w']for r in use];arms=[]\n  for A in[0,1]:\n   arm=[r for r in use if r['a']==A];w=[r['effectiveArmWeight']for r in arm];arms.append(dict(a=A,rows=len(arm),weightedArmDenominator=sum(w,F(0)),normalizedMean=maybe(mean([r['y']for r in arm],w))))\n  return dict(rows=len(use),mass=sum(ww,F(0)),AIPW=maybe(mean([r['score']['value']for r in use],ww)),plugin=maybe(mean([r['plugin']for r in use],ww)),IPW=maybe(mean([r['IPWContribution']for r in use],ww)),normalizedArmMeans=arms,normalizedIPWContrast=maybe(arms[1]['normalizedMean']['value']-arms[0]['normalizedMean']['value'])if all(r['normalizedMean']['defined']for r in arms)else maybe(None))\n use=[r for r in out if r['eligible']];roles=list(dict.fromkeys(r['role']for r in rows));groups=list(dict.fromkeys(r['group']for r in rows));return dict(rows=out,overall=summary(use),byRole=[dict(role=role,**summary([r for r in use if r['role']==role]))for role in roles],byGroup=[dict(group=g,**summary([r for r in use if r['group']==g]))for g in groups],overlapExcluded=[r['id']for r in out if r['reason']=='nonoverlap-boundary-propensity'])\n\n\n# Owned standalone fixed-example adapters; no production engine import.\nQ=F\nnumber=f\ndef fixed_robust(a):\n values=list(map(f,a['values']));p=list(map(f,a.get('probabilities',[F(1,len(values))for _ in values])));radius=f(a.get('radius','1/10'));cap=f(a.get('cap',2))\n if cap<1 or not 0<=radius<=1:raise ValueError('invalid-robust-constraint')\n lo,low,ltv=extremum(values,p,radius,cap,-1);hi,high,htv=extremum(values,p,radius,cap,1)\n return dict(values=values,p=p,radius=radius,cap=cap,baseline=sum(v*w for v,w in zip(values,p)),minimum=low,maximum=high,minWeights=lo,maxWeights=hi,minTV=ltv,maxTV=htv)\ndef fixed_aipw(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  rr.append(dict(id=r.get('id',str(i)),a=None if r.get('a')is None else int(f(r['a'])),**{k:None if r.get(k)is None else f(r[k])for k in ['y','e','mu0','mu1']},w=w,role=r.get('role','analysis'),group=r.get('group','all')))\n return aipw_expected(rr)\ndef fixed_effects(a):\n rr=[]\n for i,r in enumerate(a['rows']):\n  w=f(r.get('weight',1))\n  if w<0:raise ValueError('negative-analysis-weight')\n  y0=None if r.get('y0')is None else f(r['y0']);y1=None if r.get('y1')is None else f(r['y1']);A=r.get('a');A=None if A is None else int(f(A));rr.append(dict(id=r.get('id',str(i)),a=A,y0=y0,y1=y1,w=w,effect=None if y0 is None or y1 is None else y1-y0,observed=y1 if A==1 else y0 if A==0 else None))\n complete=[r for r in rr if r['w']>0 and r['effect']is not None];treated=[r for r in complete if r['a']==1];arms=[mean([r['observed']for r in rr if r['a']==A and r['observed']is not None and r['w']>0],[r['w']for r in rr if r['a']==A and r['observed']is not None and r['w']>0])for A in [0,1]]\n return dict(rows=rr,completeRows=len(complete),ATE=mean([r['effect']for r in complete],[r['w']for r in complete]),ATT=mean([r['effect']for r in treated],[r['w']for r in treated]),observedContrast=None if None in arms else arms[1]-arms[0])\ndef fixed_representation(a):\n atoms=[dict(id=r['id'],p=f(r['probability']),y0=f(r['y0']),y1=f(r['y1']),e=f(r['e']),phi=r['phi'])for r in a['atoms']];groups=[];ATE=sum(r['p']*(r['y1']-r['y0'])for r in atoms)\n if sum(r['p']for r in atoms)!=1:raise ValueError('law-probabilities-must-sum-one')\n for phi in dict.fromkeys(r['phi']for r in atoms if r['p']):\n  use=[r for r in atoms if r['phi']==phi and r['p']];mass=sum(r['p']for r in use);t=sum(r['p']*r['e']for r in use);m1=sum(r['p']*r['e']*r['y1']for r in use)/t if t else None;m0=sum(r['p']*(1-r['e'])*r['y0']for r in use)/(mass-t)if mass!=t else None;groups.append(dict(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=None if m0 is None or m1 is None else m1-m0))\n adjusted=None if any(r['contrast']is None for r in groups)else sum(r['mass']*r['contrast']for r in groups)\n return dict(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=None if adjusted is None else adjusted-ATE)\ndef fixed_validate(a):\n rr=a['rows'];cc=a['candidates'];groups=a['requiredGroups'];eligible=[r.get('y')is not None and f(r.get('weight',1))>0 and r['role']not in ['excluded','unused']and all(c['predictions'][i]is not None for c in cc)for i,r in enumerate(rr)];out=[]\n for c in cc:\n  def risk(ids):return mean([(f(c['predictions'][i])-f(rr[i]['y']))**2 for i in ids],[f(rr[i].get('weight',1))for i in ids])\n  vr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='validation'];tr=[i for i,r in enumerate(rr)if eligible[i]and r['role']=='test'];gv=[risk([i for i in vr if rr[i]['group']==g])for g in groups];worst=None if None in gv else max(gv);criterion=risk(vr)if a.get('criterion','worst-group')=='mean'else worst;out.append(dict(id=c['id'],validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=criterion))\n available=[i for i,z in enumerate(out)if z['criterion']is not None];selected=min(available,key=lambda i:(out[i]['criterion'],i))if available else None\n return dict(commonEligibility=eligible,groups=groups,candidates=out,selectedIndex=selected,selectedID=None if selected is None else out[selected]['id'],selectedScore=None if selected is None else out[selected]['criterion'])\ndef fixed_operation(api,a):return fixed_effects(a)if api=='effects'else fixed_aipw(a)if api=='aipw'else fixed_representation(a)if api=='representation'else fixed_robust(a)if api=='robust'else fixed_validate(a)if api=='validate'else fixed_source(a['kind'])\ndef report_values(api,z):\n summary=[];series=[]\n def add(k,v,u):summary.append((k,v,u))\n if api=='effects':\n  for k in ['completeRows','ATE','ATT','observedContrast']:add(k,z[k],'rows'if k=='completeRows'else'constructed outcome units')\n  series=[('known constructed effects',[(i+1,r['effect'])for i,r in enumerate(z['rows'])])]\n elif api=='aipw':\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast']:add(k,z['overall'][k].get('value'),'constructed outcome units')\n  add('eligibleRows',z['overall']['rows'],'rows');series=[('AIPW row scores',[(i+1,r['score'].get('value'))for i,r in enumerate(z['rows'])])]\n elif api=='representation':\n  for k in ['ATE','adjustedContrast','bias']:add(k,z[k],'constructed outcome units')\n  series=[('representation contrasts',[(i+1,r['contrast'])for i,r in enumerate(z['groups'])])]\n elif api=='robust':\n  for k in ['baseline','minimum','maximum']:add(k,z[k],'declared value units')\n  for k in ['minTV','maxTV']:add(k,z[k],'probability mass')\n  series=[('minimum weights',[(i+1,v)for i,v in enumerate(z['minWeights'])]),('maximum weights',[(i+1,v)for i,v in enumerate(z['maxWeights'])])]\n elif api=='validate':\n  add('selectedIndex',z['selectedIndex'],'zero-based candidate index');add('selectedScore',z['selectedScore'],'squared outcome units');series=[('validation criterion',[(i+1,c['criterion'])for i,c in enumerate(z['candidates'])])]\n else:\n  for k in ['AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum']:add(k,z[k],z['unit'])\n  add('sourceRows',len(z['rows']),'analytical records');add('eligibleRows',sum(r['eligible']for r in z['rows']),'records');series=[('actual out-of-fold scores',[(i+1,r['score'])for i,r in enumerate(z['rows'])])]\n return summary,series\n\nFIXED={'api': 'realdata', 'variant': 'company', 'title': 'Actual NJPA stores: generic FTE-change scores', 'input': {'kind': 'company'}, 'expectedFailure': False}\n\ndef fixed_svg(points,title):\n good=[p for p in points if p['y'] is not None];xx=[float(p['x'])for p in good];yy=[float(p['y'])for p in good];xmin=min(xx)if xx else 0;xmax=max(xx)if xx else 1;ymin=min([0]+yy);ymax=max([0]+yy)\n if xmin==xmax:xmin-=.5;xmax+=.5\n if ymin==ymax:ymin-=.5;ymax+=.5\n pad=(ymax-ymin)*.08;ymin-=pad;ymax+=pad;X=lambda x:82+(float(x)-xmin)/(xmax-xmin)*608;Y=lambda y:354-(float(y)-ymin)/(ymax-ymin)*290;e=html.escape\n out=['<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"'+e(title)+'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">'+e(title)+'</text>']\n for j in range(5):\n  y=ymin+(ymax-ymin)*j/4;x=xmin+(xmax-xmin)*j/4;out.append('<line x1=\"82\" y1=\"'+str(Y(y))+'\" x2=\"690\" y2=\"'+str(Y(y))+'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"'+str(Y(y)+4)+'\" text-anchor=\"end\">'+format(y,'.3g')+'</text><text x=\"'+str(X(x))+'\" y=\"380\" text-anchor=\"middle\">'+format(x,'.3g')+'</text>')\n series=list(dict.fromkeys(p['series']for p in good))\n for j,s in enumerate(series):\n  pp=[p for p in good if p['series']==s];color=['#0f766e','#c76622','#4f46e5','#b23857'][j%4];out.append('<polyline fill=\"none\" stroke=\"'+color+'\" stroke-width=\"1.5\" points=\"'+' '.join(format(X(p['x']),'.6f')+','+format(Y(p['y']),'.6f')for p in pp)+'\"/>')\n  for p in pp:out.append('<circle cx=\"'+format(X(p['x']),'.6f')+'\" cy=\"'+format(Y(p['y']),'.6f')+'\" r=\"2.6\" fill=\"'+color+'\"><title>'+e(s+': '+str(p['y']))+'</title></circle>')\n  out.append('<text x=\"'+str(82+(j%2)*310)+'\" y=\"'+str(432+(j//2)*23)+'\" fill=\"'+color+'\">'+e(s)+'</text>')\n out.append('<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>');return''.join(out)\n\nOUT=Path(sys.argv[1]);OUT.mkdir(parents=True,exist_ok=False)\nresult=fixed_operation(FIXED['api'],FIXED['input']);summary,series=report_values(FIXED['api'],result)\ndef encode(v):\n if isinstance(v,Q):return str(v)\n if isinstance(v,dict):return{k:encode(x)for k,x in v.items()}\n if isinstance(v,(list,tuple)):return[encode(x)for x in v]\n return v\n(OUT/'full.json').write_text(json.dumps(dict(arithmetic='Exact Fraction fixed examples; factualsource and knownhypotheticallaws separate; empiricalTV notCI',result=encode(result)),ensure_ascii=False,indent=2)+'\\n',encoding='utf8')\nsummaryRows=[dict(metric=m,value=''if v is None else str(int(v))if isinstance(v,bool)else str(v),unit=u,defined=int(v is not None))for m,v,u in summary]\npoints=[dict(series=name,index=i,x=str(x),y=''if y is None else str(y),defined=int(y is not None))for name,pp in series for i,(x,y)in enumerate(pp)]\nfor name,rows in [('summary',summaryRows),('plot-points',points)]:\n with(OUT/(name+'.csv')).open('w',encoding='utf8',newline='')as f:writer=csv.DictWriter(f,fieldnames=list(rows[0]));writer.writeheader();writer.writerows(rows)\n(OUT/'plot.svg').write_text(fixed_svg([dict(p,x=number(p['x']),y=None if not p['defined']else number(p['y']))for p in points],FIXED['title']),encoding='utf8');print(FIXED['api']+'/'+FIXED['variant'])\n",
        "returnCode": 0,
        "stdout": "realdata/company\r\n",
        "stderr": "",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/python-realdata-company-result",
        "kind": "company",
        "inputFiles": [
          {
            "file": "ml21-code/realdata-company-input.json",
            "sha256": "a1b83d2aa0cd5bb053929424eb4e52383adea8784b20763e49280728ce837b14",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          },
          {
            "file": "ml21-code/data/actual48-country-revised-original-2023-2024.csv",
            "sha256": "bd444c284344c21f8b980885aea1b76af20754bb31e31d9d9e111ecd44c1454e",
            "scope": "Actively read factual CSV"
          },
          {
            "file": "ml21-code/data/actual38408-NSW-all15-fields.csv",
            "sha256": "346be71909903ab5050146d4fc6eabd86320da3511df612d6ae877c775853014",
            "scope": "Actively read factual CSV"
          },
          {
            "file": "ml21-code/data/actual410-NJPA-all46-fields.csv",
            "sha256": "0e89461df7e5dfecef38e91d474480f8083577fab0c2a8d4285896c8ed2ee669",
            "scope": "Actively read factual CSV"
          }
        ],
        "files": [
          {
            "file": "ml21-code/python-realdata-company-result/full.json",
            "sha256": "2143900d03844ed2dd17fb263ff101ca3c41bfc069280eb18fb21bd5dbe57fb4",
            "bytes": 433481
          },
          {
            "file": "ml21-code/python-realdata-company-result/plot-points.csv",
            "sha256": "bd3fc5090920e42eca7deb0ced7666902bb89d637efee8e1019d566718afdb63",
            "bytes": 49664
          },
          {
            "file": "ml21-code/python-realdata-company-result/plot.svg",
            "sha256": "92b8138c4813ec7dcc3dec944171348487c4bad2ecfc04fd62b2881d44a76236",
            "bytes": 87928
          },
          {
            "file": "ml21-code/python-realdata-company-result/summary.csv",
            "sha256": "b1676711dc2a0a0e79d6a6814a4b765003daf239986358f8df8aa63a6e6ab52a",
            "bytes": 43119
          },
          {
            "file": "ml21-code/python-realdata-company-result/stdout.txt",
            "sha256": "75c0d85d04b7f730fc7a47fc9a6e40905a176de58ade8415a4a3ef252434c4a1",
            "bytes": 18
          },
          {
            "file": "ml21-code/python-realdata-company-result/stderr.txt",
            "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "bytes": 0
          }
        ],
        "summaryRows": [
          {
            "metric": "AIPW",
            "value": "0.85391161",
            "unit": "post-minus-pre FTE employees",
            "defined": "true",
            "rawValue": "5750758756125053501915496176584633027960194958516486582060509035473627437822021031460324888458858028467114917020746274912585442650112022994440874716171733822052092258643372317341259157172996256753659621622944021966037762147254620689366743558673077176044154875246122413031272124025997446734100392119649368217910902701034772370790758647095399282386680123023226488984947522679989009839773113532878466069843148571526115142734117304461491318746975198502863769155747129726465005031774799397085314500894778864994903700071843807958283996693803158422337375008836953770975802288714694028030790663678933878434477366922315493908891288464537624848098881840257968093897586263873412202787956498278630961631908885658244914998375146556501623957300717167352309111912697949984237839341639187610484189830864926679683184620338761427940360019459523778217541192618867086007565830314924386495894307658801208307240454847276028663956663405135769851073658747851095844960529051552491999046544500771166701701851171427737917723680657231542307836901316272124713792712621283179281076005406815941921430004705106005160487090837204381454729702128430890563452380677603319554936561206281680949364096624475606030423744169559169255127660425549950788874675946901176333705762527211824578220899217792215054293347852615603015878793730004596976934424927410573070644096974569802852658316153251141922410831652367634247709999243010600230185681206463793172305079687993647261915586766943614340817585935749646757867752742373271943255852066516908805442253516790427486144941538795980437042190620010327984215331721438655847427004240603106923814960990295061986274887730197531442894820539010226470140922193036612616720708901309964245914851262325177832760336986948946415821046202895902846990979949478159138548144796472481252877468491956456860136039860937782261641371737431933438861136350815845589196385699999790596206258951688342033758355106507186848894897211457469495307857310912884233729928073475623535570133912186661931263480196597480857575895221530787231124642761465139867949529466462243855630652079864509803849141263223981081775951522802365926027150984140814089882857619828645578464441828156833940628260427515040622455818765342909466721086978416190854801741537474054056343223785576337921714071165627858079224545857159696534516093420461285701038652463490082835491578145903246531535083726900971409125892540968972148331225464118511127823149467748653827234691476069820814440777939019133433915292765668084325088381680835826172656429599177367954319429233474893788385512240383899905212840455809956438091164486887005248607473731692080249470463209775769330615152069041504851051789037450828357583527708795291731944339917733419207642346447752248206608194259670418805152114536592534742021596201522709543679678065734536696062094040652040423718666861698737198332856147589123348830976810712932102732791450628948442327620828989633653131850322769341468370428680018610746382520956621584660746096621410654180201180131211655586461728967914125350320155002681628608887336263092730885895168226722282530271819869046508536806279558150865957207343531660662380017031951939042993828513733559785033663604157568124707087127881808637917999455147268520835328180940351152631395205025415222818413910626329493313025305885385117780547506581478498005219144257345884544868418980727536346922444166077771004047880885792173314289621963821251159163003458983481786649921199159539577785768446908450466708313722330730431633567365293383121512713660902704798187576944408512186936611622678890717714930405204097444300153098797045287895228210740717482322911149230542433382276105859781075556611587541896307479358887721537507676499111079423652405957484204010698534046302078636386580032476047919419764778493387086062303025647673632842845587959341514429725067117449203267912302697591627974669222692382935811925068081264633418013519560153023731964793530734777686592009126414302599965939470293524563940430913480195479842006708784947314478315953103383824978011660988195743781221583751255972110467367125969209905710348703465644218333162947083759763858052792561600321223471831126830823152496967399480701211424711872934696701544886913592332386820973191114379384758481740194319445773044249738861582490656456961463209239495814876785945405855296486782839690487798551566904555087183993090020189298034117242609469828693722768420674431360505806743874921971059533927474214590745116830206578914046534225343743269410977540933782712838709685965093522503982462640227648056412853185673628795837029/6734606587840195552385228443503998929516649196368787901997783375142197037389509137728817601857634498140862662607629909694399606150944140389106258962476463162203551226811934601052604284318006024720046080495118155018515641314751089529604911764803837878068918706067940913950948403925795066028516813390415379566813307701084132411829280199355078382310781035566470545887668955419141345751485247888636544128656335160743278094203342521327032012509233411567546371685227697105284437557923252422644596076711955741417608291704323931875139391493169336368429857370977001726279715128034450396344475332070925401926551359985250057326127320321569878561809325140461256933512507352815274141336838040477287655889201611702442023020458433385725479124704085190455078486564244522835506268455366012559150624016263926868983859673528501813888944101178971342537767333764381885146781026398635225858049361325443693934014185371730736354882250699560068517399690929449129547105686274408926365449483150672670062783360315081483511001002675027788649314552536749613230364293332162982597098477323198030211813364342980744522727307545928198077209156990464117317295021610390198055754609576198506728123079198475598585356753494444080201270667879451076637265206975359804741578664307244148207119095855184760025923085587415708356256241316202037794149648712806309080702775010053563017424702790449035692147735122689946530793700316297705682035738240027820478088153368564955059245179002598723397820524508050478435573358638577194307054316509864443918708318784429737650895817024354547135752640930681765729965039632955472512828322845162632575575012978417366884756790184342215175742727133411851572334203669892426862113895909028578687081183374877034333455646235709343592969480018853255400099078477792048316716811359306827682915422952104412208791403819198367574148398524574223482370258910011478797257043844883910383857909866740555141283402382378446030444642955454070733041893597889817616263907692426615158641169658073185862674200244669764932238861014009129871704892294986760673932414422806173982671703533707588571615118088666689749730376479393355066791245941525619388895264736069149352599268148119086843548572781142190781027295925582933384545599633497568122579583572657842175254719829273514909896053488782752844223466648470236927021901478625345777995358911201827389507046469318888098500351734007466623897147787808950094473515934286163522910870485848920723903071310347857135784271818989731919700052428266463934607179599219393343037218449521562289851757701531139836818864848867825969830015724050673049488477940882874388394848705186209531433055033818283525591089515713822077995195822077684244782993239935923089865962027891013652401995251867046330029946216281479861872893033687525903750999134411826267940988480353904930858511319989090270182163380516670534511952280281271261197997656580574513601845567454133937668632146032169059950496080625790155665635989196546566336075787068998730747964995689519272587822865424225329918704089604840216441497035186683144706507102450333048651163263112025654026476127750070756146047394765026592380113311121088929223034581615063076764599685645946720221329912881530239585947873045318100490823606844729335632654214704993521726896488716733744646389972809053057204421168422190569825711399561373346360349658311299649637257984389228800130934936842214942027708758898935959022809729135524425046826682508337625396090591336820433516928382754734800036685921326584147650156769428522378008904149934017008549979171737869383096143968168449136177721493352584029078090478462857688903066944792803635234670840031665692750507788435462787338493505990651989972964105955780251965534604281182619246527485044843268996616193723388058336870434759935937073467964127233263692724962344882428297994729655529934810457300768557788465202934866353092321969597979425873049140663832855333359101793242498455090409754015692891458227939685539310155825075062010523736804793516484009257347701493620671973362143287343919191614872708536785188129626250898125571613699725001158624416352083452102246735412183712888625357227310529836238508529939225976867223897851919769302975719915284780932980618564510660042791046636211381690843090246601211921836166889848796183219217165034946026005186464708589829172243296984084338455987251441111513447379541716436553490695410121628410611074923558310083697631970987039216820415762843086571297450698035133604590554977605969488964285173034465274557514371390951091500342634626151469063946037652525512646174505055754649600",
            "exactFraction": "5750758756125053501915496176584633027960194958516486582060509035473627437822021031460324888458858028467114917020746274912585442650112022994440874716171733822052092258643372317341259157172996256753659621622944021966037762147254620689366743558673077176044154875246122413031272124025997446734100392119649368217910902701034772370790758647095399282386680123023226488984947522679989009839773113532878466069843148571526115142734117304461491318746975198502863769155747129726465005031774799397085314500894778864994903700071843807958283996693803158422337375008836953770975802288714694028030790663678933878434477366922315493908891288464537624848098881840257968093897586263873412202787956498278630961631908885658244914998375146556501623957300717167352309111912697949984237839341639187610484189830864926679683184620338761427940360019459523778217541192618867086007565830314924386495894307658801208307240454847276028663956663405135769851073658747851095844960529051552491999046544500771166701701851171427737917723680657231542307836901316272124713792712621283179281076005406815941921430004705106005160487090837204381454729702128430890563452380677603319554936561206281680949364096624475606030423744169559169255127660425549950788874675946901176333705762527211824578220899217792215054293347852615603015878793730004596976934424927410573070644096974569802852658316153251141922410831652367634247709999243010600230185681206463793172305079687993647261915586766943614340817585935749646757867752742373271943255852066516908805442253516790427486144941538795980437042190620010327984215331721438655847427004240603106923814960990295061986274887730197531442894820539010226470140922193036612616720708901309964245914851262325177832760336986948946415821046202895902846990979949478159138548144796472481252877468491956456860136039860937782261641371737431933438861136350815845589196385699999790596206258951688342033758355106507186848894897211457469495307857310912884233729928073475623535570133912186661931263480196597480857575895221530787231124642761465139867949529466462243855630652079864509803849141263223981081775951522802365926027150984140814089882857619828645578464441828156833940628260427515040622455818765342909466721086978416190854801741537474054056343223785576337921714071165627858079224545857159696534516093420461285701038652463490082835491578145903246531535083726900971409125892540968972148331225464118511127823149467748653827234691476069820814440777939019133433915292765668084325088381680835826172656429599177367954319429233474893788385512240383899905212840455809956438091164486887005248607473731692080249470463209775769330615152069041504851051789037450828357583527708795291731944339917733419207642346447752248206608194259670418805152114536592534742021596201522709543679678065734536696062094040652040423718666861698737198332856147589123348830976810712932102732791450628948442327620828989633653131850322769341468370428680018610746382520956621584660746096621410654180201180131211655586461728967914125350320155002681628608887336263092730885895168226722282530271819869046508536806279558150865957207343531660662380017031951939042993828513733559785033663604157568124707087127881808637917999455147268520835328180940351152631395205025415222818413910626329493313025305885385117780547506581478498005219144257345884544868418980727536346922444166077771004047880885792173314289621963821251159163003458983481786649921199159539577785768446908450466708313722330730431633567365293383121512713660902704798187576944408512186936611622678890717714930405204097444300153098797045287895228210740717482322911149230542433382276105859781075556611587541896307479358887721537507676499111079423652405957484204010698534046302078636386580032476047919419764778493387086062303025647673632842845587959341514429725067117449203267912302697591627974669222692382935811925068081264633418013519560153023731964793530734777686592009126414302599965939470293524563940430913480195479842006708784947314478315953103383824978011660988195743781221583751255972110467367125969209905710348703465644218333162947083759763858052792561600321223471831126830823152496967399480701211424711872934696701544886913592332386820973191114379384758481740194319445773044249738861582490656456961463209239495814876785945405855296486782839690487798551566904555087183993090020189298034117242609469828693722768420674431360505806743874921971059533927474214590745116830206578914046534225343743269410977540933782712838709685965093522503982462640227648056412853185673628795837029/6734606587840195552385228443503998929516649196368787901997783375142197037389509137728817601857634498140862662607629909694399606150944140389106258962476463162203551226811934601052604284318006024720046080495118155018515641314751089529604911764803837878068918706067940913950948403925795066028516813390415379566813307701084132411829280199355078382310781035566470545887668955419141345751485247888636544128656335160743278094203342521327032012509233411567546371685227697105284437557923252422644596076711955741417608291704323931875139391493169336368429857370977001726279715128034450396344475332070925401926551359985250057326127320321569878561809325140461256933512507352815274141336838040477287655889201611702442023020458433385725479124704085190455078486564244522835506268455366012559150624016263926868983859673528501813888944101178971342537767333764381885146781026398635225858049361325443693934014185371730736354882250699560068517399690929449129547105686274408926365449483150672670062783360315081483511001002675027788649314552536749613230364293332162982597098477323198030211813364342980744522727307545928198077209156990464117317295021610390198055754609576198506728123079198475598585356753494444080201270667879451076637265206975359804741578664307244148207119095855184760025923085587415708356256241316202037794149648712806309080702775010053563017424702790449035692147735122689946530793700316297705682035738240027820478088153368564955059245179002598723397820524508050478435573358638577194307054316509864443918708318784429737650895817024354547135752640930681765729965039632955472512828322845162632575575012978417366884756790184342215175742727133411851572334203669892426862113895909028578687081183374877034333455646235709343592969480018853255400099078477792048316716811359306827682915422952104412208791403819198367574148398524574223482370258910011478797257043844883910383857909866740555141283402382378446030444642955454070733041893597889817616263907692426615158641169658073185862674200244669764932238861014009129871704892294986760673932414422806173982671703533707588571615118088666689749730376479393355066791245941525619388895264736069149352599268148119086843548572781142190781027295925582933384545599633497568122579583572657842175254719829273514909896053488782752844223466648470236927021901478625345777995358911201827389507046469318888098500351734007466623897147787808950094473515934286163522910870485848920723903071310347857135784271818989731919700052428266463934607179599219393343037218449521562289851757701531139836818864848867825969830015724050673049488477940882874388394848705186209531433055033818283525591089515713822077995195822077684244782993239935923089865962027891013652401995251867046330029946216281479861872893033687525903750999134411826267940988480353904930858511319989090270182163380516670534511952280281271261197997656580574513601845567454133937668632146032169059950496080625790155665635989196546566336075787068998730747964995689519272587822865424225329918704089604840216441497035186683144706507102450333048651163263112025654026476127750070756146047394765026592380113311121088929223034581615063076764599685645946720221329912881530239585947873045318100490823606844729335632654214704993521726896488716733744646389972809053057204421168422190569825711399561373346360349658311299649637257984389228800130934936842214942027708758898935959022809729135524425046826682508337625396090591336820433516928382754734800036685921326584147650156769428522378008904149934017008549979171737869383096143968168449136177721493352584029078090478462857688903066944792803635234670840031665692750507788435462787338493505990651989972964105955780251965534604281182619246527485044843268996616193723388058336870434759935937073467964127233263692724962344882428297994729655529934810457300768557788465202934866353092321969597979425873049140663832855333359101793242498455090409754015692891458227939685539310155825075062010523736804793516484009257347701493620671973362143287343919191614872708536785188129626250898125571613699725001158624416352083452102246735412183712888625357227310529836238508529939225976867223897851919769302975719915284780932980618564510660042791046636211381690843090246601211921836166889848796183219217165034946026005186464708589829172243296984084338455987251441111513447379541716436553490695410121628410611074923558310083697631970987039216820415762843086571297450698035133604590554977605969488964285173034465274557514371390951091500342634626151469063946037652525512646174505055754649600",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "plugin",
            "value": "1.54865241",
            "unit": "post-minus-pre FTE employees",
            "defined": "true",
            "rawValue": "276809196939911790292076502923475330375699859309003997725718251501574005314428269188913430869936202690300720759/178741979619923858049792747114280236292811832143860356110315049453936830250422598614900194023068124850991620608",
            "exactFraction": "276809196939911790292076502923475330375699859309003997725718251501574005314428269188913430869936202690300720759/178741979619923858049792747114280236292811832143860356110315049453936830250422598614900194023068124850991620608",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "IPW",
            "value": "1.30436222",
            "unit": "post-minus-pre FTE employees",
            "defined": "true",
            "rawValue": "4885814646714605877321566431087098218575320356303792749174901592286787723618166208489338835068410302426495975908566345138462431729665044541818692137280976324181925687068950455056687913413639177642938566098620152990744666644584722386874864795377646815042826720369479598594682596646136953686994769098405814701385136407186037906797903886341526232962927074189329990799494513527999206567493698814215758797208395216615531103311831702996800894953677471566993965629297782468263135922741116250627290302642008678143205407820268283927261332004798358935511012374426478394263509273728205634674887730898477794988317031272809120576176705925653768367380553856167940788510954135204594684562310236583487934592115868876950755452364040376230179673594697902590037265675982420706716759707763622256243264440340224576773437256437779538286073207855383482639459710306483736028647198970995379605654938787510097678530183400334050914799853284070322065341275714499851406186158759052285956743727184815095455536361224075891862120018773791443102813916530206631314359996287728453307485123643116841809094708480294092148966757158660297136743043450295403948396927054326864229742263386165910155090496627611485701800782000115634163183139212670748134368696971803293872643343525009833113036223299255824696930684075611771249905166026095978488708944020803354952615840296103790459242442999566589689424885244648225412901567243371266651317273508486249920982756513922314674043847756547819723515793460839743861935234230717084141387758753700085663994942375974638215107118760940293123497632728370717139027844845781532003015242938538503800024636943064918082230961325360432839297611016181731969633138954398699675860917774585931173848138094029707476079876846454636310661590565542713886891590618399775018840661418870525179155159459234277304439997939579717946944747729084857089765834355878822765866828504977391960570765293478971182730543798163495509839343128069931625474180711028295840504634018143358730287710293147215524156021426920747321027524077800654784090990553125040219953307682064553091148409041832137991858659018007482163054038720953783634104061241971921010596900089919877486343133133910673710964221502533589803550681597827931754789742851019332943325819284742741358471571607127169973424339344875669471207386287819166051156679666870771891444665584158249579772935321739707834551709037850209607425290250803657722341781054977707201946668087704946172916569835300680706270199208785232702751150279202135147379223256178668246652861294878992795094900167155531672707152127598487566700470798201025742947035907168829378539837020110500160079113003868412211380844231317433633857102870709208575286324037921610106990159396891304539666215748259907255939338174061792222541000749450092165732953163274262965415033432980718967042468515393607824581491266509124985320808086451032950180806134939992706898586228856071079402561954045591047936574555816291497029234054199769897500675049172572149470922293592274992970746230838652609818258425269911019431562175801300498105893199007826001976857545571904119752035195060351715997882313329221174172941020238337017672103366387856861078595068991047575038259207739991968109826372233925500314477904064837218143724997351358885688319374017158548135680392627059654927877956865822601192513538234162633670192780841351315533368843297766099555778224574822650991601739174809715475697112562663952221690625644120707286359858215037931386922671482950075969031800991218342223208961019797607704667019093457173541408797379560347050494709743987081216094549125620467063229990315167141172672795658679105196028152994528977031158811202635202439939414124363754410358211187492150305667168322418678795421497600694097762124847270833830349317446828667749569034907109306013976527546726242902966475612448079869832174662196042842876311008199342810703833999049332540268333169039742902737650215399680878995163413385303751246186882479136436234762350662728673966851963005413495172134181307528389043284307749134450710002094075013916516546018848614803958029056785656749374335642793827034685834013614183753884954473461122403246982555692184589237765648081216963381833423548764844590388478479279802395044882530946425250401629941766004599596129090598517896690885244670365494787/3745749903420597896915198751264866268331054849987550631934236295259076189337781688273726291541272831601182333782339820734323484856217677503746387429040658868889939519991577010354974783977368720795292818904113826885514790944492597400823045455227596674669108829629267554451323759465802089656542988440062420676072879113464748092924532395662172692996371024925765011755386200246624549739157618718618480269070156457355256129715479555228534003980236334211692479913164494589697108751106613548611642699985689886347419549391904955032063008807309348029553907760183561582807572822467774626492219168615869033724851267759610917898842874850753466955910037834339825611537722698860713978327556479214814732487289988486764808191611777940229384567492630519974520649517610352397870531538632380545841919829884246023979008051812200209483349145898335801656863257640609813712928934199809299087671681438414507176961529965233938152492728813025951330115619818966158655835726886736977961323975363424271976449739705031962920835408721888653959153526574421443587847334689701357127326067262304026911085131891719905168941889766401943091422900395446022584098056239337190909396687949042493113149598940491938406835071027900599870161737043313592332350889817449307055971700979605649843816184238037493000554917502147869707640031073305155195879861653866205653618516497890251471712237608849571816419242914966064856436865484369130528772109792442155114965875046595569882664100213793959658102869044136768862096902445720669081502616194161328713075326426834349277102179966552865795737503031920514494510111241075719236225697857219922782551170147648185335217706608568129752282077499995909639000307658532355110770674247391534631837014902098519260463408681141038370161740493627348929483053610242759758724224667200031394735646563965551915530913841128001921447503426727065987869319555669042013496902416585964885355530415861705492933212935845350465360999942485077933485826922389432848404264067754357538129941220960015773149482105713183083028877947832099613494135439880386048065416808045950853818333667224250966300963300807043931206028726682355798255169322611662407684767403498248880050062601229929101347761586472797707005731524388648560880197275610680509386895017682593476377783538988305087075630623748650496144016796539096006640026256694749239576525080406047382875279838817773022638362211999769523920689145754678489313277145435505259274073878614321118898817522243610742909017849145629868753657718007921857397300939203750678199548223342945766764937333908380725384788303627172198602171252950432459826159808731587531716839332061366369994761168562800324547150772158043659015433618377102094515426980042907086379206594530116996118674724800818716117978010622907503057142374581338838729218017974252144525967955354296752687633674533337726532981520412411006217078348477937446053305180653626674594760170936081090753350425340354975231408748491426099371120991079544515771196391918761732548928254675945524329738576300655652110208679319332156023449456035248375180437058512027238484192192870213445223425944806301070455980359987331944792942950062615889105963866196006308357179661039523991633570464205312487898053302366513569082888536410322084418270133735978428992552824554437450922994143486804068825057132014499467012404142000356094541205373613583953089862753551613643115355070112205600556950668496389704953776848480010433536497738037220614246760971734895070336068672796970959224536131814463378109989951130040243698442105185945048153449965406758179763627994629936966165356640031571450668524621892312950701352878775755449796586688146795041261504332858531606034978016878059610482178132019568324140194070327787042335487277240651810904591090557796900547335316783716575514502617920049366711651589232776180954702349568343831757208084127195852904397685396909381708760455769228315496089284571615948298387754329444281480683219898129575190823164760537925578332503452019498932696168581198998091489425998943087667246233235676939155038776090839300424149199552687996951503050193788941770638745416803100754920032823326156574257127836058142241026802094983617727179510330064143435170314931351059673193764912244760785239978609573929430818101659944526386748259958424337635217692420697006489600",
            "exactFraction": "4885814646714605877321566431087098218575320356303792749174901592286787723618166208489338835068410302426495975908566345138462431729665044541818692137280976324181925687068950455056687913413639177642938566098620152990744666644584722386874864795377646815042826720369479598594682596646136953686994769098405814701385136407186037906797903886341526232962927074189329990799494513527999206567493698814215758797208395216615531103311831702996800894953677471566993965629297782468263135922741116250627290302642008678143205407820268283927261332004798358935511012374426478394263509273728205634674887730898477794988317031272809120576176705925653768367380553856167940788510954135204594684562310236583487934592115868876950755452364040376230179673594697902590037265675982420706716759707763622256243264440340224576773437256437779538286073207855383482639459710306483736028647198970995379605654938787510097678530183400334050914799853284070322065341275714499851406186158759052285956743727184815095455536361224075891862120018773791443102813916530206631314359996287728453307485123643116841809094708480294092148966757158660297136743043450295403948396927054326864229742263386165910155090496627611485701800782000115634163183139212670748134368696971803293872643343525009833113036223299255824696930684075611771249905166026095978488708944020803354952615840296103790459242442999566589689424885244648225412901567243371266651317273508486249920982756513922314674043847756547819723515793460839743861935234230717084141387758753700085663994942375974638215107118760940293123497632728370717139027844845781532003015242938538503800024636943064918082230961325360432839297611016181731969633138954398699675860917774585931173848138094029707476079876846454636310661590565542713886891590618399775018840661418870525179155159459234277304439997939579717946944747729084857089765834355878822765866828504977391960570765293478971182730543798163495509839343128069931625474180711028295840504634018143358730287710293147215524156021426920747321027524077800654784090990553125040219953307682064553091148409041832137991858659018007482163054038720953783634104061241971921010596900089919877486343133133910673710964221502533589803550681597827931754789742851019332943325819284742741358471571607127169973424339344875669471207386287819166051156679666870771891444665584158249579772935321739707834551709037850209607425290250803657722341781054977707201946668087704946172916569835300680706270199208785232702751150279202135147379223256178668246652861294878992795094900167155531672707152127598487566700470798201025742947035907168829378539837020110500160079113003868412211380844231317433633857102870709208575286324037921610106990159396891304539666215748259907255939338174061792222541000749450092165732953163274262965415033432980718967042468515393607824581491266509124985320808086451032950180806134939992706898586228856071079402561954045591047936574555816291497029234054199769897500675049172572149470922293592274992970746230838652609818258425269911019431562175801300498105893199007826001976857545571904119752035195060351715997882313329221174172941020238337017672103366387856861078595068991047575038259207739991968109826372233925500314477904064837218143724997351358885688319374017158548135680392627059654927877956865822601192513538234162633670192780841351315533368843297766099555778224574822650991601739174809715475697112562663952221690625644120707286359858215037931386922671482950075969031800991218342223208961019797607704667019093457173541408797379560347050494709743987081216094549125620467063229990315167141172672795658679105196028152994528977031158811202635202439939414124363754410358211187492150305667168322418678795421497600694097762124847270833830349317446828667749569034907109306013976527546726242902966475612448079869832174662196042842876311008199342810703833999049332540268333169039742902737650215399680878995163413385303751246186882479136436234762350662728673966851963005413495172134181307528389043284307749134450710002094075013916516546018848614803958029056785656749374335642793827034685834013614183753884954473461122403246982555692184589237765648081216963381833423548764844590388478479279802395044882530946425250401629941766004599596129090598517896690885244670365494787/3745749903420597896915198751264866268331054849987550631934236295259076189337781688273726291541272831601182333782339820734323484856217677503746387429040658868889939519991577010354974783977368720795292818904113826885514790944492597400823045455227596674669108829629267554451323759465802089656542988440062420676072879113464748092924532395662172692996371024925765011755386200246624549739157618718618480269070156457355256129715479555228534003980236334211692479913164494589697108751106613548611642699985689886347419549391904955032063008807309348029553907760183561582807572822467774626492219168615869033724851267759610917898842874850753466955910037834339825611537722698860713978327556479214814732487289988486764808191611777940229384567492630519974520649517610352397870531538632380545841919829884246023979008051812200209483349145898335801656863257640609813712928934199809299087671681438414507176961529965233938152492728813025951330115619818966158655835726886736977961323975363424271976449739705031962920835408721888653959153526574421443587847334689701357127326067262304026911085131891719905168941889766401943091422900395446022584098056239337190909396687949042493113149598940491938406835071027900599870161737043313592332350889817449307055971700979605649843816184238037493000554917502147869707640031073305155195879861653866205653618516497890251471712237608849571816419242914966064856436865484369130528772109792442155114965875046595569882664100213793959658102869044136768862096902445720669081502616194161328713075326426834349277102179966552865795737503031920514494510111241075719236225697857219922782551170147648185335217706608568129752282077499995909639000307658532355110770674247391534631837014902098519260463408681141038370161740493627348929483053610242759758724224667200031394735646563965551915530913841128001921447503426727065987869319555669042013496902416585964885355530415861705492933212935845350465360999942485077933485826922389432848404264067754357538129941220960015773149482105713183083028877947832099613494135439880386048065416808045950853818333667224250966300963300807043931206028726682355798255169322611662407684767403498248880050062601229929101347761586472797707005731524388648560880197275610680509386895017682593476377783538988305087075630623748650496144016796539096006640026256694749239576525080406047382875279838817773022638362211999769523920689145754678489313277145435505259274073878614321118898817522243610742909017849145629868753657718007921857397300939203750678199548223342945766764937333908380725384788303627172198602171252950432459826159808731587531716839332061366369994761168562800324547150772158043659015433618377102094515426980042907086379206594530116996118674724800818716117978010622907503057142374581338838729218017974252144525967955354296752687633674533337726532981520412411006217078348477937446053305180653626674594760170936081090753350425340354975231408748491426099371120991079544515771196391918761732548928254675945524329738576300655652110208679319332156023449456035248375180437058512027238484192192870213445223425944806301070455980359987331944792942950062615889105963866196006308357179661039523991633570464205312487898053302366513569082888536410322084418270133735978428992552824554437450922994143486804068825057132014499467012404142000356094541205373613583953089862753551613643115355070112205600556950668496389704953776848480010433536497738037220614246760971734895070336068672796970959224536131814463378109989951130040243698442105185945048153449965406758179763627994629936966165356640031571450668524621892312950701352878775755449796586688146795041261504332858531606034978016878059610482178132019568324140194070327787042335487277240651810904591090557796900547335316783716575514502617920049366711651589232776180954702349568343831757208084127195852904397685396909381708760455769228315496089284571615948298387754329444281480683219898129575190823164760537925578332503452019498932696168581198998091489425998943087667246233235676939155038776090839300424149199552687996951503050193788941770638745416803100754920032823326156574257127836058142241026802094983617727179510330064143435170314931351059673193764912244760785239978609573929430818101659944526386748259958424337635217692420697006489600",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "normalizedIPWContrast",
            "value": "1.2612583",
            "unit": "post-minus-pre FTE employees",
            "defined": "true",
            "rawValue": "2854300938467752636719846031177320132700477725517503472278795123584303447191392292789326870290977864339107132692989424140301561365317061091994987286917520115511026495118603434312719091528406070695449972831301226416675517234965220949239004653590028756861286845331686907559326961717720154951048029968380602547076598119649894112574909530417814257931756225873499565442318682097800888908135578983901589262268525288619904214251646756589352619777354897168128145933586546737341371918957069934166975277987749233786812063880193107045296741133028683142321610696628687254844508907050566800222896183036332692784018796423275753877131275169603470111787790775910180351716605302497838389166826823448987762151645767848806161748742237503521496255857198488768776617526960069549257057411318812661804424523725712711348335671621339867661071916847415748631126056714101140636398884568148289530324400695690374435290052778725181079353482158193290060580930043559835042061741478497009739702922371595556201759321912102693935098438224879111627754901616387472721657436799688381354335327267669873412298071031462123335477390862965877110489535241725446555097142725347954576714515727212905555493851529317333250620629682466642285793670268602575488313012258767663856495435533605868434822083392153750591156901034230210060384984231521005852405504476709015177652948257809629379259463638094727186032909767151129716659574930879108721133837774463996129977249151370411694128063423448792625046392777647576616346495290724019867148745855559675810360905016054556696596609139526856359812970629844242787393526592034003516896442307083497490447797183455233282909438953022596287160924497665050518290217583968369684833948543063069019674834461067890655251792789354663121173414075004242495181801973740509152249814494504433237113670481280202727825504708841505521367338876031292947659057803244877987457377918599488495517121976109516776326254049061908598554249266494752307760495308082945000496944127910823113519059938598927099628863443851987512985210836082801766583387206340861887010797671249571021004571533374259737700951897975972785615934679233542639835575677650370787964942950306941026076935356362594392721499161575282015329821999082448465013531530395434896668993497744132085187958209765985275018171910599742369890232116057534177122823838279368253912941786518919705972416095859809390276643902057970840934127507729733151663782693733048740896359458987957765035956906864700258498997900738107427994665059278244613867765173881958820355178373580781412126035722510963403445974377524879605632952376762742479948207971166732173679681847474934587868338880217069892400211636545648266339715770373798123336566395814035674458466606789636722036536097280516106090454586848239383417556712695571119577172709583305605323488431647962896812248462730238244959986443013538778846294023520415121138994287486580612598502178841811390580903554874728535474537977901198234800666187022243224760991842570099207661395082950542714921102473016886733319435718898048796341310466820240243464990287924138077254324940748815042456822160380437869414255294302117395861148084183065569246214307909814764654098394976515615626733348557216292564517327098706990331714327193831040013544089281699808353998101042189563168534326202813132175276297162360141555004608234754841204251649748485928087924878210029651416480594273968788599891650168724565555389348756514120745708354222343355129751670769335659058982897703113715825356033792211764232975999420299130159134014185949508096188345912453181280390535902525921799963545987307033013796956377716016266749496948381750902618582362051286463719929605821337235268323722361598697435610307017582652879203882324259117756577647995618466443010151394939887629124811265861291740792542307245977156711819625343485109802862107200105715589979973742863799647481999580979915220070033247141019619259250493531935433740342726973597478486325577876519766107483763818395264043816995126043321192710296927378988363916978703500711914169012116193664474449841544710034020868388564256500290487746166557831697156768877494081392580674642140750062479790800695917430038999357754406139222522692558634593415311154345851730883660949548131530080905450072604440751516584536817639873537549524620250302083004326979169780140210716753263597852986556435604777645183815114015280466541587941797146925897563326034825678067344121488828250905679324505326819702397327975875114249797970020941458635458532424192767235156693092789960062990298907042772233087697275189/2263058198010450906658795361383738434134466021637917062141019436500908095733987519117596379791733423071465017438994480003814685005618407044399295402026586505326894593891485104004054024606681032427073962803115208140862014465573779155528107956635782834337052314188892669586412422696096732966816285125555715217374776266623101313733556389291729835913649575142125174697248402693657169601088094369423605663482995323975739578467729899925532573317725190752995485519763451647933005580841195312295580942070427237119646575507570514347607098879957152912843404778258302267798945811012512482994889962830435714577795241372850723217727127449913693675640235369572944245200498433183145884732692396288688719211400984159198305701620891011511131307498418206807016420850928815966371656681956292815001987317269678109568231147082818875510359205097734709113472405584231331738576030968692422728525077249320192279348389000174473369280044486238987104167450014822106537228061678611294923763742682945836043601820741493601500078355741779213120613835274410690478003605432768752155170536608673408301620176090376538322402972868446007608319570988005260994394652943968699680873359880957858840817173961111889346506743747852171331961769536960189513899804866993520565798772176596130780683300776690639983050690383702870123313188717138711535304236271746883601374490704694609218282439486183689242172815857966246024232082518318352336671290868363608358445362207745948731284624538399052890632224799095457954108676774502072564288289057561116248853780630132078360184146843092369894603872798683657471594520209200377389187200776877478118939932466976485044929754359129008176778982495018194512960242807424086621179027443026334036427181130538766918174836839110106123767115948622823432772152309159348121484699638514606017646628968517282122794387308715980999579089774819196705874417130319698579969369135447335936996090815971571689217021488835597680601927026761492101725485058019980158432114175545759312217643827870993378129707843075533015221267544141827171780406467992536600817345871257828427023704753831099945579577623540035690311117509056795142476268840536399267933003120547680645034596026236662694764333735223129628965380624031745691382513246813306720757271894548943554876517762808060449259473010436533308955476272390556009062299807632238257910909170670748555150930113889760580830901903398621408652100765297330818404155697746228734747907376184040062272953544609513502980644714300311953968181000292312988576128815946569245205616973095302754003173817277564527066024331780328500527569928564214526629366617386798695223392460942204575951371039762938828171426168128178128617135098297409038019409474594593410754818351480470731558559390576166718617720301573142677086991643924568870913317644943632092398144410699250119216220843779191237354554739751212014323044283081256129873106495281709426047187557406128569882064727205549920299808258161207974356469840205742418061658305762478432464566008118972599970236356433166719411778584562721787127160291278816485482742133917064867322107915940834928636923550808305695427051949983308237702841990267753687370785935895999858503804198580960163784480620404761341295441835150275798868454465306358369441959125603800232628348433396184551331002407571911560380896566268578497492432585677538080218050770739134394588151633342734030812818130759610758217207621972796228690847525359083991529255804641202387552197329612845350142534936612822939842450916157871785873114963289744825093692830688239964686226451859725233990764320915500700424579634958931292411177253914745756674839915471753680472917080210329389616352246490336171961237607775595750428733107262829477041687962055725590180497065597547982588989570821315974003474935597505934545746031199864367833884489027173321668617863071815655484008136448471220408653867247599568678834327867456445812448871539456358150182112599980006455158111728669185248540608367145847265650850806258637263302076759906004410839871646707688716338838267555758707135796245981463401038296925010112977054151873778755316338096087691369462971431210627045430455637009156189654227364185163153384289474938338378175227175303266057292751443135418773650189978715553053855231177335137800475045056753488717974010361587028778250896585343586523401728237676114923841842327572086582312366790225483862708168384345885778517286450381907182252158420674219163722373609759783883120558194928622895665422944593854268145566862885717241539363923746198327032723611930675021228688813861140",
            "exactFraction": "2854300938467752636719846031177320132700477725517503472278795123584303447191392292789326870290977864339107132692989424140301561365317061091994987286917520115511026495118603434312719091528406070695449972831301226416675517234965220949239004653590028756861286845331686907559326961717720154951048029968380602547076598119649894112574909530417814257931756225873499565442318682097800888908135578983901589262268525288619904214251646756589352619777354897168128145933586546737341371918957069934166975277987749233786812063880193107045296741133028683142321610696628687254844508907050566800222896183036332692784018796423275753877131275169603470111787790775910180351716605302497838389166826823448987762151645767848806161748742237503521496255857198488768776617526960069549257057411318812661804424523725712711348335671621339867661071916847415748631126056714101140636398884568148289530324400695690374435290052778725181079353482158193290060580930043559835042061741478497009739702922371595556201759321912102693935098438224879111627754901616387472721657436799688381354335327267669873412298071031462123335477390862965877110489535241725446555097142725347954576714515727212905555493851529317333250620629682466642285793670268602575488313012258767663856495435533605868434822083392153750591156901034230210060384984231521005852405504476709015177652948257809629379259463638094727186032909767151129716659574930879108721133837774463996129977249151370411694128063423448792625046392777647576616346495290724019867148745855559675810360905016054556696596609139526856359812970629844242787393526592034003516896442307083497490447797183455233282909438953022596287160924497665050518290217583968369684833948543063069019674834461067890655251792789354663121173414075004242495181801973740509152249814494504433237113670481280202727825504708841505521367338876031292947659057803244877987457377918599488495517121976109516776326254049061908598554249266494752307760495308082945000496944127910823113519059938598927099628863443851987512985210836082801766583387206340861887010797671249571021004571533374259737700951897975972785615934679233542639835575677650370787964942950306941026076935356362594392721499161575282015329821999082448465013531530395434896668993497744132085187958209765985275018171910599742369890232116057534177122823838279368253912941786518919705972416095859809390276643902057970840934127507729733151663782693733048740896359458987957765035956906864700258498997900738107427994665059278244613867765173881958820355178373580781412126035722510963403445974377524879605632952376762742479948207971166732173679681847474934587868338880217069892400211636545648266339715770373798123336566395814035674458466606789636722036536097280516106090454586848239383417556712695571119577172709583305605323488431647962896812248462730238244959986443013538778846294023520415121138994287486580612598502178841811390580903554874728535474537977901198234800666187022243224760991842570099207661395082950542714921102473016886733319435718898048796341310466820240243464990287924138077254324940748815042456822160380437869414255294302117395861148084183065569246214307909814764654098394976515615626733348557216292564517327098706990331714327193831040013544089281699808353998101042189563168534326202813132175276297162360141555004608234754841204251649748485928087924878210029651416480594273968788599891650168724565555389348756514120745708354222343355129751670769335659058982897703113715825356033792211764232975999420299130159134014185949508096188345912453181280390535902525921799963545987307033013796956377716016266749496948381750902618582362051286463719929605821337235268323722361598697435610307017582652879203882324259117756577647995618466443010151394939887629124811265861291740792542307245977156711819625343485109802862107200105715589979973742863799647481999580979915220070033247141019619259250493531935433740342726973597478486325577876519766107483763818395264043816995126043321192710296927378988363916978703500711914169012116193664474449841544710034020868388564256500290487746166557831697156768877494081392580674642140750062479790800695917430038999357754406139222522692558634593415311154345851730883660949548131530080905450072604440751516584536817639873537549524620250302083004326979169780140210716753263597852986556435604777645183815114015280466541587941797146925897563326034825678067344121488828250905679324505326819702397327975875114249797970020941458635458532424192767235156693092789960062990298907042772233087697275189/2263058198010450906658795361383738434134466021637917062141019436500908095733987519117596379791733423071465017438994480003814685005618407044399295402026586505326894593891485104004054024606681032427073962803115208140862014465573779155528107956635782834337052314188892669586412422696096732966816285125555715217374776266623101313733556389291729835913649575142125174697248402693657169601088094369423605663482995323975739578467729899925532573317725190752995485519763451647933005580841195312295580942070427237119646575507570514347607098879957152912843404778258302267798945811012512482994889962830435714577795241372850723217727127449913693675640235369572944245200498433183145884732692396288688719211400984159198305701620891011511131307498418206807016420850928815966371656681956292815001987317269678109568231147082818875510359205097734709113472405584231331738576030968692422728525077249320192279348389000174473369280044486238987104167450014822106537228061678611294923763742682945836043601820741493601500078355741779213120613835274410690478003605432768752155170536608673408301620176090376538322402972868446007608319570988005260994394652943968699680873359880957858840817173961111889346506743747852171331961769536960189513899804866993520565798772176596130780683300776690639983050690383702870123313188717138711535304236271746883601374490704694609218282439486183689242172815857966246024232082518318352336671290868363608358445362207745948731284624538399052890632224799095457954108676774502072564288289057561116248853780630132078360184146843092369894603872798683657471594520209200377389187200776877478118939932466976485044929754359129008176778982495018194512960242807424086621179027443026334036427181130538766918174836839110106123767115948622823432772152309159348121484699638514606017646628968517282122794387308715980999579089774819196705874417130319698579969369135447335936996090815971571689217021488835597680601927026761492101725485058019980158432114175545759312217643827870993378129707843075533015221267544141827171780406467992536600817345871257828427023704753831099945579577623540035690311117509056795142476268840536399267933003120547680645034596026236662694764333735223129628965380624031745691382513246813306720757271894548943554876517762808060449259473010436533308955476272390556009062299807632238257910909170670748555150930113889760580830901903398621408652100765297330818404155697746228734747907376184040062272953544609513502980644714300311953968181000292312988576128815946569245205616973095302754003173817277564527066024331780328500527569928564214526629366617386798695223392460942204575951371039762938828171426168128178128617135098297409038019409474594593410754818351480470731558559390576166718617720301573142677086991643924568870913317644943632092398144410699250119216220843779191237354554739751212014323044283081256129873106495281709426047187557406128569882064727205549920299808258161207974356469840205742418061658305762478432464566008118972599970236356433166719411778584562721787127160291278816485482742133917064867322107915940834928636923550808305695427051949983308237702841990267753687370785935895999858503804198580960163784480620404761341295441835150275798868454465306358369441959125603800232628348433396184551331002407571911560380896566268578497492432585677538080218050770739134394588151633342734030812818130759610758217207621972796228690847525359083991529255804641202387552197329612845350142534936612822939842450916157871785873114963289744825093692830688239964686226451859725233990764320915500700424579634958931292411177253914745756674839915471753680472917080210329389616352246490336171961237607775595750428733107262829477041687962055725590180497065597547982588989570821315974003474935597505934545746031199864367833884489027173321668617863071815655484008136448471220408653867247599568678834327867456445812448871539456358150182112599980006455158111728669185248540608367145847265650850806258637263302076759906004410839871646707688716338838267555758707135796245981463401038296925010112977054151873778755316338096087691369462971431210627045430455637009156189654227364185163153384289474938338378175227175303266057292751443135418773650189978715553053855231177335137800475045056753488717974010361587028778250896585343586523401728237676114923841842327572086582312366790225483862708168384345885778517286450381907182252158420674219163722373609759783883120558194928622895665422944593854268145566862885717241539363923746198327032723611930675021228688813861140",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "stressMinimum",
            "value": "-5.94482984",
            "unit": "post-minus-pre FTE employees",
            "defined": "true",
            "rawValue": "-277937949803055817240701771926908029953065975983269656202853452795371498270250436545347789245694638068716438923752500343682841912685789731584116274984670402613866491829540036870525751808655853004636771467528657954726935865407716320986815218866187705788771701298824952110307964363994714586231473130540739531791373520511080997467416322840966987078136868697941082877117477393838439669028300377252045500307632025382066944772161787952539739039149987020804513694915796763240280366791011139117698987066095441526462163574910529137197372343328163240555347430314496138761553071215497297095381210291531390193140171505804822923344996437883919250645536590176026227452628611240883755846763257904136357239791096674508167784970019254296489240943693714085844755826653035859134822046675519528830485046808395546544409313860028524810387774488589948400059081394957083291184138166420158028104641982888659869900056714017989103938576219688148971226370160389778604004811247522355957529092829483966238745080768465885610917945158319922494612458232046049448708258094368727919618524463096822534789830025656409158597058895406555249615756374172587394494976209819980582402885565602087350281458421515431705265100329788144468149002176961655842261200312186222812898519741461419406392033983222079915365977581723785558560180781153636580807109942563645818005882165756295957272303089710913729377337445043029799931513083875106791771423428553316985245765258341085979012887043410471418129161791408031375250392356423420008265446504769928503800801447822538734220264081509634543657396948780957568407514145912380339906275699558663930929813476938933232527222308153512327635833838306132122161430957437743732847526825247875278594092144559689510293257620073955908317507752865668808010486239117503632739589643129994557384506059494632015846370733563579778978586861158924429168094577445981748654076919961731730935339152960161080626146720311830177428334115427712181594360239343046790851281656377028139960550397630698267340077958152307718671280481387405810988785213257658390758023204676108161251714928800495385234823699314082643465139945510298087174153746379514118064190119071115624379371026972544086093465333222518199207810428582718324327335573438262768551228849549491285256446707522352629697783533386405475859884438387507532397271663878755109957366325926839188468188529874902619295632662313718932892756277611177552626871814250812320686215290629550637184686415246255677232455452645794136583393251825387684905089904491311464059213677825514717839636904326799043362389659260634839806417111350013666356485532387695668821538398840358896276445893024475147465643037787602901077762175765853479572602406249400332220293711951721269500699812094493962972794787593716034839213657061394829910330214786468217009146867934886026510665495098323050071989789896785238051011412340739547636662598988781320579870476300607402104747068284795697937312072149888803826612977229948490702269403456404142204832034460193215272864726555357123511658379792215655709201589464371962534622564410872749480284798446650939652854828061440066529116083534699996651366277782541009866710761246661368001434974855304357077323985670564596333204711373978600493748674499774958159250948327920054096498667272660643707317353824961575366915694392248063146932304564984833573087738796301947363805427854939447910293920138866069767743123846338439218448779553792000301562002713627322060227728596083327690037222643380847311918913252064895779216264481688812216949755531530458997575301400943137100177972342029365274784688925382759461099622280559256185254300308546664697171283570393516356524516298138836363777377162753213688881462733246585306713681795752690201521203764570447985843175308039700248771983637275071616586756483020858370869214313059023588464385974739060854933418392340282633615826592628120513938417338163765143956637134562334082885245185377751354409137904898018349085953251824808835184549959891211861369152832463537312936982420270181199575680533123197783778922748597787977537857535447944406716588911655540093313243717541034165006331945490045716450257209362797437021730779180361/46752885651404018223249402304302563596302121055033536839437404926083127538758509139601183716795808118348509509633743710319469159653159392385189593092040372782796877438765255868538914540578398344269658513258311929028779320871743063634011612069628261019240297763389801969564317439615138976611672067000706411480209282231716229135478993835957177254604069046309938610437171148407995484842199187681963155632759797710023550709783000055049003033134543426120929503150323145721889463032460832736759221239544617903668250691928683417372715359460114697830051695286193562072916542884518526784058885370363770404124867460613774623952398859801512948422971407657224821150137050118350231398152557914699273659199804328596963492104669008242621424791815973699685198346418430655885088733762598128558457965601410106302649909037175408281855233050070870879063667232682841761839552477271458358503618359141612300892016909211551358089097719676510755676464968417507464046259614096759702346168027886234992673211219020793666589471630896520858101185266703252957675788641840612239926921161894739612072001625796610443379280448493779268501904833451145887955733970510072834387697098402230414409183553673996143964417874797936510243944655463889584538868344569413760749212411414727167189790005217832736998716928120723854022699907118850400864414654237176529911140962610665341636326550989320766977437990671276733961662324544367063621781231336592275182839992492810970976140134405585246183891494529453382105186723794558325916282586069727101325143332686275577181015291352267656806353346934158748903131702386348459624267112454406349009447252009138017681348835054832597807092389213296509093189189080535653656553567250101546130378728088177183553408523748229036668760503369969588458818863372131496232399761034687382787176331760425206563073201813281274798085197703588923035755522460505696717085513104026015635868308861667228786188037131553059150514509015270617461197597471224907604498331415540312468945046423421573378293678434867593799870805379949533221967796124703891176731019764001949928594873214286324442274192320935959422053092032039750899999368549752059557415970343001590176657113797540720833041996991539365390034706814793332217180466005845195746025657612874135914811393282228268678071345239862760430918360682937355598652882131795088281040259310187698324141582274813732917106952878556638818351848339309330678490366667942160986250154104012214525758881038720553644720627855692784530607941989615661927976228513655111795324931493350505854010280134907801984839321763591628899620980609022603138695189937970889253542994627830098406186094028158602315284241342625512781319326598841093811306382073854434868010023768958525357123288701358766686537370694209319777379327187551292545776305272941908447293682374795921933801646129740543606075938202395180904220951286756617728568461997968013950330815229250850808540834909351098711672075292289304138752771670291443964267362545108196092167722963688622070309954427176911952383695017974713880371410409204881716810376656029678552907507436712926857328626988662466495283668912107173336517765361191746723381230874934972260259599537363714900200867776635471566936789503770731624782884753406497427877129066017139994016017314521277791228816310995317747620600938506329626118628594351625619298456847767581765849598498830869934414074348694643972808684920499369321020301395463162959936117177371998910210096097576352866814832408131671478120693813487597620899282895420724869673753980602761700485019845708145109614434557395692308525380446081081578801785480867682748974373224902153498154935292779421723558694232687964612700030290911388763128236239172927165135070245237593380130946841794449357460747851557684672428361339658447163579929967749038549709782627133452481858504549450424921010619323326722956481804128293360262870754978236677293803896867949784565167219578009647181553106977154878392904385051682568913356325351230509603856581005588534608599851149386055436637971771327406993029754907591785809696240800988704617363426763792356851683049034429880086302870407093336072781605709512135987698146808692736",
            "exactFraction": "-277937949803055817240701771926908029953065975983269656202853452795371498270250436545347789245694638068716438923752500343682841912685789731584116274984670402613866491829540036870525751808655853004636771467528657954726935865407716320986815218866187705788771701298824952110307964363994714586231473130540739531791373520511080997467416322840966987078136868697941082877117477393838439669028300377252045500307632025382066944772161787952539739039149987020804513694915796763240280366791011139117698987066095441526462163574910529137197372343328163240555347430314496138761553071215497297095381210291531390193140171505804822923344996437883919250645536590176026227452628611240883755846763257904136357239791096674508167784970019254296489240943693714085844755826653035859134822046675519528830485046808395546544409313860028524810387774488589948400059081394957083291184138166420158028104641982888659869900056714017989103938576219688148971226370160389778604004811247522355957529092829483966238745080768465885610917945158319922494612458232046049448708258094368727919618524463096822534789830025656409158597058895406555249615756374172587394494976209819980582402885565602087350281458421515431705265100329788144468149002176961655842261200312186222812898519741461419406392033983222079915365977581723785558560180781153636580807109942563645818005882165756295957272303089710913729377337445043029799931513083875106791771423428553316985245765258341085979012887043410471418129161791408031375250392356423420008265446504769928503800801447822538734220264081509634543657396948780957568407514145912380339906275699558663930929813476938933232527222308153512327635833838306132122161430957437743732847526825247875278594092144559689510293257620073955908317507752865668808010486239117503632739589643129994557384506059494632015846370733563579778978586861158924429168094577445981748654076919961731730935339152960161080626146720311830177428334115427712181594360239343046790851281656377028139960550397630698267340077958152307718671280481387405810988785213257658390758023204676108161251714928800495385234823699314082643465139945510298087174153746379514118064190119071115624379371026972544086093465333222518199207810428582718324327335573438262768551228849549491285256446707522352629697783533386405475859884438387507532397271663878755109957366325926839188468188529874902619295632662313718932892756277611177552626871814250812320686215290629550637184686415246255677232455452645794136583393251825387684905089904491311464059213677825514717839636904326799043362389659260634839806417111350013666356485532387695668821538398840358896276445893024475147465643037787602901077762175765853479572602406249400332220293711951721269500699812094493962972794787593716034839213657061394829910330214786468217009146867934886026510665495098323050071989789896785238051011412340739547636662598988781320579870476300607402104747068284795697937312072149888803826612977229948490702269403456404142204832034460193215272864726555357123511658379792215655709201589464371962534622564410872749480284798446650939652854828061440066529116083534699996651366277782541009866710761246661368001434974855304357077323985670564596333204711373978600493748674499774958159250948327920054096498667272660643707317353824961575366915694392248063146932304564984833573087738796301947363805427854939447910293920138866069767743123846338439218448779553792000301562002713627322060227728596083327690037222643380847311918913252064895779216264481688812216949755531530458997575301400943137100177972342029365274784688925382759461099622280559256185254300308546664697171283570393516356524516298138836363777377162753213688881462733246585306713681795752690201521203764570447985843175308039700248771983637275071616586756483020858370869214313059023588464385974739060854933418392340282633615826592628120513938417338163765143956637134562334082885245185377751354409137904898018349085953251824808835184549959891211861369152832463537312936982420270181199575680533123197783778922748597787977537857535447944406716588911655540093313243717541034165006331945490045716450257209362797437021730779180361/46752885651404018223249402304302563596302121055033536839437404926083127538758509139601183716795808118348509509633743710319469159653159392385189593092040372782796877438765255868538914540578398344269658513258311929028779320871743063634011612069628261019240297763389801969564317439615138976611672067000706411480209282231716229135478993835957177254604069046309938610437171148407995484842199187681963155632759797710023550709783000055049003033134543426120929503150323145721889463032460832736759221239544617903668250691928683417372715359460114697830051695286193562072916542884518526784058885370363770404124867460613774623952398859801512948422971407657224821150137050118350231398152557914699273659199804328596963492104669008242621424791815973699685198346418430655885088733762598128558457965601410106302649909037175408281855233050070870879063667232682841761839552477271458358503618359141612300892016909211551358089097719676510755676464968417507464046259614096759702346168027886234992673211219020793666589471630896520858101185266703252957675788641840612239926921161894739612072001625796610443379280448493779268501904833451145887955733970510072834387697098402230414409183553673996143964417874797936510243944655463889584538868344569413760749212411414727167189790005217832736998716928120723854022699907118850400864414654237176529911140962610665341636326550989320766977437990671276733961662324544367063621781231336592275182839992492810970976140134405585246183891494529453382105186723794558325916282586069727101325143332686275577181015291352267656806353346934158748903131702386348459624267112454406349009447252009138017681348835054832597807092389213296509093189189080535653656553567250101546130378728088177183553408523748229036668760503369969588458818863372131496232399761034687382787176331760425206563073201813281274798085197703588923035755522460505696717085513104026015635868308861667228786188037131553059150514509015270617461197597471224907604498331415540312468945046423421573378293678434867593799870805379949533221967796124703891176731019764001949928594873214286324442274192320935959422053092032039750899999368549752059557415970343001590176657113797540720833041996991539365390034706814793332217180466005845195746025657612874135914811393282228268678071345239862760430918360682937355598652882131795088281040259310187698324141582274813732917106952878556638818351848339309330678490366667942160986250154104012214525758881038720553644720627855692784530607941989615661927976228513655111795324931493350505854010280134907801984839321763591628899620980609022603138695189937970889253542994627830098406186094028158602315284241342625512781319326598841093811306382073854434868010023768958525357123288701358766686537370694209319777379327187551292545776305272941908447293682374795921933801646129740543606075938202395180904220951286756617728568461997968013950330815229250850808540834909351098711672075292289304138752771670291443964267362545108196092167722963688622070309954427176911952383695017974713880371410409204881716810376656029678552907507436712926857328626988662466495283668912107173336517765361191746723381230874934972260259599537363714900200867776635471566936789503770731624782884753406497427877129066017139994016017314521277791228816310995317747620600938506329626118628594351625619298456847767581765849598498830869934414074348694643972808684920499369321020301395463162959936117177371998910210096097576352866814832408131671478120693813487597620899282895420724869673753980602761700485019845708145109614434557395692308525380446081081578801785480867682748974373224902153498154935292779421723558694232687964612700030290911388763128236239172927165135070245237593380130946841794449357460747851557684672428361339658447163579929967749038549709782627133452481858504549450424921010619323326722956481804128293360262870754978236677293803896867949784565167219578009647181553106977154878392904385051682568913356325351230509603856581005588534608599851149386055436637971771327406993029754907591785809696240800988704617363426763792356851683049034429880086302870407093336072781605709512135987698146808692736",
            "mathematicallyPositive": false,
            "mathematicallyNegative": true,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "stressMaximum",
            "value": "7.65265306",
            "unit": "post-minus-pre FTE employees",
            "defined": "true",
            "rawValue": "3058962618666094872936991616995273090210012932299566350088609711819740101032947471918526160110619926608720984555048639537015002422778246873887629320884189477189227378933213539579902975614344611237057488175762065828885967555986283727339436074144104736262840134367739600687093112582339647489806316925973664052716873521094702387080443248027348323519466222450863025292376510905255898771019996030194105119385892333044434684010138278226047261408246131662135705889093778395318402404009550766639264116276083984492333794025795005181210177383197525618501267939144137245594277454538762824826700196484863346488140714099060689676274935705974633872735886576101570712221195176764273734096834779445052385980637643221823649462406242692699501033031762994626753625716655167256482317101381702978574065210465723778608527212947819829775340748303893300434416026871308340857997299648225443976612472462577425555686300130260502970672722298797166722925797146693753942517086097981170761053993531837622589612348797086424511337138880565216072232135274934225192505099951739403984967389757774895258233666364232854255148213265570342647569867747052159635548947625185038812177261187011991916367094916644548893987877308406086387564753329036601499248805208694674328411407468607258356276194476016007924959549285829151874216353412224078948491113233025277268106008196645648127545591885908955358792144486064534076796932166567577106159402016047163583740913795729061782934208107435580426656920534922662765415704889210333330411889705514587950248483598751354542235365820109476054787026689677749344837753422539394498384632051077635204066413318754589035873295039211270201595909699265024896200875467726206526782968321345273777320990710626064128121992683236104934923873895873320483279944989438644745064122127670081564574863916822749490146349347127331932744107454239482917132582414793088860221102209732377445804014918532828071128748300622675890996293890221211619316624460378288976902564744572835248363395264451365146247553224063408343585477475582117018615608975006390010546897143451587955628708717959620221265109140815526170727051764436952866031005243283033129030027918167048901324018346204392315555815512092170203987516340150010224882952187783096340491796524034248579514990428070462944313694054539818715326738532903285248276921100697396049016144360986818360685951914833807033928424802899397445780906114302975528264836050906002801783408514727882591399338125610681499114742841161887348545504047731972281462208682302410487420151006245405511231913654897156629586193922929242070211054001477085916621850992717981002134372556421830416655732880440735394258320915887242602295624961842546656246076621947223644538807367348443474774622191069335919513463269403414053292826260467184824076382243231241940715589245888115909713751184016063384856919821833278615874351571782824978964991062958935285032511311400340384908294340134664151171120372362122494876249724110378091434935475461575954986141171768252007875426831457004879516959558416798658848265906926160693068263466669838538153087883158936581592138930649208956567720246826367277011317133539991266027609149299334420806572396673716955802157415159068658135937158438127460589390253046858040415103059838827069156722763742048824222346239281108261651357310436397551048277776250494331118701980742920781436441902280139324717995248457216673809511813291620760002268559212661562903380929789662163006556158543326709288321153335247493219991735294459396058580191378809249238535303702435516802121218065706437282927581461181069098081956102995651304900335912797311204345589204187180027162711014550617732688778802077236710773185573484469654219465024996391202902219968727346185587175032128523965917815606598734934653684389011176916680658891275502355815590160201581198512702763146023080673975359780667225408464725237887166709237252510055053410883179474537935847565247766990994815827627444714549741131746000224009318275036221080788245512338275880834784874298993311722419752383287790139031965747504391754931231370189354500913162308147198398164929650337063606174679280605394415634420962026889093952080954804643/399725767494347175657891634985768164494499234623055566246936351329324321923106971551226296876972200173402288914601530060874732952160197647294856404162970653292661789594734130124602080819138386659036527099794443395250581556470475296861687329674211360187816205024114162466313705998501575693997404705817271581587386257965596110003988137292307775815937360339011324884383263042922972551324603225769173123055284385724962334358938729077144767362306758936931142093595818348903589802649340902693208147433704190565281357099132437924329767877791492080444625563539742004462720399239451751687784098131229714555113294367797115945594189344616852702595770425634595476752589588048207800009992588500825208836922197953294721066403088358934942182604981953374179729729698959259415816873148664402969666720387060206939128298433180612154162998145273630547442831411204564791280630742705393253649981751254351868245429389381127694099367280163158297858016271050337817550102855618956146807317987464078606043516585379035082920825621150316735395060237061399172639600791691989952892468087563211882734306132085551095511948615044803029805398597332438930478218843253714203666410651832094972688288243533324510039281276052868383531398717178649145600761484449941705435607237497359772140438912235394725238575292549579058743176524842027220668886166619103648819316557009181480613615110433505381258210571332327844058067840440563963187258225244839679192905085414080711857871641179292947639990070433697138296069395146082735818092582033299608358295337015541361340194591908536768350211737222219038338362555218757126015658523058926214079936208587541446218707956876548435865087957707035110829074217408188196277897540792831507904269866693712276311515709091298151119641290984951120452561907038104953523527941844198233061332034318910514762980591062305487592934947947331876428191593954374941571418106596703022356387346876987256827409665881418838460457847900449109959257914929570660280007318940412018351037788061301581407017688775236522442476069957310165678418148706772543680132628133347501803840051267127321214838047236476312273390539804036325271059116394901997862017691396880183121087610804937315041685096496104590360786368949569524668356487417114742724989127120469720867478231338040929273165247780452347788999505560789835531461202047050033816078892166220748289773824749980506508379354959237514697242879290808393325040153415167207045068999066014380198229874767686173334813750199304134681942989490683830978630035844778139391649713091045129254422202688644823686882056545160489975168939545187766565134021116708099141306926262419024359975279765454002620210732666869882439796952983787958988730127226499669163443681435770156228214496661932582825033402943087854971260657505500757147021693587929136968561240593216042728288661839005775799026874993260764598735632329957683804934406430190877827752115543641636660154194882199203471112178448942195505115672713228319868176411137190258457423626226054954609864095318161948205283632335099563870156571862334327998188510450798126296721512024705263115567046574366799801831069116041258530569615672963175898784199678755232643637063035413269248456883650015118970282282421502090355778101427240695602360960679704764199532734066231535438916913666491517855714300791849770029116705361126685329802105547786336439946571708117268199886727697923152932947880364492259512941162642494340318251677735965547890073896539305684720994383024392339037948209136048458286373635680384373437094419173731009879072127251510947140407767503125201322910524420776309079596878382402138928622986215903178367662794457362876628660993929131262755792838527354643364353977959493225049262003830335618011669574167452692188845829272816041718739396825498469274848280693244851643639749718202429561460838530761263245806128378397210679462524306226987292469348076610353314447334534815184446387102373454750677939036289361465113810046754087171451108008457562747589858190501480926012742774128788737802828910389185699005826854100011688358983494039281888387963507502638417709238764868845628560773476864343528696517665950570129824964938832281600",
            "exactFraction": "3058962618666094872936991616995273090210012932299566350088609711819740101032947471918526160110619926608720984555048639537015002422778246873887629320884189477189227378933213539579902975614344611237057488175762065828885967555986283727339436074144104736262840134367739600687093112582339647489806316925973664052716873521094702387080443248027348323519466222450863025292376510905255898771019996030194105119385892333044434684010138278226047261408246131662135705889093778395318402404009550766639264116276083984492333794025795005181210177383197525618501267939144137245594277454538762824826700196484863346488140714099060689676274935705974633872735886576101570712221195176764273734096834779445052385980637643221823649462406242692699501033031762994626753625716655167256482317101381702978574065210465723778608527212947819829775340748303893300434416026871308340857997299648225443976612472462577425555686300130260502970672722298797166722925797146693753942517086097981170761053993531837622589612348797086424511337138880565216072232135274934225192505099951739403984967389757774895258233666364232854255148213265570342647569867747052159635548947625185038812177261187011991916367094916644548893987877308406086387564753329036601499248805208694674328411407468607258356276194476016007924959549285829151874216353412224078948491113233025277268106008196645648127545591885908955358792144486064534076796932166567577106159402016047163583740913795729061782934208107435580426656920534922662765415704889210333330411889705514587950248483598751354542235365820109476054787026689677749344837753422539394498384632051077635204066413318754589035873295039211270201595909699265024896200875467726206526782968321345273777320990710626064128121992683236104934923873895873320483279944989438644745064122127670081564574863916822749490146349347127331932744107454239482917132582414793088860221102209732377445804014918532828071128748300622675890996293890221211619316624460378288976902564744572835248363395264451365146247553224063408343585477475582117018615608975006390010546897143451587955628708717959620221265109140815526170727051764436952866031005243283033129030027918167048901324018346204392315555815512092170203987516340150010224882952187783096340491796524034248579514990428070462944313694054539818715326738532903285248276921100697396049016144360986818360685951914833807033928424802899397445780906114302975528264836050906002801783408514727882591399338125610681499114742841161887348545504047731972281462208682302410487420151006245405511231913654897156629586193922929242070211054001477085916621850992717981002134372556421830416655732880440735394258320915887242602295624961842546656246076621947223644538807367348443474774622191069335919513463269403414053292826260467184824076382243231241940715589245888115909713751184016063384856919821833278615874351571782824978964991062958935285032511311400340384908294340134664151171120372362122494876249724110378091434935475461575954986141171768252007875426831457004879516959558416798658848265906926160693068263466669838538153087883158936581592138930649208956567720246826367277011317133539991266027609149299334420806572396673716955802157415159068658135937158438127460589390253046858040415103059838827069156722763742048824222346239281108261651357310436397551048277776250494331118701980742920781436441902280139324717995248457216673809511813291620760002268559212661562903380929789662163006556158543326709288321153335247493219991735294459396058580191378809249238535303702435516802121218065706437282927581461181069098081956102995651304900335912797311204345589204187180027162711014550617732688778802077236710773185573484469654219465024996391202902219968727346185587175032128523965917815606598734934653684389011176916680658891275502355815590160201581198512702763146023080673975359780667225408464725237887166709237252510055053410883179474537935847565247766990994815827627444714549741131746000224009318275036221080788245512338275880834784874298993311722419752383287790139031965747504391754931231370189354500913162308147198398164929650337063606174679280605394415634420962026889093952080954804643/399725767494347175657891634985768164494499234623055566246936351329324321923106971551226296876972200173402288914601530060874732952160197647294856404162970653292661789594734130124602080819138386659036527099794443395250581556470475296861687329674211360187816205024114162466313705998501575693997404705817271581587386257965596110003988137292307775815937360339011324884383263042922972551324603225769173123055284385724962334358938729077144767362306758936931142093595818348903589802649340902693208147433704190565281357099132437924329767877791492080444625563539742004462720399239451751687784098131229714555113294367797115945594189344616852702595770425634595476752589588048207800009992588500825208836922197953294721066403088358934942182604981953374179729729698959259415816873148664402969666720387060206939128298433180612154162998145273630547442831411204564791280630742705393253649981751254351868245429389381127694099367280163158297858016271050337817550102855618956146807317987464078606043516585379035082920825621150316735395060237061399172639600791691989952892468087563211882734306132085551095511948615044803029805398597332438930478218843253714203666410651832094972688288243533324510039281276052868383531398717178649145600761484449941705435607237497359772140438912235394725238575292549579058743176524842027220668886166619103648819316557009181480613615110433505381258210571332327844058067840440563963187258225244839679192905085414080711857871641179292947639990070433697138296069395146082735818092582033299608358295337015541361340194591908536768350211737222219038338362555218757126015658523058926214079936208587541446218707956876548435865087957707035110829074217408188196277897540792831507904269866693712276311515709091298151119641290984951120452561907038104953523527941844198233061332034318910514762980591062305487592934947947331876428191593954374941571418106596703022356387346876987256827409665881418838460457847900449109959257914929570660280007318940412018351037788061301581407017688775236522442476069957310165678418148706772543680132628133347501803840051267127321214838047236476312273390539804036325271059116394901997862017691396880183121087610804937315041685096496104590360786368949569524668356487417114742724989127120469720867478231338040929273165247780452347788999505560789835531461202047050033816078892166220748289773824749980506508379354959237514697242879290808393325040153415167207045068999066014380198229874767686173334813750199304134681942989490683830978630035844778139391649713091045129254422202688644823686882056545160489975168939545187766565134021116708099141306926262419024359975279765454002620210732666869882439796952983787958988730127226499669163443681435770156228214496661932582825033402943087854971260657505500757147021693587929136968561240593216042728288661839005775799026874993260764598735632329957683804934406430190877827752115543641636660154194882199203471112178448942195505115672713228319868176411137190258457423626226054954609864095318161948205283632335099563870156571862334327998188510450798126296721512024705263115567046574366799801831069116041258530569615672963175898784199678755232643637063035413269248456883650015118970282282421502090355778101427240695602360960679704764199532734066231535438916913666491517855714300791849770029116705361126685329802105547786336439946571708117268199886727697923152932947880364492259512941162642494340318251677735965547890073896539305684720994383024392339037948209136048458286373635680384373437094419173731009879072127251510947140407767503125201322910524420776309079596878382402138928622986215903178367662794457362876628660993929131262755792838527354643364353977959493225049262003830335618011669574167452692188845829272816041718739396825498469274848280693244851643639749718202429561460838530761263245806128378397210679462524306226987292469348076610353314447334534815184446387102373454750677939036289361465113810046754087171451108008457562747589858190501480926012742774128788737802828910389185699005826854100011688358983494039281888387963507502638417709238764868845628560773476864343528696517665950570129824964938832281600",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "sourceRows",
            "value": "410",
            "unit": "analytical records",
            "defined": "true",
            "rawValue": "410",
            "exactFraction": "410",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          },
          {
            "metric": "eligibleRows",
            "value": "384",
            "unit": "records",
            "defined": "true",
            "rawValue": "384",
            "exactFraction": "384",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": false,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "Exact finite Fraction"
          }
        ],
        "plotRows": [
          {
            "series": "actual out-of-fold scores",
            "index": 0,
            "x": "1",
            "y": "33.898143943046094",
            "defined": true,
            "xExact": "1",
            "yExact": "4142558034061540713996804164258967225416339/122206042933254771386498428612092906109392"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 1,
            "x": "2",
            "y": "35.567041722552958",
            "defined": true,
            "xExact": "2",
            "yExact": "5890145946758136924264047077053286465070170777/165606855715054101316159561165736572866415536"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 2,
            "x": "3",
            "y": "8.3100492482031605",
            "defined": true,
            "xExact": "3",
            "yExact": "2227259660636258860732959096859849826294612528/268020031423742477853454172054559378585332673"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 3,
            "x": "4",
            "y": "25.57502005504422",
            "defined": true,
            "xExact": "4",
            "yExact": "8102445504539833659271404689415121674709655/316810914990534647443175378943174159062032"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 4,
            "x": "5",
            "y": "-77.805898439949161",
            "defined": true,
            "xExact": "5",
            "yExact": "-278487614856285994193749944365861723719883303/3579260961445276733829540064304053536660020"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 5,
            "x": "6",
            "y": "",
            "defined": false,
            "xExact": "6",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 6,
            "x": "7",
            "y": "60.870394927350986",
            "defined": true,
            "xExact": "7",
            "yExact": "2992985682702189403448587029995821467621673063/49169808841791274489434883582650174578368706"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 7,
            "x": "8",
            "y": "-68.470171425166654",
            "defined": true,
            "xExact": "8",
            "yExact": "-3469056652956173839224130860783743920947692161/50665225173966770478915497483063867192223540"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 8,
            "x": "9",
            "y": "1.8503190888404195",
            "defined": true,
            "xExact": "9",
            "yExact": "22755711435940164447033117457277711660753767/12298263349918197570885175683988612821694580"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 9,
            "x": "10",
            "y": "30.515685624725663",
            "defined": true,
            "xExact": "10",
            "yExact": "66464658546057876381577776965686517121479327069/2178048999567755875164034816501661812420436184"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 10,
            "x": "11",
            "y": "-8.9066165459489657",
            "defined": true,
            "xExact": "11",
            "yExact": "-322963979320524271840961970642949208998849/36261129875117322780049026571671417570864"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 11,
            "x": "12",
            "y": "39.823334387192546",
            "defined": true,
            "xExact": "12",
            "yExact": "3040325744395646907690581296728736478535967457/76345333488032489428780050637626613851502380"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 12,
            "x": "13",
            "y": "-25.108804271659899",
            "defined": true,
            "xExact": "13",
            "yExact": "-2684582559789327114852641415962067298184531/106917977086602773203984892032410265815248"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 13,
            "x": "14",
            "y": "-1.7523776881129887",
            "defined": true,
            "xExact": "14",
            "yExact": "-1142811751892995744493253805478869115823289790/652149225389652577501199992759867349609923073"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 14,
            "x": "15",
            "y": "1.7497296321567997",
            "defined": true,
            "xExact": "15",
            "yExact": "25208772131332924629710494621796353298867731/14407238505905279149989750063962086488298780"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 15,
            "x": "16",
            "y": "-37.823219342935246",
            "defined": true,
            "xExact": "16",
            "yExact": "-778681899124476626668316372327056386673569371/20587404051049439602149809622196481454148440"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 16,
            "x": "17",
            "y": "-21.109869180597393",
            "defined": true,
            "xExact": "17",
            "yExact": "-7193090134597430321269653982247508608460329/340745367631590026269653237697992355295092"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 17,
            "x": "18",
            "y": "-22.61291194699065",
            "defined": true,
            "xExact": "18",
            "yExact": "-70838347250460521796964991303675351744834129/3132650382070220752092765226833397073020388"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 18,
            "x": "19",
            "y": "48.606499214542978",
            "defined": true,
            "xExact": "19",
            "yExact": "58804974785270904640898355864064175161787843/1209817117783223486512796950031644552513648"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 19,
            "x": "20",
            "y": "33.772369282089848",
            "defined": true,
            "xExact": "20",
            "yExact": "75494867423932699589404487279048104213281707/2235403349801966855449636849403574444217140"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 20,
            "x": "21",
            "y": "23.167276527389671",
            "defined": true,
            "xExact": "21",
            "yExact": "6444537156028834061983427630813638936894229/278174137059646856405821783690419168019832"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 21,
            "x": "22",
            "y": "34.39461700486072",
            "defined": true,
            "xExact": "22",
            "yExact": "24207412108396787906640099348695585442906283/703813974872165148457438324393394122749360"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 22,
            "x": "23",
            "y": "5.3880308420647749",
            "defined": true,
            "xExact": "23",
            "yExact": "545797190676753411054581358862772766269527/101298082114837276325824369086554994390928"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 23,
            "x": "24",
            "y": "4.6040991599659664",
            "defined": true,
            "xExact": "24",
            "yExact": "641987814987701538773101905469999586522503/139438311965558771757795924529325538473936"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 24,
            "x": "25",
            "y": "-16.471462035359433",
            "defined": true,
            "xExact": "25",
            "yExact": "-194038901080296207334851626038668954289104500401/11780308309229088218912368247436993837987194952"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 25,
            "x": "26",
            "y": "10.780598681146758",
            "defined": true,
            "xExact": "26",
            "yExact": "44596079509712246731676706587998572990377/4136697861474280613675716658486054679664"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 26,
            "x": "27",
            "y": "-3.4748846308984342",
            "defined": true,
            "xExact": "27",
            "yExact": "-173630114921288949579821812728075191396271433/49967159593553684492969977318971999186236700"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 27,
            "x": "28",
            "y": "8.877013409096028",
            "defined": true,
            "xExact": "28",
            "yExact": "72746343538645774186835390946599743184793197/8194911980656087172138160006446244878116860"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 28,
            "x": "29",
            "y": "29.353393814144809",
            "defined": true,
            "xExact": "29",
            "yExact": "277774957115814909209765853669246028920965563/9463129165730770123177937240406788742985260"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 29,
            "x": "30",
            "y": "-3.6207945112646827",
            "defined": true,
            "xExact": "30",
            "yExact": "-64293788613217588306995465265830632418459371/17756817851218199013015561344992009965596020"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 30,
            "x": "31",
            "y": "-31.470484305474759",
            "defined": true,
            "xExact": "31",
            "yExact": "-72495349990851013220276435819249760221412236075/2303598167958265838977187010452788344799719092"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 31,
            "x": "32",
            "y": "32.356310639975824",
            "defined": true,
            "xExact": "32",
            "yExact": "15606503688913208672746875007899989099929321/482332607773630561250267836914009546323760"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 32,
            "x": "33",
            "y": "-4.2576972217587228",
            "defined": true,
            "xExact": "33",
            "yExact": "-370873935848008703845843912445874462957283/87106695598897508927709981481241546775792"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 33,
            "x": "34",
            "y": "",
            "defined": false,
            "xExact": "34",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 34,
            "x": "35",
            "y": "-22.420087235776197",
            "defined": true,
            "xExact": "35",
            "yExact": "-1060820907095509489965587366944256958302366863/47315645828653850615889686202033943714926300"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 35,
            "x": "36",
            "y": "-12.19504500663199",
            "defined": true,
            "xExact": "36",
            "yExact": "-4743255929910536407420835272911052048154119/388949440312112620044808461291047142971760"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 36,
            "x": "37",
            "y": "-24.249087328452454",
            "defined": true,
            "xExact": "37",
            "yExact": "-1753936233990055957313295350989474889855597/72329989588189172070927933815632550475792"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 37,
            "x": "38",
            "y": "25.979705112054337",
            "defined": true,
            "xExact": "38",
            "yExact": "555184808225641681947561290759992022099204231/21369942646810152415989282390736484622719460"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 38,
            "x": "39",
            "y": "10.772266351880148",
            "defined": true,
            "xExact": "39",
            "yExact": "68378600800134885748811952507748916008381877101/6347652255015060815997603564598518499453557276"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 39,
            "x": "40",
            "y": "14.021132437857826",
            "defined": true,
            "xExact": "40",
            "yExact": "1057290316063844349724462037862583103427275/75406913154111754774780499104291093664592"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 40,
            "x": "41",
            "y": "-14.120286889297148",
            "defined": true,
            "xExact": "41",
            "yExact": "-768978998622406423025817771447523071792707/54459162526313451557654165759108501673840"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 41,
            "x": "42",
            "y": "5.3585580166073878",
            "defined": true,
            "xExact": "42",
            "yExact": "5131101704306253455849754256744043213506225/957552701380446862751623311743326554751408"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 42,
            "x": "43",
            "y": "10.633240079940308",
            "defined": true,
            "xExact": "43",
            "yExact": "2299744500913890013035966178190440970057571/216278809057680944145324799145500921999100"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 43,
            "x": "44",
            "y": "13.641286776650412",
            "defined": true,
            "xExact": "44",
            "yExact": "65706807383609097977038913658786532555351367/4816760211806298417523974308498595306764828"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 44,
            "x": "45",
            "y": "-1.0698381885471639",
            "defined": true,
            "xExact": "45",
            "yExact": "-61971195211280257298258360805329518563091/57925764732175897232596234611538265558640"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 45,
            "x": "46",
            "y": "-10.616909596585803",
            "defined": true,
            "xExact": "46",
            "yExact": "-1130320183883866610757612277916336535061135/106464143223688760748905627796396766666736"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 46,
            "x": "47",
            "y": "9.5254838321483337",
            "defined": true,
            "xExact": "47",
            "yExact": "2700352110739854475043570164483148434190819/283487133916097319664407472565649597071332"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 47,
            "x": "48",
            "y": "36.625991938045345",
            "defined": true,
            "xExact": "48",
            "yExact": "386258295836712157468951293426947817657404321/10546015968388977425148016461038540096402940"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 48,
            "x": "49",
            "y": "-0.70233959932807299",
            "defined": true,
            "xExact": "49",
            "yExact": "-1522702575028942189690793487928060156967118855/2168043175247001629631581250192041209848619892"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 49,
            "x": "50",
            "y": "55.291609636026976",
            "defined": true,
            "xExact": "50",
            "yExact": "726815061456433007879366385984049120421333/13145123939073280000243177905901046859888"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 50,
            "x": "51",
            "y": "6.5511643359640486",
            "defined": true,
            "xExact": "51",
            "yExact": "60531604647323591054368496829242887287411985/9239823876043242132309549821671460511165444"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 51,
            "x": "52",
            "y": "-38.468832375088574",
            "defined": true,
            "xExact": "52",
            "yExact": "-56913814950021317437839571381853410755942707/1479478617782983155235926702192585952894932"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 52,
            "x": "53",
            "y": "",
            "defined": false,
            "xExact": "53",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 53,
            "x": "54",
            "y": "-15.438505439333637",
            "defined": true,
            "xExact": "54",
            "yExact": "-72697800561351643711938400768891921026084764803/4708862580449979834963578341101137040812762584"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 54,
            "x": "55",
            "y": "-68.542383419082356",
            "defined": true,
            "xExact": "55",
            "yExact": "-633687800373200946712489341733661351813993/9245196457478028615933350446917562489488"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 55,
            "x": "56",
            "y": "-113.61566464640899",
            "defined": true,
            "xExact": "56",
            "yExact": "-1050399140302992013957586652789867078141881/9245196457478028615933350446917562489488"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 56,
            "x": "57",
            "y": "-26.533976752250773",
            "defined": true,
            "xExact": "57",
            "yExact": "-7111637282935104728088350992775038689338831308/268020031423742477853454172054559378585332673"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 57,
            "x": "58",
            "y": "10.405663294201949",
            "defined": true,
            "xExact": "58",
            "yExact": "6340321702617117064758853114042285749831937943/609314516850641679204945242476098586082134008"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 58,
            "x": "59",
            "y": "-9.3432330819345388",
            "defined": true,
            "xExact": "59",
            "yExact": "-2307246600179143870801857566133443815842214197/246943063492687989936598822161502297312835536"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 59,
            "x": "60",
            "y": "20.388965669201358",
            "defined": true,
            "xExact": "60",
            "yExact": "26844012747727315991317034653361868168598613/1316595122246767927197846886002894709575728"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 60,
            "x": "61",
            "y": "37.15303347947782",
            "defined": true,
            "xExact": "61",
            "yExact": "49959483385937123024737244962961732514462611/1344694597105595411588649500732171066697328"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 61,
            "x": "62",
            "y": "-82.864157410479962",
            "defined": true,
            "xExact": "62",
            "yExact": "-38998592520588319419015706297309419167353793/470632825328844807097338354537059093212560"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 62,
            "x": "63",
            "y": "28.165509170912603",
            "defined": true,
            "xExact": "63",
            "yExact": "5095919263008217601165877749954528648536211/180927645656444646201650183112904234160164"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 63,
            "x": "64",
            "y": "3.1109440840606259",
            "defined": true,
            "xExact": "64",
            "yExact": "3571358436192981240082207811335589722797809/1147998273093803020853031197627236566846128"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 64,
            "x": "65",
            "y": "21.436664179920836",
            "defined": true,
            "xExact": "65",
            "yExact": "8363713554795185047757100553590952550878371/390159284326955002788557763136885884181136"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 65,
            "x": "66",
            "y": "38.415655464181036",
            "defined": true,
            "xExact": "66",
            "yExact": "8623406177438740999915856223462782515772581/224476351457265959693816460801400093491120"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 66,
            "x": "67",
            "y": "-13.221011545847215",
            "defined": true,
            "xExact": "67",
            "yExact": "-12288311839167277678836447101839143826759197/929453226521619378360820697014050197629808"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 67,
            "x": "68",
            "y": "102.36753409550093",
            "defined": true,
            "xExact": "68",
            "yExact": "12354389963446371768659212188602712978662647/120686603156042506132585049469203175686512"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 68,
            "x": "69",
            "y": "3.6881078868569919",
            "defined": true,
            "xExact": "69",
            "yExact": "128940507977751956452663257974507870685433/34961154047918905651945750752010256114064"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 69,
            "x": "70",
            "y": "",
            "defined": false,
            "xExact": "70",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 70,
            "x": "71",
            "y": "-18.456018929789277",
            "defined": true,
            "xExact": "71",
            "yExact": "-251191967559224236973895280923415855125878884615/13610300710831155045078046010957080159827034152"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 71,
            "x": "72",
            "y": "-117.78586447934175",
            "defined": true,
            "xExact": "72",
            "yExact": "-6363479944779865437796267919618050745829089/54025837250580645848286407152554781188240"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 72,
            "x": "73",
            "y": "-138.08283586091824",
            "defined": true,
            "xExact": "73",
            "yExact": "-20226070266719421551014402593591821517757159/146477801825360932007619911621730406083120"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 73,
            "x": "74",
            "y": "27.378744092907901",
            "defined": true,
            "xExact": "74",
            "yExact": "5533388264849980810916218811236529986105471/202105262610761287949897545972935671163120"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 74,
            "x": "75",
            "y": "15.31378837382749",
            "defined": true,
            "xExact": "75",
            "yExact": "167945985597599627175489646895785630895634236615/10966978352961502962838733685872511028280599752"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 75,
            "x": "76",
            "y": "-69.531986538926148",
            "defined": true,
            "xExact": "76",
            "yExact": "-313278457664775236628601640840376679595484451453/4505530091383083520945169700710016338386113784"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 76,
            "x": "77",
            "y": "43.675331300417255",
            "defined": true,
            "xExact": "77",
            "yExact": "262804817753403802115907276494757354582278424523/6017236960281354305717689523962947358010252976"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 77,
            "x": "78",
            "y": "18.384658947904715",
            "defined": true,
            "xExact": "78",
            "yExact": "169969783777110397260198329589021120389791/9245196457478028615933350446917562489488"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 78,
            "x": "79",
            "y": "14.949955410259895",
            "defined": true,
            "xExact": "79",
            "yExact": "6861028527411574516124723449489423858081213/458933042884059052944408872160108640101360"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 79,
            "x": "80",
            "y": "11.816566516796023",
            "defined": true,
            "xExact": "80",
            "yExact": "10599990390092017102643995114346761497220267549/897044871285176744155290481292676291717434936"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 80,
            "x": "81",
            "y": "3.0278929546396163",
            "defined": true,
            "xExact": "81",
            "yExact": "998492158739363608664329314766703835659383/329764682469828389683959953125158572270416"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 81,
            "x": "82",
            "y": "1.4320370436080359",
            "defined": true,
            "xExact": "82",
            "yExact": "3145506607927389353282503989629268584825639/2196526006060740585325357734161598694355520"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 82,
            "x": "83",
            "y": "5.6495102339734258",
            "defined": true,
            "xExact": "83",
            "yExact": "195576117317018297428841742993520548096319803/34618242859516919942751352930326288224608874"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 83,
            "x": "84",
            "y": "15.344080668543864",
            "defined": true,
            "xExact": "84",
            "yExact": "152480838071443522910389121328099031060234261/9937437202349756838194071574208610622872144"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 84,
            "x": "85",
            "y": "-5.0306650051875978",
            "defined": true,
            "xExact": "85",
            "yExact": "-12156680671973945380763530580414980743541339/2416515641458541490257725292923204590240848"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 85,
            "x": "86",
            "y": "-22.812854609680205",
            "defined": true,
            "xExact": "86",
            "yExact": "-15516763092536020814531196957340582353021067/680176302265643509984321545267419773179840"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 86,
            "x": "87",
            "y": "",
            "defined": false,
            "xExact": "87",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 87,
            "x": "88",
            "y": "20.066468946308582",
            "defined": true,
            "xExact": "88",
            "yExact": "7697318955420199628030833184672804783939945/383591102949689373032141192297890743856688"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 88,
            "x": "89",
            "y": "14.603324086986385",
            "defined": true,
            "xExact": "89",
            "yExact": "2108064392837531654740972219609325776942441/144355105747198571616725274299315387959488"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 89,
            "x": "90",
            "y": "-0.79630071612696551",
            "defined": true,
            "xExact": "90",
            "yExact": "-172993318454891246790881153829592916620668917/217246217354033466585363687443235071966741304"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 90,
            "x": "91",
            "y": "-1.3573672109252681",
            "defined": true,
            "xExact": "91",
            "yExact": "-6611026451051821134048611191569283474425677/4870477493371395044301630878779036833791808"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 91,
            "x": "92",
            "y": "-3.4486071391421325",
            "defined": true,
            "xExact": "92",
            "yExact": "-1418717742981588938450992926741721688345981/411388623215141255437738724664173457941664"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 92,
            "x": "93",
            "y": "40.87325774683891",
            "defined": true,
            "xExact": "93",
            "yExact": "30457733668282510914814855384836151485717473/745175093625564366389485336250477846019840"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 93,
            "x": "94",
            "y": "-1.1110744498426517",
            "defined": true,
            "xExact": "94",
            "yExact": "-2505500570464609734940170242916369781855111/2255024918284669356090005146046350959911520"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 94,
            "x": "95",
            "y": "0.8011379423820536",
            "defined": true,
            "xExact": "95",
            "yExact": "55915221557469446962585940514887791224843079/69794748943252659862673674407490897028767288"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 95,
            "x": "96",
            "y": "28.826915427298466",
            "defined": true,
            "xExact": "96",
            "yExact": "118384706442880829551291455624657675358009/4106742073790283742639887358881274814476"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 96,
            "x": "97",
            "y": "-1.5631724448828244",
            "defined": true,
            "xExact": "97",
            "yExact": "-2100922714924260258275751416488162830290070523/1344012122144173078414077886162876378823367672"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 97,
            "x": "98",
            "y": "-2.9760948362036319",
            "defined": true,
            "xExact": "98",
            "yExact": "-53709644612206732221862558893930943945826025019/18047020531348345185356442062437409767308846984"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 98,
            "x": "99",
            "y": "-10.849531267451569",
            "defined": true,
            "xExact": "99",
            "yExact": "-7450114700731291210503488337438618946754137/686676181401635595624837924365725580463840"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 99,
            "x": "100",
            "y": "-6.7129093841184426",
            "defined": true,
            "xExact": "100",
            "yExact": "-2656938260889962941773142703576297651347707/395795341312934935697577797427468680025008"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 100,
            "x": "101",
            "y": "-8.2534745520307116",
            "defined": true,
            "xExact": "101",
            "yExact": "-152307023743688729189002019482915421682960038455/18453685509482137813393259343219651172162144584"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 101,
            "x": "102",
            "y": "1.8708958347569853",
            "defined": true,
            "xExact": "102",
            "yExact": "1352694065600615019499058924662146532704331/723019443664707989419528923191181505915568"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 102,
            "x": "103",
            "y": "-10.510734474227455",
            "defined": true,
            "xExact": "103",
            "yExact": "-14586458096456610381184325258024672858389443/1387767727576309378190649295272748489393456"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 103,
            "x": "104",
            "y": "16.188349583138539",
            "defined": true,
            "xExact": "104",
            "yExact": "68852636533384592720828176631586153335900887/4253221502277176084622516252951929810969488"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 104,
            "x": "105",
            "y": "10.189547612405093",
            "defined": true,
            "xExact": "105",
            "yExact": "8413510872565868860499474596617271052197907829/825700138279248212920761133787019904901066936"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 105,
            "x": "106",
            "y": "-0.8045250936278755",
            "defined": true,
            "xExact": "106",
            "yExact": "-41715573177740522430692402206773132642949402067/51851177182840755190682655086420000292931693752"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 106,
            "x": "107",
            "y": "-3.4731230963914026",
            "defined": true,
            "xExact": "107",
            "yExact": "-14127848461778220888159120012096368062010447/4067764968208914687643218995738705853966928"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 107,
            "x": "108",
            "y": "15.411609330220545",
            "defined": true,
            "xExact": "108",
            "yExact": "2977531017049941171498363997303684374335491/193200525217786060735610726885409189784424"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 108,
            "x": "109",
            "y": "",
            "defined": false,
            "xExact": "109",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 109,
            "x": "110",
            "y": "1.2320156670437368",
            "defined": true,
            "xExact": "110",
            "yExact": "101651578762856174403946921340100939424429/82508349107907503570364309401239502567360"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 110,
            "x": "111",
            "y": "9.8272946601352746",
            "defined": true,
            "xExact": "111",
            "yExact": "171931484165579164361676380675697064894729/17495301617750870658929092153717197769472"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 111,
            "x": "112",
            "y": "-3.4123201298893502",
            "defined": true,
            "xExact": "112",
            "yExact": "-30617646835447308745713635264113838099386816781/8972677143407448514173618871120924708047761292"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 112,
            "x": "113",
            "y": "",
            "defined": false,
            "xExact": "113",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 113,
            "x": "114",
            "y": "2.3788732269965802",
            "defined": true,
            "xExact": "114",
            "yExact": "3354799563168628516202466329887757088982197/1410247307463371365703291387056169575090736"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 114,
            "x": "115",
            "y": "1.3525504576849208",
            "defined": true,
            "xExact": "115",
            "yExact": "148805894256790785114051937554195122641460321/110018737867637759066963971559923064648036742"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 115,
            "x": "116",
            "y": "-10.915129764493027",
            "defined": true,
            "xExact": "116",
            "yExact": "-44584208128098084973858726933456170367583309/4084624653124211178277700564576271668239888"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 116,
            "x": "117",
            "y": "-7.2153376177581841",
            "defined": true,
            "xExact": "117",
            "yExact": "-57454015711198199958290322378232658554448232553/7962761932275214205924635811204842839642347692"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 117,
            "x": "118",
            "y": "",
            "defined": false,
            "xExact": "118",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 118,
            "x": "119",
            "y": "",
            "defined": false,
            "xExact": "119",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 119,
            "x": "120",
            "y": "0.30252301629248118",
            "defined": true,
            "xExact": "120",
            "yExact": "4889602399761591465671747286641458836690595745/16162745101795140778204081702865993165449118984"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 120,
            "x": "121",
            "y": "-0.55809241656798625",
            "defined": true,
            "xExact": "121",
            "yExact": "-1181913212453590341942562157458699240897542301/2117773288735613747742664353045661148927242423"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 121,
            "x": "122",
            "y": "-8.762658496371289",
            "defined": true,
            "xExact": "122",
            "yExact": "-3313270220687090554154465703737058856840103/378112444078375455989181590358798859201320"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 122,
            "x": "123",
            "y": "3.9301742261906085",
            "defined": true,
            "xExact": "123",
            "yExact": "16472942696438217403192916360292965648633701/4191402657587755618962750500547521825301968"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 123,
            "x": "124",
            "y": "-19.787670610266034",
            "defined": true,
            "xExact": "124",
            "yExact": "-4298796590327874886394109171160939616253838901/217246217354033466585363687443235071966741304"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 124,
            "x": "125",
            "y": "-15.466355260959347",
            "defined": true,
            "xExact": "125",
            "yExact": "-31257956673166676927900273271342810914636611/2021029269388954273031415498507341897687520"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 125,
            "x": "126",
            "y": "0.31568357387642981",
            "defined": true,
            "xExact": "126",
            "yExact": "951307676716053720721461196208277748094631035/3013484879921026872948807250417099425174436964"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 126,
            "x": "127",
            "y": "20.813576455668155",
            "defined": true,
            "xExact": "127",
            "yExact": "1413946829002332677002369499935549593948007625/67933871529189926605437112584696495096935488"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 127,
            "x": "128",
            "y": "0.70815224951148248",
            "defined": true,
            "xExact": "128",
            "yExact": "36286556683252660204871853676985641148051926783/51241179715640066248627429165246638185651747352"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 128,
            "x": "129",
            "y": "-5.4000448617491239",
            "defined": true,
            "xExact": "129",
            "yExact": "-277802673796217927380308230930558118602939344535/51444512204706962562645837805637758888078396152"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 129,
            "x": "130",
            "y": "-4.1773809753845867",
            "defined": true,
            "xExact": "130",
            "yExact": "-752078162649351000180320312658988158861223/180035808819211571611274164958035842716656"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 130,
            "x": "131",
            "y": "2.251412133306625",
            "defined": true,
            "xExact": "131",
            "yExact": "1149176210935647101693254805765591521934933/510424632582868880474925153536721537343576"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 131,
            "x": "132",
            "y": "17.871768760789092",
            "defined": true,
            "xExact": "132",
            "yExact": "274886701742789363000990204736204982837631/15381057433212463215631427856413220085632"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 132,
            "x": "133",
            "y": "-1.1612160815938715",
            "defined": true,
            "xExact": "133",
            "yExact": "-871347513666128605228086847492003805299723/750374996934358034901898439529122491847040"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 133,
            "x": "134",
            "y": "2.1609193260569652",
            "defined": true,
            "xExact": "134",
            "yExact": "4369041274141030423797383734578169845991613/2021843768741349014729905176190015930374720"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 134,
            "x": "135",
            "y": "-1.6042057160620156",
            "defined": true,
            "xExact": "135",
            "yExact": "-2652264601812099351739123084620233055167/1653319505881605928949463375291160067040"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 135,
            "x": "136",
            "y": "-7.6398987445918598",
            "defined": true,
            "xExact": "136",
            "yExact": "-5434838486345533868015530827411380604699803/711375722118405521058800164939287648143040"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 136,
            "x": "137",
            "y": "2.8340498568619323",
            "defined": true,
            "xExact": "137",
            "yExact": "438583137236102385026829923107696141039657/154754912364785908641551480856604679613888"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 137,
            "x": "138",
            "y": "-2.4519122690387345",
            "defined": true,
            "xExact": "138",
            "yExact": "-59952756420733790995108987145770088175195058585/24451428045685379318707864900374375053872643076"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 138,
            "x": "139",
            "y": "",
            "defined": false,
            "xExact": "139",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 139,
            "x": "140",
            "y": "-5.0442636377055123",
            "defined": true,
            "xExact": "140",
            "yExact": "-30185275831460775076910322351162960997703981/5984079738780499598233546289593591476441768"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 140,
            "x": "141",
            "y": "-5.8799791991393917",
            "defined": true,
            "xExact": "141",
            "yExact": "-405647459646550143020294614892378950722413/68987907254148395239298886383362092452048"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 141,
            "x": "142",
            "y": "4.5902203805956496",
            "defined": true,
            "xExact": "142",
            "yExact": "317596819953442709032046416473197543112591991/69189884933635751215911188654901393973738648"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 142,
            "x": "143",
            "y": "5.5971996295644448",
            "defined": true,
            "xExact": "143",
            "yExact": "6827188947010568323111196981338530348757065/1219750839500044165301507588379560276487533"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 143,
            "x": "144",
            "y": "-0.23752563283885872",
            "defined": true,
            "xExact": "144",
            "yExact": "-1046140750107205178507605836233113975050243/4404327809188173764576800478214852923093968"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 144,
            "x": "145",
            "y": "0.044098676865731809",
            "defined": true,
            "xExact": "145",
            "yExact": "3231718439208090090068214337688715294689609/73283795997956414936068095645855563034296768"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 145,
            "x": "146",
            "y": "-2.3205158161260648",
            "defined": true,
            "xExact": "146",
            "yExact": "-566496030179238596569472704106565416671481/244125045924040803889541214272403500611680"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 146,
            "x": "147",
            "y": "3.8820174467218571",
            "defined": true,
            "xExact": "147",
            "yExact": "121717447451528021751651197672170347978754507/31354173215865242593822424939001115530931992"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 147,
            "x": "148",
            "y": "-3.3201880050899346",
            "defined": true,
            "xExact": "148",
            "yExact": "-4656152267773840188540766110974848776747/1402376088533491912721468194866694898848"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 148,
            "x": "149",
            "y": "3.6998493002826613",
            "defined": true,
            "xExact": "149",
            "yExact": "5424852132853794210830787497843722314044653/1466235971405469422566213318422999217223216"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 149,
            "x": "150",
            "y": "-13.196059232692207",
            "defined": true,
            "xExact": "150",
            "yExact": "-28015587288819761047750716725299164348539551/2123026791166057458703984206730945302467520"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 150,
            "x": "151",
            "y": "-6.3584244389766651",
            "defined": true,
            "xExact": "151",
            "yExact": "-115015383245655528933007272958153220740311/18088660854506638077125195040363950146544"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 151,
            "x": "152",
            "y": "-5.4688983503661586",
            "defined": true,
            "xExact": "152",
            "yExact": "-11923828796902375886438720773439650546863855/2180298120937654962014907815465255060595344"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 152,
            "x": "153",
            "y": "13.803520608612235",
            "defined": true,
            "xExact": "153",
            "yExact": "54054970496015611832740508370969361271331535/3916027803971246271932884876200613525510288"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 153,
            "x": "154",
            "y": "-5.3928037368424269",
            "defined": true,
            "xExact": "154",
            "yExact": "-338255065558171898775064620331832936042722289/62723414769814273485174739480872169687806448"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 154,
            "x": "155",
            "y": "-3.8151675333815938",
            "defined": true,
            "xExact": "155",
            "yExact": "-16355397632792135373520635371791817300408789/4286940872107769065891479390627061439515408"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 155,
            "x": "156",
            "y": "-9.0441624853041596",
            "defined": true,
            "xExact": "156",
            "yExact": "-30332600641808440757445026047860784164473887/3353831898873535240669947454131634694998088"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 156,
            "x": "157",
            "y": "-6.6128956131621583",
            "defined": true,
            "xExact": "157",
            "yExact": "-6964461355444336235654665261075197396994253/1053163661253389367999273314012110885376992"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 157,
            "x": "158",
            "y": "-7.5136497205685675",
            "defined": true,
            "xExact": "158",
            "yExact": "-1573587659855535696140099036653525033035669731/209430532214969986904970127787498583853047744"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 158,
            "x": "159",
            "y": "-4.4355084657469179",
            "defined": true,
            "xExact": "159",
            "yExact": "-928930898625382002452094658945502111217986921/209430532214969986904970127787498583853047744"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 159,
            "x": "160",
            "y": "10.708836666441552",
            "defined": true,
            "xExact": "160",
            "yExact": "8021722051947831188653114506733737849792631/749075021107159617773795163709461330390240"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 160,
            "x": "161",
            "y": "2.6747459863135776",
            "defined": true,
            "xExact": "161",
            "yExact": "21660940691002896800408597681289655687113831603/8098316924986478415270241571465589974593446892"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 161,
            "x": "162",
            "y": "11.118883143140371",
            "defined": true,
            "xExact": "162",
            "yExact": "11616273246876632553442299346017516671119333/1044733818795741122682032529593327978240512"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 162,
            "x": "163",
            "y": "-16.801375071375197",
            "defined": true,
            "xExact": "163",
            "yExact": "-13932832200646001221962883345158014522464932625/829267374929544639482487601162302724241885336"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 163,
            "x": "164",
            "y": "17.844880078526707",
            "defined": true,
            "xExact": "164",
            "yExact": "49271756337296566862658271630249681952286013321/2761114455265339164880941105662808547379560008"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 164,
            "x": "165",
            "y": "6.0054868515631172",
            "defined": true,
            "xExact": "165",
            "yExact": "98693300646779361230687312899646802918117157753/16433855087217669196895293223387487435351317384"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 165,
            "x": "166",
            "y": "",
            "defined": false,
            "xExact": "166",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 166,
            "x": "167",
            "y": "10.308355108132739",
            "defined": true,
            "xExact": "167",
            "yExact": "96752481336703336693936219447153719612724903/9385831233187806670964748342477601825533904"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 167,
            "x": "168",
            "y": "-0.10315800681770794",
            "defined": true,
            "xExact": "168",
            "yExact": "-111251081384894246401632761795024102023763/1078453188626334103950995667268459606786432"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 168,
            "x": "169",
            "y": "-24.833082699195565",
            "defined": true,
            "xExact": "169",
            "yExact": "-33625194846609314134479951691018790047016439/1354048357745716396921686157597616860847536"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 169,
            "x": "170",
            "y": "19.713991055832178",
            "defined": true,
            "xExact": "170",
            "yExact": "16277845140836490830033209408941387696941860533/825700138279248212920761133787019904901066936"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 170,
            "x": "171",
            "y": "-3.3321371763041552",
            "defined": true,
            "xExact": "171",
            "yExact": "-2977190042563185553137117950831054099380291501/893477634634880317593564013917393472376616536"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 171,
            "x": "172",
            "y": "-8.2863968309562459",
            "defined": true,
            "xExact": "172",
            "yExact": "-17950393740166779264890055829703063175680303/2166248383508241219819506508100616882034544"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 172,
            "x": "173",
            "y": "3.644366670393214",
            "defined": true,
            "xExact": "173",
            "yExact": "15459336768846270771978978540182844412581307/4241981712333645090866195207060219268120848"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 173,
            "x": "174",
            "y": "8.7495701111230826",
            "defined": true,
            "xExact": "174",
            "yExact": "19218658290933616232736257416082918028901319/2196526006060740585325357734161598694355520"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 174,
            "x": "175",
            "y": "",
            "defined": false,
            "xExact": "175",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 175,
            "x": "176",
            "y": "-12.033633298256179",
            "defined": true,
            "xExact": "176",
            "yExact": "-113398709731799028294391911963521789966503985/9423480583227668605243021166008251994080504"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 176,
            "x": "177",
            "y": "0.30469659213035416",
            "defined": true,
            "xExact": "177",
            "yExact": "18235798763866621261617394511104818323943/59849040766642538453666445625262519414992"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 177,
            "x": "178",
            "y": "1.6048169631870897",
            "defined": true,
            "xExact": "178",
            "yExact": "15521143844294544008436944607468086341941851/9671597571769366372874562742380838918324744"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 178,
            "x": "179",
            "y": "5.3709664443047345",
            "defined": true,
            "xExact": "179",
            "yExact": "11323856115692966608720217192922763481617967/2108346092480350177457236426901935273355704"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 179,
            "x": "180",
            "y": "-8.2863968309562459",
            "defined": true,
            "xExact": "180",
            "yExact": "-17950393740166779264890055829703063175680303/2166248383508241219819506508100616882034544"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 180,
            "x": "181",
            "y": "-1.4201686915621812",
            "defined": true,
            "xExact": "181",
            "yExact": "-3169284458188106269933132268062456698194659/2231625353395097847784146181292450053689120"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 181,
            "x": "182",
            "y": "-3.328597464273034",
            "defined": true,
            "xExact": "182",
            "yExact": "-55378500379055628363325280460386550045459607805/16637187576284565510913701863778608137777966184"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 182,
            "x": "183",
            "y": "10.626683383857582",
            "defined": true,
            "xExact": "183",
            "yExact": "181839874731278029648333096041001702541921561397/17111630050773990243623322024691223110106813384"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 183,
            "x": "184",
            "y": "6.4227149063393281",
            "defined": true,
            "xExact": "184",
            "yExact": "8804951520819359058526472728151828500725291/1370908042661012887556167726435182675120496"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 184,
            "x": "185",
            "y": "13.508489368840078",
            "defined": true,
            "xExact": "185",
            "yExact": "111227171264610816109331624191023243166013900143/8233871917697742624615847331726337109544546092"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 185,
            "x": "186",
            "y": "-9.0422367580924163",
            "defined": true,
            "xExact": "186",
            "yExact": "-20705900901515989485047607652307226238299041/2289909173522258526530817109784561097707520"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 186,
            "x": "187",
            "y": "-7.5476536573584401",
            "defined": true,
            "xExact": "187",
            "yExact": "-230631106023313415866508556295005801477214457/30556662572674363817476839451743592641349152"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 187,
            "x": "188",
            "y": "5.830646833619701",
            "defined": true,
            "xExact": "188",
            "yExact": "756450624213564962456697428044293349363845/129736999307151623303433905081248671760336"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 188,
            "x": "189",
            "y": "5.1783012591447282",
            "defined": true,
            "xExact": "189",
            "yExact": "177931707472048830983244824898672608255737/34361018907083988741270969941094133857488"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 189,
            "x": "190",
            "y": "-4.8132703562787214",
            "defined": true,
            "xExact": "190",
            "yExact": "-362363017396759308875392402094908907122251971/75284160368027332849436796445178222683832648"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 190,
            "x": "191",
            "y": "-2.9928279754612523",
            "defined": true,
            "xExact": "191",
            "yExact": "-28070757492770721707989865238676700509166898569/9379342121541241142210436151903166112901058892"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 191,
            "x": "192",
            "y": "-6.7466300299191655",
            "defined": true,
            "xExact": "192",
            "yExact": "-16656430967087909850693808202985485283697921/2468851988803583099071546545028865972952771"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 192,
            "x": "193",
            "y": "2.5208369784528282",
            "defined": true,
            "xExact": "193",
            "yExact": "66763744567149146992673040517107821778953929739/26484752936354342458891951304285582078139131076"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 193,
            "x": "194",
            "y": "-3.0193957424382547",
            "defined": true,
            "xExact": "194",
            "yExact": "-100990941367120270370256163087140332468864525/33447401394812523432659714536727482462239714"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 194,
            "x": "195",
            "y": "0.76171402118424403",
            "defined": true,
            "xExact": "195",
            "yExact": "1637477103380299555687328659186480338263663/2149726876281597568713639804653796881910720"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 195,
            "x": "196",
            "y": "",
            "defined": false,
            "xExact": "196",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 196,
            "x": "197",
            "y": "-5.0791458207194538",
            "defined": true,
            "xExact": "197",
            "yExact": "-341973847156227970356365299138327157746919501/67329007519573017958674626832106992041906848"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 197,
            "x": "198",
            "y": "",
            "defined": false,
            "xExact": "198",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 198,
            "x": "199",
            "y": "13.585302342162681",
            "defined": true,
            "xExact": "199",
            "yExact": "220496556667182026417830135593603363842855800159/16230522598150772882876884582996366732924668584"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 199,
            "x": "200",
            "y": "-3.8880520853850089",
            "defined": true,
            "xExact": "200",
            "yExact": "-1834988476352057514532237093012376268346311/471955734145045620860483970000674948838352"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 200,
            "x": "201",
            "y": "-9.4398479119943506",
            "defined": true,
            "xExact": "201",
            "yExact": "-146175763026748590137110215383353164982139794203/15484970138238819731476052901562257490693622984"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 201,
            "x": "202",
            "y": "-3.8859853596112326",
            "defined": true,
            "xExact": "202",
            "yExact": "-275138043287429443531236421804740402688657877/70802645359156786705516208901323208981326208"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 202,
            "x": "203",
            "y": "-8.9274735677607033",
            "defined": true,
            "xExact": "203",
            "yExact": "-11385394015604919927611034992661555811200303/1275320943734896152854276859037582592227432"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 203,
            "x": "204",
            "y": "21.625850095156665",
            "defined": true,
            "xExact": "204",
            "yExact": "91371855598693609352828778210692561729717785/4225122027418348600231713638222653453847888"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 204,
            "x": "205",
            "y": "6.8946225801132979",
            "defined": true,
            "xExact": "205",
            "yExact": "16191387415306309674807413506559803288703689/2348408085746187297295464521669313363263520"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 205,
            "x": "206",
            "y": "-4.8063808941749233",
            "defined": true,
            "xExact": "206",
            "yExact": "-43777632918751026507676031739992689669749969889/9108232136118712723519224631381671842998860492"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 206,
            "x": "207",
            "y": "20.173739133548292",
            "defined": true,
            "xExact": "207",
            "yExact": "2740190215866130072200096105488213303340211/135829565244515334684476299068396657857088"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 207,
            "x": "208",
            "y": "2.4305381240985771",
            "defined": true,
            "xExact": "208",
            "yExact": "23846434009853201480722914681670154639891223/9811174642116431415475962473402036552809744"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 208,
            "x": "209",
            "y": "",
            "defined": false,
            "xExact": "209",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 209,
            "x": "210",
            "y": "12.408336644880608",
            "defined": true,
            "xExact": "210",
            "yExact": "27255234132436729672463134129309742750939159/2196526006060740585325357734161598694355520"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 210,
            "x": "211",
            "y": "-3.2042519638182578",
            "defined": true,
            "xExact": "211",
            "yExact": "-671068194133320524976892907862292942490913797/209430532214969986904970127787498583853047744"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 211,
            "x": "212",
            "y": "",
            "defined": false,
            "xExact": "212",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 212,
            "x": "213",
            "y": "3.9301742261906085",
            "defined": true,
            "xExact": "213",
            "yExact": "16472942696438217403192916360292965648633701/4191402657587755618962750500547521825301968"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 213,
            "x": "214",
            "y": "0.24912996354746197",
            "defined": true,
            "xExact": "214",
            "yExact": "127947992497529320834771054539433913536657/513579300842123859074318984580867484836856"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 214,
            "x": "215",
            "y": "4.5067600640475654",
            "defined": true,
            "xExact": "215",
            "yExact": "237346297567281353803428331961850435585905803957/52664507139108340446756289647984483102638288952"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 215,
            "x": "216",
            "y": "6.1552430011539974",
            "defined": true,
            "xExact": "216",
            "yExact": "1272775106100287666478073283171009872501837237/206779018450070153027889836670560528381737344"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 216,
            "x": "217",
            "y": "-12.988284589565145",
            "defined": true,
            "xExact": "217",
            "yExact": "-355303432565186792329343930768888843884563/27355685819406774694184325778566356724320"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 217,
            "x": "218",
            "y": "-2.0832801601373481",
            "defined": true,
            "xExact": "218",
            "yExact": "-199267355368379477401716483462726657044281/95650771884297139177759549816336891764368"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 218,
            "x": "219",
            "y": "-4.2048970735545703",
            "defined": true,
            "xExact": "219",
            "yExact": "-77595848195117820478431538765836313557892487767/18453685509482137813393259343219651172162144584"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 219,
            "x": "220",
            "y": "-4.8736785787849239",
            "defined": true,
            "xExact": "220",
            "yExact": "-10598682685639956452402555459718636298072871/2174678225965889465136747292519399789171024"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 220,
            "x": "221",
            "y": "9.7423712505512423",
            "defined": true,
            "xExact": "221",
            "yExact": "1546780512180393732074673141872702358051472015/158768381167251634991186541642464958540476904"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 221,
            "x": "222",
            "y": "0.005841478518755468",
            "defined": true,
            "xExact": "222",
            "yExact": "59395169574947551377487914526978414047835/10167831548852761908137645895126012766813224"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 222,
            "x": "223",
            "y": "-7.5731798597512139",
            "defined": true,
            "xExact": "223",
            "yExact": "-62869884145224482827466934773713075932075045459/8301649414053374729288650211856710677020095692"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 223,
            "x": "224",
            "y": "-32.025535294814055",
            "defined": true,
            "xExact": "224",
            "yExact": "-24387120982912504930311271720103783091381522063/761489878573912534809684721031929156766335736"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 224,
            "x": "225",
            "y": "4.7065798061104891",
            "defined": true,
            "xExact": "225",
            "yExact": "77347250490044815884810032694767057739526428985/16433855087217669196895293223387487435351317384"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 225,
            "x": "226",
            "y": "-4.2233843478437532",
            "defined": true,
            "xExact": "226",
            "yExact": "-8801045351305373315195080171187259083860088408/2083884540557797695406262912980474365189467623"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 226,
            "x": "227",
            "y": "5.7703011513972324",
            "defined": true,
            "xExact": "227",
            "yExact": "3091232034012832604577577023046847005285523/535714159955813616426647506793070258753016"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 227,
            "x": "228",
            "y": "4.8726677705984862",
            "defined": true,
            "xExact": "228",
            "yExact": "20341160999919488017898268921021842751402643/4174542972672459128328268931709956011029008"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 228,
            "x": "229",
            "y": "7.3381998455344215",
            "defined": true,
            "xExact": "229",
            "yExact": "119102818422692936024913054620424574244549838511/16230522598150772882876884582996366732924668584"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 229,
            "x": "230",
            "y": "26.582606254799042",
            "defined": true,
            "xExact": "230",
            "yExact": "1842545266111456951086973074914619630692352085/69313943427906600099726959443087687435860768"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 230,
            "x": "231",
            "y": "-15.650617965225159",
            "defined": true,
            "xExact": "231",
            "yExact": "-33240047402468380103779045150598065952185559/2123880825429768753318883141092628080530368"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 231,
            "x": "232",
            "y": "13.505621376779501",
            "defined": true,
            "xExact": "232",
            "yExact": "28778124750915877703654916744909842519377559/2130825672367412164969878518685356359052984"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 232,
            "x": "233",
            "y": "11.01931196407533",
            "defined": true,
            "xExact": "233",
            "yExact": "109503720656099943331188829480897502939055407/9937437202349756838194071574208610622872144"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 233,
            "x": "234",
            "y": "6.9313956332134934",
            "defined": true,
            "xExact": "234",
            "yExact": "747859572810981058714334668239034996284852531/107894515388420086477361130153436188497457517"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 234,
            "x": "235",
            "y": "2.6957007276561593",
            "defined": true,
            "xExact": "235",
            "yExact": "560424171659381165792624439352888944486881119/207895544898507792982231773764237169540836424"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 235,
            "x": "236",
            "y": "21.482666498156863",
            "defined": true,
            "xExact": "236",
            "yExact": "89680314464146798876087344198997583320811731/4174542972672459128328268931709956011029008"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 236,
            "x": "237",
            "y": "12.87284731767646",
            "defined": true,
            "xExact": "237",
            "yExact": "1076992394135369307951813302528238995285141/83663883176528318795344999018716090528960"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 237,
            "x": "238",
            "y": "-10.255721570664614",
            "defined": true,
            "xExact": "238",
            "yExact": "-854989081547583819428058415956437772269143/83367033285418741210656253155360231629760"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 238,
            "x": "239",
            "y": "6.4477082465669833",
            "defined": true,
            "xExact": "239",
            "yExact": "744492770136280046177594528677194029619733/115466262068026675544577648574737580763640"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 239,
            "x": "240",
            "y": "1.2190447739655779",
            "defined": true,
            "xExact": "240",
            "yExact": "59738706854263455091364603584110063284199284017/49004522335904206794424934120944310458958610552"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 240,
            "x": "241",
            "y": "0.017030134289946992",
            "defined": true,
            "xExact": "241",
            "yExact": "4032436331052346140631376273895888673133/236782415358446228165620038337950388082880"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 241,
            "x": "242",
            "y": "3.2446940066262679",
            "defined": true,
            "xExact": "242",
            "yExact": "7202979195218874003397310798657519405485007/2219925570950312093631216698915499600577920"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 242,
            "x": "243",
            "y": "",
            "defined": false,
            "xExact": "243",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 243,
            "x": "244",
            "y": "9.8337364455425682",
            "defined": true,
            "xExact": "244",
            "yExact": "8765989085327430770968157397299945697636577421/891419973869736432276924517905434886069259467"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 244,
            "x": "245",
            "y": "7.6120512084860694",
            "defined": true,
            "xExact": "245",
            "yExact": "1118629422286953955906664590276361323869701/146955057401595405872931825938637710873088"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 245,
            "x": "246",
            "y": "3.946304539066984",
            "defined": true,
            "xExact": "246",
            "yExact": "5543087533613536976608888442644219850476767/1404627412491605868825130864110314303666416"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 246,
            "x": "247",
            "y": "39.943596498225943",
            "defined": true,
            "xExact": "247",
            "yExact": "854937816250250363582874904032971116346669/21403626393237315873706756105583517292432"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 247,
            "x": "248",
            "y": "-2.3040416112068951",
            "defined": true,
            "xExact": "248",
            "yExact": "-38020448125400427085486689000021387198443342505/16501632583573301301568096103517861002826866984"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 248,
            "x": "249",
            "y": "-3.1770856848396174",
            "defined": true,
            "xExact": "249",
            "yExact": "-1517298694695294947380302954418739695475729/477575629116811117738644492946530220262672"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 249,
            "x": "250",
            "y": "8.4907128968390406",
            "defined": true,
            "xExact": "250",
            "yExact": "2387137426190746338575930195879847349349509/281146878382784559876692550607234466669490"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 250,
            "x": "251",
            "y": "-9.8527027899254946",
            "defined": true,
            "xExact": "251",
            "yExact": "-4650039578532226117749314935494297359839415/471955734145045620860483970000674948838352"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 251,
            "x": "252",
            "y": "-5.5186833934465369",
            "defined": true,
            "xExact": "252",
            "yExact": "-25600277896111221553187515096826416727880252469/4638837938503896492600615915853802880843867246"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 252,
            "x": "253",
            "y": "1.4864461273622058",
            "defined": true,
            "xExact": "253",
            "yExact": "3403826622993350834133022487373247927814479/2289909173522258526530817109784561097707520"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 253,
            "x": "254",
            "y": "1.4463574558511243",
            "defined": true,
            "xExact": "254",
            "yExact": "74407153789902070826666892449957676843807680137/51444512204706962562645837805637758888078396152"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 254,
            "x": "255",
            "y": "-5.7994397477036737",
            "defined": true,
            "xExact": "255",
            "yExact": "-2276629143146070740231729673170985917224884645/392560185498524601793445824944771209706672424"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 255,
            "x": "256",
            "y": "-1.3851515099437923",
            "defined": true,
            "xExact": "256",
            "yExact": "-5875787373992901799771506160732768070313797/4241981712333645090866195207060219268120848"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 256,
            "x": "257",
            "y": "2.5665685887440839",
            "defined": true,
            "xExact": "257",
            "yExact": "2703016771779663835919773119027189509317591/1053163661253389367999273314012110885376992"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 257,
            "x": "258",
            "y": "1.7737237779061279",
            "defined": true,
            "xExact": "258",
            "yExact": "2521325464657386845185849139797217618276721/1421487097406902359459612432947880117939376"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 258,
            "x": "259",
            "y": "2.2998116805160986",
            "defined": true,
            "xExact": "259",
            "yExact": "7224076905474550127698239852084813757162233/3141160194409222868414340388669417331360168"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 259,
            "x": "260",
            "y": "12.425717414051185",
            "defined": true,
            "xExact": "260",
            "yExact": "203360255320487275262706077785466800347796894859/16366077590862037092222490343257113867875767784"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 260,
            "x": "261",
            "y": "14.517986687277814",
            "defined": true,
            "xExact": "261",
            "yExact": "8553093322753141827066245040682702753473739/589137702560938522346403460742465509744304"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 261,
            "x": "262",
            "y": "-10.79991846721005",
            "defined": true,
            "xExact": "262",
            "yExact": "-1996853575647202738167190866480463213057155/184895245432630667342020276464206982375536"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 262,
            "x": "263",
            "y": "-5.254772091467256",
            "defined": true,
            "xExact": "263",
            "yExact": "-391689710151031881557776198190323655913254367/74539809402402239546542171716060461911099928"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 263,
            "x": "264",
            "y": "-4.513430930920161",
            "defined": true,
            "xExact": "264",
            "yExact": "-41109376649159208339441371714382721522426128793/9108232136118712723519224631381671842998860492"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 264,
            "x": "265",
            "y": "-7.1938869996457759",
            "defined": true,
            "xExact": "265",
            "yExact": "-75966950267194571456333144872979579520611763/10559930990149713589637616825018427800069904"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 265,
            "x": "266",
            "y": "5.2928516047954934",
            "defined": true,
            "xExact": "266",
            "yExact": "2391003108895365484223695467981714327172571/451741950733899303091267698022538644548864"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 266,
            "x": "267",
            "y": "-5.365586781861591",
            "defined": true,
            "xExact": "267",
            "yExact": "-12475034987223827860376691516561344571894299/2325008520856615788989605556915412457041120"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 267,
            "x": "268",
            "y": "3.8712147327797184",
            "defined": true,
            "xExact": "268",
            "yExact": "8503223835596131646433755131780485066184199/2196526006060740585325357734161598694355520"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 268,
            "x": "269",
            "y": "-4.4552776860715397",
            "defined": true,
            "xExact": "269",
            "yExact": "-3372087746504392961792099747698928680811173/756874876070350120542414818627428299131040"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 269,
            "x": "270",
            "y": "-4.1084370684959737",
            "defined": true,
            "xExact": "270",
            "yExact": "-39735149975432915450534859196076735528145247/9671597571769366372874562742380838918324744"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 270,
            "x": "271",
            "y": "-2.8785349135655225",
            "defined": true,
            "xExact": "271",
            "yExact": "-1325176177447281464382024594970143927495203/460364809612762474540344615110830554471264"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 271,
            "x": "272",
            "y": "3.6477823146478543",
            "defined": true,
            "xExact": "272",
            "yExact": "15514826176286661291451964879297122128663127/4253221502277176084622516252951929810969488"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 272,
            "x": "273",
            "y": "",
            "defined": false,
            "xExact": "273",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 273,
            "x": "274",
            "y": "2.1064941856107642",
            "defined": true,
            "xExact": "274",
            "yExact": "158062989090123571407652022788551137635705683/75036043379485635081805254868805635759588408"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 274,
            "x": "275",
            "y": "1.6429148306185881",
            "defined": true,
            "xExact": "275",
            "yExact": "109596737284228012000359232933412121776471381/66708715048218773539595772891175524731296248"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 275,
            "x": "276",
            "y": "12.984714868801777",
            "defined": true,
            "xExact": "276",
            "yExact": "28977018907824347488974374584844842189956701/2231625353395097847784146181292450053689120"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 276,
            "x": "277",
            "y": "-13.484747212723086",
            "defined": true,
            "xExact": "277",
            "yExact": "-5985289455259525540696990084813312053781477/443856259286218136469681355271398591716752"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 277,
            "x": "278",
            "y": "6.6452725256407996",
            "defined": true,
            "xExact": "278",
            "yExact": "112360245242171474682759898086897804429183744891/16908297561707093929604913384300102407680164584"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 278,
            "x": "279",
            "y": "2.8917419684720476",
            "defined": true,
            "xExact": "279",
            "yExact": "24324719943095030985956462635687533585876730789/8411787845631276899381954892068567724167863792"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 279,
            "x": "280",
            "y": "-1.8904653364580708",
            "defined": true,
            "xExact": "280",
            "yExact": "-8145617370811378040156789860670703204002233/4308789594668160317648071588135313308880528"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 280,
            "x": "281",
            "y": "-2.1184475344681233",
            "defined": true,
            "xExact": "281",
            "yExact": "-472235864437543250028843021464491805614931/222916006534996445465851762928231332543680"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 281,
            "x": "282",
            "y": "10.42986391699732",
            "defined": true,
            "xExact": "282",
            "yExact": "704659295765251978127070444804975842521932703/67561696046377379953989800220137614710569128"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 282,
            "x": "283",
            "y": "-5.3446150139295918",
            "defined": true,
            "xExact": "283",
            "yExact": "-131168776079846551661743405675447417205575/24542230962938079049330359045566441469148"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 283,
            "x": "284",
            "y": "1.7373337568571541",
            "defined": true,
            "xExact": "284",
            "yExact": "666425771984563212340332544598341579349513/383591102949689373032141192297890743856688"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 284,
            "x": "285",
            "y": "11.426614235856619",
            "defined": true,
            "xExact": "285",
            "yExact": "466856717545980559863949669874383578665821/40856959717865346551595042644612174171880"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 285,
            "x": "286",
            "y": "9.2417638822190984",
            "defined": true,
            "xExact": "286",
            "yExact": "2168263724791688598316382424751064901377623/234615788979782199618781245305181785654880"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 286,
            "x": "287",
            "y": "1.3971939392941819",
            "defined": true,
            "xExact": "287",
            "yExact": "97711690547616851719559903932624009947590183/69934235899260844518805813384019154746471368"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 287,
            "x": "288",
            "y": "11.573934062852029",
            "defined": true,
            "xExact": "288",
            "yExact": "5192819440749876767681969940381969296179987/448665027167976720387415132733880101360064"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 288,
            "x": "289",
            "y": "-1.5338005649326683",
            "defined": true,
            "xExact": "289",
            "yExact": "-16359926108567898363768558627468956901360837/10666266842381869775765420357749536481888864"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 289,
            "x": "290",
            "y": "-2.3685335197856205",
            "defined": true,
            "xExact": "290",
            "yExact": "-174750474086669642740252246279494671480040699/73780029975039810471331178798600736882785248"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 290,
            "x": "291",
            "y": "-3.398867911049277",
            "defined": true,
            "xExact": "291",
            "yExact": "-2475991016251346722701958149171930362686181/728475210290527160284313815358227017464640"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 291,
            "x": "292",
            "y": "4.6154307521781455",
            "defined": true,
            "xExact": "292",
            "yExact": "293103145925995730979887229731873813680129/63505046801465388073393599803354084599952"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 292,
            "x": "293",
            "y": "-4.9062334701879013",
            "defined": true,
            "xExact": "293",
            "yExact": "-8462412277696150082756101414885700874220737/1724828695804411462676624636081432128482176"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 293,
            "x": "294",
            "y": "-9.1211187140339476",
            "defined": true,
            "xExact": "294",
            "yExact": "-163372603520236818994712473715696351909343572327/17911465538637080976010836302176662632357747784"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 294,
            "x": "295",
            "y": "-5.1440108659285952",
            "defined": true,
            "xExact": "295",
            "yExact": "-3640659772832889464275102930329579606181853/707747294420941850240653563374528841335040"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 295,
            "x": "296",
            "y": "0.75518268641702169",
            "defined": true,
            "xExact": "296",
            "yExact": "1615216140165087596867738671077372742397753/2138841593189206556259199999959520461486720"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 296,
            "x": "297",
            "y": "14.200054693434401",
            "defined": true,
            "xExact": "297",
            "yExact": "46775288823312134982905797054267305484594555/3294021736757067402075943831740925224674128"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 297,
            "x": "298",
            "y": "-3.6700562929424252",
            "defined": true,
            "xExact": "298",
            "yExact": "-789110417281457989196242199643767883323296313/215013164457158186676679813255881789648543144"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 298,
            "x": "299",
            "y": "4.6676857653221466",
            "defined": true,
            "xExact": "299",
            "yExact": "2597305110396714175892637672998231222293391/556443865543176242676920360025993706783380"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 299,
            "x": "300",
            "y": "9.2019517887401499",
            "defined": true,
            "xExact": "300",
            "yExact": "6689592877274667086907553333704637439977949/726975432044786526596039474775221585624640"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 300,
            "x": "301",
            "y": "8.7949429387852582",
            "defined": true,
            "xExact": "301",
            "yExact": "624887400605200331141113189819516095604089651/71050762347698484473147750477695795905570448"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 301,
            "x": "302",
            "y": "4.6265483417691176",
            "defined": true,
            "xExact": "302",
            "yExact": "106320807388335394256712417547275759637151999/22980589315031351149426549026176269016498136"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 302,
            "x": "303",
            "y": "-2.9694658270874554",
            "defined": true,
            "xExact": "303",
            "yExact": "-1276259911839205526303632275160731192813266389/429794443228532132628581286926103344319420868"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 303,
            "x": "304",
            "y": "",
            "defined": false,
            "xExact": "304",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 304,
            "x": "305",
            "y": "0.14072701299593113",
            "defined": true,
            "xExact": "305",
            "yExact": "1168266324979153210164905840926159603697140845/8301649414053374729288650211856710677020095692"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 305,
            "x": "306",
            "y": "29.278726226327557",
            "defined": true,
            "xExact": "306",
            "yExact": "2134759375780785167182154142346026263251953511/72911620515143868284620783281296682647930408"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 306,
            "x": "307",
            "y": "-9.7180406188820552",
            "defined": true,
            "xExact": "307",
            "yExact": "-702679996740325341320841948900665709354795505/72306756505526959637858297528707179592901768"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 307,
            "x": "308",
            "y": "1.2654727285987011",
            "defined": true,
            "xExact": "308",
            "yExact": "5485190182640727824848291145827895201591/4334498925721343989010962486788096825656"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 308,
            "x": "309",
            "y": "5.2560083127075012",
            "defined": true,
            "xExact": "309",
            "yExact": "5402514992092640308781495267277458866869265/1027874133880444632047550960755762163967552"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 309,
            "x": "310",
            "y": "2.6516258881938768",
            "defined": true,
            "xExact": "310",
            "yExact": "5824365221761760499858129560704876825504919/2196526006060740585325357734161598694355520"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 310,
            "x": "311",
            "y": "2.848078030451477",
            "defined": true,
            "xExact": "311",
            "yExact": "2100102217433221663754186061634744578421717/737375238662373863620865681332510877279040"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 311,
            "x": "312",
            "y": "1.1270956422534526",
            "defined": true,
            "xExact": "312",
            "yExact": "242340400686787920704564804689068791584996183/215013164457158186676679813255881789648543144"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 312,
            "x": "313",
            "y": "-2.6257331351397126",
            "defined": true,
            "xExact": "313",
            "yExact": "-17013972748253456608697521323440111363600118583/6479703714196439296468152302966525878690830328"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 313,
            "x": "314",
            "y": "-0.64187595534110831",
            "defined": true,
            "xExact": "314",
            "yExact": "-1380380799985649999144638158049497678489073/2150541375633992310412129482336470914597920"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 314,
            "x": "315",
            "y": "",
            "defined": false,
            "xExact": "315",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 315,
            "x": "316",
            "y": "16.067577266097867",
            "defined": true,
            "xExact": "316",
            "yExact": "270586357351306145936847080430617189238302993917/16840520065351461824932110504169728840204614984"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 316,
            "x": "317",
            "y": "1.6231617779473597",
            "defined": true,
            "xExact": "317",
            "yExact": "3357742085100701656830151349253158211495509/2068642898520492031341623105697817742819520"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 317,
            "x": "318",
            "y": "-5.2828479247193023",
            "defined": true,
            "xExact": "318",
            "yExact": "-11187874223422908472822537253496079793361946411/2117773288735613747742664353045661148927242423"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 318,
            "x": "319",
            "y": "5.2048058383351261",
            "defined": true,
            "xExact": "319",
            "yExact": "1346959533495528678378345632519439665398819/258791504492775459154654651974115240327680"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 319,
            "x": "320",
            "y": "-18.785678515523241",
            "defined": true,
            "xExact": "320",
            "yExact": "-325273319781778646112834121895404693438242328833/17314962539840886557641730665082343812533462184"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 320,
            "x": "321",
            "y": "32.360068620532893",
            "defined": true,
            "xExact": "321",
            "yExact": "2267091214012180402911937803882399848054404207/70058294393531693402621584172205448208593488"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 321,
            "x": "322",
            "y": "4.9176207464590433",
            "defined": true,
            "xExact": "322",
            "yExact": "938082794450088904244115376616020320908685/190759483664038142345318213451186396035696"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 322,
            "x": "323",
            "y": "-1.9924045894669038",
            "defined": true,
            "xExact": "323",
            "yExact": "-62470198614230176444921481672979058254869153/31354173215865242593822424939001115530931992"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 323,
            "x": "324",
            "y": "-5.4157053357781555",
            "defined": true,
            "xExact": "324",
            "yExact": "-1033097153529617257276309840316400397619667/190759483664038142345318213451186396035696"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 324,
            "x": "325",
            "y": "-1.12879682697913",
            "defined": true,
            "xExact": "325",
            "yExact": "-82722516391479069068332369356714340947668099/73283795997956414936068095645855563034296768"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 325,
            "x": "326",
            "y": "-2.3509537867033727",
            "defined": true,
            "xExact": "326",
            "yExact": "-169960381217354978120350580527838332596001/72294224658359660023851819691159150729808"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 326,
            "x": "327",
            "y": "-16.259242978653241",
            "defined": true,
            "xExact": "327",
            "yExact": "-1154980753721602441588195479522405175993620263/71035333885961148700831382289353831649988488"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 327,
            "x": "328",
            "y": "-4.1361367765523447",
            "defined": true,
            "xExact": "328",
            "yExact": "-53721016586607051831803771519658798235810274513/12988210856843550836922964851653890161036254538"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 328,
            "x": "329",
            "y": "-4.4951787693743279",
            "defined": true,
            "xExact": "329",
            "yExact": "-29420668819914523813527046301416971613907493850/6544938550688499496966084585924725256124789469"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 329,
            "x": "330",
            "y": "-0.69738119636900009",
            "defined": true,
            "xExact": "330",
            "yExact": "-18753569197264497778175485865260690808645229313/26891417914488135086928768585067823482992428676"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 330,
            "x": "331",
            "y": "-4.5116323707290036",
            "defined": true,
            "xExact": "331",
            "yExact": "-4827551966010409921170199552138113102480137/1070023346168685858633754882849676699649952"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 331,
            "x": "332",
            "y": "-2.1411426836413381",
            "defined": true,
            "xExact": "332",
            "yExact": "-307531082233376699557704962712881753397385/143629420207705837453095953986363626597888"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 332,
            "x": "333",
            "y": "-2.6255809618634478",
            "defined": true,
            "xExact": "333",
            "yExact": "-142011988695920947941581311144738402890406485605/54087834562576614644885150130722328019624830552"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 333,
            "x": "334",
            "y": "-5.0287447752608516",
            "defined": true,
            "xExact": "334",
            "yExact": "-3773444345320030680685014549490579399368943/750374996934358034901898439529122491847040"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 334,
            "x": "335",
            "y": "-5.1054090565080692",
            "defined": true,
            "xExact": "335",
            "yExact": "-7257273100810567250199789681455771436383535/1421487097406902359459612432947880117939376"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 335,
            "x": "336",
            "y": "2.0586978290202556",
            "defined": true,
            "xExact": "336",
            "yExact": "8698249545191815637295649994644563358499257/4225122027418348600231713638222653453847888"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 336,
            "x": "337",
            "y": "",
            "defined": false,
            "xExact": "337",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 337,
            "x": "338",
            "y": "20.298682017008417",
            "defined": true,
            "xExact": "338",
            "yExact": "42703194894354729961910063191327629289738871/2103742245854849293800411552828669102153120"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 338,
            "x": "339",
            "y": "10.764652342843869",
            "defined": true,
            "xExact": "339",
            "yExact": "1841597274921858870962387420257368984620577/171078193356250542971335138336549724351912"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 339,
            "x": "340",
            "y": "0.32041072682874755",
            "defined": true,
            "xExact": "340",
            "yExact": "47085976753205497276414361846118027597989/146955057401595405872931825938637710873088"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 340,
            "x": "341",
            "y": "7.2366681778832849",
            "defined": true,
            "xExact": "341",
            "yExact": "20368492733164908275052535946727575612182761967/2814623005019785563306838116292050837491836008"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 341,
            "x": "342",
            "y": "25.170688218445438",
            "defined": true,
            "xExact": "342",
            "yExact": "4236843100003191859933758952929558786460067/168324483750045949086479188538377015682460"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 342,
            "x": "343",
            "y": "-3.5523056594560294",
            "defined": true,
            "xExact": "343",
            "yExact": "-11913836035232620937787758113345843541111521/3353831898873535240669947454131634694998088"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 343,
            "x": "344",
            "y": "-7.7690778853293239",
            "defined": true,
            "xExact": "344",
            "yExact": "-853016626099211269423987565862486596354797/109796379787876553527906328714911250320320"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 344,
            "x": "345",
            "y": "",
            "defined": false,
            "xExact": "345",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 345,
            "x": "346",
            "y": "5.0863302697143276",
            "defined": true,
            "xExact": "346",
            "yExact": "3816655060544020901279257901890310615889017/750374996934358034901898439529122491847040"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 346,
            "x": "347",
            "y": "0.84395594758435655",
            "defined": true,
            "xExact": "347",
            "yExact": "524242596183239192893627800706629136839578833/621172938805362460702436782983658013805021636"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 347,
            "x": "348",
            "y": "-5.0511977050326431",
            "defined": true,
            "xExact": "348",
            "yExact": "-11804262091672326190398354137174082015774913/2336923395398169635160511522685004131689920"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 348,
            "x": "349",
            "y": "-1.484560601247219",
            "defined": true,
            "xExact": "349",
            "yExact": "-22722372736396732272857606136214919357553/15305789953813309142182857341846419354768"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 349,
            "x": "350",
            "y": "16.057287765333189",
            "defined": true,
            "xExact": "350",
            "yExact": "35415755560587795931328732593263389129934297/2205587648310599697966630168721603782004784"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 350,
            "x": "351",
            "y": "1.3125512323844544",
            "defined": true,
            "xExact": "351",
            "yExact": "307945242962264190972198000393003623128123/234615788979782199618781245305181785654880"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 351,
            "x": "352",
            "y": "-4.7329385003021454",
            "defined": true,
            "xExact": "352",
            "yExact": "-125350706843461761120222481326809884828362629173/26484752936354342458891951304285582078139131076"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 352,
            "x": "353",
            "y": "-3.1843733330230397",
            "defined": true,
            "xExact": "353",
            "yExact": "-113619887156598110838903392904311711594583899/35680454291687803341343588724080764780437874"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 353,
            "x": "354",
            "y": "-8.7505973042704692",
            "defined": true,
            "xExact": "354",
            "yExact": "-135502737948381317464171575280913292392844429819/15484970138238819731476052901562257490693622984"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 354,
            "x": "355",
            "y": "12.057543130920358",
            "defined": true,
            "xExact": "355",
            "yExact": "616003966807940346323641280670351220094300125093/51088680348839894013113622684953297658831760752"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 355,
            "x": "356",
            "y": "-10.379246547276576",
            "defined": true,
            "xExact": "356",
            "yExact": "-533955275677032471530835593389115060746028089751/51444512204706962562645837805637758888078396152"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 356,
            "x": "357",
            "y": "2.3324416738196554",
            "defined": true,
            "xExact": "357",
            "yExact": "9763094153081501617261845126736668079011631/4185782762615990122084589977601666553877648"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 357,
            "x": "358",
            "y": "-0.83547572933855951",
            "defined": true,
            "xExact": "358",
            "yExact": "-3387602902046164475300775455941736746279/4054699356411115480563013337104282337872"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 358,
            "x": "359",
            "y": "-3.8617299830617156",
            "defined": true,
            "xExact": "359",
            "yExact": "-924337772154312165235515881669771448536423/239358467890979941086495869600312575270080"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 359,
            "x": "360",
            "y": "0.90319900329679137",
            "defined": true,
            "xExact": "360",
            "yExact": "99310134436627348043154421460086753822651/109953768852858243034901292109056162384516"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 360,
            "x": "361",
            "y": "-17.524094816698714",
            "defined": true,
            "xExact": "361",
            "yExact": "-823297707499493797826126617512430498943329/46980897793075920229578515798832840590024"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 361,
            "x": "362",
            "y": "1.2131160384318818",
            "defined": true,
            "xExact": "362",
            "yExact": "16002872804593332828717436962704231442911521993/13191543345910447150941373492045010863462903338"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 362,
            "x": "363",
            "y": "8.1746751352419267",
            "defined": true,
            "xExact": "363",
            "yExact": "38873311563214218495601461187034390303453029931/4755334116658297445202188593390911079399241232"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 363,
            "x": "364",
            "y": "",
            "defined": false,
            "xExact": "364",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 364,
            "x": "365",
            "y": "",
            "defined": false,
            "xExact": "365",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 365,
            "x": "366",
            "y": "-5.9580854584425849",
            "defined": true,
            "xExact": "366",
            "yExact": "-693038149049627636366978098659337355576711/116318933973596366392593539444989925778064"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 366,
            "x": "367",
            "y": "2.007663759519752",
            "defined": true,
            "xExact": "367",
            "yExact": "4294074753999458743443364242152980983077033/2138841593189206556259199999959520461486720"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 367,
            "x": "368",
            "y": "11.347168856140375",
            "defined": true,
            "xExact": "368",
            "yExact": "95738383077330033671485451923536784349308851577/8437204406764638938634255972117457811971194892"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 368,
            "x": "369",
            "y": "4.1524295594862428",
            "defined": true,
            "xExact": "369",
            "yExact": "3110481259918150753264467626428456075213951/749075021107159617773795163709461330390240"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 369,
            "x": "370",
            "y": "",
            "defined": false,
            "xExact": "370",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 370,
            "x": "371",
            "y": "2.2262822338563617",
            "defined": true,
            "xExact": "371",
            "yExact": "163460950391820047333729411281097437577171095/73423282953964599592200234622383820752000848"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 371,
            "x": "372",
            "y": "2.7937413857359705",
            "defined": true,
            "xExact": "372",
            "yExact": "670693025291612119492198270391144327794481/240069832059608413660149553906084623401136"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 372,
            "x": "373",
            "y": "-4.5571248380388525",
            "defined": true,
            "xExact": "373",
            "yExact": "-108682864679579327228037512517402350049039903/23848998774927293336136944543480323251352976"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 373,
            "x": "374",
            "y": "-2.3595262636582155",
            "defined": true,
            "xExact": "374",
            "yExact": "-40535263301540502704743193743471217478948553933/17179407547129622348296124904821596677582362984"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 374,
            "x": "375",
            "y": "-17.692952095549526",
            "defined": true,
            "xExact": "375",
            "yExact": "-434224516745175707510471881540726003610335/24542230962938079049330359045566441469148"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 375,
            "x": "376",
            "y": "7.4247294964753481",
            "defined": true,
            "xExact": "376",
            "yExact": "298689048115256184026808878079710022629090023979/40228946826554317670744096696822752298999479760"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 376,
            "x": "377",
            "y": "-4.5897903075861599",
            "defined": true,
            "xExact": "377",
            "yExact": "-698359363919696766028135934035509848997427/152154960710389074385344929217282356700288"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 377,
            "x": "378",
            "y": "-0.74141622932388529",
            "defined": true,
            "xExact": "378",
            "yExact": "-3153407448697614708829709234004038793870089/4253221502277176084622516252951929810969488"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 378,
            "x": "379",
            "y": "9.9004157896931506",
            "defined": true,
            "xExact": "379",
            "yExact": "667813399826674278124540697635849520605266545/67453066013843866842490397620293285504028968"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 379,
            "x": "380",
            "y": "5.3797974179665564",
            "defined": true,
            "xExact": "380",
            "yExact": "11210876670633262946564870020887502021068719812/2083884540557797695406262912980474365189467623"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 380,
            "x": "381",
            "y": "-7.9180644264291162",
            "defined": true,
            "xExact": "381",
            "yExact": "-1720169545407260111642091660328847928983107661/217246217354033466585363687443235071966741304"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 381,
            "x": "382",
            "y": "",
            "defined": false,
            "xExact": "382",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 382,
            "x": "383",
            "y": "0.37896940119773603",
            "defined": true,
            "xExact": "383",
            "yExact": "525921504721136857138934738457219316994589/1387767727576309378190649295272748489393456"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 383,
            "x": "384",
            "y": "6.1925402613459699",
            "defined": true,
            "xExact": "384",
            "yExact": "444594129760652285149529926131106521200833497/71795113313323577776042375206813556678303168"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 384,
            "x": "385",
            "y": "-2.3052344929000208",
            "defined": true,
            "xExact": "385",
            "yExact": "-166970013086394117182584501420408069152107233/72430814999797808521674068316893473055023888"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 385,
            "x": "386",
            "y": "12.866840588686918",
            "defined": true,
            "xExact": "386",
            "yExact": "2080133769335438281044282043683109458340777/161666242384659825423321363614587630486064"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 386,
            "x": "387",
            "y": "-1.5123172764067956",
            "defined": true,
            "xExact": "387",
            "yExact": "-1528974617866890127395259783953742606933355/1011014448965148141413069391918196349694592"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 387,
            "x": "388",
            "y": "-3.1400070529195485",
            "defined": true,
            "xExact": "388",
            "yExact": "-6569028090114785921570467162211630051600743/2092042463410063539647482070451718649041920"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 388,
            "x": "389",
            "y": "18.752092181163565",
            "defined": true,
            "xExact": "389",
            "yExact": "12906083507776974611950081605793812652580537/688247657012965593319104426079611419483040"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 389,
            "x": "390",
            "y": "15.528004736932077",
            "defined": true,
            "xExact": "390",
            "yExact": "5465721066192892351537281510399735517743639/351991202913090705479451191828346173696384"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 390,
            "x": "391",
            "y": "3.1183207654698353",
            "defined": true,
            "xExact": "391",
            "yExact": "90125222379840916932821984262151014095410705/28901844665188513315788869756550566249334432"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 391,
            "x": "392",
            "y": "4.2326146315606836",
            "defined": true,
            "xExact": "392",
            "yExact": "4781834731657614125619753306858722948358521/1129759060983640212015293988347334751868136"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 392,
            "x": "393",
            "y": "4.1756140393217445",
            "defined": true,
            "xExact": "393",
            "yExact": "4421071481976760382676371028538029251453791/1058783556225154864877433836957966156801312"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 393,
            "x": "394",
            "y": "-5.5887264729996282",
            "defined": true,
            "xExact": "394",
            "yExact": "-146879670201789081160483909109022038341287265951/26281420447287446144873542663894461375712482276"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 394,
            "x": "395",
            "y": "-0.3821116415196294",
            "defined": true,
            "xExact": "395",
            "yExact": "-796276542529918810491100094357354641888565120/2083884540557797695406262912980474365189467623"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 395,
            "x": "396",
            "y": "3.8951391541194131",
            "defined": true,
            "xExact": "396",
            "yExact": "8756036460250432673405102577077361316529915/2247939319700617637134653929278921542652488"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 396,
            "x": "397",
            "y": "-7.5569318806599286",
            "defined": true,
            "xExact": "397",
            "yExact": "-5527512429383979557288555226895090041528653/731449286122356234736769707609964413052048"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 397,
            "x": "398",
            "y": "-12.005831744073959",
            "defined": true,
            "xExact": "398",
            "yExact": "-198115824300909517179566290536619476037873808265/16501632583573301301568096103517861002826866984"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 398,
            "x": "399",
            "y": "-1.0104695934912864",
            "defined": true,
            "xExact": "399",
            "yExact": "-16674397968665881739609408795141642019852613737/16501632583573301301568096103517861002826866984"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 399,
            "x": "400",
            "y": "-3.8100554867325269",
            "defined": true,
            "xExact": "400",
            "yExact": "-1495676088631392251967926738846117191178882373/392560185498524601793445824944771209706672424"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 400,
            "x": "401",
            "y": "7.9476338105511912",
            "defined": true,
            "xExact": "401",
            "yExact": "8370159122221319050290995617707899075086603/1053163661253389367999273314012110885376992"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 401,
            "x": "402",
            "y": "-14.100528227384848",
            "defined": true,
            "xExact": "402",
            "yExact": "-9682496878926600499316509646668292480653537/686676181401635595624837924365725580463840"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 402,
            "x": "403",
            "y": "-4.1261250461059804",
            "defined": true,
            "xExact": "403",
            "yExact": "-2995052085007194016978587087938779450253473/725875258636130326028107263718904694551040"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 403,
            "x": "404",
            "y": "14.833040172433416",
            "defined": true,
            "xExact": "404",
            "yExact": "221268176388180090775020888749319892792655/14917250530973262369950437317625242519232"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 404,
            "x": "405",
            "y": "5.7539100139737611",
            "defined": true,
            "xExact": "405",
            "yExact": "13512528801471938528231787935484195048024409/2348408085746187297295464521669313363263520"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 405,
            "x": "406",
            "y": "15.543569063895488",
            "defined": true,
            "xExact": "406",
            "yExact": "576294963387148045183174671356524347400196033/37076102728926178561389245581579808634575804"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 406,
            "x": "407",
            "y": "6.1047262865004326",
            "defined": true,
            "xExact": "407",
            "yExact": "116705078226100245651000624500473577761647026317/19117168034900065392208643228280303190563630384"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 407,
            "x": "408",
            "y": "1.2019952240112732",
            "defined": true,
            "xExact": "408",
            "yExact": "81656189126681710047160452672302222191463151/67933871529189926605437112584696495096935488"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 408,
            "x": "409",
            "y": "2.3746507109198767",
            "defined": true,
            "xExact": "409",
            "yExact": "169604530095209170135033929423850197840412975/71422937830511031124595062842254676291936808"
          },
          {
            "series": "actual out-of-fold scores",
            "index": 409,
            "x": "410",
            "y": "6.1114459068281466",
            "defined": true,
            "xExact": "410",
            "yExact": "51149299834116467874399155614370015042821507307/8369426910409006833961453091987084244495645292"
          }
        ],
        "plotFile": "ml21-code/python-realdata-company-result/plot.svg",
        "fullResultFile": "ml21-code/python-realdata-company-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      }
    },
    "r": {
      "country": {
        "api": "realdata",
        "variant": "country",
        "language": "r",
        "title": "Actual countries: descriptive GDP-category scores",
        "input": {
          "kind": "country"
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/realdata-country.R",
        "codeSHA256": "bbba03e0099cc3391b750b8b62af45562bbcda2a4a1a611285304f82530e2730",
        "code": "# ML21 standalone numerical fixed example, not arbitrary exact API validation.\n# Fixed inputs are declared inline and matching JSON provided for reading.\n# Realdata code uses3factual CSVs, R4.5+ toolsSHA256 and numerical ridge.\noptions(digits=17)\nfixedSource<-function(kind){\n selectedKind<-kind\n src<-file.path(dirname(sub('^--file=','',grep('^--file=',commandArgs(),value=TRUE)[1])),'data')\nreadnative<-function(n)read.csv(file.path(src,n),colClasses='character',check.names=FALSE,na.strings=NULL,stringsAsFactors=FALSE)\nnum<-function(x){v<-suppressWarnings(as.numeric(x));v[x%in%c('','.')] <- NA_real_;v}\nsha<-function(s){tf<-tempfile('ml21-group-');writeBin(charToRaw(enc2utf8(s)),tf);on.exit(unlink(tf));unname(tools::sha256sum(tf))}\nwb<-readnative('actual48-country-revised-original-2023-2024.csv');iso<-sort(unique(wb$countryISO3))\nlookup<-function(i,code,yr){r<-wb[wb$countryISO3==i&wb$indicatorID==code&wb$date==yr,,drop=FALSE];stopifnot(nrow(r)==1);num(r$originalValueToken)}\ng<-vapply(iso,lookup,numeric(1),code='NY.GDP.PCAP.KD',yr='2023');pi<-vapply(iso,lookup,numeric(1),code='FP.CPI.TOTL.ZG',yr='2023');gy<-vapply(iso,lookup,numeric(1),code='NY.GDP.MKTP.KD.ZG',yr='2024')\ncountry<-list(id=paste0(iso,':2024'),originalID=iso,sourceRow=iso,foldGroup=paste0('country:',iso),a=as.integer(g>median(g)),x=cbind(g/10000,pi/10),y=gy)\npd<-readnative('actual38408-NSW-all15-fields.csv');pre<-pd[pd$year=='1975',,drop=FALSE];post<-pd[match(pre$id,pd$id[pd$year=='1978'])+0,,drop=FALSE]\npostNative<-pd[pd$year=='1978',,drop=FALSE];post<-postNative[match(pre$id,postNative$id),,drop=FALSE]\nstopifnot(nrow(pre)==19204,nrow(post)==19204,all(pre$id==post$id),all(pre$treated==post$treated));take<-num(pre$experimental)==1;stopifnot(all(take==(pre$treated!='.')));pre<-pre[take,,drop=FALSE];post<-post[take,,drop=FALSE]\nperson<-list(id=paste0('nsw-id:',pre$id),originalID=pre$id,sourceRow=post$sourceRow,foldGroup=paste0('nsw-id:',pre$id),a=num(pre$treated),x=cbind(num(pre$age)/10,num(pre$educ)/10,num(pre$re74)/10000),y=num(post$re)/10000)\ncd<-readnative('actual410-NJPA-all46-fields.csv');before<-num(cd$EMPFT)+num(cd$EMPPT)/2+num(cd$NMGRS);after<-num(cd$EMPFT2)+num(cd$EMPPT2)/2+num(cd$NMGRS2)\ncompany<-list(id=paste0('njpa-row:',cd$sourceRow),originalID=cd$SHEET,sourceRow=cd$sourceRow,foldGroup=paste0('sheet:',cd$SHEET),a=num(cd$STATE),x=cbind(before/10,as.integer(num(cd$CHAIN)==2),num(cd$CO_OWNED)),y=after-before)\nmodels<-list(country=country,person=person,company=company)\nfor(kind in names(models)){\n m<-models[[kind]];groups<-unique(m$foldGroup);hash<-vapply(groups,function(g)sha(paste0('ML21|',kind,'|',g)),character(1));ord<-order(hash,groups);folds<-integer(length(groups));folds[ord]<-(seq_along(ord)-1L)%%4L;m$fold<-folds[match(m$foldGroup,groups)];m$eligible<-!is.na(m$y)&rowSums(is.na(m$x))==0;m$role<-ifelse(m$eligible,'analysis','excluded');models[[kind]]<-m\n}\nstopifnot(length(person$id)==722,sum(person$a)==297,sum(models$company$eligible)==384,length(country$id)==16)\nsourcefit<-function(kind,m,rep){\n N<-length(m$id);X<-if(rep=='full')m$x else if(rep=='constant')matrix(numeric(0),nrow=N,ncol=0) else if(kind=='country')matrix(m$a,ncol=1) else if(kind=='person')cbind(as.integer(m$x[,2]>1.2),as.integer(m$x[,3]>0)) else matrix(m$x[,2],ncol=1)\n group<-if(kind=='country')ifelse(m$a==1,'higher-GDP-category','lower-GDP-category')else if(kind=='person')ifelse(m$x[,2]>1.2,'schooling-over12','schooling-at-most12')else ifelse(!is.na(m$x[,2])&m$x[,2]!=0,'chain2','other-chains')\n p<-ncol(X);eRaw<-mu0<-mu1<-rep(NA_real_,N);fits<-list();coords<-list()\n for(fold in 0:3){\n  tr<-which(m$eligible&m$fold!=fold);means<-if(p)colMeans(X[tr,,drop=FALSE])else numeric(0);scales<-if(p)apply(X[tr,,drop=FALSE],2,function(x)diff(range(x)))else numeric(0);scales[scales==0]<-1;Z<-if(p)cbind(1,sweep(sweep(X,2,means,'-'),2,scales,'/'))else matrix(1,nrow=N,ncol=1);hold<-which(m$fold==fold);ok<-rowSums(is.na(Z[hold,,drop=FALSE]))==0\n  for(name in c('e','mu0','mu1')){\n   ix<-if(name=='e')tr else tr[m$a[tr]==if(name=='mu0')0 else 1];target<-if(name=='e')m$a[ix]else m$y[ix];A<-crossprod(Z[ix,,drop=FALSE])/length(ix)+diag(c(0,rep(.01,p)),nrow=p+1);b<-as.vector(crossprod(Z[ix,,drop=FALSE],target))/length(ix);theta<-as.vector(solve(A,b));minimum<-mean((as.vector(Z[ix,,drop=FALSE]%*%theta)-target)^2)/2+.01*sum(theta[-1]^2)/2;v<-as.vector(Z[hold,,drop=FALSE]%*%theta)\n   if(name=='e')eRaw[hold]<-v else if(name=='mu0')mu0[hold]<-v else mu1[hold]<-v\n   fits[[length(fits)+1L]]<-list(fold=fold,name=name,rows=length(ix),rank=p+1,theta=theta,minimumObjective=minimum,trainingIDs=m$id[ix])\n  }\n  coords[[length(coords)+1L]]<-list(fold=fold,mean=means,scale=scales)\n }\n e<-pmax(.05,pmin(.95,eRaw));nuisance<-!is.na(e)&!is.na(mu0)&!is.na(mu1);eligible<-m$eligible&nuisance;plugin<-treated<-control<-ipw<-effective<-score<-rep(NA_real_,N);ix<-which(eligible);plugin[ix]<-mu1[ix]-mu0[ix];treated[ix]<-ifelse(m$a[ix]==1,(m$y[ix]-mu1[ix])/e[ix],0);control[ix]<-ifelse(m$a[ix]==0,(m$y[ix]-mu0[ix])/(1-e[ix]),0);score[ix]<-plugin[ix]+treated[ix]-control[ix];ipw[ix]<-ifelse(m$a[ix]==1,m$y[ix]/e[ix],-m$y[ix]/(1-e[ix]));effective[ix]<-1/ifelse(m$a[ix]==1,e[ix],1-e[ix]);clipped<-!is.na(eRaw)&eRaw!=e\n list(X=X,group=group,meanX=coords,fits=fits,eRaw=eRaw,e=e,mu0=mu0,mu1=mu1,nuisance=nuisance,eligible=eligible,plugin=plugin,treated=treated,control=control,score=score,ipw=ipw,effective=effective,clipped=clipped)\n}\nextreme<-function(values,sign){N<-length(values);p<-rep(1/N,N);q<-p;upper<-pmin(1,2*p);ord<-order(round(sign*values,12),seq_along(values));donor<-ord;receiver<-rev(ord);a<-b<-1L;budget<-.1\n while(budget>1e-14&&a<=N&&b<=N){i<-donor[a];j<-receiver[b];if(sign*values[j]<=sign*values[i]+1e-14)break;move<-min(q[i],upper[j]-q[j],budget);if(move>0){q[i]<-q[i]-move;q[j]<-q[j]+move;budget<-budget-move};if(q[i]<=1e-14)a<-a+1L;if(upper[j]-q[j]<=1e-14)b<-b+1L;if(move<=0&&a<=N&&b<=N&&q[i]>1e-14&&upper[j]-q[j]>1e-14)stop('no transport progress')};list(q=q,objective=sum(q*values),TV=sum(abs(q-p))/2)\n}\n\n m<-models[[selectedKind]];z<-sourcefit(selectedKind,m,'full');ix<-which(z$eligible);v<-z$score[ix];lo<-extreme(v,-1);hi<-extreme(v,1);treated<-ix[m$a[ix]==1];control<-ix[m$a[ix]==0];norm<-sum(m$y[treated]*z$effective[treated])/sum(z$effective[treated])-sum(m$y[control]*z$effective[control])/sum(z$effective[control]);nv<-function(v)if(is.na(v))NULL else unname(v)\n rows<-lapply(seq_along(m$id),function(i)list(id=m$id[i],sourceRow=if(selectedKind=='country')m$sourceRow[i]else as.integer(m$sourceRow[i]),originalID=m$originalID[i],foldGroup=m$foldGroup[i],fold=m$fold[i],a=m$a[i],y=nv(m$y[i]),x=lapply(as.list(m$x[i,]),nv),eligible=z$eligible[i],eRaw=nv(z$eRaw[i]),e=nv(z$e[i]),mu0=nv(z$mu0[i]),mu1=nv(z$mu1[i]),plugin=nv(z$plugin[i]),score=nv(z$score[i]),IPWContribution=nv(z$ipw[i])))\n fits<-lapply(z$fits,function(fit){co<-z$meanX[[fit$fold+1L]];list(fold=fit$fold,fit=fit$name,trainingIDs=as.list(fit$trainingIDs),rows=fit$rows,rank=fit$rank,unique=TRUE,theta=as.list(fit$theta),minimumObjective=fit$minimumObjective,meanX=as.list(co$mean),scales=as.list(co$scale))});unit<-switch(selectedKind,country='GDP growth contrast, percentage points',person='native real1978earnings/10000',company='post-minus-pre FTE employees')\n list(kind=selectedKind,unit=unit,rows=rows,fits=fits,AIPW=mean(v),plugin=mean(z$plugin[ix]),IPW=mean(z$ipw[ix]),normalizedIPWContrast=norm,stressMinimum=lo$objective,stressMaximum=hi$objective,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\n\n# Owned numerical fixed-example adapters; not arbitrary exact input validators.\nnum<-function(v){if(is.null(v))return(NULL);if(is.numeric(v))return(as.numeric(v));s<-strsplit(as.character(v),'/',fixed=TRUE)[[1]];if(length(s)==2)as.numeric(s[1])/as.numeric(s[2])else as.numeric(v)}\nopt<-function(a,key,default)if(is.null(a[[key]]))default else a[[key]]\nmaybe<-function(v)if(is.null(v))list(defined=FALSE)else list(defined=TRUE,value=v)\nweighted<-function(v,w){if(!length(w)||sum(w)==0)return(NULL);sum(v*w)/sum(w)}\nfixedEffects<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){r<-a$rows[[i]];w<-num(opt(r,'weight',1));if(w<0)stop('negative-analysis-weight');y0<-num(r$y0);y1<-num(r$y1);A<-num(r$a);list(id=opt(r,'id',as.character(i-1L)),a=A,y0=y0,y1=y1,w=w,effect=if(is.null(y0)||is.null(y1))NULL else y1-y0,observed=if(is.null(A))NULL else if(A==1)y1 else y0)})\n complete<-Filter(function(r)r$w>0&&!is.null(r$effect),rr);treated<-Filter(function(r)!is.null(r$a)&&r$a==1,complete);avg<-function(rows,key)weighted(vapply(rows,function(r)r[[key]],numeric(1)),vapply(rows,function(r)r$w,numeric(1)));arm<-lapply(0:1,function(A)avg(Filter(function(r)!is.null(r$a)&&r$a==A&&!is.null(r$observed)&&r$w>0,rr),'observed'));list(rows=rr,completeRows=length(complete),ATE=avg(complete,'effect'),ATT=avg(treated,'effect'),observedContrast=if(any(vapply(arm,is.null,logical(1))))NULL else arm[[2]]-arm[[1]])\n}\nfixedAipw<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){v<-a$rows[[i]];w<-num(opt(v,'weight',1));if(w<0)stop('negative-analysis-weight');r<-list(id=opt(v,'id',as.character(i-1L)),a=num(v$a),y=num(v$y),e=num(v$e),mu0=num(v$mu0),mu1=num(v$mu1),w=w,role=opt(v,'role','analysis'),group=opt(v,'group','all'));reason<-if(w==0)'zero-weight'else if(r$role%in%c('excluded','unused'))'inactive-role'else if(any(vapply(r[c('a','y','e','mu0','mu1')],is.null,logical(1))))'missing-required-field'else if(r$e%in%c(0,1))'nonoverlap-boundary-propensity'else NULL;r$eligible<-is.null(reason);r$reason<-reason\n  if(is.null(reason)){r$plugin<-r$mu1-r$mu0;r$treatedResidual<-if(r$a==1)(r$y-r$mu1)/r$e else 0;r$controlResidual<-if(r$a==0)(r$y-r$mu0)/(1-r$e)else 0;r$score<-maybe(r$plugin+r$treatedResidual-r$controlResidual);r$IPWContribution<-if(r$a==1)r$y/r$e else-r$y/(1-r$e);r$effectiveArmWeight<-w/if(r$a==1)r$e else 1-r$e}else r$score<-maybe(NULL);r})\n summary<-function(rows){mass<-sum(vapply(rows,function(r)r$w,numeric(1)));avg<-function(key){if(!mass)return(NULL);sum(vapply(rows,function(r)r$w*if(key=='score')r$score$value else r[[key]],numeric(1)))/mass};arms<-lapply(0:1,function(A){arm<-Filter(function(r)r$a==A,rows);w<-vapply(arm,function(r)r$effectiveArmWeight,numeric(1));list(a=A,rows=length(arm),weightedArmDenominator=sum(w),normalizedMean=maybe(weighted(vapply(arm,function(r)r$y,numeric(1)),w)))});list(rows=length(rows),mass=mass,AIPW=maybe(avg('score')),plugin=maybe(avg('plugin')),IPW=maybe(avg('IPWContribution')),normalizedArmMeans=arms,normalizedIPWContrast=maybe(if(all(vapply(arms,function(r)r$normalizedMean$defined,logical(1))))arms[[2]]$normalizedMean$value-arms[[1]]$normalizedMean$value else NULL))}\n use<-Filter(function(r)r$eligible,rr);roles<-unique(vapply(rr,function(r)r$role,character(1)));groups<-unique(vapply(rr,function(r)r$group,character(1)));list(rows=rr,overall=summary(use),byRole=lapply(roles,function(role)c(list(role=role),summary(Filter(function(r)r$role==role,use)))),byGroup=lapply(groups,function(g)c(list(group=g),summary(Filter(function(r)r$group==g,use)))),overlapExcluded=as.list(vapply(Filter(function(r)identical(r$reason,'nonoverlap-boundary-propensity'),rr),function(r)r$id,character(1))))\n}\nfixedRepresentation<-function(a){\n atoms<-lapply(a$atoms,function(r)list(id=r$id,p=num(r$probability),y0=num(r$y0),y1=num(r$y1),e=num(r$e),phi=r$phi));if(abs(sum(vapply(atoms,function(r)r$p,numeric(1)))-1)>1e-12)stop('law-probabilities-must-sum-one');ATE<-sum(vapply(atoms,function(r)r$p*(r$y1-r$y0),numeric(1)));phis<-unique(vapply(Filter(function(r)r$p>0,atoms),function(r)r$phi,character(1)));groups<-lapply(phis,function(phi){use<-Filter(function(r)r$phi==phi&&r$p>0,atoms);mass<-sum(vapply(use,function(r)r$p,numeric(1)));t<-sum(vapply(use,function(r)r$p*r$e,numeric(1)));m1<-if(t>0)sum(vapply(use,function(r)r$p*r$e*r$y1,numeric(1)))/t else NULL;m0<-if(mass-t>0)sum(vapply(use,function(r)r$p*(1-r$e)*r$y0,numeric(1)))/(mass-t)else NULL;list(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=if(is.null(m0)||is.null(m1))NULL else m1-m0)});adjusted<-if(any(vapply(groups,function(r)is.null(r$contrast),logical(1))))NULL else sum(vapply(groups,function(r)r$mass*r$contrast,numeric(1)));list(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=if(is.null(adjusted))NULL else adjusted-ATE)\n}\nfixedRobust<-function(a){\n values<-vapply(a$values,num,numeric(1));p<-if(is.null(a$probabilities))rep(1/length(values),length(values))else vapply(a$probabilities,num,numeric(1));radius<-num(opt(a,'radius','1/10'));cap<-num(opt(a,'cap',2));if(cap<1||radius<0||radius>1)stop('invalid-robust-constraint')\n go<-function(sign){q<-p;upper<-pmin(1,cap*p);order<-order(sign*values,seq_along(values));lo<-order;hi<-rev(order);i<-j<-1L;budget<-radius;N<-length(values)\n while(budget>1e-14&&i<=N&&j<=N){d<-lo[i];h<-hi[j];if(sign*values[h]<=sign*values[d])break;move<-min(q[d],upper[h]-q[h],budget);if(move>0){q[d]<-q[d]-move;q[h]<-q[h]+move;budget<-budget-move};if(q[d]<=1e-14)i<-i+1L;if(upper[h]-q[h]<=1e-14)j<-j+1L};list(q=q,value=sum(q*values),TV=sum(abs(q-p))/2)};lo<-go(-1);hi<-go(1);list(values=as.list(values),p=as.list(p),radius=radius,cap=cap,baseline=sum(values*p),minimum=lo$value,maximum=hi$value,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\nfixedValidate<-function(a){\n rr<-a$rows;cc<-a$candidates;groups<-unlist(a$requiredGroups);eligible<-vapply(seq_along(rr),function(i){r<-rr[[i]];!is.null(r$y)&&num(opt(r,'weight',1))>0&&!r$role%in%c('excluded','unused')&&all(vapply(cc,function(c)!is.null(c$predictions[[i]]),logical(1)))},logical(1));out<-lapply(cc,function(c){risk<-function(ix){if(!length(ix))return(NULL);weighted(vapply(ix,function(i)(num(c$predictions[[i]])-num(rr[[i]]$y))^2,numeric(1)),vapply(ix,function(i)num(opt(rr[[i]],'weight',1)),numeric(1)))};vr<-which(eligible&vapply(rr,function(r)r$role=='validation',logical(1)));tr<-which(eligible&vapply(rr,function(r)r$role=='test',logical(1)));gv<-lapply(groups,function(g)risk(vr[vapply(rr[vr],function(r)r$group==g,logical(1))]));worst<-if(any(vapply(gv,is.null,logical(1))))NULL else max(unlist(gv));list(id=c$id,validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=if(opt(a,'criterion','worst-group')=='mean')risk(vr)else worst)});available<-which(!vapply(out,function(r)is.null(r$criterion),logical(1)));selected<-if(length(available))available[which.min(vapply(out[available],function(r)r$criterion,numeric(1)))]else NULL;list(commonEligibility=as.list(eligible),groups=as.list(groups),candidates=out,selectedIndex=if(is.null(selected))NULL else selected-1L,selectedID=if(is.null(selected))NULL else out[[selected]]$id,selectedScore=if(is.null(selected))NULL else out[[selected]]$criterion)\n}\nfixedOperation<-function(api,a)switch(api,effects=fixedEffects(a),aipw=fixedAipw(a),representation=fixedRepresentation(a),robust=fixedRobust(a),validate=fixedValidate(a),realdata=fixedSource(a$kind))\nreportValues<-function(api,z){summary<-list();points<-list();add<-function(k,v,u){if(length(v)==1&&is.na(v))v<-NULL;summary[[length(summary)+1L]]<<-list(metric=k,value=v,unit=u)};series<-function(name,values){for(i in seq_along(values)){v<-values[[i]];points[[length(points)+1L]]<<-list(series=name,index=i-1L,x=i,y=v)}}\n if(api=='effects'){for(k in c('completeRows','ATE','ATT','observedContrast'))add(k,z[[k]],if(k=='completeRows')'rows'else'constructed outcome units');series('known constructed effects',lapply(z$rows,function(r)r$effect))}\n else if(api=='aipw'){for(k in c('AIPW','plugin','IPW','normalizedIPWContrast'))add(k,z$overall[[k]]$value,'constructed outcome units');add('eligibleRows',z$overall$rows,'rows');series('AIPW row scores',lapply(z$rows,function(r)r$score$value))}\n else if(api=='representation'){for(k in c('ATE','adjustedContrast','bias'))add(k,z[[k]],'constructed outcome units');series('representation contrasts',lapply(z$groups,function(r)r$contrast))}\n else if(api=='robust'){for(k in c('baseline','minimum','maximum'))add(k,z[[k]],'declared value units');for(k in c('minTV','maxTV'))add(k,z[[k]],'probability mass');series('minimum weights',z$minWeights);series('maximum weights',z$maxWeights)}\n else if(api=='validate'){add('selectedIndex',z$selectedIndex,'zero-based candidate index');add('selectedScore',z$selectedScore,'squared outcome units');series('validation criterion',lapply(z$candidates,function(c)c$criterion))}\n else{for(k in c('AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum'))add(k,z[[k]],z$unit);add('sourceRows',length(z$rows),'analytical records');add('eligibleRows',sum(vapply(z$rows,function(r)r$eligible,logical(1))),'records');series('actual out-of-fold scores',lapply(z$rows,function(r)r$score))};list(summary=summary,points=points)\n}\n\nescapeXML<-function(s){s<-gsub('&','&amp;',s,fixed=TRUE);s<-gsub('<','&lt;',s,fixed=TRUE);s<-gsub('>','&gt;',s,fixed=TRUE);gsub('\"','&quot;',s,fixed=TRUE)}\nsvgPlot<-function(pp,title){\n xx<-vapply(pp,function(p)as.numeric(p$x),numeric(1));yy<-vapply(pp,function(p)as.numeric(p$y),numeric(1));xmin<-if(length(xx))min(xx)else 0;xmax<-if(length(xx))max(xx)else 1;ymin<-min(c(0,yy));ymax<-max(c(0,yy));if(xmin==xmax){xmin<-xmin-.5;xmax<-xmax+.5};if(ymin==ymax){ymin<-ymin-.5;ymax<-ymax+.5};pad<-(ymax-ymin)*.08;ymin<-ymin-pad;ymax<-ymax+pad;X<-function(x)82+(as.numeric(x)-xmin)/(xmax-xmin)*608;Y<-function(y)354-(as.numeric(y)-ymin)/(ymax-ymin)*290\n out<-paste0('<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"',escapeXML(title),'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">',escapeXML(title),'</text>')\n for(j in 0:4){y<-ymin+(ymax-ymin)*j/4;x<-xmin+(xmax-xmin)*j/4;out<-paste0(out,'<line x1=\"82\" y1=\"',Y(y),'\" x2=\"690\" y2=\"',Y(y),'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"',Y(y)+4,'\" text-anchor=\"end\">',sprintf('%.3g',y),'</text><text x=\"',X(x),'\" y=\"380\" text-anchor=\"middle\">',sprintf('%.3g',x),'</text>')}\n ss<-unique(vapply(pp,`[[`,character(1),'series'));cols<-c('#0f766e','#c76622','#4f46e5','#b23857')\n for(j in seq_along(ss)){rr<-Filter(function(p)p$series==ss[j],pp);xy<-vapply(rr,function(p)sprintf('%.6f,%.6f',X(p$x),Y(p$y)),character(1));col<-cols[(j-1)%%4+1];out<-paste0(out,'<polyline fill=\"none\" stroke=\"',col,'\" stroke-width=\"1.5\" points=\"',paste(xy,collapse=' '),'\"/>');for(p in rr)out<-paste0(out,'<circle cx=\"',sprintf('%.6f',X(p$x)),'\" cy=\"',sprintf('%.6f',Y(p$y)),'\" r=\"2.6\" fill=\"',col,'\"><title>',escapeXML(ss[j]),': ',escapeXML(p$y),'</title></circle>');out<-paste0(out,'<text x=\"',82+((j-1)%%2)*310,'\" y=\"',432+floor((j-1)/2)*23,'\" fill=\"',col,'\">',escapeXML(ss[j]),'</text>')}\n paste0(out,'<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>')\n}\n\ntoJSON<-function(x){\n if(is.null(x))return('null');if(is.list(x)){v<-vapply(x,toJSON,character(1));if(!is.null(names(x)))paste0('{',paste(paste0(vapply(names(x),toJSON,character(1)),':',v),collapse=','),'}')else paste0('[',paste(v,collapse=','),']')}\n else if(length(x)!=1){if(!is.null(names(x)))toJSON(as.list(x))else paste0('[',paste(vapply(as.list(x),toJSON,character(1)),collapse=','),']')}\n else if(is.na(x))'null'else if(is.logical(x))if(x)'true'else'false'else if(is.numeric(x))if(is.finite(x))sprintf('%.17g',x)else'null'else paste0('\"',gsub('\\n','\\\\n',gsub('\"','\\\\\"',gsub('\\\\','\\\\\\\\',x,fixed=TRUE),fixed=TRUE),fixed=TRUE),'\"')\n}\n\nFIXED<-list(\"api\"=\"realdata\",\"variant\"=\"country\",\"title\"=\"Actual countries: descriptive GDP-category scores\",\"input\"=list(\"kind\"=\"country\"),\"expectedFailure\"=FALSE)\n\nargs<-commandArgs(trailingOnly=TRUE);out<-if(length(args))args[1]else stop('NEW output directory required');if(dir.exists(out))stop('Preserve previous output directory');dir.create(out,recursive=TRUE)\nz<-fixedOperation(FIXED$api,FIXED$input);rr<-reportValues(FIXED$api,z)\nwriteLines(toJSON(list(arithmetic='BaseR binary64 numerical counterpart; factualsource groupSHA256,lambda.01 and empiricalTVtolerances1e-14/12places; notcausalCI',result=z)),file.path(out,'full.json'),useBytes=TRUE)\nsums<-do.call(rbind,lapply(rr$summary,function(row)data.frame(metric=row$metric,value=if(is.null(row$value))''else if(is.logical(row$value))as.character(as.integer(row$value))else format(row$value,digits=17,scientific=NA,trim=TRUE),unit=row$unit,defined=as.integer(!is.null(row$value)),stringsAsFactors=FALSE)))\npoints<-do.call(rbind,lapply(rr$points,function(p)data.frame(series=p$series,index=p$index,x=p$x,y=if(is.null(p$y))NA_real_ else p$y,defined=as.integer(!is.null(p$y)),stringsAsFactors=FALSE)))\nwrite.csv(sums,file.path(out,'summary.csv'),row.names=FALSE,na='');write.csv(points,file.path(out,'plot-points.csv'),row.names=FALSE,na='');writeLines(svgPlot(Filter(function(p)!is.null(p$y),rr$points),FIXED$title),file.path(out,'plot.svg'),useBytes=TRUE);cat(FIXED$api,'/',FIXED$variant,'\\n',sep='')\n",
        "returnCode": 0,
        "stdout": "realdata/country\r\n",
        "stderr": "During startup - Warning messages:\n1: Setting LC_COLLATE=C.UTF-8 failed \n2: Setting LC_CTYPE=C.UTF-8 failed \n3: Setting LC_MONETARY=C.UTF-8 failed \n4: Setting LC_TIME=C.UTF-8 failed ",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/r-realdata-country-result",
        "kind": "country",
        "inputFiles": [
          {
            "file": "ml21-code/realdata-country-input.json",
            "sha256": "1381d8cb11ad3fc58de499d726abfcf218bee5d1feab21747fdc070c56717268",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          },
          {
            "file": "ml21-code/data/actual48-country-revised-original-2023-2024.csv",
            "sha256": "bd444c284344c21f8b980885aea1b76af20754bb31e31d9d9e111ecd44c1454e",
            "scope": "Actively read factual CSV"
          },
          {
            "file": "ml21-code/data/actual38408-NSW-all15-fields.csv",
            "sha256": "346be71909903ab5050146d4fc6eabd86320da3511df612d6ae877c775853014",
            "scope": "Actively read factual CSV"
          },
          {
            "file": "ml21-code/data/actual410-NJPA-all46-fields.csv",
            "sha256": "0e89461df7e5dfecef38e91d474480f8083577fab0c2a8d4285896c8ed2ee669",
            "scope": "Actively read factual CSV"
          }
        ],
        "files": [
          {
            "file": "ml21-code/r-realdata-country-result/full.json",
            "sha256": "dc9edd3a46c4ae381eb5c57b4db7b366a47b0dd2a9d0c928c30f20e51e2e0c1e",
            "bytes": 11188
          },
          {
            "file": "ml21-code/r-realdata-country-result/plot-points.csv",
            "sha256": "794da6f685f4a42a7eaa0655da56c6bfef85e428f61a347c77fae6514edb0d74",
            "bytes": 891
          },
          {
            "file": "ml21-code/r-realdata-country-result/plot.svg",
            "sha256": "92ff398c3e6142644105deeba278fb2f42ded45de8d7d50c37e0bfa609f1c9fa",
            "bytes": 3877
          },
          {
            "file": "ml21-code/r-realdata-country-result/summary.csv",
            "sha256": "833560c8c4abab0880f55a8deadae3aa8b48ca9efa31565eef97938ca9e119df",
            "bytes": 583
          },
          {
            "file": "ml21-code/r-realdata-country-result/stdout.txt",
            "sha256": "99648b1e288ee01e8332f6c578bcd776743cb74d8ee58527058c637cc5d5744a",
            "bytes": 18
          },
          {
            "file": "ml21-code/r-realdata-country-result/stderr.txt",
            "sha256": "b807bd2d0f7060ea384b0ac2317cda2d63a4f59f63b4a901b9e665fead79627d",
            "bytes": 182
          }
        ],
        "summaryRows": [
          {
            "metric": "AIPW",
            "value": "-2.30658981",
            "unit": "GDP growth contrast, percentage points",
            "defined": "true",
            "rawValue": "-2.306589807558149",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": true,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "plugin",
            "value": "-1.90268933",
            "unit": "GDP growth contrast, percentage points",
            "defined": "true",
            "rawValue": "-1.902689326409847",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": true,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "IPW",
            "value": "-1.45918667",
            "unit": "GDP growth contrast, percentage points",
            "defined": "true",
            "rawValue": "-1.4591866665595177",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": true,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "normalizedIPWContrast",
            "value": "-2.17094447",
            "unit": "GDP growth contrast, percentage points",
            "defined": "true",
            "rawValue": "-2.1709444660630788",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": true,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "stressMinimum",
            "value": "-3.93318554",
            "unit": "GDP growth contrast, percentage points",
            "defined": "true",
            "rawValue": "-3.9331855448910074",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": true,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "stressMaximum",
            "value": "-0.67999407",
            "unit": "GDP growth contrast, percentage points",
            "defined": "true",
            "rawValue": "-0.67999407022529035",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": true,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "sourceRows",
            "value": "16",
            "unit": "analytical records",
            "defined": "true",
            "rawValue": "16",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "eligibleRows",
            "value": "16",
            "unit": "records",
            "defined": "true",
            "rawValue": "16",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          }
        ],
        "plotRows": [
          {
            "series": "actual out-of-fold scores",
            "index": 0,
            "x": "1",
            "y": "0.86815605403712004",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 1,
            "x": "2",
            "y": "-5.2586570149457197",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 2,
            "x": "3",
            "y": "1.11115616431542",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 3,
            "x": "4",
            "y": "-5.4754416653970797",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 4,
            "x": "5",
            "y": "-0.96794271824599198",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 5,
            "x": "6",
            "y": "0.96660680505136998",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 6,
            "x": "7",
            "y": "1.91025689255986",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 7,
            "x": "8",
            "y": "-8.2242976189410797",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 8,
            "x": "9",
            "y": "-10.9887016717351",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 9,
            "x": "10",
            "y": "-3.9863569083576298",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 10,
            "x": "11",
            "y": "-1.96239200471096",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 11,
            "x": "12",
            "y": "-1.3909571925866999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 12,
            "x": "13",
            "y": "6.52659306724677",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 13,
            "x": "14",
            "y": "3.8809725244203399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 14,
            "x": "15",
            "y": "-10.302755906152701",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 15,
            "x": "16",
            "y": "-3.6116757274882501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          }
        ],
        "plotFile": "ml21-code/r-realdata-country-result/plot.svg",
        "fullResultFile": "ml21-code/r-realdata-country-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "person": {
        "api": "realdata",
        "variant": "person",
        "language": "r",
        "title": "Actual NSW experimental722: out-of-fold scores",
        "input": {
          "kind": "person"
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/realdata-person.R",
        "codeSHA256": "0cd0b958cd3f3facce0a18229892ae5a28d6c09cc548202ad5e4cc6589bfe733",
        "code": "# ML21 standalone numerical fixed example, not arbitrary exact API validation.\n# Fixed inputs are declared inline and matching JSON provided for reading.\n# Realdata code uses3factual CSVs, R4.5+ toolsSHA256 and numerical ridge.\noptions(digits=17)\nfixedSource<-function(kind){\n selectedKind<-kind\n src<-file.path(dirname(sub('^--file=','',grep('^--file=',commandArgs(),value=TRUE)[1])),'data')\nreadnative<-function(n)read.csv(file.path(src,n),colClasses='character',check.names=FALSE,na.strings=NULL,stringsAsFactors=FALSE)\nnum<-function(x){v<-suppressWarnings(as.numeric(x));v[x%in%c('','.')] <- NA_real_;v}\nsha<-function(s){tf<-tempfile('ml21-group-');writeBin(charToRaw(enc2utf8(s)),tf);on.exit(unlink(tf));unname(tools::sha256sum(tf))}\nwb<-readnative('actual48-country-revised-original-2023-2024.csv');iso<-sort(unique(wb$countryISO3))\nlookup<-function(i,code,yr){r<-wb[wb$countryISO3==i&wb$indicatorID==code&wb$date==yr,,drop=FALSE];stopifnot(nrow(r)==1);num(r$originalValueToken)}\ng<-vapply(iso,lookup,numeric(1),code='NY.GDP.PCAP.KD',yr='2023');pi<-vapply(iso,lookup,numeric(1),code='FP.CPI.TOTL.ZG',yr='2023');gy<-vapply(iso,lookup,numeric(1),code='NY.GDP.MKTP.KD.ZG',yr='2024')\ncountry<-list(id=paste0(iso,':2024'),originalID=iso,sourceRow=iso,foldGroup=paste0('country:',iso),a=as.integer(g>median(g)),x=cbind(g/10000,pi/10),y=gy)\npd<-readnative('actual38408-NSW-all15-fields.csv');pre<-pd[pd$year=='1975',,drop=FALSE];post<-pd[match(pre$id,pd$id[pd$year=='1978'])+0,,drop=FALSE]\npostNative<-pd[pd$year=='1978',,drop=FALSE];post<-postNative[match(pre$id,postNative$id),,drop=FALSE]\nstopifnot(nrow(pre)==19204,nrow(post)==19204,all(pre$id==post$id),all(pre$treated==post$treated));take<-num(pre$experimental)==1;stopifnot(all(take==(pre$treated!='.')));pre<-pre[take,,drop=FALSE];post<-post[take,,drop=FALSE]\nperson<-list(id=paste0('nsw-id:',pre$id),originalID=pre$id,sourceRow=post$sourceRow,foldGroup=paste0('nsw-id:',pre$id),a=num(pre$treated),x=cbind(num(pre$age)/10,num(pre$educ)/10,num(pre$re74)/10000),y=num(post$re)/10000)\ncd<-readnative('actual410-NJPA-all46-fields.csv');before<-num(cd$EMPFT)+num(cd$EMPPT)/2+num(cd$NMGRS);after<-num(cd$EMPFT2)+num(cd$EMPPT2)/2+num(cd$NMGRS2)\ncompany<-list(id=paste0('njpa-row:',cd$sourceRow),originalID=cd$SHEET,sourceRow=cd$sourceRow,foldGroup=paste0('sheet:',cd$SHEET),a=num(cd$STATE),x=cbind(before/10,as.integer(num(cd$CHAIN)==2),num(cd$CO_OWNED)),y=after-before)\nmodels<-list(country=country,person=person,company=company)\nfor(kind in names(models)){\n m<-models[[kind]];groups<-unique(m$foldGroup);hash<-vapply(groups,function(g)sha(paste0('ML21|',kind,'|',g)),character(1));ord<-order(hash,groups);folds<-integer(length(groups));folds[ord]<-(seq_along(ord)-1L)%%4L;m$fold<-folds[match(m$foldGroup,groups)];m$eligible<-!is.na(m$y)&rowSums(is.na(m$x))==0;m$role<-ifelse(m$eligible,'analysis','excluded');models[[kind]]<-m\n}\nstopifnot(length(person$id)==722,sum(person$a)==297,sum(models$company$eligible)==384,length(country$id)==16)\nsourcefit<-function(kind,m,rep){\n N<-length(m$id);X<-if(rep=='full')m$x else if(rep=='constant')matrix(numeric(0),nrow=N,ncol=0) else if(kind=='country')matrix(m$a,ncol=1) else if(kind=='person')cbind(as.integer(m$x[,2]>1.2),as.integer(m$x[,3]>0)) else matrix(m$x[,2],ncol=1)\n group<-if(kind=='country')ifelse(m$a==1,'higher-GDP-category','lower-GDP-category')else if(kind=='person')ifelse(m$x[,2]>1.2,'schooling-over12','schooling-at-most12')else ifelse(!is.na(m$x[,2])&m$x[,2]!=0,'chain2','other-chains')\n p<-ncol(X);eRaw<-mu0<-mu1<-rep(NA_real_,N);fits<-list();coords<-list()\n for(fold in 0:3){\n  tr<-which(m$eligible&m$fold!=fold);means<-if(p)colMeans(X[tr,,drop=FALSE])else numeric(0);scales<-if(p)apply(X[tr,,drop=FALSE],2,function(x)diff(range(x)))else numeric(0);scales[scales==0]<-1;Z<-if(p)cbind(1,sweep(sweep(X,2,means,'-'),2,scales,'/'))else matrix(1,nrow=N,ncol=1);hold<-which(m$fold==fold);ok<-rowSums(is.na(Z[hold,,drop=FALSE]))==0\n  for(name in c('e','mu0','mu1')){\n   ix<-if(name=='e')tr else tr[m$a[tr]==if(name=='mu0')0 else 1];target<-if(name=='e')m$a[ix]else m$y[ix];A<-crossprod(Z[ix,,drop=FALSE])/length(ix)+diag(c(0,rep(.01,p)),nrow=p+1);b<-as.vector(crossprod(Z[ix,,drop=FALSE],target))/length(ix);theta<-as.vector(solve(A,b));minimum<-mean((as.vector(Z[ix,,drop=FALSE]%*%theta)-target)^2)/2+.01*sum(theta[-1]^2)/2;v<-as.vector(Z[hold,,drop=FALSE]%*%theta)\n   if(name=='e')eRaw[hold]<-v else if(name=='mu0')mu0[hold]<-v else mu1[hold]<-v\n   fits[[length(fits)+1L]]<-list(fold=fold,name=name,rows=length(ix),rank=p+1,theta=theta,minimumObjective=minimum,trainingIDs=m$id[ix])\n  }\n  coords[[length(coords)+1L]]<-list(fold=fold,mean=means,scale=scales)\n }\n e<-pmax(.05,pmin(.95,eRaw));nuisance<-!is.na(e)&!is.na(mu0)&!is.na(mu1);eligible<-m$eligible&nuisance;plugin<-treated<-control<-ipw<-effective<-score<-rep(NA_real_,N);ix<-which(eligible);plugin[ix]<-mu1[ix]-mu0[ix];treated[ix]<-ifelse(m$a[ix]==1,(m$y[ix]-mu1[ix])/e[ix],0);control[ix]<-ifelse(m$a[ix]==0,(m$y[ix]-mu0[ix])/(1-e[ix]),0);score[ix]<-plugin[ix]+treated[ix]-control[ix];ipw[ix]<-ifelse(m$a[ix]==1,m$y[ix]/e[ix],-m$y[ix]/(1-e[ix]));effective[ix]<-1/ifelse(m$a[ix]==1,e[ix],1-e[ix]);clipped<-!is.na(eRaw)&eRaw!=e\n list(X=X,group=group,meanX=coords,fits=fits,eRaw=eRaw,e=e,mu0=mu0,mu1=mu1,nuisance=nuisance,eligible=eligible,plugin=plugin,treated=treated,control=control,score=score,ipw=ipw,effective=effective,clipped=clipped)\n}\nextreme<-function(values,sign){N<-length(values);p<-rep(1/N,N);q<-p;upper<-pmin(1,2*p);ord<-order(round(sign*values,12),seq_along(values));donor<-ord;receiver<-rev(ord);a<-b<-1L;budget<-.1\n while(budget>1e-14&&a<=N&&b<=N){i<-donor[a];j<-receiver[b];if(sign*values[j]<=sign*values[i]+1e-14)break;move<-min(q[i],upper[j]-q[j],budget);if(move>0){q[i]<-q[i]-move;q[j]<-q[j]+move;budget<-budget-move};if(q[i]<=1e-14)a<-a+1L;if(upper[j]-q[j]<=1e-14)b<-b+1L;if(move<=0&&a<=N&&b<=N&&q[i]>1e-14&&upper[j]-q[j]>1e-14)stop('no transport progress')};list(q=q,objective=sum(q*values),TV=sum(abs(q-p))/2)\n}\n\n m<-models[[selectedKind]];z<-sourcefit(selectedKind,m,'full');ix<-which(z$eligible);v<-z$score[ix];lo<-extreme(v,-1);hi<-extreme(v,1);treated<-ix[m$a[ix]==1];control<-ix[m$a[ix]==0];norm<-sum(m$y[treated]*z$effective[treated])/sum(z$effective[treated])-sum(m$y[control]*z$effective[control])/sum(z$effective[control]);nv<-function(v)if(is.na(v))NULL else unname(v)\n rows<-lapply(seq_along(m$id),function(i)list(id=m$id[i],sourceRow=if(selectedKind=='country')m$sourceRow[i]else as.integer(m$sourceRow[i]),originalID=m$originalID[i],foldGroup=m$foldGroup[i],fold=m$fold[i],a=m$a[i],y=nv(m$y[i]),x=lapply(as.list(m$x[i,]),nv),eligible=z$eligible[i],eRaw=nv(z$eRaw[i]),e=nv(z$e[i]),mu0=nv(z$mu0[i]),mu1=nv(z$mu1[i]),plugin=nv(z$plugin[i]),score=nv(z$score[i]),IPWContribution=nv(z$ipw[i])))\n fits<-lapply(z$fits,function(fit){co<-z$meanX[[fit$fold+1L]];list(fold=fit$fold,fit=fit$name,trainingIDs=as.list(fit$trainingIDs),rows=fit$rows,rank=fit$rank,unique=TRUE,theta=as.list(fit$theta),minimumObjective=fit$minimumObjective,meanX=as.list(co$mean),scales=as.list(co$scale))});unit<-switch(selectedKind,country='GDP growth contrast, percentage points',person='native real1978earnings/10000',company='post-minus-pre FTE employees')\n list(kind=selectedKind,unit=unit,rows=rows,fits=fits,AIPW=mean(v),plugin=mean(z$plugin[ix]),IPW=mean(z$ipw[ix]),normalizedIPWContrast=norm,stressMinimum=lo$objective,stressMaximum=hi$objective,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\n\n# Owned numerical fixed-example adapters; not arbitrary exact input validators.\nnum<-function(v){if(is.null(v))return(NULL);if(is.numeric(v))return(as.numeric(v));s<-strsplit(as.character(v),'/',fixed=TRUE)[[1]];if(length(s)==2)as.numeric(s[1])/as.numeric(s[2])else as.numeric(v)}\nopt<-function(a,key,default)if(is.null(a[[key]]))default else a[[key]]\nmaybe<-function(v)if(is.null(v))list(defined=FALSE)else list(defined=TRUE,value=v)\nweighted<-function(v,w){if(!length(w)||sum(w)==0)return(NULL);sum(v*w)/sum(w)}\nfixedEffects<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){r<-a$rows[[i]];w<-num(opt(r,'weight',1));if(w<0)stop('negative-analysis-weight');y0<-num(r$y0);y1<-num(r$y1);A<-num(r$a);list(id=opt(r,'id',as.character(i-1L)),a=A,y0=y0,y1=y1,w=w,effect=if(is.null(y0)||is.null(y1))NULL else y1-y0,observed=if(is.null(A))NULL else if(A==1)y1 else y0)})\n complete<-Filter(function(r)r$w>0&&!is.null(r$effect),rr);treated<-Filter(function(r)!is.null(r$a)&&r$a==1,complete);avg<-function(rows,key)weighted(vapply(rows,function(r)r[[key]],numeric(1)),vapply(rows,function(r)r$w,numeric(1)));arm<-lapply(0:1,function(A)avg(Filter(function(r)!is.null(r$a)&&r$a==A&&!is.null(r$observed)&&r$w>0,rr),'observed'));list(rows=rr,completeRows=length(complete),ATE=avg(complete,'effect'),ATT=avg(treated,'effect'),observedContrast=if(any(vapply(arm,is.null,logical(1))))NULL else arm[[2]]-arm[[1]])\n}\nfixedAipw<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){v<-a$rows[[i]];w<-num(opt(v,'weight',1));if(w<0)stop('negative-analysis-weight');r<-list(id=opt(v,'id',as.character(i-1L)),a=num(v$a),y=num(v$y),e=num(v$e),mu0=num(v$mu0),mu1=num(v$mu1),w=w,role=opt(v,'role','analysis'),group=opt(v,'group','all'));reason<-if(w==0)'zero-weight'else if(r$role%in%c('excluded','unused'))'inactive-role'else if(any(vapply(r[c('a','y','e','mu0','mu1')],is.null,logical(1))))'missing-required-field'else if(r$e%in%c(0,1))'nonoverlap-boundary-propensity'else NULL;r$eligible<-is.null(reason);r$reason<-reason\n  if(is.null(reason)){r$plugin<-r$mu1-r$mu0;r$treatedResidual<-if(r$a==1)(r$y-r$mu1)/r$e else 0;r$controlResidual<-if(r$a==0)(r$y-r$mu0)/(1-r$e)else 0;r$score<-maybe(r$plugin+r$treatedResidual-r$controlResidual);r$IPWContribution<-if(r$a==1)r$y/r$e else-r$y/(1-r$e);r$effectiveArmWeight<-w/if(r$a==1)r$e else 1-r$e}else r$score<-maybe(NULL);r})\n summary<-function(rows){mass<-sum(vapply(rows,function(r)r$w,numeric(1)));avg<-function(key){if(!mass)return(NULL);sum(vapply(rows,function(r)r$w*if(key=='score')r$score$value else r[[key]],numeric(1)))/mass};arms<-lapply(0:1,function(A){arm<-Filter(function(r)r$a==A,rows);w<-vapply(arm,function(r)r$effectiveArmWeight,numeric(1));list(a=A,rows=length(arm),weightedArmDenominator=sum(w),normalizedMean=maybe(weighted(vapply(arm,function(r)r$y,numeric(1)),w)))});list(rows=length(rows),mass=mass,AIPW=maybe(avg('score')),plugin=maybe(avg('plugin')),IPW=maybe(avg('IPWContribution')),normalizedArmMeans=arms,normalizedIPWContrast=maybe(if(all(vapply(arms,function(r)r$normalizedMean$defined,logical(1))))arms[[2]]$normalizedMean$value-arms[[1]]$normalizedMean$value else NULL))}\n use<-Filter(function(r)r$eligible,rr);roles<-unique(vapply(rr,function(r)r$role,character(1)));groups<-unique(vapply(rr,function(r)r$group,character(1)));list(rows=rr,overall=summary(use),byRole=lapply(roles,function(role)c(list(role=role),summary(Filter(function(r)r$role==role,use)))),byGroup=lapply(groups,function(g)c(list(group=g),summary(Filter(function(r)r$group==g,use)))),overlapExcluded=as.list(vapply(Filter(function(r)identical(r$reason,'nonoverlap-boundary-propensity'),rr),function(r)r$id,character(1))))\n}\nfixedRepresentation<-function(a){\n atoms<-lapply(a$atoms,function(r)list(id=r$id,p=num(r$probability),y0=num(r$y0),y1=num(r$y1),e=num(r$e),phi=r$phi));if(abs(sum(vapply(atoms,function(r)r$p,numeric(1)))-1)>1e-12)stop('law-probabilities-must-sum-one');ATE<-sum(vapply(atoms,function(r)r$p*(r$y1-r$y0),numeric(1)));phis<-unique(vapply(Filter(function(r)r$p>0,atoms),function(r)r$phi,character(1)));groups<-lapply(phis,function(phi){use<-Filter(function(r)r$phi==phi&&r$p>0,atoms);mass<-sum(vapply(use,function(r)r$p,numeric(1)));t<-sum(vapply(use,function(r)r$p*r$e,numeric(1)));m1<-if(t>0)sum(vapply(use,function(r)r$p*r$e*r$y1,numeric(1)))/t else NULL;m0<-if(mass-t>0)sum(vapply(use,function(r)r$p*(1-r$e)*r$y0,numeric(1)))/(mass-t)else NULL;list(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=if(is.null(m0)||is.null(m1))NULL else m1-m0)});adjusted<-if(any(vapply(groups,function(r)is.null(r$contrast),logical(1))))NULL else sum(vapply(groups,function(r)r$mass*r$contrast,numeric(1)));list(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=if(is.null(adjusted))NULL else adjusted-ATE)\n}\nfixedRobust<-function(a){\n values<-vapply(a$values,num,numeric(1));p<-if(is.null(a$probabilities))rep(1/length(values),length(values))else vapply(a$probabilities,num,numeric(1));radius<-num(opt(a,'radius','1/10'));cap<-num(opt(a,'cap',2));if(cap<1||radius<0||radius>1)stop('invalid-robust-constraint')\n go<-function(sign){q<-p;upper<-pmin(1,cap*p);order<-order(sign*values,seq_along(values));lo<-order;hi<-rev(order);i<-j<-1L;budget<-radius;N<-length(values)\n while(budget>1e-14&&i<=N&&j<=N){d<-lo[i];h<-hi[j];if(sign*values[h]<=sign*values[d])break;move<-min(q[d],upper[h]-q[h],budget);if(move>0){q[d]<-q[d]-move;q[h]<-q[h]+move;budget<-budget-move};if(q[d]<=1e-14)i<-i+1L;if(upper[h]-q[h]<=1e-14)j<-j+1L};list(q=q,value=sum(q*values),TV=sum(abs(q-p))/2)};lo<-go(-1);hi<-go(1);list(values=as.list(values),p=as.list(p),radius=radius,cap=cap,baseline=sum(values*p),minimum=lo$value,maximum=hi$value,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\nfixedValidate<-function(a){\n rr<-a$rows;cc<-a$candidates;groups<-unlist(a$requiredGroups);eligible<-vapply(seq_along(rr),function(i){r<-rr[[i]];!is.null(r$y)&&num(opt(r,'weight',1))>0&&!r$role%in%c('excluded','unused')&&all(vapply(cc,function(c)!is.null(c$predictions[[i]]),logical(1)))},logical(1));out<-lapply(cc,function(c){risk<-function(ix){if(!length(ix))return(NULL);weighted(vapply(ix,function(i)(num(c$predictions[[i]])-num(rr[[i]]$y))^2,numeric(1)),vapply(ix,function(i)num(opt(rr[[i]],'weight',1)),numeric(1)))};vr<-which(eligible&vapply(rr,function(r)r$role=='validation',logical(1)));tr<-which(eligible&vapply(rr,function(r)r$role=='test',logical(1)));gv<-lapply(groups,function(g)risk(vr[vapply(rr[vr],function(r)r$group==g,logical(1))]));worst<-if(any(vapply(gv,is.null,logical(1))))NULL else max(unlist(gv));list(id=c$id,validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=if(opt(a,'criterion','worst-group')=='mean')risk(vr)else worst)});available<-which(!vapply(out,function(r)is.null(r$criterion),logical(1)));selected<-if(length(available))available[which.min(vapply(out[available],function(r)r$criterion,numeric(1)))]else NULL;list(commonEligibility=as.list(eligible),groups=as.list(groups),candidates=out,selectedIndex=if(is.null(selected))NULL else selected-1L,selectedID=if(is.null(selected))NULL else out[[selected]]$id,selectedScore=if(is.null(selected))NULL else out[[selected]]$criterion)\n}\nfixedOperation<-function(api,a)switch(api,effects=fixedEffects(a),aipw=fixedAipw(a),representation=fixedRepresentation(a),robust=fixedRobust(a),validate=fixedValidate(a),realdata=fixedSource(a$kind))\nreportValues<-function(api,z){summary<-list();points<-list();add<-function(k,v,u){if(length(v)==1&&is.na(v))v<-NULL;summary[[length(summary)+1L]]<<-list(metric=k,value=v,unit=u)};series<-function(name,values){for(i in seq_along(values)){v<-values[[i]];points[[length(points)+1L]]<<-list(series=name,index=i-1L,x=i,y=v)}}\n if(api=='effects'){for(k in c('completeRows','ATE','ATT','observedContrast'))add(k,z[[k]],if(k=='completeRows')'rows'else'constructed outcome units');series('known constructed effects',lapply(z$rows,function(r)r$effect))}\n else if(api=='aipw'){for(k in c('AIPW','plugin','IPW','normalizedIPWContrast'))add(k,z$overall[[k]]$value,'constructed outcome units');add('eligibleRows',z$overall$rows,'rows');series('AIPW row scores',lapply(z$rows,function(r)r$score$value))}\n else if(api=='representation'){for(k in c('ATE','adjustedContrast','bias'))add(k,z[[k]],'constructed outcome units');series('representation contrasts',lapply(z$groups,function(r)r$contrast))}\n else if(api=='robust'){for(k in c('baseline','minimum','maximum'))add(k,z[[k]],'declared value units');for(k in c('minTV','maxTV'))add(k,z[[k]],'probability mass');series('minimum weights',z$minWeights);series('maximum weights',z$maxWeights)}\n else if(api=='validate'){add('selectedIndex',z$selectedIndex,'zero-based candidate index');add('selectedScore',z$selectedScore,'squared outcome units');series('validation criterion',lapply(z$candidates,function(c)c$criterion))}\n else{for(k in c('AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum'))add(k,z[[k]],z$unit);add('sourceRows',length(z$rows),'analytical records');add('eligibleRows',sum(vapply(z$rows,function(r)r$eligible,logical(1))),'records');series('actual out-of-fold scores',lapply(z$rows,function(r)r$score))};list(summary=summary,points=points)\n}\n\nescapeXML<-function(s){s<-gsub('&','&amp;',s,fixed=TRUE);s<-gsub('<','&lt;',s,fixed=TRUE);s<-gsub('>','&gt;',s,fixed=TRUE);gsub('\"','&quot;',s,fixed=TRUE)}\nsvgPlot<-function(pp,title){\n xx<-vapply(pp,function(p)as.numeric(p$x),numeric(1));yy<-vapply(pp,function(p)as.numeric(p$y),numeric(1));xmin<-if(length(xx))min(xx)else 0;xmax<-if(length(xx))max(xx)else 1;ymin<-min(c(0,yy));ymax<-max(c(0,yy));if(xmin==xmax){xmin<-xmin-.5;xmax<-xmax+.5};if(ymin==ymax){ymin<-ymin-.5;ymax<-ymax+.5};pad<-(ymax-ymin)*.08;ymin<-ymin-pad;ymax<-ymax+pad;X<-function(x)82+(as.numeric(x)-xmin)/(xmax-xmin)*608;Y<-function(y)354-(as.numeric(y)-ymin)/(ymax-ymin)*290\n out<-paste0('<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"',escapeXML(title),'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">',escapeXML(title),'</text>')\n for(j in 0:4){y<-ymin+(ymax-ymin)*j/4;x<-xmin+(xmax-xmin)*j/4;out<-paste0(out,'<line x1=\"82\" y1=\"',Y(y),'\" x2=\"690\" y2=\"',Y(y),'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"',Y(y)+4,'\" text-anchor=\"end\">',sprintf('%.3g',y),'</text><text x=\"',X(x),'\" y=\"380\" text-anchor=\"middle\">',sprintf('%.3g',x),'</text>')}\n ss<-unique(vapply(pp,`[[`,character(1),'series'));cols<-c('#0f766e','#c76622','#4f46e5','#b23857')\n for(j in seq_along(ss)){rr<-Filter(function(p)p$series==ss[j],pp);xy<-vapply(rr,function(p)sprintf('%.6f,%.6f',X(p$x),Y(p$y)),character(1));col<-cols[(j-1)%%4+1];out<-paste0(out,'<polyline fill=\"none\" stroke=\"',col,'\" stroke-width=\"1.5\" points=\"',paste(xy,collapse=' '),'\"/>');for(p in rr)out<-paste0(out,'<circle cx=\"',sprintf('%.6f',X(p$x)),'\" cy=\"',sprintf('%.6f',Y(p$y)),'\" r=\"2.6\" fill=\"',col,'\"><title>',escapeXML(ss[j]),': ',escapeXML(p$y),'</title></circle>');out<-paste0(out,'<text x=\"',82+((j-1)%%2)*310,'\" y=\"',432+floor((j-1)/2)*23,'\" fill=\"',col,'\">',escapeXML(ss[j]),'</text>')}\n paste0(out,'<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>')\n}\n\ntoJSON<-function(x){\n if(is.null(x))return('null');if(is.list(x)){v<-vapply(x,toJSON,character(1));if(!is.null(names(x)))paste0('{',paste(paste0(vapply(names(x),toJSON,character(1)),':',v),collapse=','),'}')else paste0('[',paste(v,collapse=','),']')}\n else if(length(x)!=1){if(!is.null(names(x)))toJSON(as.list(x))else paste0('[',paste(vapply(as.list(x),toJSON,character(1)),collapse=','),']')}\n else if(is.na(x))'null'else if(is.logical(x))if(x)'true'else'false'else if(is.numeric(x))if(is.finite(x))sprintf('%.17g',x)else'null'else paste0('\"',gsub('\\n','\\\\n',gsub('\"','\\\\\"',gsub('\\\\','\\\\\\\\',x,fixed=TRUE),fixed=TRUE),fixed=TRUE),'\"')\n}\n\nFIXED<-list(\"api\"=\"realdata\",\"variant\"=\"person\",\"title\"=\"Actual NSW experimental722: out-of-fold scores\",\"input\"=list(\"kind\"=\"person\"),\"expectedFailure\"=FALSE)\n\nargs<-commandArgs(trailingOnly=TRUE);out<-if(length(args))args[1]else stop('NEW output directory required');if(dir.exists(out))stop('Preserve previous output directory');dir.create(out,recursive=TRUE)\nz<-fixedOperation(FIXED$api,FIXED$input);rr<-reportValues(FIXED$api,z)\nwriteLines(toJSON(list(arithmetic='BaseR binary64 numerical counterpart; factualsource groupSHA256,lambda.01 and empiricalTVtolerances1e-14/12places; notcausalCI',result=z)),file.path(out,'full.json'),useBytes=TRUE)\nsums<-do.call(rbind,lapply(rr$summary,function(row)data.frame(metric=row$metric,value=if(is.null(row$value))''else if(is.logical(row$value))as.character(as.integer(row$value))else format(row$value,digits=17,scientific=NA,trim=TRUE),unit=row$unit,defined=as.integer(!is.null(row$value)),stringsAsFactors=FALSE)))\npoints<-do.call(rbind,lapply(rr$points,function(p)data.frame(series=p$series,index=p$index,x=p$x,y=if(is.null(p$y))NA_real_ else p$y,defined=as.integer(!is.null(p$y)),stringsAsFactors=FALSE)))\nwrite.csv(sums,file.path(out,'summary.csv'),row.names=FALSE,na='');write.csv(points,file.path(out,'plot-points.csv'),row.names=FALSE,na='');writeLines(svgPlot(Filter(function(p)!is.null(p$y),rr$points),FIXED$title),file.path(out,'plot.svg'),useBytes=TRUE);cat(FIXED$api,'/',FIXED$variant,'\\n',sep='')\n",
        "returnCode": 0,
        "stdout": "realdata/person\r\n",
        "stderr": "During startup - Warning messages:\n1: Setting LC_COLLATE=C.UTF-8 failed \n2: Setting LC_CTYPE=C.UTF-8 failed \n3: Setting LC_MONETARY=C.UTF-8 failed \n4: Setting LC_TIME=C.UTF-8 failed ",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/r-realdata-person-result",
        "kind": "person",
        "inputFiles": [
          {
            "file": "ml21-code/realdata-person-input.json",
            "sha256": "e95cf97521382850b0837c4a500052ad70e460ed642b971b3401a0e498803812",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          },
          {
            "file": "ml21-code/data/actual48-country-revised-original-2023-2024.csv",
            "sha256": "bd444c284344c21f8b980885aea1b76af20754bb31e31d9d9e111ecd44c1454e",
            "scope": "Actively read factual CSV"
          },
          {
            "file": "ml21-code/data/actual38408-NSW-all15-fields.csv",
            "sha256": "346be71909903ab5050146d4fc6eabd86320da3511df612d6ae877c775853014",
            "scope": "Actively read factual CSV"
          },
          {
            "file": "ml21-code/data/actual410-NJPA-all46-fields.csv",
            "sha256": "0e89461df7e5dfecef38e91d474480f8083577fab0c2a8d4285896c8ed2ee669",
            "scope": "Actively read factual CSV"
          }
        ],
        "files": [
          {
            "file": "ml21-code/r-realdata-person-result/full.json",
            "sha256": "57c8de6b3a010051b99b132ffe1ae8308ced141d9c21a5406ca83a6ecdff1e8e",
            "bytes": 368273
          },
          {
            "file": "ml21-code/r-realdata-person-result/plot-points.csv",
            "sha256": "dc235601d0eb519c79d1b4779202d677dd5c06382c4d5bb02a01ea27093081e2",
            "bytes": 41003
          },
          {
            "file": "ml21-code/r-realdata-person-result/plot.svg",
            "sha256": "dedac79fe237e83035f5d05fa9608cf24415ebe1d4735612af9a6c69eca6334b",
            "bytes": 111881
          },
          {
            "file": "ml21-code/r-realdata-person-result/summary.csv",
            "sha256": "eb17422b2b3748d16a257c97206c07097790196d50e2f0c2245a5ad43b22268a",
            "bytes": 537
          },
          {
            "file": "ml21-code/r-realdata-person-result/stdout.txt",
            "sha256": "d7e0fa91de26834e6d1043b4c29c76888db28b289bcd21642007f61749704715",
            "bytes": 17
          },
          {
            "file": "ml21-code/r-realdata-person-result/stderr.txt",
            "sha256": "b807bd2d0f7060ea384b0ac2317cda2d63a4f59f63b4a901b9e665fead79627d",
            "bytes": 182
          }
        ],
        "summaryRows": [
          {
            "metric": "AIPW",
            "value": "0.0913492425",
            "unit": "native real1978earnings/10000",
            "defined": "true",
            "rawValue": "0.091349242522418328",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "plugin",
            "value": "0.0825812195",
            "unit": "native real1978earnings/10000",
            "defined": "true",
            "rawValue": "0.082581219537592995",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "IPW",
            "value": "0.0906785992",
            "unit": "native real1978earnings/10000",
            "defined": "true",
            "rawValue": "0.090678599196264045",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "normalizedIPWContrast",
            "value": "0.0880942219",
            "unit": "native real1978earnings/10000",
            "defined": "true",
            "rawValue": "0.088094221893893931",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "stressMinimum",
            "value": "-0.322462472",
            "unit": "native real1978earnings/10000",
            "defined": "true",
            "rawValue": "-0.32246247244497167",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": true,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "stressMaximum",
            "value": "0.505160957",
            "unit": "native real1978earnings/10000",
            "defined": "true",
            "rawValue": "0.50516095748980827",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "sourceRows",
            "value": "722",
            "unit": "analytical records",
            "defined": "true",
            "rawValue": "722",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "eligibleRows",
            "value": "722",
            "unit": "records",
            "defined": "true",
            "rawValue": "722",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          }
        ],
        "plotRows": [
          {
            "series": "actual out-of-fold scores",
            "index": 0,
            "x": "1",
            "y": "1.5572552122415",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 1,
            "x": "2",
            "y": "1.2423977690805299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 2,
            "x": "3",
            "y": "1.3194219242091301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 3,
            "x": "4",
            "y": "2.65702144025069",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 4,
            "x": "5",
            "y": "-3.87248377582263",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 5,
            "x": "6",
            "y": "0.39313346522935499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 6,
            "x": "7",
            "y": "-1.83942272235775",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 7,
            "x": "8",
            "y": "1.07025425839294",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 8,
            "x": "9",
            "y": "1.93610776868121",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 9,
            "x": "10",
            "y": "-0.91794781216898602",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 10,
            "x": "11",
            "y": "-0.19375524108849901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 11,
            "x": "12",
            "y": "1.0197833764191999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 12,
            "x": "13",
            "y": "1.0269741939556301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 13,
            "x": "14",
            "y": "-1.78390782670772",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 14,
            "x": "15",
            "y": "-0.15436223966616899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 15,
            "x": "16",
            "y": "0.163941126980407",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 16,
            "x": "17",
            "y": "1.6191468070498301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 17,
            "x": "18",
            "y": "-0.92709146137216603",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 18,
            "x": "19",
            "y": "-1.6026418628266601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 19,
            "x": "20",
            "y": "-1.30879967183902",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 20,
            "x": "21",
            "y": "0.61322281352341901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 21,
            "x": "22",
            "y": "1.4996898664524101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 22,
            "x": "23",
            "y": "-1.1386848992521501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 23,
            "x": "24",
            "y": "-0.246043812736116",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 24,
            "x": "25",
            "y": "1.1476855712571401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 25,
            "x": "26",
            "y": "-1.49226399569075",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 26,
            "x": "27",
            "y": "1.2552091040153599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 27,
            "x": "28",
            "y": "0.329167839286716",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 28,
            "x": "29",
            "y": "0.97624287885822802",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 29,
            "x": "30",
            "y": "-0.73441732548093996",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 30,
            "x": "31",
            "y": "1.6068740708654601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 31,
            "x": "32",
            "y": "0.98957177330240498",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 32,
            "x": "33",
            "y": "-0.27278648651940501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 33,
            "x": "34",
            "y": "-0.53756474378628105",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 34,
            "x": "35",
            "y": "-0.39587723517127399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 35,
            "x": "36",
            "y": "-0.88731895421491702",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 36,
            "x": "37",
            "y": "-0.62115157358001805",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 37,
            "x": "38",
            "y": "-0.0070908431123280699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 38,
            "x": "39",
            "y": "-0.66011278458914602",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 39,
            "x": "40",
            "y": "0.98534726982863496",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 40,
            "x": "41",
            "y": "-0.27373986606954598",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 41,
            "x": "42",
            "y": "-0.44566561799181797",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 42,
            "x": "43",
            "y": "-0.28975543830683398",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 43,
            "x": "44",
            "y": "2.2113801590380899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 44,
            "x": "45",
            "y": "0.099706933787771304",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 45,
            "x": "46",
            "y": "1.8184401204731899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 46,
            "x": "47",
            "y": "0.114506717025747",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 47,
            "x": "48",
            "y": "1.0255893181011",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 48,
            "x": "49",
            "y": "0.80228888338578297",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 49,
            "x": "50",
            "y": "1.5308778851843801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 50,
            "x": "51",
            "y": "0.29737155884825001",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 51,
            "x": "52",
            "y": "-0.1304946977633",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 52,
            "x": "53",
            "y": "0.92015927176668699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 53,
            "x": "54",
            "y": "-0.24331701220431701",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 54,
            "x": "55",
            "y": "-0.84143238350829397",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 55,
            "x": "56",
            "y": "-0.86861203353000205",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 56,
            "x": "57",
            "y": "2.79234858117746",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 57,
            "x": "58",
            "y": "-0.90094849774637897",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 58,
            "x": "59",
            "y": "-0.31358840664882298",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 59,
            "x": "60",
            "y": "-0.51559736564816205",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 60,
            "x": "61",
            "y": "-0.19970725366094999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 61,
            "x": "62",
            "y": "0.44405918504643399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 62,
            "x": "63",
            "y": "0.84164718370698",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 63,
            "x": "64",
            "y": "-0.293843296322153",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 64,
            "x": "65",
            "y": "-0.14155838768099399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 65,
            "x": "66",
            "y": "-0.78596766907137705",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 66,
            "x": "67",
            "y": "-0.41324147992063798",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 67,
            "x": "68",
            "y": "-0.946861856419282",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 68,
            "x": "69",
            "y": "0.41497415962735301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 69,
            "x": "70",
            "y": "1.01430049220787",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 70,
            "x": "71",
            "y": "-0.22173919666619499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 71,
            "x": "72",
            "y": "-0.097644681812086701",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 72,
            "x": "73",
            "y": "0.83858738428686197",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 73,
            "x": "74",
            "y": "-1.57586012164798",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 74,
            "x": "75",
            "y": "-1.36186429080423",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 75,
            "x": "76",
            "y": "1.49866580350475",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 76,
            "x": "77",
            "y": "0.98880898078688395",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 77,
            "x": "78",
            "y": "4.9403374252827996",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 78,
            "x": "79",
            "y": "1.0287311363262699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 79,
            "x": "80",
            "y": "-0.67226257294921798",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 80,
            "x": "81",
            "y": "0.115238428651389",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 81,
            "x": "82",
            "y": "0.40596998836672099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 82,
            "x": "83",
            "y": "0.92447147801761498",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 83,
            "x": "84",
            "y": "0.67822343475735003",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 84,
            "x": "85",
            "y": "0.54377584596233397",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 85,
            "x": "86",
            "y": "-0.410276115798344",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 86,
            "x": "87",
            "y": "1.00157910913441",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 87,
            "x": "88",
            "y": "1.00093756741095",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 88,
            "x": "89",
            "y": "1.1934519689485501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 89,
            "x": "90",
            "y": "0.057997396081991399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 90,
            "x": "91",
            "y": "1.24242037292678",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 91,
            "x": "92",
            "y": "1.0681603013261101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 92,
            "x": "93",
            "y": "1.3372076621300599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 93,
            "x": "94",
            "y": "-0.29719779777390798",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 94,
            "x": "95",
            "y": "-1.6837014946555999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 95,
            "x": "96",
            "y": "-1.2429385953677901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 96,
            "x": "97",
            "y": "-1.1232854100010099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 97,
            "x": "98",
            "y": "-0.77218952986892697",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 98,
            "x": "99",
            "y": "1.57851582678568",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 99,
            "x": "100",
            "y": "-0.072231037693295599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 100,
            "x": "101",
            "y": "-1.1898922117559401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 101,
            "x": "102",
            "y": "-0.81427115486060597",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 102,
            "x": "103",
            "y": "1.4636012876534901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 103,
            "x": "104",
            "y": "-1.5800063988947599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 104,
            "x": "105",
            "y": "1.2421732778656001",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 105,
            "x": "106",
            "y": "0.82976685495889602",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 106,
            "x": "107",
            "y": "-0.0043639282017908596",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 107,
            "x": "108",
            "y": "-4.1482643822692697",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 108,
            "x": "109",
            "y": "-1.0208621650835901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 109,
            "x": "110",
            "y": "0.88565552471331099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 110,
            "x": "111",
            "y": "-0.85178465272707904",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 111,
            "x": "112",
            "y": "-0.070110817080819496",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 112,
            "x": "113",
            "y": "3.4082380370864098",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 113,
            "x": "114",
            "y": "-1.22144144386042",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 114,
            "x": "115",
            "y": "1.0534183582230101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 115,
            "x": "116",
            "y": "0.95328780986846995",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 116,
            "x": "117",
            "y": "0.27424362987684398",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 117,
            "x": "118",
            "y": "-1.22904463482018",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 118,
            "x": "119",
            "y": "-2.6638620058615601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 119,
            "x": "120",
            "y": "0.88707208648932201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 120,
            "x": "121",
            "y": "0.118835391167633",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 121,
            "x": "122",
            "y": "-0.13607931759331399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 122,
            "x": "123",
            "y": "2.1622415365287599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 123,
            "x": "124",
            "y": "0.13464975278079",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 124,
            "x": "125",
            "y": "0.55543127055600405",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 125,
            "x": "126",
            "y": "1.11924498117757",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 126,
            "x": "127",
            "y": "-0.72213005017979603",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 127,
            "x": "128",
            "y": "0.97156725374276598",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 128,
            "x": "129",
            "y": "-1.2453061437578501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 129,
            "x": "130",
            "y": "-0.30148926458736203",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 130,
            "x": "131",
            "y": "0.61618894691694803",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 131,
            "x": "132",
            "y": "-1.3701586686650999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 132,
            "x": "133",
            "y": "-1.27380258233622",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 133,
            "x": "134",
            "y": "-1.0711606584811799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 134,
            "x": "135",
            "y": "7.1563999461251999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 135,
            "x": "136",
            "y": "-0.94048484965089296",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 136,
            "x": "137",
            "y": "-0.48773038137241098",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 137,
            "x": "138",
            "y": "1.7613227388908099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 138,
            "x": "139",
            "y": "-1.42575914863958",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 139,
            "x": "140",
            "y": "1.1939386587884899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 140,
            "x": "141",
            "y": "-1.51657900713589",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 141,
            "x": "142",
            "y": "-1.9223668590173999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 142,
            "x": "143",
            "y": "-0.69009243214911997",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 143,
            "x": "144",
            "y": "0.73208648269609899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 144,
            "x": "145",
            "y": "0.73848439707910396",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 145,
            "x": "146",
            "y": "0.74616013119418001",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 146,
            "x": "147",
            "y": "-0.107944695108924",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 147,
            "x": "148",
            "y": "0.685173973809311",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 148,
            "x": "149",
            "y": "-1.1989986552674099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 149,
            "x": "150",
            "y": "0.81412269113704405",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 150,
            "x": "151",
            "y": "0.87903007201674299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 151,
            "x": "152",
            "y": "0.899646466722681",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 152,
            "x": "153",
            "y": "1.0083650097894601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 153,
            "x": "154",
            "y": "-0.96465847060222498",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 154,
            "x": "155",
            "y": "1.11407981028666",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 155,
            "x": "156",
            "y": "0.89819979652756399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 156,
            "x": "157",
            "y": "0.25430109675146301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 157,
            "x": "158",
            "y": "1.2471309087120701",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 158,
            "x": "159",
            "y": "0.82238600991997202",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 159,
            "x": "160",
            "y": "0.60198284581033401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 160,
            "x": "161",
            "y": "0.13063977484174999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 161,
            "x": "162",
            "y": "0.97510874302593797",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 162,
            "x": "163",
            "y": "-1.10672693668621",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 163,
            "x": "164",
            "y": "-0.880014824380976",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 164,
            "x": "165",
            "y": "0.108424955981563",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 165,
            "x": "166",
            "y": "0.17500624738232201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 166,
            "x": "167",
            "y": "1.27322360840606",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 167,
            "x": "168",
            "y": "1.04838600215641",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 168,
            "x": "169",
            "y": "2.4078067106960899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 169,
            "x": "170",
            "y": "-0.0091630171545183693",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 170,
            "x": "171",
            "y": "-0.023247861705774999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 171,
            "x": "172",
            "y": "-0.840055011367285",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 172,
            "x": "173",
            "y": "-0.59394884935680203",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 173,
            "x": "174",
            "y": "-1.3102570711458801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 174,
            "x": "175",
            "y": "0.38630361776355998",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 175,
            "x": "176",
            "y": "0.46753710219007699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 176,
            "x": "177",
            "y": "0.315269822235902",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 177,
            "x": "178",
            "y": "1.1499891315089801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 178,
            "x": "179",
            "y": "-0.35574534615800002",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 179,
            "x": "180",
            "y": "-0.0025530270032026502",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 180,
            "x": "181",
            "y": "-1.47977657999805",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 181,
            "x": "182",
            "y": "-0.469527401928514",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 182,
            "x": "183",
            "y": "0.71078467316945704",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 183,
            "x": "184",
            "y": "0.89416782649999405",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 184,
            "x": "185",
            "y": "-1.3499451745803199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 185,
            "x": "186",
            "y": "-1.41956873960206",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 186,
            "x": "187",
            "y": "12.7860525877105",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 187,
            "x": "188",
            "y": "-0.56306403101818603",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 188,
            "x": "189",
            "y": "-1.1644783093112501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 189,
            "x": "190",
            "y": "-1.04130747376763",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 190,
            "x": "191",
            "y": "-1.4470958561040399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 191,
            "x": "192",
            "y": "-0.87048575420626495",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 192,
            "x": "193",
            "y": "-0.77914997168015498",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 193,
            "x": "194",
            "y": "-0.84666095614895298",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 194,
            "x": "195",
            "y": "1.15332931611133",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 195,
            "x": "196",
            "y": "-0.0082360570530218401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 196,
            "x": "197",
            "y": "2.1174207424997",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 197,
            "x": "198",
            "y": "-1.2320924550559",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 198,
            "x": "199",
            "y": "0.75034278665062804",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 199,
            "x": "200",
            "y": "-1.38776081318792",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 200,
            "x": "201",
            "y": "-0.74620570820751797",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 201,
            "x": "202",
            "y": "-1.3337983821636501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 202,
            "x": "203",
            "y": "0.217536727323388",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 203,
            "x": "204",
            "y": "-0.35857145385867401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 204,
            "x": "205",
            "y": "0.21574156768501099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 205,
            "x": "206",
            "y": "-0.68438050036303",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 206,
            "x": "207",
            "y": "-0.81682909529094705",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 207,
            "x": "208",
            "y": "-0.89235967479487199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 208,
            "x": "209",
            "y": "0.56794481294202803",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 209,
            "x": "210",
            "y": "-0.20365310985874899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 210,
            "x": "211",
            "y": "-1.07055856067043",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 211,
            "x": "212",
            "y": "0.75409700027528503",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 212,
            "x": "213",
            "y": "0.81628203263497701",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 213,
            "x": "214",
            "y": "0.35766431440454499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 214,
            "x": "215",
            "y": "0.86473956394405105",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 215,
            "x": "216",
            "y": "-0.97155045414473895",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 216,
            "x": "217",
            "y": "0.99945193551601497",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 217,
            "x": "218",
            "y": "0.94985590152926203",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 218,
            "x": "219",
            "y": "0.97071536083887899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 219,
            "x": "220",
            "y": "-0.36252074504790999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 220,
            "x": "221",
            "y": "1.2481657846105301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 221,
            "x": "222",
            "y": "-0.56075124850386304",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 222,
            "x": "223",
            "y": "0.416903608490507",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 223,
            "x": "224",
            "y": "-0.40946433442205998",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 224,
            "x": "225",
            "y": "-2.0638440955577599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 225,
            "x": "226",
            "y": "0.96638717211459302",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 226,
            "x": "227",
            "y": "1.1236707862900599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 227,
            "x": "228",
            "y": "0.97780446285290601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 228,
            "x": "229",
            "y": "0.72729905363742597",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 229,
            "x": "230",
            "y": "-1.01604531711153",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 230,
            "x": "231",
            "y": "0.84664734936358499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 231,
            "x": "232",
            "y": "0.72635524855120204",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 232,
            "x": "233",
            "y": "0.95698823357841301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 233,
            "x": "234",
            "y": "-1.41762331689126",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 234,
            "x": "235",
            "y": "-0.10961389992526099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 235,
            "x": "236",
            "y": "1.4847960101812601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 236,
            "x": "237",
            "y": "-0.117708139894738",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 237,
            "x": "238",
            "y": "-1.2039206629274699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 238,
            "x": "239",
            "y": "-0.30092640671651599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 239,
            "x": "240",
            "y": "0.162625292743627",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 240,
            "x": "241",
            "y": "0.85217470641174597",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 241,
            "x": "242",
            "y": "1.00463515014236",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 242,
            "x": "243",
            "y": "0.032607383111212099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 243,
            "x": "244",
            "y": "-0.562454783536109",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 244,
            "x": "245",
            "y": "-1.34061165410469",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 245,
            "x": "246",
            "y": "-5.6298735064277103",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 246,
            "x": "247",
            "y": "-1.5127170155093299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 247,
            "x": "248",
            "y": "-1.6668629242054001",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 248,
            "x": "249",
            "y": "0.873512253115721",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 249,
            "x": "250",
            "y": "-1.42824606154935",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 250,
            "x": "251",
            "y": "-2.1981945938832399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 251,
            "x": "252",
            "y": "-0.288451668598873",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 252,
            "x": "253",
            "y": "-0.61680075212966401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 253,
            "x": "254",
            "y": "0.78292604041571001",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 254,
            "x": "255",
            "y": "-0.13666839704466299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 255,
            "x": "256",
            "y": "-1.2383097141252299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 256,
            "x": "257",
            "y": "-1.1859809412153799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 257,
            "x": "258",
            "y": "1.03714122312126",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 258,
            "x": "259",
            "y": "-1.36933149553533",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 259,
            "x": "260",
            "y": "-0.39610273971034399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 260,
            "x": "261",
            "y": "-0.20232492346155001",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 261,
            "x": "262",
            "y": "1.2355148713514199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 262,
            "x": "263",
            "y": "-0.55446594225655998",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 263,
            "x": "264",
            "y": "-0.460662129945765",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 264,
            "x": "265",
            "y": "0.68116379886491796",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 265,
            "x": "266",
            "y": "-0.68965484486114303",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 266,
            "x": "267",
            "y": "-0.18749133899718901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 267,
            "x": "268",
            "y": "0.52166314855045504",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 268,
            "x": "269",
            "y": "-0.077511750049692102",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 269,
            "x": "270",
            "y": "-1.3220407193280199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 270,
            "x": "271",
            "y": "-0.014042285268502999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 271,
            "x": "272",
            "y": "-1.9431545280387099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 272,
            "x": "273",
            "y": "-0.044342158357367198",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 273,
            "x": "274",
            "y": "1.0128508360670001",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 274,
            "x": "275",
            "y": "-0.076951984980096103",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 275,
            "x": "276",
            "y": "-1.5347609498927599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 276,
            "x": "277",
            "y": "-1.3245170458229001",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 277,
            "x": "278",
            "y": "-1.6027453834062899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 278,
            "x": "279",
            "y": "-0.53594616419173102",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 279,
            "x": "280",
            "y": "-2.15151534929729",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 280,
            "x": "281",
            "y": "1.5547002963276599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 281,
            "x": "282",
            "y": "-0.86958721158739805",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 282,
            "x": "283",
            "y": "0.25880153840498299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 283,
            "x": "284",
            "y": "1.0050150720139499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 284,
            "x": "285",
            "y": "1.00033058719186",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 285,
            "x": "286",
            "y": "-0.237358645288237",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 286,
            "x": "287",
            "y": "3.1234264433719399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 287,
            "x": "288",
            "y": "-0.84478888876726299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 288,
            "x": "289",
            "y": "1.4824810545061999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 289,
            "x": "290",
            "y": "-0.026855123486263",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 290,
            "x": "291",
            "y": "-0.79118739740261201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 291,
            "x": "292",
            "y": "0.97217816006061097",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 292,
            "x": "293",
            "y": "-0.17901361436528301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 293,
            "x": "294",
            "y": "-0.12621192141402501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 294,
            "x": "295",
            "y": "-0.97761975932815803",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 295,
            "x": "296",
            "y": "-1.40578317004627",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 296,
            "x": "297",
            "y": "0.038613374297454102",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 297,
            "x": "298",
            "y": "0.48877612494717798",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 298,
            "x": "299",
            "y": "-0.110446305641536",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 299,
            "x": "300",
            "y": "0.81451575422876998",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 300,
            "x": "301",
            "y": "-2.6427699850594899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 301,
            "x": "302",
            "y": "0.872252296943824",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 302,
            "x": "303",
            "y": "-1.4958930893023099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 303,
            "x": "304",
            "y": "0.639746997684708",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 304,
            "x": "305",
            "y": "3.2505043728966099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 305,
            "x": "306",
            "y": "1.9570236855301399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 306,
            "x": "307",
            "y": "1.1744237111797899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 307,
            "x": "308",
            "y": "-0.91911356966868396",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 308,
            "x": "309",
            "y": "0.96215950216296497",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 309,
            "x": "310",
            "y": "0.118738610996022",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 310,
            "x": "311",
            "y": "-0.33859745565196703",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 311,
            "x": "312",
            "y": "-1.23822887242602",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 312,
            "x": "313",
            "y": "0.124876358016127",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 313,
            "x": "314",
            "y": "1.13376178790987",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 314,
            "x": "315",
            "y": "0.89978150872343099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 315,
            "x": "316",
            "y": "-1.0891961542075299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 316,
            "x": "317",
            "y": "0.44100170864145899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 317,
            "x": "318",
            "y": "0.83021276848353698",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 318,
            "x": "319",
            "y": "-0.79722305162801599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 319,
            "x": "320",
            "y": "4.3318957083913698",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 320,
            "x": "321",
            "y": "1.0253156159583601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 321,
            "x": "322",
            "y": "0.029823611315823201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 322,
            "x": "323",
            "y": "-1.7151529216763699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 323,
            "x": "324",
            "y": "-0.30262727312679299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 324,
            "x": "325",
            "y": "-1.0701527676490601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 325,
            "x": "326",
            "y": "0.127630340315422",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 326,
            "x": "327",
            "y": "-1.35086211948566",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 327,
            "x": "328",
            "y": "-0.90481095507303999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 328,
            "x": "329",
            "y": "0.239339315123483",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 329,
            "x": "330",
            "y": "-1.54969502375336",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 330,
            "x": "331",
            "y": "-0.86334669724896995",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 331,
            "x": "332",
            "y": "0.717605678585858",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 332,
            "x": "333",
            "y": "2.14451893177799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 333,
            "x": "334",
            "y": "-1.73280005345956",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 334,
            "x": "335",
            "y": "0.94967236539450295",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 335,
            "x": "336",
            "y": "0.494152351239594",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 336,
            "x": "337",
            "y": "0.58746331537288998",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 337,
            "x": "338",
            "y": "0.67872881640084004",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 338,
            "x": "339",
            "y": "0.17266402056896801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 339,
            "x": "340",
            "y": "-0.29108702685133803",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 340,
            "x": "341",
            "y": "-1.18056446953304",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 341,
            "x": "342",
            "y": "-0.574687319861787",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 342,
            "x": "343",
            "y": "-0.49086884537632902",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 343,
            "x": "344",
            "y": "-0.67588097009654102",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 344,
            "x": "345",
            "y": "1.0449850657377999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 345,
            "x": "346",
            "y": "0.971982182067055",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 346,
            "x": "347",
            "y": "-1.4166227640164999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 347,
            "x": "348",
            "y": "1.84388084653811",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 348,
            "x": "349",
            "y": "-0.42273711599320901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 349,
            "x": "350",
            "y": "6.61739304897376",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 350,
            "x": "351",
            "y": "-0.38019698905411398",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 351,
            "x": "352",
            "y": "3.7596032655300302",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 352,
            "x": "353",
            "y": "0.32155959747577001",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 353,
            "x": "354",
            "y": "0.94400744444420703",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 354,
            "x": "355",
            "y": "-0.99994667856960895",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 355,
            "x": "356",
            "y": "0.33791124725496802",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 356,
            "x": "357",
            "y": "-1.3905606063993301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 357,
            "x": "358",
            "y": "1.02808807453336",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 358,
            "x": "359",
            "y": "-0.72109685751198904",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 359,
            "x": "360",
            "y": "0.83478344839519203",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 360,
            "x": "361",
            "y": "-0.62751576536456499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 361,
            "x": "362",
            "y": "-1.2272160228642599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 362,
            "x": "363",
            "y": "0.29840955926227603",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 363,
            "x": "364",
            "y": "0.97048951060927302",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 364,
            "x": "365",
            "y": "-0.655604148627974",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 365,
            "x": "366",
            "y": "2.8298267530424099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 366,
            "x": "367",
            "y": "0.21331362728613401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 367,
            "x": "368",
            "y": "-1.6846920814085899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 368,
            "x": "369",
            "y": "-0.18126624314147799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 369,
            "x": "370",
            "y": "0.50766635287057804",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 370,
            "x": "371",
            "y": "-0.60393171187147898",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 371,
            "x": "372",
            "y": "-1.3799116095710899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 372,
            "x": "373",
            "y": "0.41993128635621002",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 373,
            "x": "374",
            "y": "-1.3590683362475799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 374,
            "x": "375",
            "y": "-0.24720901719671501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 375,
            "x": "376",
            "y": "0.48184981079408801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 376,
            "x": "377",
            "y": "0.94599836294245299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 377,
            "x": "378",
            "y": "-0.80584206581913997",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 378,
            "x": "379",
            "y": "1.04960019020062",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 379,
            "x": "380",
            "y": "-1.5976187380593401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 380,
            "x": "381",
            "y": "1.0591723004044999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 381,
            "x": "382",
            "y": "3.25097181945717",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 382,
            "x": "383",
            "y": "0.80348526626038497",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 383,
            "x": "384",
            "y": "-0.354046508260563",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 384,
            "x": "385",
            "y": "-1.0691023038969101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 385,
            "x": "386",
            "y": "1.1858238678415101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 386,
            "x": "387",
            "y": "1.0490300303473501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 387,
            "x": "388",
            "y": "-0.0011765896797610699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 388,
            "x": "389",
            "y": "-1.1036337792984201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 389,
            "x": "390",
            "y": "0.792565741522267",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 390,
            "x": "391",
            "y": "0.30505217340865098",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 391,
            "x": "392",
            "y": "-1.4981688319862201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 392,
            "x": "393",
            "y": "-0.81213011472837904",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 393,
            "x": "394",
            "y": "0.79051791288540696",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 394,
            "x": "395",
            "y": "0.378567582262334",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 395,
            "x": "396",
            "y": "1.04708310750108",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 396,
            "x": "397",
            "y": "4.30677755224389",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 397,
            "x": "398",
            "y": "0.061859013817521999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 398,
            "x": "399",
            "y": "-1.9734849435020001",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 399,
            "x": "400",
            "y": "-0.28549862634961598",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 400,
            "x": "401",
            "y": "-2.6315889015015701",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 401,
            "x": "402",
            "y": "0.44261453402242301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 402,
            "x": "403",
            "y": "0.58953871454668405",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 403,
            "x": "404",
            "y": "0.94314152798731599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 404,
            "x": "405",
            "y": "0.95251228738647498",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 405,
            "x": "406",
            "y": "-0.13227850937628499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 406,
            "x": "407",
            "y": "-0.98809489610884604",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 407,
            "x": "408",
            "y": "0.94474111749081002",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 408,
            "x": "409",
            "y": "-1.51658198049561",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 409,
            "x": "410",
            "y": "-1.23439608438244",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 410,
            "x": "411",
            "y": "-0.91550201924415497",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 411,
            "x": "412",
            "y": "0.68144387499422698",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 412,
            "x": "413",
            "y": "-1.2619372354054901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 413,
            "x": "414",
            "y": "0.90326487518982301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 414,
            "x": "415",
            "y": "1.0244112227290101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 415,
            "x": "416",
            "y": "-0.98385546854818995",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 416,
            "x": "417",
            "y": "0.90388020767743005",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 417,
            "x": "418",
            "y": "0.56416687990001402",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 418,
            "x": "419",
            "y": "-0.266318903899668",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 419,
            "x": "420",
            "y": "-0.61369488030301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 420,
            "x": "421",
            "y": "0.91393376604972998",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 421,
            "x": "422",
            "y": "-2.70658268122218",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 422,
            "x": "423",
            "y": "-1.6386800679769",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 423,
            "x": "424",
            "y": "-1.3844761998722801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 424,
            "x": "425",
            "y": "-0.57435462387791303",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 425,
            "x": "426",
            "y": "-2.69930180361064",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 426,
            "x": "427",
            "y": "0.41828444270930798",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 427,
            "x": "428",
            "y": "0.046072205314122601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 428,
            "x": "429",
            "y": "-0.281779320604717",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 429,
            "x": "430",
            "y": "-1.50779225868651",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 430,
            "x": "431",
            "y": "-0.48489060431324299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 431,
            "x": "432",
            "y": "0.80773781936519695",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 432,
            "x": "433",
            "y": "0.83598673706124105",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 433,
            "x": "434",
            "y": "-1.4619950681142",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 434,
            "x": "435",
            "y": "0.92663776952255295",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 435,
            "x": "436",
            "y": "0.98270294979674699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 436,
            "x": "437",
            "y": "0.97503913626284699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 437,
            "x": "438",
            "y": "-1.2146864900057299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 438,
            "x": "439",
            "y": "-0.76403973588860996",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 439,
            "x": "440",
            "y": "0.97525627683037797",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 440,
            "x": "441",
            "y": "-1.8289459246416799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 441,
            "x": "442",
            "y": "0.749008097332312",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 442,
            "x": "443",
            "y": "0.139023623702347",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 443,
            "x": "444",
            "y": "-1.3922234085941501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 444,
            "x": "445",
            "y": "0.88450669129567705",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 445,
            "x": "446",
            "y": "-0.101957190193414",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 446,
            "x": "447",
            "y": "0.97439799178280595",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 447,
            "x": "448",
            "y": "-1.3583848058012999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 448,
            "x": "449",
            "y": "-0.70401059417593004",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 449,
            "x": "450",
            "y": "0.27576591035389802",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 450,
            "x": "451",
            "y": "-0.40716131625603602",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 451,
            "x": "452",
            "y": "1.2412235869005499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 452,
            "x": "453",
            "y": "1.0903517320735301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 453,
            "x": "454",
            "y": "2.0702027989728",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 454,
            "x": "455",
            "y": "-1.2403237894685299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 455,
            "x": "456",
            "y": "0.89446072664749499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 456,
            "x": "457",
            "y": "-1.93972068003384",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 457,
            "x": "458",
            "y": "-1.5163619640397601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 458,
            "x": "459",
            "y": "-1.2257277099556101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 459,
            "x": "460",
            "y": "-1.2489513983842599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 460,
            "x": "461",
            "y": "0.406491975355668",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 461,
            "x": "462",
            "y": "-0.0872024807030468",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 462,
            "x": "463",
            "y": "-0.278884286549129",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 463,
            "x": "464",
            "y": "-1.1355452411559399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 464,
            "x": "465",
            "y": "0.66874243269406397",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 465,
            "x": "466",
            "y": "-1.88561032502621",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 466,
            "x": "467",
            "y": "1.2342705091961499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 467,
            "x": "468",
            "y": "-1.09910556615671",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 468,
            "x": "469",
            "y": "-1.4112720026027401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 469,
            "x": "470",
            "y": "-0.68826796101482601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 470,
            "x": "471",
            "y": "-0.49453760519710099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 471,
            "x": "472",
            "y": "2.0296164451184202",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 472,
            "x": "473",
            "y": "0.52774903727144795",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 473,
            "x": "474",
            "y": "0.97922729295223399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 474,
            "x": "475",
            "y": "-1.3560417792389901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 475,
            "x": "476",
            "y": "0.96697998822954301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 476,
            "x": "477",
            "y": "0.41775252838170701",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 477,
            "x": "478",
            "y": "0.99305433684147504",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 478,
            "x": "479",
            "y": "0.094017758675465704",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 479,
            "x": "480",
            "y": "-0.75624511323413401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 480,
            "x": "481",
            "y": "-0.29305344729146099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 481,
            "x": "482",
            "y": "1.0202414501511201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 482,
            "x": "483",
            "y": "-0.087585836772065606",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 483,
            "x": "484",
            "y": "0.83986892193955398",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 484,
            "x": "485",
            "y": "-0.27828452365289702",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 485,
            "x": "486",
            "y": "0.056926922357163103",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 486,
            "x": "487",
            "y": "0.0134875573102342",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 487,
            "x": "488",
            "y": "0.99942273253665104",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 488,
            "x": "489",
            "y": "1.0350185782430901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 489,
            "x": "490",
            "y": "0.80743651084059997",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 490,
            "x": "491",
            "y": "0.84164718370698",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 491,
            "x": "492",
            "y": "-1.25623728665945",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 492,
            "x": "493",
            "y": "-1.36227789191805",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 493,
            "x": "494",
            "y": "-1.0960611200332899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 494,
            "x": "495",
            "y": "1.3821199433945901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 495,
            "x": "496",
            "y": "0.90366754649905001",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 496,
            "x": "497",
            "y": "0.75221575580178202",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 497,
            "x": "498",
            "y": "0.74379220331903095",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 498,
            "x": "499",
            "y": "0.61590608023233995",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 499,
            "x": "500",
            "y": "0.25121199324468502",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 500,
            "x": "501",
            "y": "-1.27051899411435",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 501,
            "x": "502",
            "y": "2.89017517203416",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 502,
            "x": "503",
            "y": "-0.35687523411873401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 503,
            "x": "504",
            "y": "5.3789044959797296",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 504,
            "x": "505",
            "y": "0.84755615506167303",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 505,
            "x": "506",
            "y": "-0.87764885108717205",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 506,
            "x": "507",
            "y": "-1.30235454101599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 507,
            "x": "508",
            "y": "0.94337798179913102",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 508,
            "x": "509",
            "y": "-1.5278357989207501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 509,
            "x": "510",
            "y": "0.48651380030646502",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 510,
            "x": "511",
            "y": "-1.2979499912200301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 511,
            "x": "512",
            "y": "0.12912057389095499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 512,
            "x": "513",
            "y": "-0.118771614617975",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 513,
            "x": "514",
            "y": "0.77175407763431403",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 514,
            "x": "515",
            "y": "1.0216766344346799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 515,
            "x": "516",
            "y": "1.0993603015158999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 516,
            "x": "517",
            "y": "1.0694800619393701",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 517,
            "x": "518",
            "y": "0.21553020606828099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 518,
            "x": "519",
            "y": "0.17880091728759201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 519,
            "x": "520",
            "y": "0.20641417956310201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 520,
            "x": "521",
            "y": "-1.0626975075080101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 521,
            "x": "522",
            "y": "-0.030487013367731401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 522,
            "x": "523",
            "y": "0.90660601142817698",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 523,
            "x": "524",
            "y": "-0.33448124945628499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 524,
            "x": "525",
            "y": "0.80304404244953398",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 525,
            "x": "526",
            "y": "-1.3305165067216",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 526,
            "x": "527",
            "y": "-0.87401595670605503",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 527,
            "x": "528",
            "y": "-2.2824361772779298",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 528,
            "x": "529",
            "y": "-0.99039528895809403",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 529,
            "x": "530",
            "y": "-0.59159114731875295",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 530,
            "x": "531",
            "y": "0.95729659865790895",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 531,
            "x": "532",
            "y": "0.162789003336238",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 532,
            "x": "533",
            "y": "-0.23315878132209",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 533,
            "x": "534",
            "y": "-1.1477675156710201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 534,
            "x": "535",
            "y": "-1.2179249242564401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 535,
            "x": "536",
            "y": "0.99523025980497104",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 536,
            "x": "537",
            "y": "-0.50937403709195195",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 537,
            "x": "538",
            "y": "0.089126391492425294",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 538,
            "x": "539",
            "y": "-0.066460304244951404",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 539,
            "x": "540",
            "y": "0.96235536370007102",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 540,
            "x": "541",
            "y": "0.89817447554405205",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 541,
            "x": "542",
            "y": "0.97454796484871198",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 542,
            "x": "543",
            "y": "-1.22572184413854",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 543,
            "x": "544",
            "y": "0.89817447554405205",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 544,
            "x": "545",
            "y": "-1.2178452067978101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 545,
            "x": "546",
            "y": "-0.44203106828419397",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 546,
            "x": "547",
            "y": "0.050357191832629399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 547,
            "x": "548",
            "y": "0.73280731325833004",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 548,
            "x": "549",
            "y": "0.82319287542656905",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 549,
            "x": "550",
            "y": "-1.3395230015975701",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 550,
            "x": "551",
            "y": "-1.02717497331251",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 551,
            "x": "552",
            "y": "-1.31318742463739",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 552,
            "x": "553",
            "y": "0.15972561019766601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 553,
            "x": "554",
            "y": "-0.98192774708373898",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 554,
            "x": "555",
            "y": "0.79603688084915303",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 555,
            "x": "556",
            "y": "-1.2682710250637199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 556,
            "x": "557",
            "y": "0.91836070169941297",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 557,
            "x": "558",
            "y": "0.64891757596427002",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 558,
            "x": "559",
            "y": "1.40187580306528",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 559,
            "x": "560",
            "y": "-1.2257277099556101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 560,
            "x": "561",
            "y": "0.58329228139142997",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 561,
            "x": "562",
            "y": "2.8305863928384198",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 562,
            "x": "563",
            "y": "-1.00482354039128",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 563,
            "x": "564",
            "y": "-0.893937276024935",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 564,
            "x": "565",
            "y": "-0.41523011219318601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 565,
            "x": "566",
            "y": "0.79603688084915303",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 566,
            "x": "567",
            "y": "0.65141320321328899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 567,
            "x": "568",
            "y": "0.30340079956867",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 568,
            "x": "569",
            "y": "0.41410289107585002",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 569,
            "x": "570",
            "y": "3.1627433250328298",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 570,
            "x": "571",
            "y": "-1.27067924033693",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 571,
            "x": "572",
            "y": "0.896048916348405",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 572,
            "x": "573",
            "y": "0.97417900378056599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 573,
            "x": "574",
            "y": "1.00429566308357",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 574,
            "x": "575",
            "y": "0.92849331467783602",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 575,
            "x": "576",
            "y": "-0.78410906250133605",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 576,
            "x": "577",
            "y": "0.83021276848353698",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 577,
            "x": "578",
            "y": "1.71017071106415",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 578,
            "x": "579",
            "y": "1.0289724335816",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 579,
            "x": "580",
            "y": "-0.166358058149678",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 580,
            "x": "581",
            "y": "0.93660236650613304",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 581,
            "x": "582",
            "y": "-1.2460683329429201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 582,
            "x": "583",
            "y": "-1.16392886029248",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 583,
            "x": "584",
            "y": "1.3989655694390699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 584,
            "x": "585",
            "y": "-1.3749323862454099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 585,
            "x": "586",
            "y": "0.49438312626501502",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 586,
            "x": "587",
            "y": "-1.0660604012896799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 587,
            "x": "588",
            "y": "0.72751245635026696",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 588,
            "x": "589",
            "y": "2.5554847270601102",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 589,
            "x": "590",
            "y": "0.0097600384504084002",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 590,
            "x": "591",
            "y": "-0.23514969736069899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 591,
            "x": "592",
            "y": "-1.3357516289144",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 592,
            "x": "593",
            "y": "-0.400369844212972",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 593,
            "x": "594",
            "y": "0.95369526759315904",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 594,
            "x": "595",
            "y": "0.83811487886567504",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 595,
            "x": "596",
            "y": "0.84164718370698",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 596,
            "x": "597",
            "y": "-1.30552868814595",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 597,
            "x": "598",
            "y": "0.27986236431945699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 598,
            "x": "599",
            "y": "-1.2462436551709599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 599,
            "x": "600",
            "y": "0.85587200982886802",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 600,
            "x": "601",
            "y": "0.87787248372207505",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 601,
            "x": "602",
            "y": "-0.54173741450769797",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 602,
            "x": "603",
            "y": "0.93916806932447505",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 603,
            "x": "604",
            "y": "-1.0293317754129001",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 604,
            "x": "605",
            "y": "0.68761073407428497",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 605,
            "x": "606",
            "y": "1.521151957741",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 606,
            "x": "607",
            "y": "-1.1181816195885701",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 607,
            "x": "608",
            "y": "0.35129692022960901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 608,
            "x": "609",
            "y": "1.7265568691239099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 609,
            "x": "610",
            "y": "0.86700754527398605",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 610,
            "x": "611",
            "y": "-0.72808432731946604",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 611,
            "x": "612",
            "y": "0.31477498296074802",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 612,
            "x": "613",
            "y": "0.78442771888073703",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 613,
            "x": "614",
            "y": "0.27548802932980199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 614,
            "x": "615",
            "y": "0.92480050391770097",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 615,
            "x": "616",
            "y": "-2.1709171368620499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 616,
            "x": "617",
            "y": "0.190762848339842",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 617,
            "x": "618",
            "y": "0.78070030455513195",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 618,
            "x": "619",
            "y": "0.022162252012521699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 619,
            "x": "620",
            "y": "0.75550154722877405",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 620,
            "x": "621",
            "y": "-0.69733313752043902",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 621,
            "x": "622",
            "y": "-0.89074449513895404",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 622,
            "x": "623",
            "y": "0.908752902047126",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 623,
            "x": "624",
            "y": "0.400880350936904",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 624,
            "x": "625",
            "y": "0.85041181059387605",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 625,
            "x": "626",
            "y": "0.83694552127687105",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 626,
            "x": "627",
            "y": "1.4455142224377899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 627,
            "x": "628",
            "y": "0.88128229561554405",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 628,
            "x": "629",
            "y": "-0.119697634806867",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 629,
            "x": "630",
            "y": "2.0163458321819201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 630,
            "x": "631",
            "y": "-0.33869305848968101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 631,
            "x": "632",
            "y": "0.81614213690389603",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 632,
            "x": "633",
            "y": "-0.025466140699779299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 633,
            "x": "634",
            "y": "0.16742034422549401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 634,
            "x": "635",
            "y": "-0.416831285778685",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 635,
            "x": "636",
            "y": "0.18983194011990601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 636,
            "x": "637",
            "y": "0.094308170774351205",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 637,
            "x": "638",
            "y": "0.12786217125855501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 638,
            "x": "639",
            "y": "0.86619773589337201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 639,
            "x": "640",
            "y": "0.88650822835388998",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 640,
            "x": "641",
            "y": "0.81298219715758302",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 641,
            "x": "642",
            "y": "0.0132039672858771",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 642,
            "x": "643",
            "y": "1.62309410751003",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 643,
            "x": "644",
            "y": "-0.24898141938472801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 644,
            "x": "645",
            "y": "-0.17789596840616301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 645,
            "x": "646",
            "y": "-1.2765220666591499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 646,
            "x": "647",
            "y": "2.7404029125395701",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 647,
            "x": "648",
            "y": "-0.99569811077113501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 648,
            "x": "649",
            "y": "0.38686869433448801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 649,
            "x": "650",
            "y": "0.76005932751999195",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 650,
            "x": "651",
            "y": "0.78530290242155298",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 651,
            "x": "652",
            "y": "0.071571264954658098",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 652,
            "x": "653",
            "y": "0.219283367587844",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 653,
            "x": "654",
            "y": "0.34432869958819801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 654,
            "x": "655",
            "y": "-0.66985477628119705",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 655,
            "x": "656",
            "y": "0.057224034087830902",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 656,
            "x": "657",
            "y": "0.71768717357618494",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 657,
            "x": "658",
            "y": "-0.41890445511945501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 658,
            "x": "659",
            "y": "-0.73074237030848999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 659,
            "x": "660",
            "y": "0.23421987373736999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 660,
            "x": "661",
            "y": "0.99013888295679198",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 661,
            "x": "662",
            "y": "-1.5450841551307799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 662,
            "x": "663",
            "y": "-1.30567817630758",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 663,
            "x": "664",
            "y": "0.77839949065344705",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 664,
            "x": "665",
            "y": "-0.21080808692452099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 665,
            "x": "666",
            "y": "0.57226881076444203",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 666,
            "x": "667",
            "y": "3.2959701672175199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 667,
            "x": "668",
            "y": "0.48450385694707498",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 668,
            "x": "669",
            "y": "0.67424942481262695",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 669,
            "x": "670",
            "y": "-0.14761898813218899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 670,
            "x": "671",
            "y": "0.38120709292322102",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 671,
            "x": "672",
            "y": "0.119662790175774",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 672,
            "x": "673",
            "y": "-0.072834292117377006",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 673,
            "x": "674",
            "y": "0.77621442453155698",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 674,
            "x": "675",
            "y": "-0.97364587009361503",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 675,
            "x": "676",
            "y": "-1.28685700439779",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 676,
            "x": "677",
            "y": "0.23490307629799101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 677,
            "x": "678",
            "y": "-1.21509101722779",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 678,
            "x": "679",
            "y": "1.89056127685463",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 679,
            "x": "680",
            "y": "-0.057978910886499903",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 680,
            "x": "681",
            "y": "0.46035523751746898",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 681,
            "x": "682",
            "y": "0.182210652877662",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 682,
            "x": "683",
            "y": "0.84107007969460501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 683,
            "x": "684",
            "y": "0.42739687811709198",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 684,
            "x": "685",
            "y": "-1.2699312520192101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 685,
            "x": "686",
            "y": "-1.2481749612113",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 686,
            "x": "687",
            "y": "0.61408245753629198",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 687,
            "x": "688",
            "y": "-0.28052941370344397",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 688,
            "x": "689",
            "y": "0.49713470735905502",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 689,
            "x": "690",
            "y": "0.84844044669197705",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 690,
            "x": "691",
            "y": "1.4686455200269199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 691,
            "x": "692",
            "y": "0.78783063920344998",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 692,
            "x": "693",
            "y": "0.25921483771995502",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 693,
            "x": "694",
            "y": "2.5181271265517702",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 694,
            "x": "695",
            "y": "0.72288993029323301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 695,
            "x": "696",
            "y": "-0.68733976917484196",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 696,
            "x": "697",
            "y": "-1.13419715183454",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 697,
            "x": "698",
            "y": "-0.59414467490502298",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 698,
            "x": "699",
            "y": "1.4649759025987801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 699,
            "x": "700",
            "y": "1.0151610513636899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 700,
            "x": "701",
            "y": "0.64316327443392496",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 701,
            "x": "702",
            "y": "-1.1012400657205399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 702,
            "x": "703",
            "y": "0.103528058274451",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 703,
            "x": "704",
            "y": "-1.7681418593340099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 704,
            "x": "705",
            "y": "-0.51615035798184805",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 705,
            "x": "706",
            "y": "-1.36491923729739",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 706,
            "x": "707",
            "y": "-0.17543422208370901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 707,
            "x": "708",
            "y": "-1.2730413058090999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 708,
            "x": "709",
            "y": "0.36869839284866401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 709,
            "x": "710",
            "y": "-0.99714477834069404",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 710,
            "x": "711",
            "y": "-0.78190815458821294",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 711,
            "x": "712",
            "y": "0.620567488430529",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 712,
            "x": "713",
            "y": "1.0181712120166",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 713,
            "x": "714",
            "y": "0.32245445600998301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 714,
            "x": "715",
            "y": "-0.32692886450723502",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 715,
            "x": "716",
            "y": "0.70584953012997997",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 716,
            "x": "717",
            "y": "0.16454742463548799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 717,
            "x": "718",
            "y": "-0.0044297915024202501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 718,
            "x": "719",
            "y": "-1.00060130534255",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 719,
            "x": "720",
            "y": "-0.80104400860122305",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 720,
            "x": "721",
            "y": "1.11031760715421",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 721,
            "x": "722",
            "y": "-0.068890242279132693",
            "defined": true,
            "xExact": "",
            "yExact": ""
          }
        ],
        "plotFile": "ml21-code/r-realdata-person-result/plot.svg",
        "fullResultFile": "ml21-code/r-realdata-person-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      },
      "company": {
        "api": "realdata",
        "variant": "company",
        "language": "r",
        "title": "Actual NJPA stores: generic FTE-change scores",
        "input": {
          "kind": "company"
        },
        "expectedFailure": false,
        "codeFile": "ml21-code/realdata-company.R",
        "codeSHA256": "282bae52690b295f14c171765fb7a5bae7564c222dbad1a7ff84737f8f3505b6",
        "code": "# ML21 standalone numerical fixed example, not arbitrary exact API validation.\n# Fixed inputs are declared inline and matching JSON provided for reading.\n# Realdata code uses3factual CSVs, R4.5+ toolsSHA256 and numerical ridge.\noptions(digits=17)\nfixedSource<-function(kind){\n selectedKind<-kind\n src<-file.path(dirname(sub('^--file=','',grep('^--file=',commandArgs(),value=TRUE)[1])),'data')\nreadnative<-function(n)read.csv(file.path(src,n),colClasses='character',check.names=FALSE,na.strings=NULL,stringsAsFactors=FALSE)\nnum<-function(x){v<-suppressWarnings(as.numeric(x));v[x%in%c('','.')] <- NA_real_;v}\nsha<-function(s){tf<-tempfile('ml21-group-');writeBin(charToRaw(enc2utf8(s)),tf);on.exit(unlink(tf));unname(tools::sha256sum(tf))}\nwb<-readnative('actual48-country-revised-original-2023-2024.csv');iso<-sort(unique(wb$countryISO3))\nlookup<-function(i,code,yr){r<-wb[wb$countryISO3==i&wb$indicatorID==code&wb$date==yr,,drop=FALSE];stopifnot(nrow(r)==1);num(r$originalValueToken)}\ng<-vapply(iso,lookup,numeric(1),code='NY.GDP.PCAP.KD',yr='2023');pi<-vapply(iso,lookup,numeric(1),code='FP.CPI.TOTL.ZG',yr='2023');gy<-vapply(iso,lookup,numeric(1),code='NY.GDP.MKTP.KD.ZG',yr='2024')\ncountry<-list(id=paste0(iso,':2024'),originalID=iso,sourceRow=iso,foldGroup=paste0('country:',iso),a=as.integer(g>median(g)),x=cbind(g/10000,pi/10),y=gy)\npd<-readnative('actual38408-NSW-all15-fields.csv');pre<-pd[pd$year=='1975',,drop=FALSE];post<-pd[match(pre$id,pd$id[pd$year=='1978'])+0,,drop=FALSE]\npostNative<-pd[pd$year=='1978',,drop=FALSE];post<-postNative[match(pre$id,postNative$id),,drop=FALSE]\nstopifnot(nrow(pre)==19204,nrow(post)==19204,all(pre$id==post$id),all(pre$treated==post$treated));take<-num(pre$experimental)==1;stopifnot(all(take==(pre$treated!='.')));pre<-pre[take,,drop=FALSE];post<-post[take,,drop=FALSE]\nperson<-list(id=paste0('nsw-id:',pre$id),originalID=pre$id,sourceRow=post$sourceRow,foldGroup=paste0('nsw-id:',pre$id),a=num(pre$treated),x=cbind(num(pre$age)/10,num(pre$educ)/10,num(pre$re74)/10000),y=num(post$re)/10000)\ncd<-readnative('actual410-NJPA-all46-fields.csv');before<-num(cd$EMPFT)+num(cd$EMPPT)/2+num(cd$NMGRS);after<-num(cd$EMPFT2)+num(cd$EMPPT2)/2+num(cd$NMGRS2)\ncompany<-list(id=paste0('njpa-row:',cd$sourceRow),originalID=cd$SHEET,sourceRow=cd$sourceRow,foldGroup=paste0('sheet:',cd$SHEET),a=num(cd$STATE),x=cbind(before/10,as.integer(num(cd$CHAIN)==2),num(cd$CO_OWNED)),y=after-before)\nmodels<-list(country=country,person=person,company=company)\nfor(kind in names(models)){\n m<-models[[kind]];groups<-unique(m$foldGroup);hash<-vapply(groups,function(g)sha(paste0('ML21|',kind,'|',g)),character(1));ord<-order(hash,groups);folds<-integer(length(groups));folds[ord]<-(seq_along(ord)-1L)%%4L;m$fold<-folds[match(m$foldGroup,groups)];m$eligible<-!is.na(m$y)&rowSums(is.na(m$x))==0;m$role<-ifelse(m$eligible,'analysis','excluded');models[[kind]]<-m\n}\nstopifnot(length(person$id)==722,sum(person$a)==297,sum(models$company$eligible)==384,length(country$id)==16)\nsourcefit<-function(kind,m,rep){\n N<-length(m$id);X<-if(rep=='full')m$x else if(rep=='constant')matrix(numeric(0),nrow=N,ncol=0) else if(kind=='country')matrix(m$a,ncol=1) else if(kind=='person')cbind(as.integer(m$x[,2]>1.2),as.integer(m$x[,3]>0)) else matrix(m$x[,2],ncol=1)\n group<-if(kind=='country')ifelse(m$a==1,'higher-GDP-category','lower-GDP-category')else if(kind=='person')ifelse(m$x[,2]>1.2,'schooling-over12','schooling-at-most12')else ifelse(!is.na(m$x[,2])&m$x[,2]!=0,'chain2','other-chains')\n p<-ncol(X);eRaw<-mu0<-mu1<-rep(NA_real_,N);fits<-list();coords<-list()\n for(fold in 0:3){\n  tr<-which(m$eligible&m$fold!=fold);means<-if(p)colMeans(X[tr,,drop=FALSE])else numeric(0);scales<-if(p)apply(X[tr,,drop=FALSE],2,function(x)diff(range(x)))else numeric(0);scales[scales==0]<-1;Z<-if(p)cbind(1,sweep(sweep(X,2,means,'-'),2,scales,'/'))else matrix(1,nrow=N,ncol=1);hold<-which(m$fold==fold);ok<-rowSums(is.na(Z[hold,,drop=FALSE]))==0\n  for(name in c('e','mu0','mu1')){\n   ix<-if(name=='e')tr else tr[m$a[tr]==if(name=='mu0')0 else 1];target<-if(name=='e')m$a[ix]else m$y[ix];A<-crossprod(Z[ix,,drop=FALSE])/length(ix)+diag(c(0,rep(.01,p)),nrow=p+1);b<-as.vector(crossprod(Z[ix,,drop=FALSE],target))/length(ix);theta<-as.vector(solve(A,b));minimum<-mean((as.vector(Z[ix,,drop=FALSE]%*%theta)-target)^2)/2+.01*sum(theta[-1]^2)/2;v<-as.vector(Z[hold,,drop=FALSE]%*%theta)\n   if(name=='e')eRaw[hold]<-v else if(name=='mu0')mu0[hold]<-v else mu1[hold]<-v\n   fits[[length(fits)+1L]]<-list(fold=fold,name=name,rows=length(ix),rank=p+1,theta=theta,minimumObjective=minimum,trainingIDs=m$id[ix])\n  }\n  coords[[length(coords)+1L]]<-list(fold=fold,mean=means,scale=scales)\n }\n e<-pmax(.05,pmin(.95,eRaw));nuisance<-!is.na(e)&!is.na(mu0)&!is.na(mu1);eligible<-m$eligible&nuisance;plugin<-treated<-control<-ipw<-effective<-score<-rep(NA_real_,N);ix<-which(eligible);plugin[ix]<-mu1[ix]-mu0[ix];treated[ix]<-ifelse(m$a[ix]==1,(m$y[ix]-mu1[ix])/e[ix],0);control[ix]<-ifelse(m$a[ix]==0,(m$y[ix]-mu0[ix])/(1-e[ix]),0);score[ix]<-plugin[ix]+treated[ix]-control[ix];ipw[ix]<-ifelse(m$a[ix]==1,m$y[ix]/e[ix],-m$y[ix]/(1-e[ix]));effective[ix]<-1/ifelse(m$a[ix]==1,e[ix],1-e[ix]);clipped<-!is.na(eRaw)&eRaw!=e\n list(X=X,group=group,meanX=coords,fits=fits,eRaw=eRaw,e=e,mu0=mu0,mu1=mu1,nuisance=nuisance,eligible=eligible,plugin=plugin,treated=treated,control=control,score=score,ipw=ipw,effective=effective,clipped=clipped)\n}\nextreme<-function(values,sign){N<-length(values);p<-rep(1/N,N);q<-p;upper<-pmin(1,2*p);ord<-order(round(sign*values,12),seq_along(values));donor<-ord;receiver<-rev(ord);a<-b<-1L;budget<-.1\n while(budget>1e-14&&a<=N&&b<=N){i<-donor[a];j<-receiver[b];if(sign*values[j]<=sign*values[i]+1e-14)break;move<-min(q[i],upper[j]-q[j],budget);if(move>0){q[i]<-q[i]-move;q[j]<-q[j]+move;budget<-budget-move};if(q[i]<=1e-14)a<-a+1L;if(upper[j]-q[j]<=1e-14)b<-b+1L;if(move<=0&&a<=N&&b<=N&&q[i]>1e-14&&upper[j]-q[j]>1e-14)stop('no transport progress')};list(q=q,objective=sum(q*values),TV=sum(abs(q-p))/2)\n}\n\n m<-models[[selectedKind]];z<-sourcefit(selectedKind,m,'full');ix<-which(z$eligible);v<-z$score[ix];lo<-extreme(v,-1);hi<-extreme(v,1);treated<-ix[m$a[ix]==1];control<-ix[m$a[ix]==0];norm<-sum(m$y[treated]*z$effective[treated])/sum(z$effective[treated])-sum(m$y[control]*z$effective[control])/sum(z$effective[control]);nv<-function(v)if(is.na(v))NULL else unname(v)\n rows<-lapply(seq_along(m$id),function(i)list(id=m$id[i],sourceRow=if(selectedKind=='country')m$sourceRow[i]else as.integer(m$sourceRow[i]),originalID=m$originalID[i],foldGroup=m$foldGroup[i],fold=m$fold[i],a=m$a[i],y=nv(m$y[i]),x=lapply(as.list(m$x[i,]),nv),eligible=z$eligible[i],eRaw=nv(z$eRaw[i]),e=nv(z$e[i]),mu0=nv(z$mu0[i]),mu1=nv(z$mu1[i]),plugin=nv(z$plugin[i]),score=nv(z$score[i]),IPWContribution=nv(z$ipw[i])))\n fits<-lapply(z$fits,function(fit){co<-z$meanX[[fit$fold+1L]];list(fold=fit$fold,fit=fit$name,trainingIDs=as.list(fit$trainingIDs),rows=fit$rows,rank=fit$rank,unique=TRUE,theta=as.list(fit$theta),minimumObjective=fit$minimumObjective,meanX=as.list(co$mean),scales=as.list(co$scale))});unit<-switch(selectedKind,country='GDP growth contrast, percentage points',person='native real1978earnings/10000',company='post-minus-pre FTE employees')\n list(kind=selectedKind,unit=unit,rows=rows,fits=fits,AIPW=mean(v),plugin=mean(z$plugin[ix]),IPW=mean(z$ipw[ix]),normalizedIPWContrast=norm,stressMinimum=lo$objective,stressMaximum=hi$objective,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\n\n# Owned numerical fixed-example adapters; not arbitrary exact input validators.\nnum<-function(v){if(is.null(v))return(NULL);if(is.numeric(v))return(as.numeric(v));s<-strsplit(as.character(v),'/',fixed=TRUE)[[1]];if(length(s)==2)as.numeric(s[1])/as.numeric(s[2])else as.numeric(v)}\nopt<-function(a,key,default)if(is.null(a[[key]]))default else a[[key]]\nmaybe<-function(v)if(is.null(v))list(defined=FALSE)else list(defined=TRUE,value=v)\nweighted<-function(v,w){if(!length(w)||sum(w)==0)return(NULL);sum(v*w)/sum(w)}\nfixedEffects<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){r<-a$rows[[i]];w<-num(opt(r,'weight',1));if(w<0)stop('negative-analysis-weight');y0<-num(r$y0);y1<-num(r$y1);A<-num(r$a);list(id=opt(r,'id',as.character(i-1L)),a=A,y0=y0,y1=y1,w=w,effect=if(is.null(y0)||is.null(y1))NULL else y1-y0,observed=if(is.null(A))NULL else if(A==1)y1 else y0)})\n complete<-Filter(function(r)r$w>0&&!is.null(r$effect),rr);treated<-Filter(function(r)!is.null(r$a)&&r$a==1,complete);avg<-function(rows,key)weighted(vapply(rows,function(r)r[[key]],numeric(1)),vapply(rows,function(r)r$w,numeric(1)));arm<-lapply(0:1,function(A)avg(Filter(function(r)!is.null(r$a)&&r$a==A&&!is.null(r$observed)&&r$w>0,rr),'observed'));list(rows=rr,completeRows=length(complete),ATE=avg(complete,'effect'),ATT=avg(treated,'effect'),observedContrast=if(any(vapply(arm,is.null,logical(1))))NULL else arm[[2]]-arm[[1]])\n}\nfixedAipw<-function(a){\n rr<-lapply(seq_along(a$rows),function(i){v<-a$rows[[i]];w<-num(opt(v,'weight',1));if(w<0)stop('negative-analysis-weight');r<-list(id=opt(v,'id',as.character(i-1L)),a=num(v$a),y=num(v$y),e=num(v$e),mu0=num(v$mu0),mu1=num(v$mu1),w=w,role=opt(v,'role','analysis'),group=opt(v,'group','all'));reason<-if(w==0)'zero-weight'else if(r$role%in%c('excluded','unused'))'inactive-role'else if(any(vapply(r[c('a','y','e','mu0','mu1')],is.null,logical(1))))'missing-required-field'else if(r$e%in%c(0,1))'nonoverlap-boundary-propensity'else NULL;r$eligible<-is.null(reason);r$reason<-reason\n  if(is.null(reason)){r$plugin<-r$mu1-r$mu0;r$treatedResidual<-if(r$a==1)(r$y-r$mu1)/r$e else 0;r$controlResidual<-if(r$a==0)(r$y-r$mu0)/(1-r$e)else 0;r$score<-maybe(r$plugin+r$treatedResidual-r$controlResidual);r$IPWContribution<-if(r$a==1)r$y/r$e else-r$y/(1-r$e);r$effectiveArmWeight<-w/if(r$a==1)r$e else 1-r$e}else r$score<-maybe(NULL);r})\n summary<-function(rows){mass<-sum(vapply(rows,function(r)r$w,numeric(1)));avg<-function(key){if(!mass)return(NULL);sum(vapply(rows,function(r)r$w*if(key=='score')r$score$value else r[[key]],numeric(1)))/mass};arms<-lapply(0:1,function(A){arm<-Filter(function(r)r$a==A,rows);w<-vapply(arm,function(r)r$effectiveArmWeight,numeric(1));list(a=A,rows=length(arm),weightedArmDenominator=sum(w),normalizedMean=maybe(weighted(vapply(arm,function(r)r$y,numeric(1)),w)))});list(rows=length(rows),mass=mass,AIPW=maybe(avg('score')),plugin=maybe(avg('plugin')),IPW=maybe(avg('IPWContribution')),normalizedArmMeans=arms,normalizedIPWContrast=maybe(if(all(vapply(arms,function(r)r$normalizedMean$defined,logical(1))))arms[[2]]$normalizedMean$value-arms[[1]]$normalizedMean$value else NULL))}\n use<-Filter(function(r)r$eligible,rr);roles<-unique(vapply(rr,function(r)r$role,character(1)));groups<-unique(vapply(rr,function(r)r$group,character(1)));list(rows=rr,overall=summary(use),byRole=lapply(roles,function(role)c(list(role=role),summary(Filter(function(r)r$role==role,use)))),byGroup=lapply(groups,function(g)c(list(group=g),summary(Filter(function(r)r$group==g,use)))),overlapExcluded=as.list(vapply(Filter(function(r)identical(r$reason,'nonoverlap-boundary-propensity'),rr),function(r)r$id,character(1))))\n}\nfixedRepresentation<-function(a){\n atoms<-lapply(a$atoms,function(r)list(id=r$id,p=num(r$probability),y0=num(r$y0),y1=num(r$y1),e=num(r$e),phi=r$phi));if(abs(sum(vapply(atoms,function(r)r$p,numeric(1)))-1)>1e-12)stop('law-probabilities-must-sum-one');ATE<-sum(vapply(atoms,function(r)r$p*(r$y1-r$y0),numeric(1)));phis<-unique(vapply(Filter(function(r)r$p>0,atoms),function(r)r$phi,character(1)));groups<-lapply(phis,function(phi){use<-Filter(function(r)r$phi==phi&&r$p>0,atoms);mass<-sum(vapply(use,function(r)r$p,numeric(1)));t<-sum(vapply(use,function(r)r$p*r$e,numeric(1)));m1<-if(t>0)sum(vapply(use,function(r)r$p*r$e*r$y1,numeric(1)))/t else NULL;m0<-if(mass-t>0)sum(vapply(use,function(r)r$p*(1-r$e)*r$y0,numeric(1)))/(mass-t)else NULL;list(phi=phi,mass=mass,e=t/mass,mu0=m0,mu1=m1,contrast=if(is.null(m0)||is.null(m1))NULL else m1-m0)});adjusted<-if(any(vapply(groups,function(r)is.null(r$contrast),logical(1))))NULL else sum(vapply(groups,function(r)r$mass*r$contrast,numeric(1)));list(atoms=atoms,groups=groups,ATE=ATE,adjustedContrast=adjusted,bias=if(is.null(adjusted))NULL else adjusted-ATE)\n}\nfixedRobust<-function(a){\n values<-vapply(a$values,num,numeric(1));p<-if(is.null(a$probabilities))rep(1/length(values),length(values))else vapply(a$probabilities,num,numeric(1));radius<-num(opt(a,'radius','1/10'));cap<-num(opt(a,'cap',2));if(cap<1||radius<0||radius>1)stop('invalid-robust-constraint')\n go<-function(sign){q<-p;upper<-pmin(1,cap*p);order<-order(sign*values,seq_along(values));lo<-order;hi<-rev(order);i<-j<-1L;budget<-radius;N<-length(values)\n while(budget>1e-14&&i<=N&&j<=N){d<-lo[i];h<-hi[j];if(sign*values[h]<=sign*values[d])break;move<-min(q[d],upper[h]-q[h],budget);if(move>0){q[d]<-q[d]-move;q[h]<-q[h]+move;budget<-budget-move};if(q[d]<=1e-14)i<-i+1L;if(upper[h]-q[h]<=1e-14)j<-j+1L};list(q=q,value=sum(q*values),TV=sum(abs(q-p))/2)};lo<-go(-1);hi<-go(1);list(values=as.list(values),p=as.list(p),radius=radius,cap=cap,baseline=sum(values*p),minimum=lo$value,maximum=hi$value,minWeights=as.list(lo$q),maxWeights=as.list(hi$q),minTV=lo$TV,maxTV=hi$TV)\n}\nfixedValidate<-function(a){\n rr<-a$rows;cc<-a$candidates;groups<-unlist(a$requiredGroups);eligible<-vapply(seq_along(rr),function(i){r<-rr[[i]];!is.null(r$y)&&num(opt(r,'weight',1))>0&&!r$role%in%c('excluded','unused')&&all(vapply(cc,function(c)!is.null(c$predictions[[i]]),logical(1)))},logical(1));out<-lapply(cc,function(c){risk<-function(ix){if(!length(ix))return(NULL);weighted(vapply(ix,function(i)(num(c$predictions[[i]])-num(rr[[i]]$y))^2,numeric(1)),vapply(ix,function(i)num(opt(rr[[i]],'weight',1)),numeric(1)))};vr<-which(eligible&vapply(rr,function(r)r$role=='validation',logical(1)));tr<-which(eligible&vapply(rr,function(r)r$role=='test',logical(1)));gv<-lapply(groups,function(g)risk(vr[vapply(rr[vr],function(r)r$group==g,logical(1))]));worst<-if(any(vapply(gv,is.null,logical(1))))NULL else max(unlist(gv));list(id=c$id,validationMean=risk(vr),validationGroupRisks=gv,validationWorst=worst,testMean=risk(tr),criterion=if(opt(a,'criterion','worst-group')=='mean')risk(vr)else worst)});available<-which(!vapply(out,function(r)is.null(r$criterion),logical(1)));selected<-if(length(available))available[which.min(vapply(out[available],function(r)r$criterion,numeric(1)))]else NULL;list(commonEligibility=as.list(eligible),groups=as.list(groups),candidates=out,selectedIndex=if(is.null(selected))NULL else selected-1L,selectedID=if(is.null(selected))NULL else out[[selected]]$id,selectedScore=if(is.null(selected))NULL else out[[selected]]$criterion)\n}\nfixedOperation<-function(api,a)switch(api,effects=fixedEffects(a),aipw=fixedAipw(a),representation=fixedRepresentation(a),robust=fixedRobust(a),validate=fixedValidate(a),realdata=fixedSource(a$kind))\nreportValues<-function(api,z){summary<-list();points<-list();add<-function(k,v,u){if(length(v)==1&&is.na(v))v<-NULL;summary[[length(summary)+1L]]<<-list(metric=k,value=v,unit=u)};series<-function(name,values){for(i in seq_along(values)){v<-values[[i]];points[[length(points)+1L]]<<-list(series=name,index=i-1L,x=i,y=v)}}\n if(api=='effects'){for(k in c('completeRows','ATE','ATT','observedContrast'))add(k,z[[k]],if(k=='completeRows')'rows'else'constructed outcome units');series('known constructed effects',lapply(z$rows,function(r)r$effect))}\n else if(api=='aipw'){for(k in c('AIPW','plugin','IPW','normalizedIPWContrast'))add(k,z$overall[[k]]$value,'constructed outcome units');add('eligibleRows',z$overall$rows,'rows');series('AIPW row scores',lapply(z$rows,function(r)r$score$value))}\n else if(api=='representation'){for(k in c('ATE','adjustedContrast','bias'))add(k,z[[k]],'constructed outcome units');series('representation contrasts',lapply(z$groups,function(r)r$contrast))}\n else if(api=='robust'){for(k in c('baseline','minimum','maximum'))add(k,z[[k]],'declared value units');for(k in c('minTV','maxTV'))add(k,z[[k]],'probability mass');series('minimum weights',z$minWeights);series('maximum weights',z$maxWeights)}\n else if(api=='validate'){add('selectedIndex',z$selectedIndex,'zero-based candidate index');add('selectedScore',z$selectedScore,'squared outcome units');series('validation criterion',lapply(z$candidates,function(c)c$criterion))}\n else{for(k in c('AIPW','plugin','IPW','normalizedIPWContrast','stressMinimum','stressMaximum'))add(k,z[[k]],z$unit);add('sourceRows',length(z$rows),'analytical records');add('eligibleRows',sum(vapply(z$rows,function(r)r$eligible,logical(1))),'records');series('actual out-of-fold scores',lapply(z$rows,function(r)r$score))};list(summary=summary,points=points)\n}\n\nescapeXML<-function(s){s<-gsub('&','&amp;',s,fixed=TRUE);s<-gsub('<','&lt;',s,fixed=TRUE);s<-gsub('>','&gt;',s,fixed=TRUE);gsub('\"','&quot;',s,fixed=TRUE)}\nsvgPlot<-function(pp,title){\n xx<-vapply(pp,function(p)as.numeric(p$x),numeric(1));yy<-vapply(pp,function(p)as.numeric(p$y),numeric(1));xmin<-if(length(xx))min(xx)else 0;xmax<-if(length(xx))max(xx)else 1;ymin<-min(c(0,yy));ymax<-max(c(0,yy));if(xmin==xmax){xmin<-xmin-.5;xmax<-xmax+.5};if(ymin==ymax){ymin<-ymin-.5;ymax<-ymax+.5};pad<-(ymax-ymin)*.08;ymin<-ymin-pad;ymax<-ymax+pad;X<-function(x)82+(as.numeric(x)-xmin)/(xmax-xmin)*608;Y<-function(y)354-(as.numeric(y)-ymin)/(ymax-ymin)*290\n out<-paste0('<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"720\" height=\"480\" viewBox=\"0 0 720 480\" role=\"img\" aria-label=\"',escapeXML(title),'\"><rect width=\"720\" height=\"480\" fill=\"white\"/><g font-family=\"Arial,sans-serif\" font-size=\"13\" fill=\"#18232f\"><text x=\"360\" y=\"25\" text-anchor=\"middle\">',escapeXML(title),'</text>')\n for(j in 0:4){y<-ymin+(ymax-ymin)*j/4;x<-xmin+(xmax-xmin)*j/4;out<-paste0(out,'<line x1=\"82\" y1=\"',Y(y),'\" x2=\"690\" y2=\"',Y(y),'\" stroke=\"#e2e8f0\"/><text x=\"73\" y=\"',Y(y)+4,'\" text-anchor=\"end\">',sprintf('%.3g',y),'</text><text x=\"',X(x),'\" y=\"380\" text-anchor=\"middle\">',sprintf('%.3g',x),'</text>')}\n ss<-unique(vapply(pp,`[[`,character(1),'series'));cols<-c('#0f766e','#c76622','#4f46e5','#b23857')\n for(j in seq_along(ss)){rr<-Filter(function(p)p$series==ss[j],pp);xy<-vapply(rr,function(p)sprintf('%.6f,%.6f',X(p$x),Y(p$y)),character(1));col<-cols[(j-1)%%4+1];out<-paste0(out,'<polyline fill=\"none\" stroke=\"',col,'\" stroke-width=\"1.5\" points=\"',paste(xy,collapse=' '),'\"/>');for(p in rr)out<-paste0(out,'<circle cx=\"',sprintf('%.6f',X(p$x)),'\" cy=\"',sprintf('%.6f',Y(p$y)),'\" r=\"2.6\" fill=\"',col,'\"><title>',escapeXML(ss[j]),': ',escapeXML(p$y),'</title></circle>');out<-paste0(out,'<text x=\"',82+((j-1)%%2)*310,'\" y=\"',432+floor((j-1)/2)*23,'\" fill=\"',col,'\">',escapeXML(ss[j]),'</text>')}\n paste0(out,'<text x=\"360\" y=\"405\" text-anchor=\"middle\">Declared row / representation index; units in summary</text></g></svg>')\n}\n\ntoJSON<-function(x){\n if(is.null(x))return('null');if(is.list(x)){v<-vapply(x,toJSON,character(1));if(!is.null(names(x)))paste0('{',paste(paste0(vapply(names(x),toJSON,character(1)),':',v),collapse=','),'}')else paste0('[',paste(v,collapse=','),']')}\n else if(length(x)!=1){if(!is.null(names(x)))toJSON(as.list(x))else paste0('[',paste(vapply(as.list(x),toJSON,character(1)),collapse=','),']')}\n else if(is.na(x))'null'else if(is.logical(x))if(x)'true'else'false'else if(is.numeric(x))if(is.finite(x))sprintf('%.17g',x)else'null'else paste0('\"',gsub('\\n','\\\\n',gsub('\"','\\\\\"',gsub('\\\\','\\\\\\\\',x,fixed=TRUE),fixed=TRUE),fixed=TRUE),'\"')\n}\n\nFIXED<-list(\"api\"=\"realdata\",\"variant\"=\"company\",\"title\"=\"Actual NJPA stores: generic FTE-change scores\",\"input\"=list(\"kind\"=\"company\"),\"expectedFailure\"=FALSE)\n\nargs<-commandArgs(trailingOnly=TRUE);out<-if(length(args))args[1]else stop('NEW output directory required');if(dir.exists(out))stop('Preserve previous output directory');dir.create(out,recursive=TRUE)\nz<-fixedOperation(FIXED$api,FIXED$input);rr<-reportValues(FIXED$api,z)\nwriteLines(toJSON(list(arithmetic='BaseR binary64 numerical counterpart; factualsource groupSHA256,lambda.01 and empiricalTVtolerances1e-14/12places; notcausalCI',result=z)),file.path(out,'full.json'),useBytes=TRUE)\nsums<-do.call(rbind,lapply(rr$summary,function(row)data.frame(metric=row$metric,value=if(is.null(row$value))''else if(is.logical(row$value))as.character(as.integer(row$value))else format(row$value,digits=17,scientific=NA,trim=TRUE),unit=row$unit,defined=as.integer(!is.null(row$value)),stringsAsFactors=FALSE)))\npoints<-do.call(rbind,lapply(rr$points,function(p)data.frame(series=p$series,index=p$index,x=p$x,y=if(is.null(p$y))NA_real_ else p$y,defined=as.integer(!is.null(p$y)),stringsAsFactors=FALSE)))\nwrite.csv(sums,file.path(out,'summary.csv'),row.names=FALSE,na='');write.csv(points,file.path(out,'plot-points.csv'),row.names=FALSE,na='');writeLines(svgPlot(Filter(function(p)!is.null(p$y),rr$points),FIXED$title),file.path(out,'plot.svg'),useBytes=TRUE);cat(FIXED$api,'/',FIXED$variant,'\\n',sep='')\n",
        "returnCode": 0,
        "stdout": "realdata/company\r\n",
        "stderr": "During startup - Warning messages:\n1: Setting LC_COLLATE=C.UTF-8 failed \n2: Setting LC_CTYPE=C.UTF-8 failed \n3: Setting LC_MONETARY=C.UTF-8 failed \n4: Setting LC_TIME=C.UTF-8 failed ",
        "diagnosticScope": "Public projection omits local absolute paths/traceback frames only; original streams,commands,timing and codeSHA preserved privately.",
        "resultFolder": "ml21-code/r-realdata-company-result",
        "kind": "company",
        "inputFiles": [
          {
            "file": "ml21-code/realdata-company-input.json",
            "sha256": "a1b83d2aa0cd5bb053929424eb4e52383adea8784b20763e49280728ce837b14",
            "scope": "Matching fixed literal reference JSON; complete inputs embedded inline in code"
          },
          {
            "file": "ml21-code/data/actual48-country-revised-original-2023-2024.csv",
            "sha256": "bd444c284344c21f8b980885aea1b76af20754bb31e31d9d9e111ecd44c1454e",
            "scope": "Actively read factual CSV"
          },
          {
            "file": "ml21-code/data/actual38408-NSW-all15-fields.csv",
            "sha256": "346be71909903ab5050146d4fc6eabd86320da3511df612d6ae877c775853014",
            "scope": "Actively read factual CSV"
          },
          {
            "file": "ml21-code/data/actual410-NJPA-all46-fields.csv",
            "sha256": "0e89461df7e5dfecef38e91d474480f8083577fab0c2a8d4285896c8ed2ee669",
            "scope": "Actively read factual CSV"
          }
        ],
        "files": [
          {
            "file": "ml21-code/r-realdata-company-result/full.json",
            "sha256": "f6944b7500cfb9cd1e20d76e8725d0432f94e61494394c84aa9bbf8ddc94d792",
            "bytes": 189599
          },
          {
            "file": "ml21-code/r-realdata-company-result/plot-points.csv",
            "sha256": "6f0e52297e6bfe6ababe7ac334dbe2da0cc3f842f4bd412d6bc67745cc47c61e",
            "bytes": 22531
          },
          {
            "file": "ml21-code/r-realdata-company-result/plot.svg",
            "sha256": "9f6fb86d8d710bcc8bfad59db95dbd5d93f80da4b0ff9e48bbeb3cc8bb94582e",
            "bytes": 59939
          },
          {
            "file": "ml21-code/r-realdata-company-result/summary.csv",
            "sha256": "b73d1cc31a93a9c13e111a57faa00fb2aba029ac41018782bd1fe7b507134515",
            "bytes": 522
          },
          {
            "file": "ml21-code/r-realdata-company-result/stdout.txt",
            "sha256": "75c0d85d04b7f730fc7a47fc9a6e40905a176de58ade8415a4a3ef252434c4a1",
            "bytes": 18
          },
          {
            "file": "ml21-code/r-realdata-company-result/stderr.txt",
            "sha256": "b807bd2d0f7060ea384b0ac2317cda2d63a4f59f63b4a901b9e665fead79627d",
            "bytes": 182
          }
        ],
        "summaryRows": [
          {
            "metric": "AIPW",
            "value": "0.85391161",
            "unit": "post-minus-pre FTE employees",
            "defined": "true",
            "rawValue": "0.85391161029486795",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "plugin",
            "value": "1.54865241",
            "unit": "post-minus-pre FTE employees",
            "defined": "true",
            "rawValue": "1.5486524068297642",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "IPW",
            "value": "1.30436222",
            "unit": "post-minus-pre FTE employees",
            "defined": "true",
            "rawValue": "1.3043622165625384",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "normalizedIPWContrast",
            "value": "1.2612583",
            "unit": "post-minus-pre FTE employees",
            "defined": "true",
            "rawValue": "1.2612583012567185",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "stressMinimum",
            "value": "-5.94482984",
            "unit": "post-minus-pre FTE employees",
            "defined": "true",
            "rawValue": "-5.9448298416358654",
            "exactFraction": "",
            "mathematicallyPositive": false,
            "mathematicallyNegative": true,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "stressMaximum",
            "value": "7.65265306",
            "unit": "post-minus-pre FTE employees",
            "defined": "true",
            "rawValue": "7.6526530622256015",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "sourceRows",
            "value": "410",
            "unit": "analytical records",
            "defined": "true",
            "rawValue": "410",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          },
          {
            "metric": "eligibleRows",
            "value": "384",
            "unit": "records",
            "defined": "true",
            "rawValue": "384",
            "exactFraction": "",
            "mathematicallyPositive": true,
            "mathematicallyNegative": false,
            "exactZero": null,
            "displayUnderflow": false,
            "displayOverflow": false,
            "displayRoundedToOne": false,
            "arithmetic": "BaseR numerical counterpart"
          }
        ],
        "plotRows": [
          {
            "series": "actual out-of-fold scores",
            "index": 0,
            "x": "1",
            "y": "33.898143943046101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 1,
            "x": "2",
            "y": "35.567041722552901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 2,
            "x": "3",
            "y": "8.3100492482031605",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 3,
            "x": "4",
            "y": "25.575020055044199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 4,
            "x": "5",
            "y": "-77.805898439949104",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 5,
            "x": "6",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 6,
            "x": "7",
            "y": "60.870394927351001",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 7,
            "x": "8",
            "y": "-68.470171425166697",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 8,
            "x": "9",
            "y": "1.85031908884042",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 9,
            "x": "10",
            "y": "30.515685624725599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 10,
            "x": "11",
            "y": "-8.9066165459489604",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 11,
            "x": "12",
            "y": "39.823334387192602",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 12,
            "x": "13",
            "y": "-25.108804271659899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 13,
            "x": "14",
            "y": "-1.752377688113",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 14,
            "x": "15",
            "y": "1.7497296321568101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 15,
            "x": "16",
            "y": "-37.823219342935303",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 16,
            "x": "17",
            "y": "-21.1098691805974",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 17,
            "x": "18",
            "y": "-22.6129119469906",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 18,
            "x": "19",
            "y": "48.606499214543",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 19,
            "x": "20",
            "y": "33.772369282089898",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 20,
            "x": "21",
            "y": "23.167276527389699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 21,
            "x": "22",
            "y": "34.394617004860699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 22,
            "x": "23",
            "y": "5.3880308420647696",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 23,
            "x": "24",
            "y": "4.6040991599659602",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 24,
            "x": "25",
            "y": "-16.471462035359501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 25,
            "x": "26",
            "y": "10.780598681146801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 26,
            "x": "27",
            "y": "-3.47488463089844",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 27,
            "x": "28",
            "y": "8.8770134090960298",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 28,
            "x": "29",
            "y": "29.353393814144798",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 29,
            "x": "30",
            "y": "-3.62079451126468",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 30,
            "x": "31",
            "y": "-31.470484305474798",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 31,
            "x": "32",
            "y": "32.356310639975803",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 32,
            "x": "33",
            "y": "-4.2576972217587299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 33,
            "x": "34",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 34,
            "x": "35",
            "y": "-22.420087235776201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 35,
            "x": "36",
            "y": "-12.195045006632",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 36,
            "x": "37",
            "y": "-24.2490873284525",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 37,
            "x": "38",
            "y": "25.979705112054301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 38,
            "x": "39",
            "y": "10.7722663518802",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 39,
            "x": "40",
            "y": "14.0211324378578",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 40,
            "x": "41",
            "y": "-14.1202868892972",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 41,
            "x": "42",
            "y": "5.35855801660741",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 42,
            "x": "43",
            "y": "10.6332400799403",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 43,
            "x": "44",
            "y": "13.6412867766504",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 44,
            "x": "45",
            "y": "-1.06983818854716",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 45,
            "x": "46",
            "y": "-10.616909596585799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 46,
            "x": "47",
            "y": "9.5254838321483302",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 47,
            "x": "48",
            "y": "36.625991938045402",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 48,
            "x": "49",
            "y": "-0.70233959932807899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 49,
            "x": "50",
            "y": "55.291609636026998",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 50,
            "x": "51",
            "y": "6.5511643359640601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 51,
            "x": "52",
            "y": "-38.468832375088603",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 52,
            "x": "53",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 53,
            "x": "54",
            "y": "-15.438505439333699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 54,
            "x": "55",
            "y": "-68.542383419082398",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 55,
            "x": "56",
            "y": "-113.615664646409",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 56,
            "x": "57",
            "y": "-26.533976752250702",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 57,
            "x": "58",
            "y": "10.405663294202",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 58,
            "x": "59",
            "y": "-9.3432330819345495",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 59,
            "x": "60",
            "y": "20.388965669201401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 60,
            "x": "61",
            "y": "37.153033479477799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 61,
            "x": "62",
            "y": "-82.864157410480004",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 62,
            "x": "63",
            "y": "28.1655091709126",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 63,
            "x": "64",
            "y": "3.1109440840606202",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 64,
            "x": "65",
            "y": "21.4366641799208",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 65,
            "x": "66",
            "y": "38.4156554641811",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 66,
            "x": "67",
            "y": "-13.221011545847199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 67,
            "x": "68",
            "y": "102.367534095501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 68,
            "x": "69",
            "y": "3.6881078868569799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 69,
            "x": "70",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 70,
            "x": "71",
            "y": "-18.456018929789298",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 71,
            "x": "72",
            "y": "-117.785864479342",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 72,
            "x": "73",
            "y": "-138.08283586091801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 73,
            "x": "74",
            "y": "27.378744092907901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 74,
            "x": "75",
            "y": "15.313788373827499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 75,
            "x": "76",
            "y": "-69.531986538926205",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 76,
            "x": "77",
            "y": "43.675331300417298",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 77,
            "x": "78",
            "y": "18.3846589479047",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 78,
            "x": "79",
            "y": "14.9499554102599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 79,
            "x": "80",
            "y": "11.816566516796",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 80,
            "x": "81",
            "y": "3.0278929546396198",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 81,
            "x": "82",
            "y": "1.4320370436080401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 82,
            "x": "83",
            "y": "5.6495102339734302",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 83,
            "x": "84",
            "y": "15.344080668543899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 84,
            "x": "85",
            "y": "-5.0306650051875996",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 85,
            "x": "86",
            "y": "-22.812854609680201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 86,
            "x": "87",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 87,
            "x": "88",
            "y": "20.0664689463086",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 88,
            "x": "89",
            "y": "14.603324086986399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 89,
            "x": "90",
            "y": "-0.79630071612696796",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 90,
            "x": "91",
            "y": "-1.3573672109252699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 91,
            "x": "92",
            "y": "-3.44860713914214",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 92,
            "x": "93",
            "y": "40.873257746838902",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 93,
            "x": "94",
            "y": "-1.1110744498426499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 94,
            "x": "95",
            "y": "0.80113794238205505",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 95,
            "x": "96",
            "y": "28.826915427298498",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 96,
            "x": "97",
            "y": "-1.5631724448828199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 97,
            "x": "98",
            "y": "-2.9760948362036301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 98,
            "x": "99",
            "y": "-10.849531267451599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 99,
            "x": "100",
            "y": "-6.7129093841184497",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 100,
            "x": "101",
            "y": "-8.2534745520307098",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 101,
            "x": "102",
            "y": "1.87089583475698",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 102,
            "x": "103",
            "y": "-10.510734474227499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 103,
            "x": "104",
            "y": "16.1883495831385",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 104,
            "x": "105",
            "y": "10.1895476124051",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 105,
            "x": "106",
            "y": "-0.80452509362787505",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 106,
            "x": "107",
            "y": "-3.4731230963913999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 107,
            "x": "108",
            "y": "15.4116093302205",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 108,
            "x": "109",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 109,
            "x": "110",
            "y": "1.2320156670437401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 110,
            "x": "111",
            "y": "9.82729466013528",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 111,
            "x": "112",
            "y": "-3.4123201298893502",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 112,
            "x": "113",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 113,
            "x": "114",
            "y": "2.3788732269965802",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 114,
            "x": "115",
            "y": "1.3525504576849201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 115,
            "x": "116",
            "y": "-10.915129764493001",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 116,
            "x": "117",
            "y": "-7.2153376177581796",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 117,
            "x": "118",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 118,
            "x": "119",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 119,
            "x": "120",
            "y": "0.30252301629248102",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 120,
            "x": "121",
            "y": "-0.55809241656798503",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 121,
            "x": "122",
            "y": "-8.7626584963712908",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 122,
            "x": "123",
            "y": "3.9301742261906099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 123,
            "x": "124",
            "y": "-19.787670610266002",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 124,
            "x": "125",
            "y": "-15.4663552609593",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 125,
            "x": "126",
            "y": "0.31568357387642998",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 126,
            "x": "127",
            "y": "20.813576455668201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 127,
            "x": "128",
            "y": "0.70815224951148203",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 128,
            "x": "129",
            "y": "-5.4000448617491204",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 129,
            "x": "130",
            "y": "-4.1773809753845903",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 130,
            "x": "131",
            "y": "2.2514121333066202",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 131,
            "x": "132",
            "y": "17.871768760789099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 132,
            "x": "133",
            "y": "-1.1612160815938699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 133,
            "x": "134",
            "y": "2.1609193260569599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 134,
            "x": "135",
            "y": "-1.60420571606202",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 135,
            "x": "136",
            "y": "-7.6398987445918598",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 136,
            "x": "137",
            "y": "2.8340498568619399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 137,
            "x": "138",
            "y": "-2.4519122690387398",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 138,
            "x": "139",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 139,
            "x": "140",
            "y": "-5.0442636377055097",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 140,
            "x": "141",
            "y": "-5.8799791991393899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 141,
            "x": "142",
            "y": "4.5902203805956496",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 142,
            "x": "143",
            "y": "5.5971996295644502",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 143,
            "x": "144",
            "y": "-0.23752563283886199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 144,
            "x": "145",
            "y": "0.044098676865731899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 145,
            "x": "146",
            "y": "-2.3205158161260702",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 146,
            "x": "147",
            "y": "3.8820174467218602",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 147,
            "x": "148",
            "y": "-3.3201880050899302",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 148,
            "x": "149",
            "y": "3.69984930028266",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 149,
            "x": "150",
            "y": "-13.1960592326922",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 150,
            "x": "151",
            "y": "-6.3584244389766704",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 151,
            "x": "152",
            "y": "-5.4688983503661603",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 152,
            "x": "153",
            "y": "13.8035206086122",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 153,
            "x": "154",
            "y": "-5.3928037368424198",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 154,
            "x": "155",
            "y": "-3.8151675333815902",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 155,
            "x": "156",
            "y": "-9.0441624853041596",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 156,
            "x": "157",
            "y": "-6.6128956131621601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 157,
            "x": "158",
            "y": "-7.5136497205685702",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 158,
            "x": "159",
            "y": "-4.4355084657469197",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 159,
            "x": "160",
            "y": "10.7088366664416",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 160,
            "x": "161",
            "y": "2.6747459863135798",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 161,
            "x": "162",
            "y": "11.118883143140399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 162,
            "x": "163",
            "y": "-16.801375071375201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 163,
            "x": "164",
            "y": "17.8448800785267",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 164,
            "x": "165",
            "y": "6.0054868515631199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 165,
            "x": "166",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 166,
            "x": "167",
            "y": "10.3083551081327",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 167,
            "x": "168",
            "y": "-0.103158006817705",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 168,
            "x": "169",
            "y": "-24.8330826991956",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 169,
            "x": "170",
            "y": "19.713991055832199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 170,
            "x": "171",
            "y": "-3.3321371763041499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 171,
            "x": "172",
            "y": "-8.2863968309562495",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 172,
            "x": "173",
            "y": "3.6443666703932198",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 173,
            "x": "174",
            "y": "8.7495701111230808",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 174,
            "x": "175",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 175,
            "x": "176",
            "y": "-12.0336332982562",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 176,
            "x": "177",
            "y": "0.30469659213035299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 177,
            "x": "178",
            "y": "1.6048169631870901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 178,
            "x": "179",
            "y": "5.3709664443047398",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 179,
            "x": "180",
            "y": "-8.2863968309562495",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 180,
            "x": "181",
            "y": "-1.4201686915621801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 181,
            "x": "182",
            "y": "-3.32859746427303",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 182,
            "x": "183",
            "y": "10.6266833838576",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 183,
            "x": "184",
            "y": "6.4227149063393298",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 184,
            "x": "185",
            "y": "13.508489368840101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 185,
            "x": "186",
            "y": "-9.0422367580924092",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 186,
            "x": "187",
            "y": "-7.5476536573584401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 187,
            "x": "188",
            "y": "5.8306468336197002",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 188,
            "x": "189",
            "y": "5.1783012591447299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 189,
            "x": "190",
            "y": "-4.8132703562787302",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 190,
            "x": "191",
            "y": "-2.9928279754612501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 191,
            "x": "192",
            "y": "-6.7466300299191699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 192,
            "x": "193",
            "y": "2.5208369784528299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 193,
            "x": "194",
            "y": "-3.0193957424382498",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 194,
            "x": "195",
            "y": "0.76171402118424503",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 195,
            "x": "196",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 196,
            "x": "197",
            "y": "-5.0791458207194502",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 197,
            "x": "198",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 198,
            "x": "199",
            "y": "13.5853023421627",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 199,
            "x": "200",
            "y": "-3.888052085385",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 200,
            "x": "201",
            "y": "-9.4398479119943506",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 201,
            "x": "202",
            "y": "-3.8859853596112299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 202,
            "x": "203",
            "y": "-8.9274735677606998",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 203,
            "x": "204",
            "y": "21.6258500951567",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 204,
            "x": "205",
            "y": "6.8946225801132996",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 205,
            "x": "206",
            "y": "-4.8063808941749198",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 206,
            "x": "207",
            "y": "20.173739133548299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 207,
            "x": "208",
            "y": "2.4305381240985802",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 208,
            "x": "209",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 209,
            "x": "210",
            "y": "12.408336644880601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 210,
            "x": "211",
            "y": "-3.2042519638182601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 211,
            "x": "212",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 212,
            "x": "213",
            "y": "3.9301742261906099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 213,
            "x": "214",
            "y": "0.249129963547464",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 214,
            "x": "215",
            "y": "4.50676006404756",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 215,
            "x": "216",
            "y": "6.155243001154",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 216,
            "x": "217",
            "y": "-12.988284589565099",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 217,
            "x": "218",
            "y": "-2.0832801601373498",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 218,
            "x": "219",
            "y": "-4.2048970735545703",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 219,
            "x": "220",
            "y": "-4.8736785787849302",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 220,
            "x": "221",
            "y": "9.7423712505512601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 221,
            "x": "222",
            "y": "0.0058414785187535",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 222,
            "x": "223",
            "y": "-7.5731798597512103",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 223,
            "x": "224",
            "y": "-32.025535294814098",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 224,
            "x": "225",
            "y": "4.70657980611049",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 225,
            "x": "226",
            "y": "-4.2233843478437496",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 226,
            "x": "227",
            "y": "5.7703011513972404",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 227,
            "x": "228",
            "y": "4.8726677705984898",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 228,
            "x": "229",
            "y": "7.3381998455344197",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 229,
            "x": "230",
            "y": "26.582606254799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 230,
            "x": "231",
            "y": "-15.6506179652252",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 231,
            "x": "232",
            "y": "13.5056213767795",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 232,
            "x": "233",
            "y": "11.0193119640753",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 233,
            "x": "234",
            "y": "6.9313956332134898",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 234,
            "x": "235",
            "y": "2.6957007276561602",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 235,
            "x": "236",
            "y": "21.482666498156899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 236,
            "x": "237",
            "y": "12.8728473176765",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 237,
            "x": "238",
            "y": "-10.255721570664599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 238,
            "x": "239",
            "y": "6.4477082465669797",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 239,
            "x": "240",
            "y": "1.2190447739655801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 240,
            "x": "241",
            "y": "0.017030134289948599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 241,
            "x": "242",
            "y": "3.2446940066262702",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 242,
            "x": "243",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 243,
            "x": "244",
            "y": "9.8337364455425593",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 244,
            "x": "245",
            "y": "7.6120512084860703",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 245,
            "x": "246",
            "y": "3.9463045390669902",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 246,
            "x": "247",
            "y": "39.943596498225901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 247,
            "x": "248",
            "y": "-2.3040416112068902",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 248,
            "x": "249",
            "y": "-3.1770856848396098",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 249,
            "x": "250",
            "y": "8.4907128968390406",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 250,
            "x": "251",
            "y": "-9.8527027899254893",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 251,
            "x": "252",
            "y": "-5.5186833934465396",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 252,
            "x": "253",
            "y": "1.4864461273622001",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 253,
            "x": "254",
            "y": "1.4463574558511201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 254,
            "x": "255",
            "y": "-5.7994397477036701",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 255,
            "x": "256",
            "y": "-1.3851515099437901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 256,
            "x": "257",
            "y": "2.5665685887440901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 257,
            "x": "258",
            "y": "1.7737237779061299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 258,
            "x": "259",
            "y": "2.2998116805161",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 259,
            "x": "260",
            "y": "12.425717414051199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 260,
            "x": "261",
            "y": "14.5179866872778",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 261,
            "x": "262",
            "y": "-10.7999184672101",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 262,
            "x": "263",
            "y": "-5.2547720914672604",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 263,
            "x": "264",
            "y": "-4.5134309309201601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 264,
            "x": "265",
            "y": "-7.1938869996457804",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 265,
            "x": "266",
            "y": "5.2928516047954899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 266,
            "x": "267",
            "y": "-5.3655867818615901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 267,
            "x": "268",
            "y": "3.8712147327797202",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 268,
            "x": "269",
            "y": "-4.4552776860715397",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 269,
            "x": "270",
            "y": "-4.1084370684959701",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 270,
            "x": "271",
            "y": "-2.8785349135655198",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 271,
            "x": "272",
            "y": "3.6477823146478601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 272,
            "x": "273",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 273,
            "x": "274",
            "y": "2.1064941856107602",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 274,
            "x": "275",
            "y": "1.6429148306185899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 275,
            "x": "276",
            "y": "12.984714868801801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 276,
            "x": "277",
            "y": "-13.4847472127231",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 277,
            "x": "278",
            "y": "6.6452725256407996",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 278,
            "x": "279",
            "y": "2.8917419684720498",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 279,
            "x": "280",
            "y": "-1.8904653364580799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 280,
            "x": "281",
            "y": "-2.1184475344681299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 281,
            "x": "282",
            "y": "10.4298639169973",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 282,
            "x": "283",
            "y": "-5.34461501392959",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 283,
            "x": "284",
            "y": "1.7373337568571601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 284,
            "x": "285",
            "y": "11.426614235856601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 285,
            "x": "286",
            "y": "9.2417638822191002",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 286,
            "x": "287",
            "y": "1.3971939392941799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 287,
            "x": "288",
            "y": "11.573934062852",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 288,
            "x": "289",
            "y": "-1.53380056493267",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 289,
            "x": "290",
            "y": "-2.3685335197856201",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 290,
            "x": "291",
            "y": "-3.3988679110492801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 291,
            "x": "292",
            "y": "4.6154307521781401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 292,
            "x": "293",
            "y": "-4.9062334701878996",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 293,
            "x": "294",
            "y": "-9.1211187140339494",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 294,
            "x": "295",
            "y": "-5.1440108659285997",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 295,
            "x": "296",
            "y": "0.75518268641702302",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 296,
            "x": "297",
            "y": "14.200054693434399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 297,
            "x": "298",
            "y": "-3.6700562929424301",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 298,
            "x": "299",
            "y": "4.6676857653221502",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 299,
            "x": "300",
            "y": "9.2019517887401499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 300,
            "x": "301",
            "y": "8.79494293878526",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 301,
            "x": "302",
            "y": "4.6265483417691096",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 302,
            "x": "303",
            "y": "-2.9694658270874501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 303,
            "x": "304",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 304,
            "x": "305",
            "y": "0.14072701299593199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 305,
            "x": "306",
            "y": "29.278726226327599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 306,
            "x": "307",
            "y": "-9.7180406188820605",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 307,
            "x": "308",
            "y": "1.2654727285987",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 308,
            "x": "309",
            "y": "5.2560083127075004",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 309,
            "x": "310",
            "y": "2.6516258881938799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 310,
            "x": "311",
            "y": "2.8480780304514801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 311,
            "x": "312",
            "y": "1.1270956422534499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 312,
            "x": "313",
            "y": "-2.62573313513971",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 313,
            "x": "314",
            "y": "-0.64187595534110597",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 314,
            "x": "315",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 315,
            "x": "316",
            "y": "16.067577266097899",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 316,
            "x": "317",
            "y": "1.6231617779473599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 317,
            "x": "318",
            "y": "-5.2828479247192996",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 318,
            "x": "319",
            "y": "5.2048058383351297",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 319,
            "x": "320",
            "y": "-18.785678515523198",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 320,
            "x": "321",
            "y": "32.3600686205329",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 321,
            "x": "322",
            "y": "4.9176207464590398",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 322,
            "x": "323",
            "y": "-1.9924045894669",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 323,
            "x": "324",
            "y": "-5.4157053357781599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 324,
            "x": "325",
            "y": "-1.12879682697913",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 325,
            "x": "326",
            "y": "-2.3509537867033798",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 326,
            "x": "327",
            "y": "-16.259242978653202",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 327,
            "x": "328",
            "y": "-4.13613677655235",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 328,
            "x": "329",
            "y": "-4.4951787693743297",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 329,
            "x": "330",
            "y": "-0.69738119636900098",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 330,
            "x": "331",
            "y": "-4.511632370729",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 331,
            "x": "332",
            "y": "-2.1411426836413399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 332,
            "x": "333",
            "y": "-2.62558096186345",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 333,
            "x": "334",
            "y": "-5.0287447752608498",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 334,
            "x": "335",
            "y": "-5.1054090565080701",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 335,
            "x": "336",
            "y": "2.05869782902026",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 336,
            "x": "337",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 337,
            "x": "338",
            "y": "20.298682017008399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 338,
            "x": "339",
            "y": "10.764652342843901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 339,
            "x": "340",
            "y": "0.32041072682874699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 340,
            "x": "341",
            "y": "7.2366681778832804",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 341,
            "x": "342",
            "y": "25.170688218445399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 342,
            "x": "343",
            "y": "-3.5523056594560298",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 343,
            "x": "344",
            "y": "-7.7690778853293203",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 344,
            "x": "345",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 345,
            "x": "346",
            "y": "5.0863302697143302",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 346,
            "x": "347",
            "y": "0.84395594758435499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 347,
            "x": "348",
            "y": "-5.0511977050326404",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 348,
            "x": "349",
            "y": "-1.4845606012472199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 349,
            "x": "350",
            "y": "16.0572877653332",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 350,
            "x": "351",
            "y": "1.3125512323844599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 351,
            "x": "352",
            "y": "-4.73293850030214",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 352,
            "x": "353",
            "y": "-3.1843733330230402",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 353,
            "x": "354",
            "y": "-8.7505973042704692",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 354,
            "x": "355",
            "y": "12.057543130920401",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 355,
            "x": "356",
            "y": "-10.379246547276599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 356,
            "x": "357",
            "y": "2.3324416738196598",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 357,
            "x": "358",
            "y": "-0.83547572933856296",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 358,
            "x": "359",
            "y": "-3.86172998306172",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 359,
            "x": "360",
            "y": "0.90319900329679104",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 360,
            "x": "361",
            "y": "-17.5240948166987",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 361,
            "x": "362",
            "y": "1.21311603843188",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 362,
            "x": "363",
            "y": "8.1746751352419196",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 363,
            "x": "364",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 364,
            "x": "365",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 365,
            "x": "366",
            "y": "-5.9580854584425804",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 366,
            "x": "367",
            "y": "2.0076637595197502",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 367,
            "x": "368",
            "y": "11.347168856140399",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 368,
            "x": "369",
            "y": "4.1524295594862402",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 369,
            "x": "370",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 370,
            "x": "371",
            "y": "2.2262822338563599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 371,
            "x": "372",
            "y": "2.7937413857359599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 372,
            "x": "373",
            "y": "-4.5571248380388498",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 373,
            "x": "374",
            "y": "-2.3595262636582102",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 374,
            "x": "375",
            "y": "-17.692952095549501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 375,
            "x": "376",
            "y": "7.4247294964753499",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 376,
            "x": "377",
            "y": "-4.5897903075861599",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 377,
            "x": "378",
            "y": "-0.74141622932388196",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 378,
            "x": "379",
            "y": "9.9004157896931506",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 379,
            "x": "380",
            "y": "5.3797974179665502",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 380,
            "x": "381",
            "y": "-7.9180644264291198",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 381,
            "x": "382",
            "y": "",
            "defined": false,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 382,
            "x": "383",
            "y": "0.37896940119773698",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 383,
            "x": "384",
            "y": "6.1925402613459699",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 384,
            "x": "385",
            "y": "-2.3052344929000199",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 385,
            "x": "386",
            "y": "12.8668405886869",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 386,
            "x": "387",
            "y": "-1.5123172764068",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 387,
            "x": "388",
            "y": "-3.1400070529195498",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 388,
            "x": "389",
            "y": "18.752092181163601",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 389,
            "x": "390",
            "y": "15.5280047369321",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 390,
            "x": "391",
            "y": "3.1183207654698402",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 391,
            "x": "392",
            "y": "4.2326146315606801",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 392,
            "x": "393",
            "y": "4.1756140393217498",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 393,
            "x": "394",
            "y": "-5.58872647299963",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 394,
            "x": "395",
            "y": "-0.38211164151962901",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 395,
            "x": "396",
            "y": "3.89513915411941",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 396,
            "x": "397",
            "y": "-7.5569318806599304",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 397,
            "x": "398",
            "y": "-12.005831744073999",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 398,
            "x": "399",
            "y": "-1.01046959349129",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 399,
            "x": "400",
            "y": "-3.81005548673253",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 400,
            "x": "401",
            "y": "7.9476338105511903",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 401,
            "x": "402",
            "y": "-14.1005282273848",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 402,
            "x": "403",
            "y": "-4.1261250461059804",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 403,
            "x": "404",
            "y": "14.8330401724334",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 404,
            "x": "405",
            "y": "5.7539100139737602",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 405,
            "x": "406",
            "y": "15.5435690638955",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 406,
            "x": "407",
            "y": "6.1047262865004299",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 407,
            "x": "408",
            "y": "1.2019952240112799",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 408,
            "x": "409",
            "y": "2.37465071091987",
            "defined": true,
            "xExact": "",
            "yExact": ""
          },
          {
            "series": "actual out-of-fold scores",
            "index": 409,
            "x": "410",
            "y": "6.1114459068281501",
            "defined": true,
            "xExact": "",
            "yExact": ""
          }
        ],
        "plotFile": "ml21-code/r-realdata-company-result/plot.svg",
        "fullResultFile": "ml21-code/r-realdata-company-result/full.json",
        "arithmeticScope": "Exact Python Fraction fixed examples; baseR numerical counterpart. Both recompute actualsource/folds/fits/scores from3factualCSVs. RsourceTVties rounded12places,budget tolerance1e-14; notexacttiecertification. Hypothetical potentialoutcomes are notfactualcounterfactual truth.",
        "plotScope": "Only defined values have markers. Lines guide declared row/representation order, never impute missing observations. Empirical TVranges are not sampling CIs or causalidentifiedsets. Full result and units retained.",
        "reproductionScope": "Complete fixed input literals embedded in standalone code; matchingJSON provided as readable download, not an unclaimed dynamicJSON parser. Realdata actively reads3nativeCSV files."
      }
    }
  }
}
