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]="fec5e366-7824-465b-91fb-62dbf8782fd3",e._sentryDebugIdIdentifier="sentry-dbid-fec5e366-7824-465b-91fb-62dbf8782fd3")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1838],{11838:(e,t,n)=>{n.r(t),n.d(t,{CORRECT:()=>l,NoPeeking:()=>o});var a=n(95155);n(12115);var s=n(92823);let r="#0ea5e9",l=4;function o(e){let{pick:t,setPick:n,status:o,graded:d,canCheck:i,check:c,reset:u}=(0,s.Qc)(e,l);return(0,a.jsx)(s.rl,{question:"It's day t in the backtest. Tap the LATEST bar the data handler may hand the strategy.",status:o,onCheck:c,onReset:u,canCheck:i,feedback:"correct"===o?"everything up to and including now, never beyond":null!==t&&t>4?"that bar is the future: handing it over is a lookahead leak":"you can hand over more: history up to now is fair game",children:(0,a.jsxs)(s.Dn,{className:"p-3",children:[(0,a.jsx)("div",{className:"flex items-end justify-center gap-1.5",style:{height:72},children:Array.from({length:7},(e,s)=>{let o=s>4,i=4===s,c=null!==t&&s<=t,u=t===s,h="rgba(148,163,184,0.35)";return!d&&c&&(h="".concat(r,"99")),!d&&i&&(h=r),d&&(h=o?"rgba(148,163,184,0.22)":r),(0,a.jsxs)("button",{type:"button",disabled:d,onClick:()=>!d&&n(s),className:"flex h-full flex-col items-center justify-end gap-1",style:{cursor:d?"default":"pointer"},children:[(0,a.jsx)("div",{className:"relative w-6 rounded transition-colors",style:{height:24+s%3*9,background:h,opacity:d&&o?.55:1,boxShadow:u&&!d?"0 0 0 2px ".concat(r):d&&u&&t!==l?"0 0 0 2px #f43f5e":void 0},children:d&&o?(0,a.jsx)("span",{className:"absolute inset-0 flex items-center justify-center text-[0.72rem] font-bold text-destructive-text",children:"\xd7"}):null}),(0,a.jsx)("span",{className:"text-[0.56rem] font-medium",style:{color:i?r:"transparent"},children:i?"now":"."})]},s)})}),(0,a.jsx)("div",{className:"mt-1 text-center text-[0.62rem] text-muted-foreground",children:d?"blue: legal history \xb7 struck out: the future, a lookahead leak":null!==t?"you'd hand over ".concat(t+1," bar").concat(t?"s":"",", up to the highlighted one"):"tap a bar to set the cutoff"})]})})}}}]);
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.