<div class="input-group">
    <label for="volunteering">Volunteering</label>
    <div class="slider-container">
        <input type="range" id="volunteering-slider" min="0" max="100" value="40">
        <div class="slider-ticks">
            <span>0</span>
            <span>100</span>
            <span>1k</span>
            <span>10k</span>
            <span>100k</span>
        </div>
    </div>
    <div class="input">
      <input type="number" id="volunteering" min="0" step="1" value="100"> hours
    </div>
    <label for="networth">Net worth</label>
    <div class="slider-container">
        <input type="range" id="networth-slider" min="0" max="100" value="40">
        <div class="slider-ticks">
            <span>0</span>
            <span>100k</span>
            <span>1M</span>
            <span>100M</span>
            <span>1B</span>
        </div>
    </div>
    <div class="input">
        <input type="number" id="networth" step="100" value="100000"> dollars
    </div>
    <label for="fitness">Fitness</label>
    <div class="slider-container">
        <input type="range" id="fitness-slider" min="0" max="100" value="70">
        <div class="slider-ticks">
            <span>0</span>
            <span>25</span>
            <span>50</span>
            <span>75</span>
            <span>100</span>
        </div>
    </div>
    <div class="input">
      <input type="number" id="fitness" min="0" max="100" step="1" value="70"> %ile
    </div>
</div>

<div class="result">
    Personal LGPA: <span id="lgpa-result">0</span>
</div>

<table class="scroll-x">
    <thead>
        <tr>
            <th></th>
            <th>Child 1</th>
            <th>Child 2</th>
            <th>Child 3</th>
            <th>Child 4</th>
            <th>Child 5</th>
        </tr>
    </thead>
    <tbody>
        <tr class="vol">
            <th>Volunteering</th>
            <td><input type="number" min="0" data-child="1" placeholder="0"></td>
            <td><input type="number" min="0" data-child="2" placeholder="0"></td>
            <td><input type="number" min="0" data-child="3" placeholder="0"></td>
            <td><input type="number" min="0" data-child="4" placeholder="0"></td>
            <td><input type="number" min="0" data-child="5" placeholder="0"></td>
        </tr>
        <tr class="net">
            <th>Net worth</th>
            <td><input type="number" min="0" data-child="1" placeholder="0"></td>
            <td><input type="number" min="0" data-child="2" placeholder="0"></td>
            <td><input type="number" min="0" data-child="3" placeholder="0"></td>
            <td><input type="number" min="0" data-child="4" placeholder="0"></td>
            <td><input type="number" min="0" data-child="5" placeholder="0"></td>
        </tr>
        <tr class="fit">
            <th>Fitness</th>
            <td><input type="number" min="0" max="100" data-child="1" placeholder="0"></td>
            <td><input type="number" min="0" max="100" data-child="2" placeholder="0"></td>
            <td><input type="number" min="0" max="100" data-child="3" placeholder="0"></td>
            <td><input type="number" min="0" max="100" data-child="4" placeholder="0"></td>
            <td><input type="number" min="0" max="100" data-child="5" placeholder="0"></td>
        </tr>
        <tr class="lgpa-row">
            <td></td>
            <td id="child-lgpa-1">0</td>
            <td id="child-lgpa-2">0</td>
            <td id="child-lgpa-3">0</td>
            <td id="child-lgpa-4">0</td>
            <td id="child-lgpa-5">0</td>
        </tr>
    </tbody>
</table>

<div class="result">
    Total LGPA: <span id="total-lgpa">0</span>
</div>

# Life GPA

They taught you to make number go up. They said that obedient kids get good
grades, that productive people get paid, that the wealthy are powerful and free
and attractive and happy.

But life doesn't always provide obvious numbers. You had GPA but graduated. You
had ELO but got a job. You had KPIs but took vacation. You had matches but got
married. You had salary but got laid off. You had citations but created a human.
You had BMI but got diagnosed. You had numbers but you changed.

They baked "number go up" into your traditions, beliefs, cultural norms, media,
milieu, etc. They programmed you to make number go up, and it's
difficult/dangerous to edit that stubborn firmware. People who venture beyond
their prescribed structures (e.g. school, work) often feel anxious and
worthless.

So maybe you need a number to strive, to thrive, to win. That's okay. You may
need that number to synthesize structure for what to do, how to live, who to
become.

LGPA is a number. When you are aimless and/or despondent, you can make this
number go up. It won't guarantee happiness, but it can incentivize some of its
correlates:

    LGPA =
      ln(♡) * log10($) * log[3/2](☺)
        + sum(lgpa(child[i]) / 4)

    ♡ = volunteer hours
    $ = net worth
    ☺ = fitness percentile

Some non-obvious beliefs are encoded into LGPA:

- **Balanced:** The LGPA formula punishes
  [min-maxing](https://en.wikipedia.org/wiki/Powergaming), i.e. LGPA is zero if
  fitness or wealth or volunteering are zero.
- **Curved:** In this formula, each variable adds diminishing returns, e.g.
  growing $10K into $100K is as valuable as $10M into $100M.
- **Sharable:** Couples/families can use shared LGPA to strategize specialized
  roles, e.g. LGPA(Alice+Bob) ≥ LGPA(Alice)+LGPA(Bob).
- **Domestic:** Many definitions of "success" are blind to domestic labor. Good
  parents should feel like valuable contributors to society.
- **Independent:** Parents shouldn't fulfill dreams/goals through children. In
  this formula, parents are incentivized to pursue personal growth.
- **Responsible:** Your life is not fungible. Spending money on charity cannot
  be exchanged for spending time on charity.
- **Accomodating:** The definitions of "fitness" and "volunteering" are
  purposefully vague enough to accomodate many worldviews/beliefs. Two
  reasonable respective starting-points: _age-adjusted VO2-Max percentile_ and
  _unprofitable hours spent on strangers_.
- **Economic:** This formula assumes that most dollars are earned via
  positive-sum interactions. If true, net worth is a crude measure for the
  amount of value one has created for other people. "Cumulative non-inherited
  net worth" might be a more appropriate variable for LGPA.

They taught you to make number go up -- don't play by their rules. You needn't
feed your organs into a vending machine. You can pursue your own number; you can
use that number to synthesize structure.

One day, you might build your stable structure far from those institutions.
Revel in your success -- your health, your abundance, your compassion. With
enough distance, you'll forget you ever wanted to be a number.
