plan-lab: how-to-read section for reviewers; Start over zeroes every counter
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -640,8 +640,13 @@
|
||||
for (const r of rows) { const rec = map.get(r[1]); const m = gJoin(rec && rec !== G.you ? rec : (r[1] === SEED.apex ? G.you : null), 0, !rec); map.set(r[0], m); m.seedLevel = r[2]; }
|
||||
for (let L = 2; L <= PLAN.maxL; L++) for (const m of G.members.slice().sort((a, b) => a.depth - b.depth || a.id - b.id)) if (m !== G.you && (m.seedLevel || 1) >= L && m.level < L) gBuy(m, L);
|
||||
}
|
||||
// Start over means start over (Marty, 28 Sep): the replay above only builds the org. Its money is reported once,
|
||||
// in the story head, then every counter goes back to zero and members keep only the levels they actually bought.
|
||||
G.replay = { in: G.aud.spent, admin: G.aud.admin + G.aud.entryFee, you: G.you.cash + G.you.entry, youLevel: G.you.level };
|
||||
for (const m of G.members) { m.cash = 0; m.entry = 0; m.lic = 0; m.licV = 0; m.level = m === G.you ? 1 : (m.seedLevel || 1); }
|
||||
G.aud = { spent: 0, received: 0, admin: 0, entryFee: 0, above: 0 }; gNewMonth();
|
||||
G.rows.push(gSnap(0));
|
||||
const ol = document.getElementById('gStory'); if (ol) ol.innerHTML = '<li class="head">' + (seed === 'iap' ? 'Start: the InstantAdPay org today, placed 4-wide under each member\u2019s real recruiter: <b>' + cnt(G.members.length - 1) + ' members</b>, ' + cnt(G.members.filter(x => x.level >= 2).length) + ' of them past level 1, ' + cnt(G.members.filter(x => x.directs >= 2).length) + ' qualified. Their past purchases replayed through the rules: money in <b>' + $$(G.aud.spent) + '</b>, admin wallet <b>' + $$(G.aud.admin + G.aud.entryFee) + '</b>, you <b>' + $$(G.you.cash + G.you.entry) + '</b>.' : 'Start: just you at level 1, nobody under you yet. In month 1 you recruit two people yourself (everyone needs two to receive cash at full reach); after that the org grows the way InstantAdPay’s did.') + ' Now run a month.</li>';
|
||||
const ol = document.getElementById('gStory'); if (ol) ol.innerHTML = '<li class="head">' + (seed === 'iap' ? 'Start: the InstantAdPay org today, placed 4-wide under each member\u2019s real recruiter: <b>' + cnt(G.members.length - 1) + ' members</b>, ' + cnt(G.members.filter(x => x.level >= 2).length) + ' of them past level 1 (the levels they actually bought), ' + cnt(G.members.filter(x => x.directs >= 2).length) + ' qualified. Every counter starts at zero and counts only what happens from month 1. For reference, had these rules been running all along, their past purchases would have moved <b>' + $$(G.replay.in) + '</b>, put <b>' + $$(G.replay.admin) + '</b> in the admin wallet and <b>' + $$(G.replay.you) + '</b> to you, funding you to level ' + G.replay.youLevel + '.' : 'Start: just you at level 1, nobody under you yet. In month 1 you recruit two people yourself (everyone needs two to receive cash at full reach); after that the org grows the way InstantAdPay’s did.') + ' Now run a month.</li>';
|
||||
gRender();
|
||||
window.growAudit = () => ({ spent: Math.round(G.aud.spent), received: Math.round(G.aud.received), ok: Math.abs(G.aud.spent - G.aud.received) <= 0.01 + 1e-9 * G.aud.spent });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user