Curve comparison and potency
assay_curve_comparison is a tool of the Drybench MCP server. It runs the same engine and reporting rules as Drybench Assay.
What it answers
Required: scale (raw, percent). Compares two to eight dose-response curves by an unweighted global four-parameter logistic fit. Tests one shared midpoint (C50) and each shared Top, Bottom or Hill by the extra-sum-of-squares F, and gives each curve's log C50 difference and C50 ratio against the reference with profile and Wald intervals. Two curves sharing all three add relative potency with parallelism intervals. Refuses a curve whose own C50 the reporting rules withhold. Withholds the ratio for an unbounded or poorly determined own interval, and an F test at rounding residue.
The reply's result carries these fields (each measured number carries its unit, or a withheld notice when a rule applies):
shared(array, required)reference(string, required)observations(integer, unit1, required)reading(required, or withheld): One ofdifferent,consistent.midpointTest(object, required, or withheld)F(number, unit1, required)p(number, unit1, required)df1(integer, unit1, required)df2(integer, unit1, required)alpha(number, unit1, required)preferFull(boolean, required)
searchLimit(object, optional)parameter(required): One oftop,bottom,logIC50,hill,delta.curve(string, optional)
curves(array of object, required)id(string, required)reference(boolean, required)logC50(number, unitlog10(M), required)deltaLogC50(object, optional)estimate(number, unitlog10(1), required)profile(object, required)wald(object, required, or withheld)
ratio(object, required, or withheld)coverage(number, unit1, required)df(integer, unit1, required)ratios(array of object, required)curve(string, required)reference(string, required)ratio(number, unit1, required)profile(object, required)
sharedMidpointLogC50(number, unitlog10(M, or withheld), required)constraintTests(object, required)top(object, optional)test(object, required, or withheld)searchLimit(object, optional)
bottom(object, optional)test(object, required, or withheld)searchLimit(object, optional)
hill(object, optional)test(object, required, or withheld)searchLimit(object, optional)
residualSumsOfSquares(object, required, or withheld)separate(object, required)rss(number, units(as-given, or withheld)^2,%^2, required)df(integer, unit1, required)
constrained(object, required)rss(number, units(as-given, or withheld)^2,%^2, required)df(integer, unit1, required)
sharedMidpoint(object, required)rss(number, units(as-given, or withheld)^2,%^2, required)df(integer, unit1, required)
relativePotency(object, optional, or withheld)reference(string, required)test(string, required)rho(object, required, or withheld)logRho(number, unitlog10(1), required)profile(object, required)wald(object, required, or withheld)
jointF(object, required, or withheld)F(number, unit1, required)p(number, unit1, required)df1(integer, unit1, required)df2(integer, unit1, required)alpha(number, unit1, required)preferFull(boolean, required)
parallelism(object, required)coverage(number, unit1, required)df(integer, unit1, required)intervals(object, required)classes(object, required)extrapolated(object, optional)
relativePotencyCurve(string, optional)notes(array of object, optional)id(string, required)text(string, required)
flags(array of object, optional)id(string, required)text(string, required)paths(array of string, required)
Limits:
- A C50 estimated here describes this assay under these conditions and is not a binding constant.
- It computes from the inputs it receives. It does not check the person's data, design or sample.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
Research and education software; not for diagnosis or treatment decisions.
Not medical advice. Nothing here is advice about any medicine, treatment or condition, and nothing here is an assessment of any person's variant, sample or molecule. Decisions made with it are yours.
Not a forecast. Stages, scores, rates, rankings and similarities shown here describe records as they stand, or historical averages; they are not a forecast for any molecule, trial, drug, company or target.
What this page can and cannot show
Weakest level among this tool's methods: Tested, not reference-checked. Below the top level: Response evidence and reporting policy (Tested, not reference-checked); Concentration-unit caution threshold above 0.1 M (Tested, not reference-checked). Reference kind not recorded for 8 of 8 methods.
Not fully recorded, and not independently reviewed. Items marked "Not recorded" are missing from this project's records for the version named. Apart from any worked example shown, the cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed these methods or checks.
Open Drybench Assay · Drybench Assay: methods and checks · What the levels mean · Every assistant tool
Inputs
An omitted input takes the default its description states; the reply's inputsReceived shows what was given. Any input not listed here is refused.
curves(array of object, required): Two to eight curves: { id, points, fixed? }.id(string, required)points(array of object, required)concentration(number, optional): Concentration in concentrationUnit, strictly positive.response(number, optional): Observed response.x(number, optional): log10 of the concentration in mol/L (needs logConcentrationUnit).y(number, optional): Observed response (alternative to response).excluded(boolean, optional): True to leave this well out of every fit.
fixed(object, optional): Top, Bottom or Hill held fixed for this curve, in response units (Hill dimensionless). Never logIC50 or a shared parameter.top(number, optional)bottom(number, optional)hill(number, optional)
shared(array of string, required): Parameters constrained to one value across the curves. Required. each item: One oftop,bottom,hill.reference(string, required): The id of the reference curve; every difference and ratio is taken against it. Required.scale(string, required): Response scale of every curve, for each curve's own reporting rules. Required. One ofraw,percent.concentrationUnit(string, optional): Molar unit of every 'concentration' (M, mM, uM, nM, pM, fM). Required when any point gives concentration; refused when none does. One ofM,mM,uM,nM,pM,fM,mol/L,µM,μM.logConcentrationUnit(string, optional): 'log10(M)': x is log10 of the concentration in mol/L. Required when any point gives x; refused when none does. One oflog10(M),log10 M.margins(object, optional): Optional equivalence margins for relative potency, each [low, high]: hillRatio as a ratio, top and bottom in response units.hillRatio(array of number, optional)top(array of number, optional)bottom(array of number, optional)
What it withholds or refuses
A refusal, a withheld value or another named status is an answer: the reply gives the reason and no number in its place; an absent value is not zero. Invalid input means nothing ran.
NO_DATA: No points. (four-pl@2.1.2)beyond-double-range: A fitted plateau, multiplied back from the scaled responses, lies beyond the largest number the arithmetic can hold (2.1.1). (four-pl@2.1.2)NON_POSITIVE_CONCENTRATION: A concentration of zero or below is used as a point. (four-pl@2.1.2)NON_FINITE_DATA: A concentration or response is not a finite number. (four-pl@2.1.2)INVALID_UNIT: A concentration without its concentrationUnit, or a log concentration without logConcentrationUnit "log10 M". (four-pl@2.1.2)INVALID_FIXED_PARAM: A fixed parameter that is not a finite number. (four-pl@2.1.2)withheld: Zero residual variance or a relative-weighted fit: no interval. (profile-likelihood-log-ic50@2.1.2)RULE_I: Fewer than four distinct concentrations, or a concentration at or below zero used as a point: the curve is not fitted. (ic50-rules@2.0.0)RULE_II: No response evidence (permutation rank-trend p >= 0.05): the IC50 is withheld. (ic50-rules@2.0.0)RULE_II_NOT_COMPUTABLE: Permutation rank-trend test cannot be computed (concentrations do not vary within a block): the IC50 is withheld. (ic50-rules@2.0.0)RULE_III_BELOW: Fewer than two tested concentrations lie below the fitted IC50: withheld. (ic50-rules@2.0.0)RULE_III_ABOVE: Fewer than two tested concentrations lie above the fitted IC50: withheld. (ic50-rules@2.0.0)RULE_IV: A free plateau has fewer than two tested concentrations at or beyond its bend point: withheld. (ic50-rules@2.0.0)RULE_V_BELOW: Absolute IC50 (percent scale): fewer than two concentrations with fitted response below 50%: withheld. (ic50-rules@2.0.0)RULE_V_ABOVE: Absolute IC50 (percent scale): fewer than two concentrations with fitted response above 50%: withheld. (ic50-rules@2.0.0)NOT_PERCENT_SCALE: scale is 'raw': absolute IC50 withheld. (ic50-rules@2.0.0)NO_ABSOLUTE_CROSSING: Fitted percent-scale curve does not cross 50% at a finite concentration: absolute IC50 withheld. (ic50-rules@2.0.0)NUMERICALLY_UNRESOLVED_STEP: Least squares reaches a step limit between two tested concentrations: withheld. (ic50-rules@2.0.0)NUMERICALLY_UNRESOLVED: Least squares has no finite minimum (beyond-range or plateau-runaway): withheld. (ic50-rules@2.0.0)zero-residual: The fuller model's residual sum of squares is at most 1e-20 of the sum of squared responses: no F is formed (null), and each caller withholds its test with its own reason (the curve comparison's tests and relative potency's joint F absent; the Schild and operational analyses withheld as zero-residual; the other engines' own zero-residual states). (extra-sum-of-squares-f@2.1.0)
How to cite a number from it
Every reply carries a cite line. It names, in order: the tool and the server version; each method the call went through, with its version and level (and the limit beside a level where the method's record narrows it); the receipt, the first 12 characters of the hashes of the arguments and of the result; and the address where its methods are described. Quote it with any number taken from the reply.
The receipt identifies a computation; it is not a signature. It holds no time, so the same arguments on the same server and method versions give the same receipt, and anyone can call the tool again and compare; a later method version can change the output hash.
This page has no example for this tool yet. The cite line's form, with placeholders where a call's own values go:
assay_curve_comparison, server 1.0.0; status invalid-input, nothing ran; no method record; receipt <input hash, 12 characters>/<output hash, 12 characters>; methods https://www.drybench.com/methods/assay; page https://www.drybench.com/methods/tools/assay-curve-comparison. There is no result to quote; this line identifies the call and its receipt.
Methods
Every method and reference the tool's replies cite, with its version and level. A reply names the methods that call went through.
Four-parameter logistic fit
- Method:
four-pl@2.1.2 - Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- Reference: Hill AV. J Physiol 1910;40:iv-vii (the logistic form); Ritz C, Baty F, Streibig JC, Gerhard D. Dose-response analysis using R. PLoS ONE 2015;10:e0146021 (the LL.4 parameterisation the fixtures map to). doi:10.1371/journal.pone.0146021
- How it was checked: Version 2 unweighted estimates and intervals are checked against the compatible R fixtures. Historical relative-loss and reporting-policy fixtures are archival, not validation of IRLS or the permutation gate.
- What was not checked: Independent SciPy refits on the synthetic dose campaign confirm that the 15 historical lower bounds are contradicted by feasible curves. The retained draft hand calculation demonstrates the unchanged model and threshold. It predates this check. The campaign is synthetic. It does not establish population coverage or replace an externally measured reference. No separately published case set or production-endpoint check is pinned to this version. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.
- Method, sources and checks
- On Drybench Assay's methods page: Dose response
Bounded Levenberg-Marquardt with an analytic Jacobian and deterministic starts
- Method:
levenberg-marquardt-bounded@2.0.0 - Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- Reference: Levenberg K. Q Appl Math 1944;2:164-168; Marquardt DW. J Soc Indust Appl Math 1963;11:431-441 (original papers).
- How it was checked: Version 2 unweighted estimates and intervals are checked against the compatible R fixtures. Historical relative-loss and reporting-policy fixtures are archival, not validation of IRLS or the permutation gate.
- What was not checked: Neither Levenberg 1944 nor Marquardt 1963 was read; the method is described from the engine's own documentation and checked only by its results against R's nls and drc. Convergence from poor starts beyond the deterministic and alternate Hill starts is not checked. No published case set names levenberg-marquardt-bounded@2.0.0. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.
- Method, sources and checks
- On Drybench Assay's methods page: Dose response
Profile extra-sum-of-squares interval on log10 C50
- Method:
profile-likelihood-log-ic50@2.1.2 - Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- Reference: The objective rises to its minimum × (1 + F(0.95; 1, n − p)/(n − p)) with the other parameters refitted (brief §4.1); the asymmetrical interval GraphPad's Prism 8 guide names as its initial default (read 5 October 2026); Only unweighted independent Gaussian errors with constant variance; nonlinear F approximation. A bound not reached within 10 log10 units or after an unresolved refit is labelled not bounded within the search, not mathematically infinite. Zero residual variance and relative-weighted fits have no interval.
- How it was checked: Unweighted profile extra-sum-of-squares computation checked against compatible R fixtures. Uses an approximate nonlinear F threshold; bounds beyond or unresolved within the search are not claimed mathematically infinite.
- What was not checked: Independent SciPy refits on the synthetic dose campaign confirm that the 15 historical lower bounds are contradicted by feasible curves. The retained draft hand calculation demonstrates the unchanged model and threshold. It predates this check. The campaign is synthetic. It does not establish population coverage or replace an externally measured reference. No separately published case set or production-endpoint check is pinned to this version. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.
- Method, sources and checks
- On Drybench Assay's methods page: Dose response
Response evidence and reporting policy
- Method:
ic50-rules@2.0.0 - Level: Tested, not reference-checked; bend factor: after Sebaugh and McCray 2003, not read; rests on an abstract (Sebaugh 2011, PMID 22328315). Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- Reference: A two-sided within-plate permutation test of dose-response rank covariance supplies response evidence at p < 0.05; independent exchangeable observations are required. Exact through n=8, otherwise 1999 fixed-seed permutations with plus-one p-value. This is this app’s reporting policy, not biological-activity proof. Sebaugh JL. Guidelines for accurate EC50/IC50 estimation. Pharm Stat 2011;10:128-134 (PMID 22328315; abstract read 6 October 2026): two concentrations beyond each bend point; bend points at IC50 × 4.6805^(±1/|Hill|) (Sebaugh and McCray 2003, value checked by arithmetic; paper not yet read).
- How it was checked: Version 2 uses a two-sided within-plate rank permutation test at 0.05 for response evidence, plus numerical, bracketing and plateau checks. Exchangeability is required; this app-specific reporting policy does not establish biological activity. Version 1 F-gate fixtures are archival.
- What was not checked: k = 4.6805 is the root of (k − 1) ln k = k + 1, worked by this project. Sebaugh and McCray 2003, cited for the bend points, has not been read; whether this is their constant and their definition is not confirmed. A different definition of the bend point gives a different k, and would show or withhold some curves differently. Sebaugh 2011 was read in abstract only. The level stays as the engine's record states it and is not raised until a person has read Sebaugh and McCray 2003 (this project's ruling of 11 November 2026). The permutation test's p-value for n above 8 (fixed-seed permutations) is not worked by hand; the hand case covers rule (iv). No published case set names ic50-rules@2.0.0; the version 1 F-gate fixtures are archival. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.
- Method, sources and checks
- On Drybench Assay's methods page: Dose response
Curve comparison: shared versus separate midpoints by a global fit
- Method:
curve-comparison@1.3.1 - Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- Reference: Global four-parameter logistic fits over the chosen curves, unweighted: separate, constrained (named shared Top, Bottom or Hill) and shared midpoint; the extra-sum-of-squares F at α = 0.05 for shared against constrained, and for each named constraint against the separate fit; Δ = log10 C50_B − log10 C50_A as an explicit parameter, profiled to RSS_min × (1 + F(0.95; 1, df)/df) with the other parameters refitted, Wald Δ ± t(0.975, df) × SE as the named alternative (Fieller's interval is the equivalent on the linear ratio scale and is not used). The ratio is withheld when either curve's own interval is unbounded or wider than two log10 units; an F test is withheld when its fuller model's residual sum of squares is at most 1e-20 of the sum of squared responses (a fit to rounding residue; a repository convention, not a cited rule). Approximate for a nonlinear model; constant-variance unweighted errors; plate effects are confounded with a cross-plate comparison.
- How it was checked: Checked against SciPy least_squares global fits and a hand F on 12 cases (one shared midpoint, shifted pairs, Hill or the plateaus shared as named constraints, three curves, fixed plateaus, a poorly determined curve withholding the ratio, a curve with no finite minimum, the reference swapped, a units shift, rising curves and the worked MTT plate, whose shared-midpoint fit runs to its limit): residual sums of squares within 1e-6 relative, F within 1e-5 and p within 1e-4 relative, the C50 difference and its Wald bounds within 1e-6 log10, profile bounds within 1e-3 log10, withholdings exact. Simulated coverage of the 95 percent profile interval on the difference: 95.4 percent (11 concentrations in duplicate) and 93.4 percent (8 once each); the midpoint test's size 4.7 percent. Also checked against R 4.4.3 drc 4.0-0 (drm with curveid and pmodels, anova, compParm) on the 11 compared cases: residual sums of squares and F within about 1e-15, p within 3e-7 relative where it exceeds 1e-12 (below that drc's anova reports 1 − pf at its precision limit, and both are recorded as below 1e-12), the C50 difference within 4e-8 relative, and the Wald SE within 0.7 percent (drc's Hessian against the engine's JᵀJ, compared at 1e-2): agrees (2026-10-13). Refused below about 2e-7 and withheld above about 2e14 in largest response.
- What was not checked: not recorded for curve-comparison@1.3.1. Its absence does not mean everything was checked.
- Method, sources and checks
- On Drybench Assay's methods page: Comparing curves and experiments
Extra-sum-of-squares F-test
- Method:
extra-sum-of-squares-f@2.1.0 - Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- Reference: F = ((RSS_r − RSS_f)/(df_r − df_f))/(RSS_f/df_f), p from F(df_r − df_f, df_f) at α = 0.05; an approximate nested nonlinear-model diagnostic for unweighted constant-variance Gaussian errors. Withheld when RSS_f is at most 1e-20 of the sum of squared responses (a fit to rounding residue; a repository convention, not a cited rule). Flat versus logistic is nonregular and is never used as the response-evidence gate. Weighted comparisons are unavailable.
- How it was checked: Checked against the oracle's hand-worked F and p, confirmed by drc's anova(), on 6 nested comparisons: the residual sums of squares within 1e-6 relative, F within 1e-5 relative and p within 1e-4 relative (2026-10-06).
- What was not checked: The 0.05 threshold is a convention GraphPad's page does not fix; it is the engine's export, anchored here only to the page that describes the test. The hand case takes the two sums of squares from SciPy's published fits, so it checks the F and p arithmetic, not the fits; on that case the engine's F agrees to about 1e-13 relative. Carried forward from 2.0.0 unchanged: its fuller sum is far above the floor. Only the 4PL-against-5PL use in assay_standard_curve is hand-checked; the other four tools that cite this method (curve comparison, Schild, operational model, two-phase) are not. No textbook source for the F test was read; the GraphPad guide page is the only reading. The floor itself is checked by the engine's regressions and the zero-residual probe through the handlers, not by an independent oracle. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.
- Method, sources and checks
- On Drybench Assay's methods page: Curve shape and model choice
Relative potency under a parallel four-parameter logistic model, with equivalence intervals for parallelism
- Method:
relative-potency@1.3.1 - Level: Checked against a reference; synthetic cases only. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- Reference: Two curves compared with Top, Bottom and Hill shared and log C50 per curve; log10 ρ = logC50(reference) − logC50(test) with its 95 percent profile interval (Finney 1978, Statistical Method in Biological Assay, cited from memory). Parallelism by 90 percent Wald intervals on the Hill ratio and the Top and Bottom differences from the separate fits, read against the person's own margins (Hauck et al. 2005, PDA J Pharm Sci Technol 59:127–137; Jonkman and Sidik 2009, J Biopharm Stat 19:818–837; both cited from memory), and the joint extra-sum-of-squares F as information. The parallelism intervals are withheld when the separate fits leave no residual degrees of freedom or a bound is not finite (1.1.0), and the joint F when the separate fit's residual sum of squares is at most 1e-20 of the sum of squared responses (1.2.0).
- How it was checked: Checked against SciPy least_squares fits through the comparison oracle on 9 synthetic cases (a shift by ρ = 2, slopes differing, tops differing, a precise trivial difference, a weak test curve, rising curves, three concentrations and opposite directions refused, margins just outside an interval and not bracketing 0): residual sums of squares within 1e-6 relative, F within 1e-5 and p within 1e-4 relative, ρ, the Hill ratio and the plateau differences within 1e-5 relative, profile bounds within 1e-3 log10, states and margin classes exact. Simulated coverage on the shifted pair (2,000 replicates): ρ's 95 percent profile interval 94.9 percent; the 90 percent Wald intervals 88.9 (Hill ratio), 89.2 (Top) and 90.0 percent (Bottom). R 4.4.3 drc 4.0-0 LL2.4 agrees on every Hill ratio, plateau difference and joint F within 1e-5; its standard errors differ by up to 3.7 percent (drc's Hessian against the oracle's Gauss–Newton covariance), recorded (2026-10-13). Refused below about 1e-13 and withheld above about 1e14 in largest response.
- What was not checked: not recorded for relative-potency@1.3.1. Its absence does not mean everything was checked.
- Method, sources and checks
- On Drybench Assay's methods page: Comparing curves and experiments
Concentration-unit caution threshold above 0.1 M
- Method:
concentration-unit-caution-0.1m@1.0.0 - Level: Tested, not reference-checked; a bench convention. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- Reference: Bench caution threshold for micromolar concentrations entered as mol/L; no external citation read.
- How it was checked: Unit-tested trigger on the highest tested molar concentration; 10 November 2026.
- What was not checked: not recorded for concentration-unit-caution-0.1m@1.0.0. Its absence does not mean everything was checked.
- Method, sources and checks
No independent scientist has yet reviewed these checks. What the levels mean.
Changes to its methods
- 2026-11-21 · extra-sum-of-squares-f@2.1.0
- 2026-11-22 · curve-comparison@1.3.1
- 2026-11-22 · four-pl@2.1.2
- 2026-11-22 · profile-likelihood-log-ic50@2.1.2
- 2026-11-22 · relative-potency@1.3.1
Where it runs
The local MCP server serves this tool; the hosted MCP connection does not.