stan-dev / stan-dev/math

distribution variable names in error messages to match manual

Open
#227 1 comment 0 reactions 2 assignees View on GitHub

@syclik is already working on this.

Since Aug 18, 2016.

code cleanup
Dominant language
C++
Stars
839
Forks
220
Avg merge
2d 4h
Merged PRs (30d)
14

Description

Change our error messages to describe variables using the descriptive name and the variable name from the manual, as in "scale argument sigma" or "location argument mu"

We don't want to use "parameter" because it can be confused with the parameters in a Stan program. And names like "precision" can be confused with numerical precision (thanks to https://github.com/jeffalstott for pointing this out and suggesting the new form in #297; this issue is more general and calls for a review of all of our distribution functions).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.