Current section
Files
Jump to
Current section
Files
priv/docs/templates/weight_callback.md
This callback returns the weight of `<%= info.name %>` during test generation.
## Available variables
### State
- `state` contains the complete symbolic state of the model.
<%= for attr <- info.attrs, do: "- `#{Macro.var(attr, nil) |> Macro.to_string}` attribute defined in the state declaration.\n" %>