Skip to content

Methods and checksMethods

How every result is reached and what it was checked against, app by app.

Methods and checks pages

Absolute or relative bioavailability from dose-normalised exposures, version 1.0.1

pk-bioavailability@1.0.1: this version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, and what was not checked. This version's record is not rewritten; a correction is added under Changes.

What this page can and cannot show

Level: Checked against a reference; exact rationals and a second implementation by a separate agent; equal clearance assumed; no outside program. Reference kind: our own exact-arithmetic script and a hand-worked case.

Checked by this project, not independently reviewed. Every method on this page has its equations, constants, sources and cases on record, and its cases agree with the stated reference within the stated tolerance. A reader can follow each method's worked example by hand; that shows the stated method gives the stated answer for one set of inputs, and does not test the code. The other cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed them.

Every version of this method · Every method · What the levels mean

Version 1.0.1

Level: Checked against a reference; exact rationals and a second implementation by a separate agent; equal clearance assumed; no outside program. Reference kind: our own exact-arithmetic script and a hand-worked case. pk-bioavailability@1.0.1

Built, not hosted. Generated from a snapshot of the library's records taken on 2026-11-25, as committed on 2026-11-25. A later snapshot replaces this one, so these records and this page can change.

Verification statement: F = (AUC_test·Dose_ref)/(AUC_ref·Dose_test), derived from Choi 2019 Eq. (1), CL = Dose·F/AUC_inf, with equal clearance (re-read at source 14 November 2026, SHA-256 matching); AUClast is this method's own. Compared with the project's exact rational arithmetic and with a second implementation in Python by a separate agent of the same model family, 34 cases at relative 1e-15, 25 at the edges. Elementary arithmetic on no published constant: no outside program.

F (or Frel) as the ratio of dose-normalised AUCs, assuming the same clearance in both administrations.

  • How results are reported: none: full double precision; F above 1 is reported as computed, never capped
  • Uncertainty: A ratio of the stated exposures; no uncertainty is propagated from them.
  • Reference, as its record states it: the project's exact rational arithmetic and a second implementation in Python by a separate agent of the same model family
  • Level confirmed by this project's ruling of 14 November 2026

What this page can and cannot show

What was checked

43 cases in 2 files, linked by this exact version.

Run through the tool at build against our own exact-arithmetic script and a hand-worked case: 35 agree within the tolerance the file states, 8 refuse as the case expects, 0 differ, 0 were not run.

  • File 1, 9 cases

    • Where the expected values came from: our own exact-arithmetic script and a hand-worked case
    • Recorded on: 2026-11-10
    • Reference: mpmath with fractions.Fraction, 1.3.0; licence BSD-3-Clause
    • Tolerance as the file states it: relative 1e-12 on the fraction, absolute 1e-24 below 1e-12; statuses, codes and units exact
  • File 2, 34 cases

    • Where the expected values came from: our own exact-arithmetic script and a hand-worked case
    • Recorded on: 2026-11-14
    • Reference: second implementation by a fresh agent (Python 3.13), 2026-11-14; licence BSD-3-Clause
    • Tolerance as the file states it: every number relative 1e-15 (absolute 1e-30 below 1e-15, in each value's unit); counts, statuses, codes, labels and strings exact

Apart from the worked example, the cases and their values are not printed here. This shows agreement with this project's recorded cases. It does not show that a method suits your work, and it is not a qualification.

What was not checked

Whether clearance is the same in both administrations (the method's assumption); dose basis (free base or salt), which a mass-to-mass ratio cannot detect; for AUClast, whether both profiles were sampled long enough; dose-independent kinetics across two different doses (part of equal clearance); a molar-mass bridge between mass and molar pairs (not offered in 1.0.0).

Definition or model

A closed form: the result follows from the inputs by the equations alone.

Equations

F = (AUC_test · Dose_ref) / (AUC_ref · Dose_test)
Symbol Meaning and unit
F bioavailability of the test relative to the reference
AUC_test AUC of the test administration (or in nmol*h/L); the two AUCs share one dimension and the two doses share one dimension, so a molar AUC pair with a mass dose pair is computed: each ratio has no unit, ng*h/mL
AUC_ref AUC of the reference, of the same type and dimension, ng*h/mL
Dose_test test dose (or in nmol), mg
Dose_ref reference dose, of the same dimension, mg

Source: Choi G-W, Lee Y-B, Cho H-Y. Interpretation of non-clinical data for prediction of human pharmacokinetic parameters: in vitro-in vivo extrapolation and allometric scaling. Pharmaceutics 2019; 11(4): 168, equation 1, section 2.1 (Physiological Clearance Concept); Eq. (1) is CL = Dose·F/AUC_inf. The ratio is derived from it, not printed: equal clearance in both administrations gives F_test/F_ref = (AUC_test·Dose_ref)/(AUC_ref·Dose_test), with F_ref = 1 for an intravenous reference. Using AUClast in place of AUC_inf is this method's own choice., version of record, as Europe PMC's full-text XML; read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning af2fe7267e59. Free to read (CC BY 4.0), checked 2026-11-11. No erratum found (searched Europe PMC comment and correction links, Crossref updated-by), 2026-11-11.

Constants

Constants: none used.

Worked example

Worked example: one case of pk-bioavailability@1.0.1, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.

Inputs

  • comparison = absolute
  • test.auc = 2400 ng*h/mL
  • test.aucType = aucinf
  • test.dose = 50 mg
  • reference.auc = 800 ng*h/mL
  • reference.aucType = aucinf
  • reference.dose = 10 mg

Steps

  1. F = 0.6, from test.auc, test.dose, reference.auc, reference.dose; by the equation above; gives fraction.

The working, as the case writes it:

F = (2400 × 10)/(800 × 50) = 24000/40000 = 0.6

Answer

  • fraction = 0.6

Where these values came from: our own exact-arithmetic script and a hand-worked case; Fraction arithmetic.

At build the tool returned this answer within the tolerance the file states: relative 1e-12 on the fraction, absolute 1e-24 below 1e-12; statuses, codes and units exact.

Who worked this case: not recorded.

What it refuses, and its input ranges

  • AUC_TYPES_DIFFER: the two AUCs are not of one type (AUClast against AUCinf) Next: State both AUCs as AUClast, or both as AUCinf.
  • DIMENSIONS_MIXED: the two AUCs, or the two doses, are of different dimensions (mass against amount): no molar mass is assumed or offered; checked after AUC_TYPES_DIFFER, which is returned when both apply Next: Convert one pair with the molar mass of the stated basis yourself, so that the two AUCs share one dimension and the two doses share one dimension.

Changes

2026-11-14-pk-bioavailability@1.0.1-1

2026-11-14 · pk-bioavailability@1.0.1 · Corrections to our methods

  • What was wrong: F was formed as (AUC_test·Dose_ref)/(AUC_ref·Dose_test) in doubles, so a product that underflowed or overflowed changed the answer: with test AUC 1e-200 ng*h/mL against a reference AUC of 1e200 ng*h/mL at equal doses the tool served F = 0 as computed, though F is above 0 for every allowed input; with test AUC 1e-200, reference dose 1e-200 mg, reference AUC 1 and test dose 1e-100 mg it served 0 for an exact F of 1e-300, which a double holds; a subnormal product (test AUC 1e-160, reference dose 1e-160) served about 1e-300 with only a few correct digits; and with all four values 1e200 both products overflowed and F = 1 was refused.
  • Affected: F in version 1.0.0 whenever AUC_test·Dose_ref or AUC_ref·Dose_test leaves the normal double range (below about 2.2e-308 or above about 1.8e308), or their quotient underflows to 0. Inputs whose products are normal doubles, all physically plausible ones among them, were unaffected.
  • What changed: In 1.0.1, when both products and their quotient are finite normal doubles F is computed as before; otherwise F is the exact rational of the four working doubles, rounded once to the nearest double, and is refused as RESULT_OUTSIDE_DOUBLE_RANGE only when that value is outside the normal double range. An exact 0 is never served. No landed case moved.
  • How it was found: The CSO's reading of the code for the D-0219 full check on 14 November 2026, under the CTO's ruling that the engine refuses a result that underflows to exactly 0 from non-zero factors; no edge case of the second implementation had tested it.
  • Cases added: stored reference values: the CSO's four inputs (F = 1e-400 refused; an underflowing product, a subnormal product and two overflowing products served from the exact rational as 1e-300, 1e-300 and 1), each agreeing with the second implementation and F rechecked in exact rationals.

Tools that use it

Cite this version

Absolute or relative bioavailability from dose-normalised exposures. Drybench; pk-bioavailability@1.0.1; https://www.drybench.com/methods/m/pk-bioavailability/1.0.1 (accessed [date]).