Research · Case study · as of 2026-11-18

The Portfolio Census

A preregistered, two-model audit of everything I have built.

I have built a lot of things. Which of them should be merged, which should be archived, and where is the duplicated work? I wanted an answer I could not argue my way around.

I wrote down seven guesses about my own work, froze them with a hash, had two different AI models code 240 units of my code without seeing each other's answers, and published every guess the data did not back.

  • 32repositories
  • 240code units, coded twice
  • 9,360blind answers
  • 0.76Krippendorff's alpha
  • $140.98of a $150 cap
See the seven guessesBook a 20-minute call

The census repository is private because it holds the code of private projects. It is named here, not linked; every figure on this page is copied from its results report.

01 Seven guesses, scored

Each guess was written with its pass mark before any code was read. The bar is what the census measured; the tick is the pass mark. The site itself is a monorepo bigger than everything else combined, so every result is reported both ways.

All 32 repositories, the site's monorepo included (split into 246 surfaces and 24 shared areas).

5 confirmed, 2 not confirmed. Leaving the site out moves the numbers but changes no verdict.

  1. H1

    Other projects rebuild things the site already has

    Confirmed

    Repositories that rebuild at least one capability the site's shared kernel already provides (auth, payments, storage, model calls and so on).

    Seven repositories rebuild kernel capabilities. The biggest are a client platform and its archived first version, which each rebuild 18.

  2. H2

    Most repositories are dead weight

    Confirmed

    Repositories with no push in nine months and nothing anywhere that references them, out of 32.

    Eighteen of 32 qualify. It becomes 19 when references from the site are ignored: the site is the only thing that still points at one more of them.

  3. H3

    Duplication is material

    Confirmed

    Share of code lines that sit in a copy-paste clone of another unit.

    Confirmed, but mostly one pair: a client platform and its archived first version share 164,159 lines. Retiring that snapshot removes most of the duplication.

  4. H4

    Most of the effort sits far from revenue

    Not confirmed

    Share of code lines that serve one of the three revenue lines. The guess was under 20 percent.

    Wrong in both views: about two thirds of all the code serves a revenue line, and three quarters with the site left out. An exploratory view that leaves out the site's shared code, added after the freeze and labeled as such, still gives 49.9 percent.

  5. H5

    Nothing measures traffic

    Not confirmed

    Units that record analytics events into a store that persists. The guess was none.

    Wrong. Ten units record traffic, two of them outside the site.

  6. H6

    AI costs are unguarded

    Confirmed

    Recurring cost components known to have no spending cap. At least one would confirm it.

    Three code paths called a paid model with no monthly cap: a client platform, Atlas's research scripts and the client platform's archived first version. 32 more cost components could not be checked, because the hosting connectors do not expose their caps.

  7. H7

    The shared kernel lifts out cleanly

    Confirmed

    Share of kernel modules that import code from a specific product surface. Under 10 percent would confirm it.

    Confirmed: 10 of 323 modules reach into a surface, and 9 of the 10 example edges start in a test file, so the runtime code is cleaner than the ratio.

02 How it ran

Eight stages, one day, and a rule for each: nothing a model said counted unless it cited a file and line, and nothing could start until the plan was frozen.

  1. Freeze the guesses

    Seven hypotheses, each with a numeric threshold, a 39-code codebook in 12 families, and the scoring rule were written down first and hashed. After the freeze nothing in the plan could change; additions went in a dated deviations file instead.

    7 hypotheses, 39 codes

  2. Take the census

    Every repository was cloned read-only into scratch space and measured with pinned open-source tools: lines of code, dependencies, copy-paste clones, import graphs, static rules and a secret scan that reports counts and paths, never a value.

    32 repositories

  3. Pilot on two units

    Both coders ran on two units first. They disagreed on 8 of 78 answers; five were one coder missing something the other found, so the coder prompt now has to search before it may call a capability absent.

    8 disagreements, codebook 0.2.0

  4. Code it twice, blind

    Two models from different tiers coded every unit separately, neither seeing the other's answers. Every 'present' answer had to cite a file and line range at a pinned commit.

    240 units x 39 codes

  5. Settle the disagreements

    A third, larger model settled every disagreement. When it could not tell, the answer stayed 'unclear', and unclear never counts as present, so the results lean conservative.

    alpha 0.76

  6. Audit the citations

    A script checked every citation behind every present answer and dropped any value whose citations did not resolve. Then a random sample of 25 claims was checked against the code itself.

    2,714 citations, 2 of 25 failed

  7. Red-team the plan

    The ten highest-scoring merge ideas went to a red team asked to find a blocker and cite it. Five were vetoed, the rest drew objections that travel with the plans.

    5 vetoes

  8. Act on it

    Three plans were selected by the preregistered rule, and the one finding that cost real money (AI calls with no spending cap) was fixed the same day and merged the next.

    3 plans, 2 spend guards

Measured from the token counts each model call reported, at list prices. The run was meant to pause for my approval at 80 percent of the cap and could not pass 100 percent. It did not pause: after the coding phase, spend went unlogged until the next day, so the guard could not see the run cross the line. The total stayed under the cap, and the study records the miss as a deviation.

03 Could the two coders agree?

240 units, 39 questions each, 9,360 answers per coder. Overall alpha 0.76; the line is the 0.667 bar for treating a family as reliable. The pilot on 2 units scored 0.781 with 8 disagreements.

Krippendorff's alpha corrects raw agreement for the agreement two coders would reach by chance. Raw agreement is high everywhere because most capabilities are absent from most units; alpha is the honest number. Families under 0.667 are reported as exploratory, and the results say which hypotheses lean on them.

Every claim cited

2,714 citations stood behind 927 present answers. 0 had to be dropped for a citation that did not resolve.

A random sample, re-checked

25 random claims re-checked against the code: 2 failed, under the preregistered limit of 3.

The pilot changed the rules

5 of the pilot's 8 disagreements were one coder missing what the other found, so absence now has to be searched for, not assumed.

04 What changed because of it

  • Merged

    H6: three paid model calls had no monthly cap

    Spend guards the same day: a monthly cap, a kill switch and a cost ledger on the client platform's model calls, and a per-run dollar cap on Atlas's research scripts. Both merged the next day.

  • Decided

    H2: 18 of 32 repositories are dead weight

    An archive list with each repository's last push. I kept two that the rule could not see a reason for, and the census says that rather than hiding it.

  • Planned

    H3: duplication is one pair

    The client platform's archived first version is the copy to retire; it carries most of the cloned lines and one of the three unguarded model calls.

  • Published

    H4 and H5: two of my guesses were wrong

    Kept on the page as plainly as the confirmed ones. More of the code earns than I believed, and traffic is measured in ten places, so the next step is joining those, not starting from zero.

  • Planned

    Backlog: three plans by rule

    Extract the red-lines module that guards every outbound publish path, and consolidate analytics ingest and object storage. Each plan carries the red team's objection with it.

05 What the red team stopped

The scoring rule liked merging everything that looked alike. A red team was asked to find the blocker in each of the top ten ideas and cite it. These five it vetoed; the plans that survived carry their objections with them.

  • One shared login for everything

    The client platform signs its own tokens for a client's tenants; joining that to the site's own sessions would tie a client's security to a personal website.

  • One shared permissions module

    Permissions differ on purpose from product to product, and a bug in a shared module would reach a client.

  • One shared database layer

    Two stacks in two languages, and two databases the site's own rules say must never be mixed.

  • One shared machine-token scheme

    Atlas checks tokens against the site's public keys and shares no secret with it, by design; one scheme would add a shared dependency across that trust boundary.

  • One shared model-call client

    The callers are in two languages, and each carries its own spend tag and content guard.

06 What this run did not do

  • The spending guard went blind for the last third of the run. Spend after the coding phase was logged a day late, so the run passed its 80 percent pause line without stopping. The total, $140.98, stayed under the $150 cap.
  • Every check was done by a model or a script. No person hand-audited the sample, and the preregistration was frozen by hash in the repository, not filed with an outside registry. I skipped both to finish in one day, and they are the first things to add next time.
  • Three code families (data, communications, interface) fell under the reliability bar. H1 leans on them, so treat its count as a floor with soft edges.
  • Adjudication was not perfectly uniform: separate batches settled a few edge cases differently. Where the adjudicator chose unclear, the result leans conservative.
  • H6 rests on 32 cost components nobody could check, because the hosting platforms' connectors do not report spending caps.
  • The scoring rule tied on many merge ideas and fell through to alphabetical order. The three selected plans are the rule's output, not a claim that they are the best three.

07 Why a team rolling out AI should care

08 Versions

  • 1.0.0 2026-11-18 First publication, from the census run of the same day.

Reuse it under CC BY 4.0. Cite it from its research record. Source: jake0lawrence/portfolio-census, private.

Hiring for an AI implementation role?

I make software work inside real organizations, and now that means AI systems a team can check: the buying, the guardrails, the training and the build. If you are filling a role like that, twenty minutes is the quickest way to see whether we fit.

Book a 20-minute call →Have a project instead? See freelance work →