PageSourceSearch

https://www.quant-soc.com/_next/static/chunks/2062.0397ec0e8d4872bb.js

js quant-soc.com collected 2026-10-09 22:32:35 UTC 3,065 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c323e859-4d54-4947-956a-33ae6bcdf765",e._sentryDebugIdIdentifier="sentry-dbid-c323e859-4d54-4947-956a-33ae6bcdf765")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2062],{2062:(e,t,a)=>{a.r(t),a.d(t,{CORRECT:()=>r,WhyTheGap:()=>o});var s=a(95155);a(12115);var l=a(61527),n=a(92823);let c="#0ea5e9",d=[{id:"costs",label:"Costs weren't modelled",cut:5},{id:"overfit",label:"Parameters overfit the past",cut:4},{id:"crowded",label:"The signal got crowded",cut:3},{id:"laptop",label:"You ran it on a faster laptop",cut:0}],r="laptop",i=d.map(e=>({id:e.id,label:e.label}));function o(e){let{pick:t,setPick:a,status:o,graded:x,canCheck:f,check:h,reset:m}=(0,n.Qc)(e,r),p=18,b=d.filter(e=>e.cut>0).map(e=>{let t=p;return p-=e.cut,{...e,from:t,to:p}});return(0,s.jsxs)(n.rl,{question:"Backtest said +18%, live gave +6%. One of these can't explain the gap. Tap the impostor.",status:o,onCheck:h,onReset:m,canCheck:f,feedback:"correct"===o?"speed changes when you trade, never what the trade earns":"only things that change the trades can change the returns",children:[(0,s.jsx)(n.Dn,{className:"p-3",children:x?(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-1.5 text-[0.7rem] font-medium uppercase tracking-wide text-muted-foreground",children:"What ate the gap"}),(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsx)(u,{label:"Backtest",value:"+".concat(18,"%"),strong:!0}),b.map((e,t)=>(0,s.jsx)(l.P.div,{initial:{opacity:0,x:-6},animate:{opacity:1,x:0},transition:{delay:.15*t},children:(0,s.jsx)(u,{label:e.label,value:"-".concat(e.cut,"%"),muted:!0})},e.id)),(0,s.jsx)(u,{label:"Live",value:"+".concat(6,"%"),strong:!0,accent:!0})]})]}):(0,s.jsx)("div",{className:"flex items-end gap-3",children:[{k:"Backtest",v:18,c:"rgba(148,163,184,0.6)"},{k:"Live",v:6,c:c}].map(e=>(0,s.jsxs)("div",{className:"flex flex-1 flex-col items-center",children:[(0,s.jsxs)("span",{className:"mb-1 text-sm font-bold tabular-nums text-foreground",children:["+",e.v,"%"]}),(0,s.jsx)("div",{className:"w-full rounded-t",style:{height:4*e.v,background:e.c,opacity:.75}}),(0,s.jsx)("span",{className:"mt-1 text-[0.65rem] text-muted-foreground",children:e.k})]},e.k))})}),(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(n.yZ,{options:i,value:t,onSelect:a,columns:1,accent:c,revealed:x,correctId:r,disabled:x})})]})}function u(e){let{label:t,value:a,strong:l,muted:n,accent:d}=e;return(0,s.jsxs)("div",{className:"flex items-center justify-between rounded-md px-2 py-1",style:{background:l?"rgba(148,163,184,0.08)":void 0},children:[(0,s.jsx)("span",{className:n?"text-xs text-muted-foreground":"text-xs font-semibold text-foreground",children:t}),(0,s.jsx)("span",{className:"text-xs font-semibold tabular-nums",style:{color:d?c:n?"#f59e0b":void 0},children:a})]})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.