vibesketch.inputs.recipe¶
Resolve a recipe’s stages into the calls vibe-qc would run, refusing the rest.
A recipe (vibesketch.document.model.Recipe) is program-neutral. This
module spells each stage as the keywords of vibe-qc’s run_job, the way
vibesketch.inputs.vibeqc spells a job, so a reviewer sees exactly what
a launch would send, and refuses, with the reason, every option the route
cannot express (AGENTS.md, ground rule 5): a dispersion correction on the
molecular DFT and Hessian routes until vibe-qc propagates it (vibe-qc #548),
a functional or basis vibe-qc does not resolve, a MACE run without the
operator’s licence acknowledgement, which a recipe never carries. Nothing is
translated into a different method.
Recipe containers target vibe-qc 0.17.25 or newer, which encodes the local
CCSD options record including the threshold preset and explicit triples mode.
The recipe’s legacy t0 spelling is refused: the engine calls that mode
local, and a requested method is never silently renamed.
The vocabulary comes from vibe-qc’s source: method="mace" with
MLIPOptions(model, device, dtype, weight_sha256, accept_academic_license);
method="rks" with functional, basis, density_fit, cosx,
grid_level, rks_options (conv_tol_energy, conv_tol_grad),
optimize with optimizer_backend="ase", fmax and
max_opt_steps, and hessian with the finite-difference displacement;
method="dlpno-ccsd(t)" with dlpno_thresholds (loose, normal,
tight), frozen_core (chemical or all-electron) and
dlpno_ccsd_options={"triples_mode": ...}.
Functions
|
Every stage of |
|
|
Classes
|
What one stage of a recipe would run, or why it cannot. |
- class vibesketch.inputs.recipe.ResolvedStage(stage, kind, program, keywords=<factory>, at_launch=<factory>, checks=<factory>, refusals=<factory>)[source]¶
Bases:
objectWhat one stage of a recipe would run, or why it cannot.
- Parameters:
- vibesketch.inputs.recipe.resolve_recipe(recipe, species)[source]¶
Every stage of
reciperesolved per species id, in stage order.
- vibesketch.inputs.recipe.resolve_stage(stage, species=None)[source]¶
stageas vibe-qc’srun_jobkeywords, or the reasons it is refused.speciesadds the charge and multiplicity vibe-qc’sMoleculetakes; a species with an unpaired electron makes the Kohn-Sham routeuks.- Parameters:
stage (Stage)
species (Species | None)
- Return type: