Project
Open-source home
The repository is https://github.com/utilityincoming/american-peptide-org. Two trees are meant to be reused. The website around them is the reading copy.
Calculators
packages/calculators is dependency-free TypeScript: reconstitution.ts, blend.ts, blend-screen.ts, and pharmacokinetics.ts. The screen module records the application source revision it was checked against. License: MIT. The written method, including edge cases the types do not express, is under /methods.
node --experimental-strip-types --test packages/calculators/calculators.test.ts
Reconstitution
Download reconstitution.ts · Method · Revision d54b01e30165 · License
Blend draws
Download blend.ts · Method · Revision d54b01e30165 · License
Beta blend screen
Download blend-screen.ts · Method · Revision d54b01e30165 · License
Single-compartment PK
Download pharmacokinetics.ts · Method · Revision d54b01e30165 · License
Evidence tier schema
Use this badge after checking a record against the 0.1.1 release. The badge refers to JSON Schema validation.
<a href="https://americanpeptide.org/standards/evidence-tier/0.1.1"><img src="https://americanpeptide.org/badges/evidence-tier-0.1.1.svg" alt="Validated against americanpeptide.org v0.1.1"></a>
packages/evidence-tier holds JSON Schema draft 2020-12 for a claim. schema-0.1.1.json is the text of record. schema-0.1.0.json is the archived shape without scope. The same files are served at:
- /standards/evidence-tier/v0.1/schema.json
- /standards/evidence-tier/0.1.1/schema.json
- /standards/evidence-tier/0.1.0/schema.json
Worked records that pass the required fields are on example claims. The schema documents are CC BY 4.0, like the spec prose. Normative rules — when a scope note is required, how windows combine, when supersession is blocked — live in the spec, which a validator will not check for you beyond the required fields.
For the scope of the publications and their relationship to the interactive tools, see About the project.