plan-lab: the climb story first, tree and rules folded away
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -485,6 +485,7 @@
|
||||
}
|
||||
for (let d = 1; d <= D; d++) { dp.entry[d - 1] += dp.counts[d] * net(1); dp.spent += dp.counts[d] * price(1); dp.treasury += dp.counts[d] * price(1) * PLAN.fee; } // Rule 0, once, when the org is built
|
||||
deepRender('Reset. Everyone at level 1, you included; entries paid.');
|
||||
const ol = document.getElementById('deepStory'); if (ol) ol.innerHTML = '<li class="head">Start. You and everyone under you hold level 1. Your ' + cnt(dp.counts[1]) + ' directs paid their entries: <b>' + $$(dp.entry[0]) + '</b> to you after the fee. Press Run one wave.</li>';
|
||||
}
|
||||
// n payments of `amt` for level L from depth `from`: skip `skipN`, then the gap rule on aggregate levels
|
||||
function deepPay(n, from, L, amt, skipN, rem){
|
||||
@@ -528,11 +529,29 @@
|
||||
}
|
||||
if (note) document.getElementById('deepNote').textContent = note;
|
||||
}
|
||||
function storyLine(html, cls){ const ol = document.getElementById('deepStory'); if (!ol) return; if (ol.firstChild && /Nothing has happened/.test(ol.firstChild.textContent)) ol.innerHTML = ''; const li = document.createElement('li'); if (cls) li.className = cls; li.innerHTML = html; ol.prepend(li); while (ol.children.length > 40) ol.removeChild(ol.lastChild); }
|
||||
function deepRun(k){
|
||||
const before = dp ? dp.levels[0] : 1; let ran = 0;
|
||||
for (let i = 0; i < k; i++) { if (dp && dp.levels[0] >= PLAN.maxL) break; deepWave(); ran++; }
|
||||
if (!dp) deepReset();
|
||||
let ran = 0;
|
||||
for (let i = 0; i < k; i++) {
|
||||
if (dp.levels[0] >= PLAN.maxL) break;
|
||||
const lv0 = dp.levels[0], cash0 = dp.cash[0], lic0 = dp.lic[0], adm0 = dp.treasury, above0 = dp.above;
|
||||
deepWave(); ran++;
|
||||
const lv1 = dp.levels[0], dCash = dp.cash[0] - cash0, dLic = dp.lic[0] - lic0;
|
||||
const d = lv0; // the depth whose purchase this wave could reach you
|
||||
const L = d + 1;
|
||||
let html = '<b>Wave ' + dp.waves + '.</b> Every position bought its next level. ';
|
||||
if (d <= dp.D) html += 'The ' + cnt(dp.counts[d]) + ' positions at depth ' + d + ' bought level ' + L + ' (' + product(L) + ', ' + $$(price(L)) + ' each, ' + $$(net(L)) + ' after the fee), and level-' + L + ' money is yours. ';
|
||||
if (dLic) html += 'The <span class="chip lic">first one</span> was your licence ' + lv1 + ': you were upgraded in the same block and its cost climbed on above you. ';
|
||||
if (dCash > 0) html += 'The rest reached you as <span class="chip cash">cash</span>: <b>' + $$(dCash) + '</b>. ';
|
||||
if (!dLic && dCash <= 0) html += 'Nothing reached you: that depth is empty at this fill, or you are at the top. ';
|
||||
html += 'Everything the other depths bought paid the people between you and them, or climbed past you. Admin wallet took ' + $$(dp.treasury - adm0) + ' this wave. ';
|
||||
html += '<span class="chip reach">You: level ' + lv1 + ', reach depth 1 to ' + Math.min(lv1, dp.D) + '</span>';
|
||||
storyLine(html, dLic ? 'lic' : 'cash');
|
||||
}
|
||||
const after = dp.levels[0];
|
||||
deepRender(ran + ' wave' + (ran === 1 ? '' : 's') + ' run. ' + (after > before ? 'You went from level ' + before + ' to ' + after + ' without buying anything: the first payment at each new depth was your licence.' : after >= PLAN.maxL ? 'You hold level ' + PLAN.maxL + ', the top of the ladder. Every payment from every depth is cash from here on.' : 'Your level did not move this time.'));
|
||||
if (after >= PLAN.maxL) storyLine('<b>Top of the ladder.</b> You hold level ' + PLAN.maxL + '. From here every payment from every depth is cash, and there is no level 9: positions ' + PLAN.maxL + ' deep pay the people between you and them.', 'head');
|
||||
deepRender(ran + ' wave' + (ran === 1 ? '' : 's') + ' run.');
|
||||
}
|
||||
document.getElementById('deepWave').addEventListener('click', () => deepRun(1));
|
||||
document.getElementById('deepWave5').addEventListener('click', () => deepRun(5));
|
||||
@@ -561,7 +580,7 @@
|
||||
document.getElementById('wmOn').setAttribute('aria-pressed', String(PLAN.wm));
|
||||
const yl = document.getElementById('youLevel'); yl.max = PLAN.maxL; yl.value = 1; // a new plan starts you at level 1, like everyone
|
||||
document.getElementById('youLevelVal').textContent = yl.value;
|
||||
document.getElementById('deepHead').textContent = 'All ' + PLAN.maxL + ' levels, simulated by depth';
|
||||
{ const dh = document.getElementById('deepHead'); if (dh) dh.textContent = 'Watch one position climb all ' + PLAN.maxL + ' levels'; }
|
||||
svg.setAttribute('aria-label', PLAN.w + '-wide matrix under you');
|
||||
build(); deepReset();
|
||||
}
|
||||
|
||||
+65
-49
@@ -155,6 +155,13 @@ tr.you td{background:var(--reach-soft)}
|
||||
.cmp.new{border-color:var(--reach)}
|
||||
.fine{margin-top:36px;font-size:12.5px;color:var(--muted);max-width:70ch}
|
||||
@media (prefers-reduced-motion: reduce){ .node circle,.edge{transition:none} }
|
||||
.story{list-style:none;margin:14px 0 6px;padding:0;font-size:14.5px;line-height:1.55}
|
||||
.story li{padding:10px 14px;border-radius:12px;background:var(--soft);margin:8px 0;border-left:4px solid var(--line)}
|
||||
.story li.lic{border-left-color:var(--lic)} .story li.cash{border-left-color:var(--cash)} .story li.head{border-left-color:var(--reach);font-weight:500}
|
||||
details.adv{margin-top:14px;border:1px solid var(--line);border-radius:12px;padding:6px 14px;background:var(--paper)}
|
||||
details.adv summary{cursor:pointer;font-family:var(--font-d);font-weight:700;font-size:15px;padding:8px 0}
|
||||
details.adv.big{margin-top:30px;padding:8px 18px}
|
||||
details.adv.big summary{font-size:18px}
|
||||
.ctl input[type=text]{max-width:100%;box-sizing:border-box} .controls .ctl{max-width:100%;min-width:0} .money{min-width:0}
|
||||
@media (max-width:640px){.ctl input[type=text]{width:100%} .ctl select{max-width:100%}}
|
||||
.node circle,.edge{transition:stroke .25s,fill .25s,stroke-width .25s}
|
||||
@@ -166,32 +173,31 @@ tr.you td{background:var(--reach-soft)}
|
||||
<h1>Your reach is your level. Width does the rest.</h1>
|
||||
<p class="lede">A forced matrix with the same two-directs rule to receive, and three things RM Circle does not have: <b>every payment that reaches you is either cash or your next licence, and the contract knows which</b>; the matrix can be wider than two, so the people you build sit within your reach instead of 28 deep; and prices step up with the product, never double. The working plan is 4 wide, 8 levels, a stepped ladder and the fund-the-gap rule; the other settings are there to compare against.</p>
|
||||
|
||||
<section>
|
||||
<h2>Eight rules, and nothing else</h2>
|
||||
<div class="rules">
|
||||
<div class="rule"><div class="n">PLACEMENT</div><h3>Shallowest open slot under your recruiter</h3><p>Your sponsor is the person whose link you used, always. You are placed in the shallowest open slot in their organisation, breadth-first, so orgs fill wide before they fill deep. Decided 27 Sep.</p></div>
|
||||
<div class="rule"><div class="n">RULE 0</div><h3>Level 1 is the entry</h3><p>Everyone pays the same to come in. After the admin fee, half goes to the recruiter and half to the upline directly above the placement, no qualification, never a licence. Someone with no recruiter is assigned to a member who needs a direct. (In this drawn tree every position was recruited by its upline, so both halves land there.)</p></div>
|
||||
<div class="rule"><div class="n">RULE 1</div><h3>A level-L purchase pays one upline</h3><p>Skip the first L−2 uplines outright. Then pay the first one with two directs. Same climb as RM Circle today.</p></div>
|
||||
<div class="rule"><div class="n">RULE 2</div><h3>So depth d pays you when it buys level d+1</h3><p>The positions at depth d under you are the ones whose level-(d+1) purchases land on you. Depth 1 also pays you its entries.</p></div>
|
||||
<div class="rule"><div class="n">RULE 3</div><h3>Reach = your level</h3><p>At level A you collect cash from depths 1 to A. The first payment from depth A is your next licence. Deeper money routes past you, for now.</p></div>
|
||||
<div class="rule"><div class="n">RULE 4</div><h3>The gap rule</h3><p><b>Fund the gap</b> (decided 27 Sep, with the stepped ladder): a payment that reaches someone more than one level behind buys their next <span class="chip lic">licence</span>, and the remainder climbs on as <span class="chip cash">cash</span>. Nobody qualified is ever skipped. The RM Circle skip is kept as a switch for comparison only.</p></div>
|
||||
<div class="rule"><div class="n">RULE 5</div><h3>Licences reach everyone, cash reaches the qualified</h3><p>A pass-up that reaches a member with fewer than two directs buys their next <span class="chip lic">licence</span>; the cost climbs on. Cash steps up with recruits: no directs, entries only; one direct, cash from depths 1 and 2; two directs, full reach. Each step counts from the moment it was reached: cash comes from your own directs and from positions created after it. Positions that passed you before keep passing you.</p></div>
|
||||
<div class="rule"><div class="n">RULE 6</div><h3>The licence cascades, the contract holds nothing</h3><p>When a licence is issued, its cost moves up that member's chain by Rule 1 and lands on the first person already at that level. Every coin leaves in the block it arrived.</p></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
<h2>Simulator</h2>
|
||||
<p class="note">You are the black node. <b>Click any position</b>: a small menu tells you where its next purchase would go <em>before</em> you buy, then lets you buy it or mark it as having one direct (dashed, gets skipped). The strip under the tree says in plain words what each purchase did. <b>Run a wave</b> has the whole organisation buy one level, shallow to deep, so you can watch your own level climb without buying anything.</p>
|
||||
<h2 id="deepHead">Watch one position climb all 8 levels</h2>
|
||||
<p class="note">You start at level 1 with a full 4-wide organisation under you, everyone else at level 1 too. Press <b>Run one wave</b>: every position under you buys its next level, and the story tells you what reached you and why. Five waves later you are near the top without buying a thing.</p>
|
||||
<div class="panel">
|
||||
<div class="money" id="money">
|
||||
<div class="m"><div class="k">Your level</div><div class="v" id="mLevel">1</div><div class="s">reach = depth 1 to <span id="mReach">1</span></div></div>
|
||||
<div class="m"><div class="k">Entries to you</div><div class="v" id="mEntry">$0</div><div class="s" id="mEntryN">from your directs, no qualification</div></div>
|
||||
<div class="m"><div class="k">Cash to you</div><div class="v cash" id="mCash">$0</div><div class="s" id="mCashN">0 payments</div></div>
|
||||
<div class="m"><div class="k">Licences funded for you</div><div class="v lic" id="mLic">0</div><div class="s" id="mLicV">worth $0, paid by your org</div></div>
|
||||
<div class="m"><div class="k">Total received</div><div class="v" id="mTotal">$0</div><div class="s">entries + cash + licences</div></div>
|
||||
<div class="m"><div class="k">Admin fee, to the receiver wallet</div><div class="v" id="mFuel">$0</div><div class="s" id="mFuelS">20% out of every price</div></div>
|
||||
<div class="deep-sum">
|
||||
<div><div class="k">Your level</div><div class="v" id="dLevel">1</div><div class="s">reach = depth 1 to <span id="dReach">1</span></div></div>
|
||||
<div><div class="k">Entries to you</div><div class="v" id="dEntry">$0</div><div class="s">your directs' level 1</div></div>
|
||||
<div><div class="k">Cash to you</div><div class="v cash" id="dCash">$0</div><div class="s" id="dCashN">0 payments</div></div>
|
||||
<div><div class="k">Licences funded for you</div><div class="v lic" id="dLic">0</div><div class="s" id="dLicV">worth $0</div></div>
|
||||
<div><div class="k">Waves run</div><div class="v" id="dWaves">0</div><div class="s">one level per position per wave</div></div>
|
||||
<div><div class="k">Went above you</div><div class="v" id="dAbove">$0</div><div class="s">levels that pay uplines higher than you</div></div>
|
||||
<div><div class="k">Admin fee</div><div class="v" id="dFuel">$0</div><div class="s">to the receiver wallet</div></div>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<div class="ctl"><label> </label><button class="primary" id="deepWave">Run one wave</button></div>
|
||||
<div class="ctl"><label> </label><button id="deepWave5">Run 5 waves</button></div>
|
||||
<div class="ctl"><label> </label><button id="deepToTop">Run to the top</button></div>
|
||||
<div class="ctl"><label> </label><button id="deepReset">Start over</button></div>
|
||||
<div class="ctl"><label for="deepFill">How full the org is</label><input id="deepFill" type="range" min="50" max="100" step="5" value="100"><span class="val" id="deepFillVal">100%</span></div>
|
||||
</div>
|
||||
<ol class="story" id="deepStory"><li class="head">Nothing has happened yet. Your directs paid their entries when they joined; that is the only money so far. Press Run one wave.</li></ol>
|
||||
<details class="adv"><summary>Change the plan: width, levels, prices, the rules</summary>
|
||||
<div class="controls" id="planRow">
|
||||
<div class="ctl"><label for="width">Matrix width</label><select id="width"><option value="2">2 wide</option><option value="3">3 wide</option><option value="4" selected>4 wide</option><option value="5">5 wide</option></select></div>
|
||||
<div class="ctl"><label for="levels">Levels</label><select id="levels"><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="8" selected>8</option><option value="10">10</option><option value="12">12</option><option value="30">30</option></select></div>
|
||||
@@ -204,6 +210,41 @@ tr.you td{background:var(--reach-soft)}
|
||||
<div class="ctl"><label>Unqualified members</label><div class="seg" role="group" aria-label="Unqualified members"><button type="button" id="unqSkip" aria-pressed="false">Skipped</button><button type="button" id="unqLic" aria-pressed="true">Licences, never cash</button></div></div>
|
||||
<div class="ctl"><label>One-direct half step</label><div class="seg" role="group" aria-label="Half step"><button type="button" id="halfOff" aria-pressed="false">Off: cash needs two</button><button type="button" id="halfOn" aria-pressed="true">On: one direct = depths 1-2</button></div></div>
|
||||
<div class="ctl"><label>Late qualifiers</label><div class="seg" role="group" aria-label="Late qualifiers"><button type="button" id="wmOff" aria-pressed="false">Cash from everyone</button><button type="button" id="wmOn" aria-pressed="true">Cash from new positions only</button></div></div>
|
||||
</details>
|
||||
<details class="adv"><summary>The numbers by depth</summary>
|
||||
<div class="tablewrap"><table id="deepTable" class="tabular"><thead><tr><th>Depth</th><th>Positions</th><th>Level now</th><th>Licences funded</th><th>Entries</th><th>Cash collected</th><th></th><th>Per position</th></tr></thead><tbody></tbody></table></div>
|
||||
<p class="note" id="deepNote" style="margin-top:10px"></p>
|
||||
</details>
|
||||
</div>
|
||||
</section>
|
||||
<details class="adv big"><summary>The eight rules</summary>
|
||||
<section style="margin-top:12px">
|
||||
<h2>Eight rules, and nothing else</h2>
|
||||
<div class="rules">
|
||||
<div class="rule"><div class="n">PLACEMENT</div><h3>Shallowest open slot under your recruiter</h3><p>Your sponsor is the person whose link you used, always. You are placed in the shallowest open slot in their organisation, breadth-first, so orgs fill wide before they fill deep. Decided 27 Sep.</p></div>
|
||||
<div class="rule"><div class="n">RULE 0</div><h3>Level 1 is the entry</h3><p>Everyone pays the same to come in. After the admin fee, half goes to the recruiter and half to the upline directly above the placement, no qualification, never a licence. Someone with no recruiter is assigned to a member who needs a direct. (In this drawn tree every position was recruited by its upline, so both halves land there.)</p></div>
|
||||
<div class="rule"><div class="n">RULE 1</div><h3>A level-L purchase pays one upline</h3><p>Skip the first L−2 uplines outright. Then pay the first one with two directs. Same climb as RM Circle today.</p></div>
|
||||
<div class="rule"><div class="n">RULE 2</div><h3>So depth d pays you when it buys level d+1</h3><p>The positions at depth d under you are the ones whose level-(d+1) purchases land on you. Depth 1 also pays you its entries.</p></div>
|
||||
<div class="rule"><div class="n">RULE 3</div><h3>Reach = your level</h3><p>At level A you collect cash from depths 1 to A. The first payment from depth A is your next licence. Deeper money routes past you, for now.</p></div>
|
||||
<div class="rule"><div class="n">RULE 4</div><h3>The gap rule</h3><p><b>Fund the gap</b> (decided 27 Sep, with the stepped ladder): a payment that reaches someone more than one level behind buys their next <span class="chip lic">licence</span>, and the remainder climbs on as <span class="chip cash">cash</span>. Nobody qualified is ever skipped. The RM Circle skip is kept as a switch for comparison only.</p></div>
|
||||
<div class="rule"><div class="n">RULE 5</div><h3>Licences reach everyone, cash reaches the qualified</h3><p>A pass-up that reaches a member with fewer than two directs buys their next <span class="chip lic">licence</span>; the cost climbs on. Cash steps up with recruits: no directs, entries only; one direct, cash from depths 1 and 2; two directs, full reach. Each step counts from the moment it was reached: cash comes from your own directs and from positions created after it. Positions that passed you before keep passing you.</p></div>
|
||||
<div class="rule"><div class="n">RULE 6</div><h3>The licence cascades, the contract holds nothing</h3><p>When a licence is issued, its cost moves up that member's chain by Rule 1 and lands on the first person already at that level. Every coin leaves in the block it arrived.</p></div>
|
||||
</div>
|
||||
</section>
|
||||
</details>
|
||||
<details class="adv big"><summary>Look inside a small org: click positions, run waves</summary>
|
||||
<section style="margin-top:12px">
|
||||
<h2>The drawn tree</h2>
|
||||
<p class="note"><b>This tree is only 3 or 4 deep</b>, because a 4-wide tree gets 256 positions wide by depth 4. Waves here stop at level 4 or 5 for that reason. Use it to see one purchase at a time; use the climb above for the whole ladder.</p>
|
||||
<p class="note">You are the black node. <b>Click any position</b>: a small menu tells you where its next purchase would go <em>before</em> you buy, then lets you buy it or mark it as having one direct (dashed, gets skipped). The strip under the tree says in plain words what each purchase did. <b>Run a wave</b> has the whole organisation buy one level, shallow to deep, so you can watch your own level climb without buying anything.</p>
|
||||
<div class="panel">
|
||||
<div class="money" id="money">
|
||||
<div class="m"><div class="k">Your level</div><div class="v" id="mLevel">1</div><div class="s">reach = depth 1 to <span id="mReach">1</span></div></div>
|
||||
<div class="m"><div class="k">Entries to you</div><div class="v" id="mEntry">$0</div><div class="s" id="mEntryN">from your directs, no qualification</div></div>
|
||||
<div class="m"><div class="k">Cash to you</div><div class="v cash" id="mCash">$0</div><div class="s" id="mCashN">0 payments</div></div>
|
||||
<div class="m"><div class="k">Licences funded for you</div><div class="v lic" id="mLic">0</div><div class="s" id="mLicV">worth $0, paid by your org</div></div>
|
||||
<div class="m"><div class="k">Total received</div><div class="v" id="mTotal">$0</div><div class="s">entries + cash + licences</div></div>
|
||||
<div class="m"><div class="k">Admin fee, to the receiver wallet</div><div class="v" id="mFuel">$0</div><div class="s" id="mFuelS">20% out of every price</div></div>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<div class="ctl"><label for="youLevel">Your level (set by hand)</label><input id="youLevel" type="range" min="1" max="8" value="1"><span class="val" id="youLevelVal">1</span></div>
|
||||
@@ -237,32 +278,7 @@ tr.you td{background:var(--reach-soft)}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2 id="deepHead">All 8 levels, simulated by depth</h2>
|
||||
<p class="note">A drawn tree stops early. This runs the <b>same rules on counts per depth</b> with every position qualified (the unqualified and late-qualifier rules need individual positions, so they live in the tree above), so it goes the whole way up the ladder. Every depth's positions buy one level per wave; each purchase climbs the rule, the first payment to a depth one level behind is its licence and the cost keeps climbing, the rest is cash. <b>Fill</b> is how full the matrix is: 100% is a perfect tree (width<sup>d</sup> positions at depth d), lower values thin it out with depth the way real organisations do. Entries are paid once, when the org is built.</p>
|
||||
<div class="panel">
|
||||
<div class="controls">
|
||||
<div class="ctl"><label for="deepFill">Fill per depth</label><input id="deepFill" type="range" min="50" max="100" step="5" value="100"><span class="val" id="deepFillVal">100%</span></div>
|
||||
<div class="ctl"><label> </label><button class="primary" id="deepWave">Run a wave</button></div>
|
||||
<div class="ctl"><label> </label><button id="deepWave5">Run 5 waves</button></div>
|
||||
<div class="ctl"><label> </label><button id="deepToTop">Run until you reach the top</button></div>
|
||||
<div class="ctl"><label> </label><button id="deepReset">Reset</button></div>
|
||||
</div>
|
||||
<div class="deep-sum">
|
||||
<div><div class="k">Your level</div><div class="v" id="dLevel">1</div><div class="s">reach = depth 1 to <span id="dReach">1</span></div></div>
|
||||
<div><div class="k">Entries to you</div><div class="v" id="dEntry">$0</div><div class="s">your directs' level 1</div></div>
|
||||
<div><div class="k">Cash to you</div><div class="v cash" id="dCash">$0</div><div class="s" id="dCashN">0 payments</div></div>
|
||||
<div><div class="k">Licences funded for you</div><div class="v lic" id="dLic">0</div><div class="s" id="dLicV">worth $0</div></div>
|
||||
<div><div class="k">Waves run</div><div class="v" id="dWaves">0</div><div class="s">one level per position per wave</div></div>
|
||||
<div><div class="k">Went above you</div><div class="v" id="dAbove">$0</div><div class="s">levels that pay uplines higher than you</div></div>
|
||||
<div><div class="k">Admin fee</div><div class="v" id="dFuel">$0</div><div class="s">to the receiver wallet</div></div>
|
||||
</div>
|
||||
<div class="tablewrap"><table id="deepTable" class="tabular"><thead><tr><th>Depth</th><th>Positions</th><th>Level now</th><th>Licences funded</th><th>Entries</th><th>Cash collected</th><th></th><th>Per position</th></tr></thead><tbody></tbody></table></div>
|
||||
<p class="note" id="deepNote" style="margin-top:10px"></p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</details>
|
||||
<section>
|
||||
<h2>The ladder, in numbers: one product per level</h2>
|
||||
<p class="note" id="ladderNote"></p>
|
||||
@@ -276,6 +292,6 @@ tr.you td{background:var(--reach-soft)}
|
||||
|
||||
|
||||
<p class="fine">Unlisted working page for planning. Not a member page, not an offer. Every number here is a mechanic, not a prediction.</p>
|
||||
<script src="/assets/plan-lab.js?v=20260927a"></script>
|
||||
<script src="/assets/plan-lab.js?v=20260927b"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user