Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify the format of the write_error_msg #213

Merged
merged 1 commit into from
Nov 16, 2013

Conversation

betanalpha
Copy link
Contributor

I had previously updated the text accompanying errors in command.hpp (which gets called for errors during initialization) but not the accompanying text in base_hamiltonian.hpp (which gets called during sampling). Only constant text has been modified -- no implementation details are touched so no tests should be affected.

Not an immediate priority but would be nice to add before 2.0 and could easily be wrapped up into another request to avoid another round of testing.

@stan-buildbot
Copy link
Contributor

  • code review

    Can one of the admins verify this patch?

@bob-carpenter
Copy link
Contributor

My bet is that this will not cut down the number
of messages to the list about broken models due
to this message and it's not going to cut down the
pain it causes in the R output (you lose track of
which chain you're on and where).

But hey, everyone else wants it in there, so we'll
just deal with the mailing list as best we can and
hope users don't abandon Stan because they think it's
buggy (my deeper worry). You can see a recent exchange
where I explained this and the user said they were
still nervous about seeing so many messages (I really
can't blame them).

  • Bob

On 9/11/13 9:31 AM, Michael Betancourt wrote:

I had previously updated the text accompanying errors in command.hpp (which gets called for errors during
initialization) but not the accompanying text in base_hamiltonian.hpp (which gets called during sampling). Only constant
text has been modified -- no implementation details are touched so no tests should be affected.

Not an immediate priority but would be nice to add before 2.0 and could easily be wrapped up into another request to
avoid another round of testing.


    You can merge this Pull Request by running

git pull https://github.com/stan-dev/stan feature/unify_write_error_msg

Or view, comment on, or merge it at:

#213

    Commit Summary

@betanalpha
Copy link
Contributor Author

This just makes the output consistent -- I make no claim that it solves the current problem with scaring users.

On Sep 11, 2013, at 6:30 PM, Bob Carpenter notifications@github.com wrote:

My bet is that this will not cut down the number
of messages to the list about broken models due
to this message and it's not going to cut down the
pain it causes in the R output (you lose track of
which chain you're on and where).

But hey, everyone else wants it in there, so we'll
just deal with the mailing list as best we can and
hope users don't abandon Stan because they think it's
buggy (my deeper worry). You can see a recent exchange
where I explained this and the user said they were
still nervous about seeing so many messages (I really
can't blame them).

  • Bob

On 9/11/13 9:31 AM, Michael Betancourt wrote:

I had previously updated the text accompanying errors in command.hpp (which gets called for errors during
initialization) but not the accompanying text in base_hamiltonian.hpp (which gets called during sampling). Only constant
text has been modified -- no implementation details are touched so no tests should be affected.

Not an immediate priority but would be nice to add before 2.0 and could easily be wrapped up into another request to
avoid another round of testing.


You can merge this Pull Request by running

git pull https://github.com/stan-dev/stan feature/unify_write_error_msg

Or view, comment on, or merge it at:

#213

Commit Summary

  • Unify the format of the write_error_msg text during initialization and sampling.

File Changes

Patch Links:


Reply to this email directly or view it on GitHub.

@syclik
Copy link
Member

syclik commented Nov 16, 2013

Jenkins, retest this please.

@stan-buildbot
Copy link
Contributor

Test PASSed.
Refer to this link for build results: http://d1m1s1b1.stat.columbia.edu:8080/job/Stan%20Github%20Pull%20Requests/273/

syclik added a commit that referenced this pull request Nov 16, 2013
@syclik syclik merged commit 0db5d11 into develop Nov 16, 2013
@syclik syclik deleted the feature/unify_write_error_msg branch November 16, 2013 20:37
@syclik syclik mentioned this pull request Mar 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants