Skip to content

Give each compound with published doses its own calculator page - #90

Merged
fosterwei merged 1 commit into
mainfrom
feat/per-peptide-calculators
Oct 12, 2026
Merged

fosterwei merged 1 commit into
mainfrom
feat/per-peptide-calculators

Conversation

@fosterwei

Copy link
Copy Markdown
Owner

Nineteen new pages at /calculators/<compound>, plus an index, modelled on the per-peptide calculators peptidecalcs.com ranks with.

The problem with a page per peptide

The arithmetic is identical for every peptide. Nineteen pages that each divide mg by mL are one page with the name changed, and this site has already noindexed seven pages on exactly that principle.

What differs is the evidence, and the site already holds it: every record carries study_doses as cited claims with an evidence tier. Each calculator page puts that table under the tool — what the paper administered, in which species, linked to the paper. No generic calculator can do that, and none of the competitors cites a study for its numbers.

Which compounds qualify

A compound gets a page only if its record is written and reviewed and carries at least two distinct quoted dose figures. 19 of 34 clear it.

Compound Dose figures Human doses
ARA-290, retatrutide 7 5, 6
BPC-157, cagrilintide, MOTS-c, selank, semax, tesofensine 6 0–6
AOD-9604, ipamorelin, tesamorelin 5 0–6
survodutide 4 4
DSIP, melanotan II, SS-31 3 3–6
GHRP-6, humanin, TB-500, thymosin alpha-1 2 0–8

The fifteen that do not qualify get nothing, which is the point.

The refusal survives

No body weight, no condition, no returned dose. Showing what a trial gave is reporting, which is what every record here does; suggesting what a reader should take would be advice, which none of them does.

Pages where no human dose exists say so in the lede rather than letting an animal per-kilogram figure imply one. Nine of the nineteen are in that position.

Tests

test_calculators.mjs now covers every generated page, not just the three generic tools: form present, output present, dose table non-empty, and the script computing the known 5 mg / 2 mL / 250 mcg case.

36 assertions, up from 17.

Injected fault Caught
Form stripped from one page yes, exits 1
Dose table emptied yes, exits 1

Without this, one template change would silently empty nineteen pages at once, which is exactly how the unit converter and vial planner shipped as headings with no calculator.

Plumbing

The calculator is the existing component, so the arithmetic has one implementation and one set of tests. The sitemap emits these pages explicitly, because they derive from the compounds collection rather than being a collection of their own and nothing else would have listed them. Sitemap goes from 58 to 78 URLs.

Gates

Content validation (59 records), registry check, 36 drafter tests, 36 calculator tests, loop gate 47/47, all eight link rules.

🤖 Generated with Claude Code

Nineteen new pages at /calculators/<compound>, plus an index, modelled on
the per-peptide calculators that peptidecalcs.com ranks with.

The arithmetic is identical for every peptide, so the arithmetic cannot
be what makes nineteen pages worth nineteen URLs. What differs is the
doses published studies of that compound actually used, and this site
already holds those as cited claims with an evidence tier on every
record. Each page puts that table under the calculator: what the paper
administered, in which species, with a link to the paper. No generic
calculator can do that, and no competitor cites a study for its numbers.

That same fact decides which compounds get a page. A compound qualifies
only if its record is written and reviewed and carries at least two
distinct quoted dose figures. Nineteen of thirty-four clear it. The rest
would be this page with the name changed, which is how a programmatic set
becomes index bloat, and the site has already noindexed seven pages on
that principle.

The pages keep the refusal the generic tool has: no body weight, no
condition, no returned dose. Showing what a trial gave is reporting,
which is what every record here does. Suggesting what a reader should
take would be advice, which none of them does. Pages where no human dose
exists say so in the lede rather than letting an animal figure imply one.

The calculator itself is the existing component, so the arithmetic has
one implementation and one set of tests.

test_calculators.mjs now covers every generated page, not just the three
generic tools: form present, output present, dose table non-empty, and
the script computing the known 5 mg / 2 mL / 250 mcg case. 36 assertions,
up from 17. Verified by stripping a form and by emptying a dose table,
each of which exits 1. Without this, one template change would silently
empty nineteen pages at once, which is exactly how the unit converter and
vial planner shipped as headings with no calculator.

The sitemap emits them explicitly, because they derive from the compounds
collection rather than being a collection of their own and nothing else
would have listed them.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
research-reference Ready Ready Preview Oct 12, 2026 10:36am UTC

@fosterwei
fosterwei merged commit 091a632 into main Oct 12, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — cb562177 Deployed Oct 12, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant