- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 48
 
Closed
Labels
featureNew feature or requestNew feature or request
Description
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.
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request