Could the stanc --info command include information about constraints? At the moment, e.g.,
parameters {
real<lower=0, upper=1> theta;
}
and
parameters {
real theta;
}
both result in identical output,
{
"inputs": {},
"parameters": { "theta": { "type": "real", "dimensions": 0 } },
"transformed parameters": {},
"generated quantities": {},
"functions": [],
"distributions": [],
"included_files": []
}
that doesn't mention the constraints. It would be great if the one with constraints gave something like,
{
"inputs": {},
"parameters": { "theta": { "type": "real", "dimensions": 0, "lower": 0, "upper": 1 } },
"transformed parameters": {},
"generated quantities": {},
"functions": [],
"distributions": [],
"included_files": []
}
Ideally, this would work everywhere (i.e., in all the blocks), and cover the shift and scale modifiers as well.
Could the
stanc --infocommand include information about constraints? At the moment, e.g.,and
both result in identical output,
that doesn't mention the constraints. It would be great if the one with constraints gave something like,
Ideally, this would work everywhere (i.e., in all the blocks), and cover the shift and scale modifiers as well.