<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Runner — dsambayesplus Documentation</title>
    <link>/runner/index.html</link>
    <description>Purpose Document CLI and YAML runner contracts for reproducible dsambayesplus runs.&#xA;Audience Users operating dsambayesplus through scripts/dsambayesplus.R. Engineers maintaining runner config and artefact contracts. Pages Page Topic CLI Usage Commands, flags, exit codes, and error modes Config Schema YAML keys, defaults, and validation rules Output Artefacts Staged folder layout, file semantics, and precedence rules</description>
    <generator>Hugo</generator>
    <language>en-gb</language>
    <atom:link href="/runner/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>CLI Usage</title>
      <link>/runner/cli-usage/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/runner/cli-usage/index.html</guid>
      <description>Purpose Define the supported command-line interface for scripts/dsambayesplus.R, including required flags, optional flags, and execution semantics.&#xA;Prerequisites Before using the CLI:&#xA;Complete Install and Setup. Run commands from repository root. Ensure dsambayesplus is installed in the role-specific R_LIBS_USER selected by dsambayesplus_set_r_library host. Entry point Rscript scripts/dsambayesplus.R &lt;command&gt; [flags] Operational commands construct the package-owned dsambayesplus::runner_cli_adapter() before reading configs, fitting models, or writing artefacts. The startup panel records both the loaded package version and the checkout version from DESCRIPTION. runme.R applies the same gate and records the versions as package_version and checkout_version.</description>
    </item>
    <item>
      <title>Config Schema</title>
      <link>/runner/config-schema/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/runner/config-schema/index.html</guid>
      <description>Purpose This page documents the authored YAML contract used by:&#xA;scripts/dsambayesplus.R dsambayesplus::run_from_yaml() runme.R The authored schema is schema_version: 2 only. Older formula-driven YAML files are intentionally rejected.&#xA;Processing order The runner processes configs in this order:&#xA;Parse YAML. Coerce YAML infinity tokens (.Inf, -.Inf). Apply v2 defaults. Resolve relative paths against the config file directory. Validate the authored v2 contract. Compile the authored config into the internal runner config. Apply managed holiday terms, then build the model and run. Root sections Key Required Purpose schema_version yes Must be 2. data yes Input data path, format, and date handling. target yes Outcome column, KPI type, and response transform. media yes Modeled media terms. controls yes Non-media predictors, including manual trend/seasonality terms. effects no Managed effects. In M1 this is holidays only. model yes Model class and scaling options. fixed_effects conditional Required exactly for model.type: fe. hierarchy conditional Required for model.type: re and model.type: cre. pooling conditional Required for model.type: pooled. priors no Default priors plus grouped or explicit overrides. boundaries no Grouped or explicit parameter boundaries. fit no MCMC or optimise settings. diagnostics no Diagnostics, model selection, and time-series selection settings. allocation no Budget optimisation settings. outputs no Output paths and artifact toggles. forecast no enabled defaults to false; true is rejected because the runner has no forecast-output contract. Unknown keys fail validation.</description>
    </item>
    <item>
      <title>Output Artefacts</title>
      <link>/runner/output-artifacts/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/runner/output-artifacts/index.html</guid>
      <description>Purpose This page defines what the YAML runner writes, where files are written, and which config flags control each artefact.&#xA;Related pages:&#xA;CLI Usage Config Schema Run directory and layout semantics Run directory precedence:&#xA;CLI --run-dir outputs.run_dir Timestamped folder under outputs.root_dir Layout behaviour:</description>
    </item>
  </channel>
</rss>