The recipe

Exactly how your pie gets baked

There's no AI here, and your posts never leave your browser. Humble Pie Chart counts phrases, line breaks, hashtags and emoji using one small file of code. This page shows every rule, read live from that file.

Algorithm version · Read the code: scoring.js

The four steps

  1. Read your posts, locally

    Pasted text or your LinkedIn export is opened in your browser. Posts are split on lines of ---, or read from Shares.csv, Comments.csv and Reactions.csv in the export.

  2. Measure 12 habits

    Each habit is a simple rule: a list of phrases, a line-length check, or a count. Most measure the share of your posts that match.

  3. Score each habit from 0 to 100

    The measurement goes through one curve. Each habit has a target rate that earns a 90.

  4. Bake the pie

    Posts that trigger no habit at all become the slice. Everything else is "% serious," split among your top five habits.

The scoring curve

Every habit uses the same formula. It rises fast at first, then levels off, so a few matching posts move your score a lot and the last few points are hard to earn.

  • rate is what was measured. For most habits that's the share of your posts that match, so 3 matching posts out of 10 is a rate of 0.3.
  • target is the rate that earns a 90. Each habit's target is listed below.
  • Hitting twice the target earns . Nobody quite reaches 100 except through rounding.
ScoreBand shown on the card

The 12 habits

Each habit has a pie flavor, a rule, and a target. Phrase lists match whole words regardless of capitalization.

Reading the phrase lists: (a|b) means a or b. A ? makes the character before it optional, so honou?red matches honored and honoured. ^ means "at the very start."

Baking the pie

    Worked example. Say someone scores the numbers below, and of their 10 posts triggered no habit at all. That makes them serious. Here's how the top five split that share:

    SliceScoreScore²Share of pie
    % seriousLabel

    Try a sentence

    Type or paste any post to see which rules it triggers. This is the same code the quiz uses, and it runs only in your browser.

      What it gets wrong

      • It reads words, not meaning. "I am not humbled" still counts as humbled, and sarcasm is invisible to it.
      • It's English-only. Posts in other languages mostly score as chill.
      • Pasted posts are missing information. They don't show photos, reposts or likes, so those habits fall back on phrases and the slider. An export is more accurate.
      • Small batches swing hard. With 3 posts, one post is a third of everything. Ten or more is steadier.
      • The phrase lists are opinions. They're meant to be funny and recognizable, not fair or scientific.
      • The numbers are comedy, not statistics. The targets and thresholds were tuned to make results fun.

      Privacy

      • Your posts never leave your browser. The site never uploads or stores them, and it uses no cookies, accounts or analytics. Close the tab and they're gone.
      • Your browser does download a few things to show the page: the site's own files from Cloudflare, which hosts it; fonts from Google Fonts; and two open-source libraries from cdnjs, JSZip to open the export zip and PapaParse to read its spreadsheets. Like any website, those services see a normal page request from your IP address. They never see your posts.
      • The merch preview draws every design in your browser. When you open it from your results, your pie's numbers travel in the part of the link after the # sign, which browsers never send to any server. Your posts don't go along, only the pie.
      • You can check. scoring.js contains no network calls. Open your browser's developer tools on the quiz page, watch the Network tab while you score, and nothing gets sent.

      Ready for a slice?

      Paste your posts and see what your pie is made of.

      For entertainment only. Not a real assessment, and not affiliated with or endorsed by LinkedIn.