[{"data":1,"prerenderedAt":252},["ShallowReactive",2],{"sanity-LevEgKvCUg3Ul3GKyhTsfZIfaGswLQ-qsmdjo9-lWe4":3,"sanity-JwnXAlanvZM20yRKDEUs9YHOuSQQQsW006gyC6Boelk":49,"shiki-block-v-0-0-0-0-0-1-0-1":251},{"data":4},{"_createdAt":5,"_id":6,"_rev":7,"_type":6,"_updatedAt":8,"acceptAllLink":9,"acceptNecessaryLink":18,"bannerColorSource":23,"bannerDescription":24,"bannerTitle":25,"categories":26,"declineAllLink":27,"managePreferencesLink":31,"modalColorSource":23,"modalTitle":42,"preferencesIconColorSource":23,"provider":43,"savePreferencesLink":44,"thirdPartyEmbedCode":26,"title":48},"2026-11-18T01:32:55Z","cookieSettings","WpZp49ZlUtUZyNVrPpFnoc","2026-11-18T01:37:27Z",{"_type":10,"style":11,"title":16,"type":17},"link",{"_type":12,"stylePreset":13},"link.style",{"_ref":14,"_type":15},"rosterly-style-primary","reference","Accept all","button",{"_type":10,"style":19,"title":22,"type":17},{"_type":12,"stylePreset":20},{"_ref":21,"_type":15},"rosterly-style-outline","Necessary only","inherit","Rosterly uses only the cookies it needs to remember your choices. Accept analytics too, or keep to the necessary ones — you can change your mind from the footer.","Before kick-off: cookies",null,{"_type":10,"style":28,"title":30,"type":17},{"_type":12,"stylePreset":29},{"_ref":21,"_type":15},"Decline all",{"_type":10,"style":32,"title":41,"type":17},{"_type":12,"icon":33,"iconPosition":39,"stylePreset":40},{"_type":34,"hugeicon":35,"type":38},"icon.config",{"data":36,"name":37},"[[\"path\",{\"d\":\"M15.5 12C15.5 13.933 13.933 15.5 12 15.5C10.067 15.5 8.5 13.933 8.5 12C8.5 10.067 10.067 8.5 12 8.5C13.933 8.5 15.5 10.067 15.5 12Z\",\"stroke\":\"currentColor\",\"strokeWidth\":\"1.5\",\"key\":\"0\"}],[\"path\",{\"d\":\"M21.011 14.0965C21.5329 13.9558 21.7939 13.8854 21.8969 13.7508C22 13.6163 22 13.3998 22 12.9669V11.0332C22 10.6003 22 10.3838 21.8969 10.2493C21.7938 10.1147 21.5329 10.0443 21.011 9.90358C19.0606 9.37759 17.8399 7.33851 18.3433 5.40087C18.4817 4.86799 18.5509 4.60156 18.4848 4.44529C18.4187 4.28902 18.2291 4.18134 17.8497 3.96596L16.125 2.98673C15.7528 2.77539 15.5667 2.66972 15.3997 2.69222C15.2326 2.71472 15.0442 2.90273 14.6672 3.27873C13.208 4.73448 10.7936 4.73442 9.33434 3.27864C8.95743 2.90263 8.76898 2.71463 8.60193 2.69212C8.43489 2.66962 8.24877 2.77529 7.87653 2.98663L6.15184 3.96587C5.77253 4.18123 5.58287 4.28891 5.51678 4.44515C5.45068 4.6014 5.51987 4.86787 5.65825 5.4008C6.16137 7.3385 4.93972 9.37763 2.98902 9.9036C2.46712 10.0443 2.20617 10.1147 2.10308 10.2492C2 10.3838 2 10.6003 2 11.0332V12.9669C2 13.3998 2 13.6163 2.10308 13.7508C2.20615 13.8854 2.46711 13.9558 2.98902 14.0965C4.9394 14.6225 6.16008 16.6616 5.65672 18.5992C5.51829 19.1321 5.44907 19.3985 5.51516 19.5548C5.58126 19.7111 5.77092 19.8188 6.15025 20.0341L7.87495 21.0134C8.24721 21.2247 8.43334 21.3304 8.6004 21.3079C8.76746 21.2854 8.95588 21.0973 9.33271 20.7213C10.7927 19.2644 13.2088 19.2643 14.6689 20.7212C15.0457 21.0973 15.2341 21.2853 15.4012 21.3078C15.5682 21.3303 15.7544 21.2246 16.1266 21.0133L17.8513 20.034C18.2307 19.8187 18.4204 19.711 18.4864 19.5547C18.5525 19.3984 18.4833 19.132 18.3448 18.5991C17.8412 16.6616 19.0609 14.6226 21.011 14.0965Z\",\"stroke\":\"currentColor\",\"strokeLinecap\":\"round\",\"strokeWidth\":\"1.5\",\"key\":\"1\"}]]","Settings02Icon","hugeicon","start",{"_ref":21,"_type":15},"Preferences","Cookie preferences","custom",{"_type":10,"style":45,"title":47,"type":17},{"_type":12,"stylePreset":46},{"_ref":14,"_type":15},"Save preferences","Cookie Settings",{"data":50,"sourceMap":-1},[51],{"_createdAt":5,"_id":52,"_rev":7,"_type":53,"_updatedAt":8,"authorProfile":54,"authorRef":66,"body":68,"categories":205,"excerpt":213,"footer":26,"layout":214,"mainImage":218,"navigation":26,"publishedAt":222,"readTime":223,"relatedPosts":224,"routeOptions":240,"seo":26,"showOnWebsite":242,"slug":245,"tags":246,"title":250},"rosterly-post-live-scoring","post",{"avatar":55,"bio":60,"name":61,"role":62,"sameAs":63,"slug":65},{"_type":56,"alt":57,"asset":58},"image","Initials avatar for Tom Reyes",{"_ref":59,"_type":15},"image-3805d69f6dd6154fec8c2319d192ebd1726f7928-256x256-png","Tom runs the draft room and live scoring teams, and has lost his own league final three years running.","Tom Reyes","Product Lead",[64],"https:\u002F\u002Fexample.com\u002Fteam\u002Ftom-reyes","tom-reyes",{"_ref":67,"_type":15},"rosterly-author-tom-reyes",[69,80,89,99,107,115,123,131,140,148,156,164,180,189,197],{"_key":70,"_type":71,"children":72,"markDefs":78,"style":79},"69587db3af01","block",[73],{"_key":74,"_type":75,"marks":76,"text":77},"e69bd94ab4d5","span",[],"Live scoring used to mean refreshing a page every few minutes and arguing about whether the assist had been given yet. Rosterly updates a matchup within seconds of the event, and it keeps the number honest when the officials change their minds.",[],"normal",{"_key":81,"_type":71,"children":82,"markDefs":87,"style":88},"28b2d0078b99",[83],{"_key":84,"_type":75,"marks":85,"text":86},"40fd370fa087",[],"From the pitch to your phone",[],"h2",{"_key":90,"_type":71,"children":91,"level":96,"listItem":97,"markDefs":98,"style":79},"3309626b5be2",[92],{"_key":93,"_type":75,"marks":94,"text":95},"365ea445e911",[],"A match event arrives from our data feed: a goal, an assist, a save, a card, a substitution.",1,"number",[],{"_key":100,"_type":71,"children":101,"level":96,"listItem":97,"markDefs":106,"style":79},"75ed290ded34",[102],{"_key":103,"_type":75,"marks":104,"text":105},"0c0fcff2674a",[],"The scoring engine applies your league's own rules to it. Two leagues can score the same goal differently, and both are right.",[],{"_key":108,"_type":71,"children":109,"level":96,"listItem":97,"markDefs":114,"style":79},"e0fb2c7aec07",[110],{"_key":111,"_type":75,"marks":112,"text":113},"cc916e97a8df",[],"Every affected matchup is recalculated, including the projected final score.",[],{"_key":116,"_type":71,"children":117,"level":96,"listItem":97,"markDefs":122,"style":79},"22218720122a",[118],{"_key":119,"_type":75,"marks":120,"text":121},"891ec0a10d44",[],"The change is pushed to everyone watching that matchup, with the event that caused it.",[],{"_key":124,"_type":71,"children":125,"markDefs":130,"style":79},"5338ab0a4b27",[126],{"_key":127,"_type":75,"marks":128,"text":129},"c53014c174a5",[],"Step two is the one people underestimate. A league that gives a point for every two key passes needs those passes counted as they happen, not tallied after the final whistle, so the engine keeps a running state for every player in every match.",[],{"_key":132,"_type":71,"children":133,"markDefs":138,"style":139},"c47f5b5b7c98",[134],{"_key":135,"_type":75,"marks":136,"text":137},"735ef12438e2",[],"One rule, written once",[],"h3",{"_key":141,"_type":71,"children":142,"markDefs":147,"style":79},"acfe5dfcb7cb",[143],{"_key":144,"_type":75,"marks":145,"text":146},"0e6f7e1f8232",[],"Every league's scoring is a small table of events and points. The engine reads it rather than hard-coding anything, which is why a commissioner can change a rule mid-season and every past gameweek recalculates with it.",[],{"_key":149,"_type":150,"colorSource":23,"markDefs":26,"snippet":151},"c212ff762175","code.block",{"_type":152,"code":153,"filename":154,"language":155},"code","\u002F\u002F One event, one league: points are a lookup, never a branch.\nconst pointsFor = (event: MatchEvent, rules: ScoringRules) =>\n    (rules[event.type]?.[event.position] ?? rules[event.type]?.any ?? 0) *\n    event.count","scoring\u002FpointsFor.ts","typescript",{"_key":157,"_type":71,"children":158,"markDefs":163,"style":88},"45ed4dfdd9bc",[159],{"_key":160,"_type":75,"marks":161,"text":162},"ce3ae60c9c6a",[],"When the officials change their minds",[],{"_key":165,"_type":71,"children":166,"markDefs":179,"style":79},"9286bb7cef18",[167,171,175],{"_key":168,"_type":75,"marks":169,"text":170},"bfa5ca0885e0",[],"Goals get reassigned. Assists get taken away the next morning. A live number that never corrects is wrong, and one that corrects silently feels like a bug. So every correction arrives as its own event, with a ",{"_key":172,"_type":75,"marks":173,"text":174},"bc7e6788b2a6",[152],"reason",{"_key":176,"_type":75,"marks":177,"text":178},"0da34091caf0",[],", and the matchup shows a small note: \"Assist removed after review, −3.\"",[],{"_key":181,"_type":71,"children":182,"markDefs":187,"style":188},"f5e01fa7146f",[183],{"_key":184,"_type":75,"marks":185,"text":186},"1629b8c261f6",[],"A score that moves without explanation feels like a bug. A score that moves with a reason feels like football.",[],"blockquote",{"_key":190,"_type":71,"children":191,"markDefs":196,"style":88},"7fd48aece63b",[192],{"_key":193,"_type":75,"marks":194,"text":195},"670319b8d27e",[],"Why not every second?",[],{"_key":198,"_type":71,"children":199,"markDefs":204,"style":79},"f44497410b4a",[200],{"_key":201,"_type":75,"marks":202,"text":203},"25bc131d8df8",[],"We could push a projection update every second of every match. It would drain your battery to tell you that a 0–0 is still 0–0. Rosterly pushes on events, and the projection between them is drawn on your device, so the bar creeps forward without a network request.",[],[206],{"_createdAt":5,"_id":207,"_rev":208,"_type":209,"_updatedAt":210,"slug":211,"title":212},"rosterly-category-product","VJmvqbMO4RfGA2q2jKm220","category","2026-11-18T01:37:24Z","product","Product Updates","A goal goes in, and your phone knows before the replay ends. Here is what happens in the eight seconds between the net bulging and your points changing.",{"_type":215,"layout":216,"pageDesign":217},"post.layout.options","default","design1",{"_type":56,"alt":219,"asset":220},"Product Updates cover: Why live scoring updates in seconds, not minutes",{"_ref":221,"_type":15},"image-6c40e16f7e9021ca14b6af610a15c69d1adb0043-1600x900-jpg","2026-08-01T09:00:00.000Z",2,[225],{"_id":226,"authorProfile":227,"categories":230,"excerpt":232,"mainImage":233,"publishedAt":237,"readTime":96,"slug":238,"title":239},"rosterly-post-fair-trade-check",{"avatar":228,"name":61,"role":62,"slug":65},{"_type":56,"alt":57,"asset":229},{"_ref":59,"_type":15},[231],{"slug":211,"title":212},"Rosterly tells both managers whether a trade is lopsided. It will never stop one going through. Here is why we built it that way.",{"_type":56,"alt":234,"asset":235},"Product Updates cover: The fair-trade check, and why it never says no",{"_ref":236,"_type":15},"image-532bf768b4ff0040eb06c73b43ac68a5a81569c4-1600x900-jpg","2026-07-02T09:00:00.000Z","the-fair-trade-check-never-says-no","The fair-trade check, and why it never says no",{"_type":241,"includeInSitemap":242,"slug":243},"page.routing.options",true,{"_type":244,"current":245},"slug","why-live-scoring-updates-in-seconds",[247,248,249],"Product","Live Scoring","Engineering","Why live scoring updates in seconds, not minutes","\u003Cpre class=\"shiki shiki-themes github-light github-dark nuxion-code__pre\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">{\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"teams\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">10\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"draft\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"snake\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"tradeApproval\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"review-24h\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"inactiveTeams\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"auto-lineup\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"playoffs\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: { \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">\"teams\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">6\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">, \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">\"startGameweek\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">32\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"waivers\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"rolling\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">}\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",1795179108843]