<script>
let select;
let score;
const rules = [
createRule("Plausible", "Number of potential customers (consumers or businesses) who actually have the problem", [[1000, ''], [10_000, ''], [100_000, ''], [1_000_000, ''], [10_000_000, ''], [100_000_000, ''], [1_000_000_000, '']]),
createRule("Self-Aware", "Willing to solve the problem", [[0.01, 'Few agree or care'], [0.1, 'Thought-leaders care and evangelize'], [0.5, 'It’s an industry standard-practice'], [1.0, 'Almost impossible to find someone who doesn’t care']]),
createRule("Lucrative", "Annual allocated budget (net-revenue)", [[1, ''], [10, ''], [100, ''], [1000, ''], [10_000, , ''], [100_000, ''], [1_000_000, '']], '$'),
createRule('Liquid', 'Frequency of purchase decision', [
[0.01, 'Every few years'],
[0.1, 'An annual decision'],
[1.0, 'Always in the market, easy to switch']
]),
createRule("Eager (identity)", "Attitude towards your company", [[0, 'They cannot buy from you'], [0.1, 'Structural challenges'], [0.5, 'Indifferent; no red flags'], [1.0, 'Mission-level emotional desire to select you']]),
createRule("Eager (comparative)", "Competitive differentiation", [[0.1, 'No material differentiation'], [0.5, 'Some features are so good, some people will buy just for that'], [1.0, 'One-of-a-kind solution that has no viable alternative']]),
createRule("Enduring", " Will they still be here a year from now?", [[0.01, 'One-off purchase without loyalty'], [0.1, 'One-off purchase, but happy customers will buy again and tell their friends'], [0.5, 'Recurring-revenue from a recurring-problem'], [1.0, 'Strong lock-in from fiat, integrations, or being the system-of-record for a business-critical system']])
]
function createRule(title, description, options, prefix) {
return {
title,
description,
options,
prefix
}
}
function format(number) {
if (number < 1000) {
return number;
}
if (number < 1_000_000) {
return (number / 1000) + 'k';
}
if (number < 1_000_000_000) {