Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[t_1 = t_0 + \Delta\]
t_1 = t_0 + \Delta
Formula (extracted LaTeX)
\[t_1' = \min \{ t \ge t_1 \mid W(\mathrm{dow}(t))=1,\ \mathrm{date}(t)\notin\mathcal{H},\ \mathrm{time}(t)\in[\tau_s,\tau_e] \}\]
t_1' = \min \{ t \ge t_1 \mid W(\mathrm{dow}(t))=1,\ \mathrm{date}(t)\notin\mathcal{H},\ \mathrm{time}(t)\in[\tau_s,\tau_e] \}
Formula (extracted LaTeX)
\[t_{\text{start}} = t_1' - b_{\text{before}}, \qquad t_{\text{end}} = t_1' + d + b_{\text{after}}\]
t_{\text{start}} = t_1' - b_{\text{before}}, \qquad t_{\text{end}} = t_1' + d + b_{\text{after}}
Formula (extracted LaTeX)
\[t_{k} = t_{\text{start}} + k \cdot \phi,\quad u_{k} = t_{\text{end}} + k \cdot \phi\]
t_{k} = t_{\text{start}} + k \cdot \phi,\quad u_{k} = t_{\text{end}} + k \cdot \phi
Formula (extracted text)
Offset addition: Let \( t_0 \) be the start datetime, \( \Delta \) the offset, and \( \phi \) the recurrence step. The single appointment start is: \[ t_1 = t_0 + \Delta \] If business days only is enabled with working-day indicator \( W(d) \in \{0,1\} \) and holiday set \( \mathcal{H} \), advance day-by-day until conditions meet: \[ t_1' = \min \{ t \ge t_1 \mid W(\mathrm{dow}(t))=1,\ \mathrm{date}(t)\notin\mathcal{H},\ \mathrm{time}(t)\in[\tau_s,\tau_e] \} \] Buffers and duration: \[ t_{\text{start}} = t_1' - b_{\text{before}}, \qquad t_{\text{end}} = t_1' + d + b_{\text{after}} \] Recurrence for occurrence \( k=0,\dots,n-1 \): \[ t_{k} = t_{\text{start}} + k \cdot \phi,\quad u_{k} = t_{\text{end}} + k \cdot \phi \]
Variables and units
  • No variables provided in audit spec.
Sources (authoritative):
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Verified by Ugo Candido on 2026-01-19
Profile · LinkedIn