Bell-shaped and biphasic curves
assay_two_phase_fit is a tool of the Drybench MCP server. It runs the same engine and reporting rules as Drybench Assay.
What it answers
Required: shape (bell, biphasic). Fits the chosen two-phase dose-response shape by unweighted least squares from a fixed grid. Shows the phases, plateaus and any fitted extreme when the reporting rules pass. Shows the approximate F and AICc comparison when computable. The four-parameter fit stays the reported IC50 or EC50. The fit describes shape over tested concentrations only.
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: Corrected Akaike information criterion (Tested, not reference-checked); Concentration-unit caution threshold above 0.1 M (Tested, not reference-checked). Reference kind not recorded for 6 of 6 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.
shape(string, required): The form of the fitted curve. Required. One ofbell,biphasic.points(array of object, required): The curve's wells.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.
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.
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.1)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.1)NON_POSITIVE_CONCENTRATION: A concentration of zero or below is used as a point. (four-pl@2.1.1)NON_FINITE_DATA: A concentration or response is not a finite number. (four-pl@2.1.1)INVALID_UNIT: A concentration without its concentrationUnit, or a log concentration without logConcentrationUnit "log10 M". (four-pl@2.1.1)INVALID_FIXED_PARAM: A fixed parameter that is not a finite number. (four-pl@2.1.1)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_two_phase_fit, 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-two-phase-fit. 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.
Bell-shaped and biphasic dose-response (chosen by the user, beside the 4PL)
- Method:
two-phase-dose-response@1.1.0 - Level: Checked against a reference; biphasic and bell fits against the 4PL by F and ΔAICc; absolute AICc not covered; bell 4PL a best point, no minimum. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- Reference: Sums of two log-logistic phases in the forms GraphPad Prism names "biphasic" and "bell-shaped" dose-response (equation forms as stated in the method; Prism's guide not re-read); unweighted least squares, every parameter free; the extra-sum-of-squares F of the 4PL within the seven-parameter model (3 and n − 7 df) and AICc (K = 8 against 5), approximate (the 4PL is a boundary and the second phase is not identified under it: the Davies problem). Motulsky H, Christopoulos A. Fitting models to biological data using linear and nonlinear regression. Oxford University Press; 2004 (cited from memory). No interval.
- How it was checked: Bell-shaped and biphasic fits: checked against SciPy least_squares (a fixed grid of starts and 300 seeded starts, the rule written independently) on 8 cases (a reported bell and biphasic curve, a noiseless bell, a bend, separated phases, a minor phase, and two refusals): the engine's residual sum of squares at most the oracle's × (1 + 1e-6), midpoints, Hill slopes and the fraction within 1e-4, levels within 1e-4 of the response span, F and AICc within 1e-6 and p within 1e-4 relative, the refusals exact; R drc::drm with the seven-parameter forms agrees on all 6 fitted cases. The rule's false-report rate on plain four-parameter data (10 concentrations in duplicate, 1,000 replicates each): bell 0.0 percent at 5 and at 10 percent noise, biphasic 0.2 and 0.0 percent (13 October 2026). The F and AICc against the 4PL are information. No size limit found within 1e±30 in largest response. Worked example constructed by this project, not published: Biphasic and bell fits against the 4PL by F and ΔAICc. Absolute AICc is not covered. On bell data the 4PL is the tool's best point where no finite minimum exists.
- What was not checked: not recorded for two-phase-dose-response@1.1.0. Its absence does not mean everything was checked.
- Method, sources and checks
- On Drybench Assay's methods page: Curve shape and model choice
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
Four-parameter logistic fit
- Method:
four-pl@2.1.1 - 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: The outside reference, R's nls, fitted the curve this project typed, on data this project generated (synthetic, known noise): agreement shows the minimisation, not an independent check of the model (this project's ruling of 11 November 2026, section S8(f), "another program's fit of our model"). No published case set names four-pl@2.1.1: the R reference set is not tied to this version by its manifest. No measured dose-response data set from another party is among the cases. Interval coverage has not been simulated (tracked as [SCI-90](/technical/known-issues) in Known issues). Hill 1910 was not read; the form is taken from Ritz 2015, Eq. (2), read in full. No case runs this method through the served tool on its production runtime. 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
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
Corrected Akaike information criterion
- Method:
aicc@2.0.0 - Level: Tested, not reference-checked. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- Reference: Burnham KP, Anderson DR. Model selection and multimodel inference. 2nd ed. Springer; 2002 (original papers): K counts the fitted parameters and the variance.
- How it was checked: Unit-tested on nested fits of the fixture curves (6 October 2026); no external oracle.
- What was not checked: Burnham and Anderson 2002, which the engine's method record cites, was not read (a book). GraphPad's pages give the least-squares AIC as a difference, N ln(SS2/SS1) + 2ΔDF, and the correction (2k² + 2k)/(n − k − 1) with k → k + 1; the absolute form n ln(RSS/n) + 2K is that difference written per model, with the shared constant omitted. The hand case takes both sums of squares from SciPy's published fits, so it checks the AICc arithmetic, not the fits; the engine agrees to about 1e-14 relative there. The Akaike weights and the two-phase use are not hand-checked. 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
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-21 · four-pl@2.1.1
- 2026-11-22 · two-phase-dose-response@1.1.0
Where it runs
The local MCP server serves this tool; the hosted MCP connection does not.