Skip to content

Commit a8cae76

Browse files
Update roi_calculator.html
1 parent 4576687 commit a8cae76

File tree

1 file changed

+54
-52
lines changed

1 file changed

+54
-52
lines changed

demos/roi_calculator.html

Lines changed: 54 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -430,50 +430,10 @@
430430
</head>
431431
<body>
432432
<div class="container">
433-
<div class="header">
434-
<div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px;">
435-
<div style="flex: 1;">
436-
<div style="display: flex; align-items: center; gap: 15px; margin-bottom: 20px;">
437-
<div style="width: 50px; height: 50px; background: rgba(255,255,255,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; color: white; border: 2px solid rgba(255,255,255,0.3);">
438-
TL
439-
</div>
440-
<div>
441-
<h1 style="font-size: 1.8em; margin-bottom: 2px; font-weight: 400; letter-spacing: -0.5px;">
442-
Ternary Logic Framework
443-
</h1>
444-
<p style="font-size: 0.9em; opacity: 0.8; margin: 0;">
445-
Prudential Governance Quantification Engine
446-
</p>
447-
</div>
448-
</div>
449-
<div style="display: flex; gap: 20px; flex-wrap: wrap;">
450-
<div style="display: flex; align-items: center; gap: 8px;">
451-
<div style="width: 8px; height: 8px; background: #27ae60; border-radius: 50%;"></div>
452-
<span style="font-size: 0.85em; opacity: 0.9;">Basel III Aligned</span>
453-
</div>
454-
<div style="display: flex; align-items: center; gap: 8px;">
455-
<div style="width: 8px; height: 8px; background: #27ae60; border-radius: 50%;"></div>
456-
<span style="font-size: 0.85em; opacity: 0.9;">FATF Compliant</span>
457-
</div>
458-
<div style="display: flex; align-items: center; gap: 8px;">
459-
<div style="width: 8px; height: 8px; background: #27ae60; border-radius: 50%;"></div>
460-
<span style="font-size: 0.85em; opacity: 0.9;">ISO 31000</span>
461-
</div>
462-
</div>
463-
</div>
464-
<div style="text-align: right;">
465-
<div style="background: rgba(255,255,255,0.1); padding: 8px 15px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.2); margin-bottom: 8px;">
466-
<div style="font-size: 0.75em; opacity: 0.7; margin-bottom: 2px;">FRAMEWORK VERSION</div>
467-
<div style="font-size: 1.1em; font-weight: 500;">3.0.0</div>
468-
</div>
469-
<div style="font-size: 0.8em; opacity: 0.7;">Reference: TL-2025-001</div>
470-
</div>
471-
</div>
472-
<div style="border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; margin-top: 20px;">
473-
<p style="font-size: 0.95em; opacity: 0.85; font-style: italic;">
474-
"Quantifying the cost of absent accountability infrastructure in economic decision systems"
475-
</p>
476-
</div>
433+
<div class="header">
434+
<h1>Ternary Logic Framework</h1>
435+
<p class="subtitle">Enterprise Economic Impact Assessment Tool</p>
436+
<span class="version">Version 3.0 - Regulatory Grade</span>
477437
</div>
478438

479439
<div class="calculator">
@@ -666,6 +626,10 @@ <h2 class="section-title">Economic Impact Assessment</h2>
666626
Estimated reduction in decision errors through Epistemic Hold mechanism.
667627
Based on <span id="uncertainDecisions">0</span> high-uncertainty decisions per day.
668628
</div>
629+
<div style="margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(0,0,0,0.1);">
630+
<span style="font-size: 0.85em; opacity: 0.8;">Implementation Tier: </span>
631+
<span id="pricingTier" style="font-weight: 600;"></span>
632+
</div>
669633
</div>
670634

671635
<div class="metric-card">
@@ -851,16 +815,45 @@ <h2>Implementation Planning</h2>
851815
}
852816

853817
// Implementation costs based on REAL enterprise deployment
854-
const baseCost = Math.max(250000, employees * 150); // $150 per employee minimum
818+
// TIERED PRICING based on risk exposure
819+
let baseCost;
820+
let pricingTier;
821+
822+
if (annualExposure < 5000000) {
823+
// SME Tier: TL-Lite
824+
baseCost = Math.max(50000, employees * 25); // Much lower for small firms
825+
pricingTier = 'lite';
826+
} else if (annualExposure < 50000000) {
827+
// Mid-Market Tier
828+
baseCost = Math.max(150000, employees * 75);
829+
pricingTier = 'standard';
830+
} else if (annualExposure < 500000000) {
831+
// Enterprise Tier
832+
baseCost = Math.max(500000, employees * 150);
833+
pricingTier = 'enterprise';
834+
} else {
835+
// Systemic/Sovereign Tier
836+
baseCost = Math.max(2000000, employees * 300);
837+
pricingTier = 'systemic';
838+
}
839+
840+
// Adjust costs by tier
841+
const costMultiplier = {
842+
'lite': 0.15, // 15% of full cost for SMEs
843+
'standard': 0.35, // 35% for mid-market
844+
'enterprise': 0.7, // 70% for enterprise
845+
'systemic': 1.0 // Full cost for systemic institutions
846+
}[pricingTier];
847+
855848
const costs = {
856849
epistemic: baseCost,
857-
ledger: baseCost * 0.4,
858-
goukassian: baseCost * 0.3,
859-
decisionLogs: baseCost * 0.25,
860-
economic: baseCost * 0.5,
861-
sustainable: baseCost * 0.35,
862-
hybrid: baseCost * 0.3,
863-
anchors: baseCost * 0.2
850+
ledger: baseCost * 0.4 * costMultiplier,
851+
goukassian: baseCost * 0.3 * costMultiplier,
852+
decisionLogs: baseCost * 0.25 * costMultiplier,
853+
economic: baseCost * 0.5 * costMultiplier,
854+
sustainable: baseCost * 0.35 * costMultiplier,
855+
hybrid: baseCost * 0.3 * costMultiplier,
856+
anchors: baseCost * 0.2 * costMultiplier
864857
};
865858

866859
// Calculate benefits (CONSERVATIVE)
@@ -959,6 +952,15 @@ <h2>Implementation Planning</h2>
959952
document.getElementById('qualityImprovement').textContent = (errorReduction * 100).toFixed(0) + '%';
960953
document.getElementById('uncertainDecisions').textContent = Math.round(uncertainDecisions);
961954

955+
// Display pricing tier
956+
const tierLabels = {
957+
'lite': 'TL-Lite (SME)',
958+
'standard': 'TL-Standard (Mid-Market)',
959+
'enterprise': 'TL-Enterprise',
960+
'systemic': 'TL-Systemic (Full Constitutional Stack)'
961+
};
962+
document.getElementById('pricingTier').textContent = tierLabels[pricingTier] || 'Standard';
963+
962964
// Update breakdown table
963965
updateBreakdownTable(benefits, costs, pillars);
964966

0 commit comments

Comments
 (0)