vibesketch.document.campaign_results

Electronic reaction reports from accepted campaign artifacts, without invented runs.

Functions

campaign_energies(document, selection)

Verified electronic products minus reactants, preserving real campaign lineage.

campaign_energy_export(document, selection)

Report, table, SVG or QVF from the same verified campaign selection.

Classes

CampaignSelection(*, recipe, campaign, stage)

Explicit immutable campaign and correlated stage; no implicit latest campaign.

class vibesketch.document.campaign_results.CampaignSelection(*, recipe, campaign, stage, reactions=None, coefficients=<factory>)[source]

Bases: BaseModel

Explicit immutable campaign and correlated stage; no implicit latest campaign.

Parameters:
model_config = {'extra': 'forbid', 'strict': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

recipe: str
campaign: str
stage: str
reactions: list[str] | None
coefficients: dict[str, dict[str, dict[str, float]]]
vibesketch.document.campaign_results.campaign_energies(document, selection)[source]

Verified electronic products minus reactants, preserving real campaign lineage.

Parameters:
Return type:

list[dict[str, Any]]

vibesketch.document.campaign_results.campaign_energy_export(document, selection, format='json')[source]

Report, table, SVG or QVF from the same verified campaign selection.

Parameters:
Return type:

bytes