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

Bugfix/issue 1179 exponential lower bound check #1469

Merged
merged 8 commits into from
Jun 5, 2015

Conversation

rtrangucci
Copy link
Contributor

Summary:

Added random variable bounds checking for exponential_log

Intended Effect:

No longer allow exponential_log to be evaluated at a negative value of the random variable

How to Verify:

./runTests.py src/test/prob/exponential/

Side Effects:

None.

Documentation:

None.

Reviewer Suggestions:

Daniel or Bob.

@stan-buildbot
Copy link
Contributor

Refer to this link for build results (access rights to CI server needed):
http://d1m1s1b1.stat.columbia.edu:8080/job/Stan%20Pull%20Request/400/

Build Log
last 20 lines

[...truncated 11 lines...]
 > /usr/local/git/bin/git rev-parse refs/remotes/origin/origin/pr/1469/merge^{commit} # timeout=10
Checking out Revision 32844064ebb194dd32f322f3934c2def53d58e37 (refs/remotes/origin/pr/1469/merge)
 > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
 > /usr/local/git/bin/git checkout -f 32844064ebb194dd32f322f3934c2def53d58e37
First time build. Skipping changelog.
Starting build job Stan Pull Request - Doc - Doxygen.
Starting build job Stan Pull Request - Doc - Reference Manual.
Finished Build : #394 of Job : Stan Pull Request - Doc - Reference Manual with status : SUCCESS
Finished Build : #400 of Job : Stan Pull Request - Doc - Doxygen with status : SUCCESS
Starting build job Stan Pull Request - Tests - Integration.
Starting build job Stan Pull Request - Tests - Header.
Starting build job Stan Pull Request - Tests - Unit.
Starting build job Stan Pull Request - Windows - Tests - Unit.
Finished Build : #366 of Job : Stan Pull Request - Tests - Header with status : SUCCESS
Finished Build : #368 of Job : Stan Pull Request - Tests - Integration with status : SUCCESS
Finished Build : #215 of Job : Stan Pull Request - Windows - Tests - Unit with status : FAILURE
Finished Build : #368 of Job : Stan Pull Request - Tests - Unit with status : ABORTED
Build step 'MultiJob Phase' marked build as failure
Setting status of 01a281da4e679d7e08cfcc58fc69067b234102ed to FAILURE with url http://d1m1s1b1.stat.columbia.edu:8080/job/Stan%20Pull%20Request/400/ and message: Build finished.

Test FAILed.

@syclik
Copy link
Member

syclik commented Jun 2, 2015

Jenkins, retest this please.

@stan-buildbot
Copy link
Contributor

Refer to this link for build results (access rights to CI server needed):
http://d1m1s1b1.stat.columbia.edu:8080/job/Stan%20Pull%20Request/403/

Build Log
last 20 lines

[...truncated 20 lines...]
Starting build job Stan Pull Request - Tests - Integration.
Starting build job Stan Pull Request - Tests - Unit.
Starting build job Stan Pull Request - Tests - Header.
Starting build job Stan Pull Request - Windows - Tests - Unit.
Finished Build : #371 of Job : Stan Pull Request - Tests - Integration with status : SUCCESS
Finished Build : #369 of Job : Stan Pull Request - Tests - Header with status : SUCCESS
Finished Build : #371 of Job : Stan Pull Request - Tests - Unit with status : SUCCESS
Finished Build : #218 of Job : Stan Pull Request - Windows - Tests - Unit with status : SUCCESS
Starting build job Stan Pull Request - CppLint.
Starting build job Stan Pull Request - Math Dependencies.
Finished Build : #140 of Job : Stan Pull Request - CppLint with status : SUCCESS
Finished Build : #99 of Job : Stan Pull Request - Math Dependencies with status : SUCCESS
Starting build job Stan Pull Request - Performance.
Finished Build : #118 of Job : Stan Pull Request - Performance with status : SUCCESS
Starting build job Stan Pull Request - Interface - CmdStan.
Finished Build : #101 of Job : Stan Pull Request - Interface - CmdStan with status : FAILURE
Starting build job Stan Pull Request - Distribution Tests.
Finished Build : #216 of Job : Stan Pull Request - Distribution Tests with status : SUCCESS
Setting status of 01a281da4e679d7e08cfcc58fc69067b234102ed to FAILURE with url http://d1m1s1b1.stat.columbia.edu:8080/job/Stan%20Pull%20Request/403/ and message: Build finished.

Test FAILed.

@syclik
Copy link
Member

syclik commented Jun 3, 2015

The tests are fine. I need to find out why the interface occasionally
fails.

On Wednesday, June 3, 2015, Stan buildbot notifications@github.com wrote:

Refer to this link for build results (access rights to CI server needed):
http://d1m1s1b1.stat.columbia.edu:8080/job/Stan%20Pull%20Request/403/

Build Log
last 20 lines

[...truncated 20 lines...]
Starting build job Stan Pull Request - Tests - Integration.
Starting build job Stan Pull Request - Tests - Unit.
Starting build job Stan Pull Request - Tests - Header.
Starting build job Stan Pull Request - Windows - Tests - Unit.
Finished Build : #371 of Job : Stan Pull Request - Tests - Integration with status : SUCCESS
Finished Build : #369 of Job : Stan Pull Request - Tests - Header with status : SUCCESS
Finished Build : #371 of Job : Stan Pull Request - Tests - Unit with status : SUCCESS
Finished Build : #218 of Job : Stan Pull Request - Windows - Tests - Unit with status : SUCCESS
Starting build job Stan Pull Request - CppLint.
Starting build job Stan Pull Request - Math Dependencies.
Finished Build : #140 of Job : Stan Pull Request - CppLint with status : SUCCESS
Finished Build : #99 of Job : Stan Pull Request - Math Dependencies with status : SUCCESS
Starting build job Stan Pull Request - Performance.
Finished Build : #118 of Job : Stan Pull Request - Performance with status : SUCCESS
Starting build job Stan Pull Request - Interface - CmdStan.
Finished Build : #101 of Job : Stan Pull Request - Interface - CmdStan with status : FAILURE
Starting build job Stan Pull Request - Distribution Tests.
Finished Build : #216 of Job : Stan Pull Request - Distribution Tests with status : SUCCESS
Setting status of 01a281d to FAILURE with url http://d1m1s1b1.stat.columbia.edu:8080/job/Stan%20Pull%20Request/403/ and message: Build finished.

Test FAILed.


Reply to this email directly or view it on GitHub
#1469 (comment).

@@ -69,6 +69,7 @@ namespace stan {

T_partials_return logp(0.0);
check_not_nan(function, "Random variable", y);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this check -- it's covered by check_nonnegative

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@syclik
Copy link
Member

syclik commented Jun 4, 2015

@rtrangucci, looks good. Thanks for adding that last test.

@syclik syclik added this to the v2.7.0 milestone Jun 4, 2015
@syclik
Copy link
Member

syclik commented Jun 4, 2015

Jenkins, retest this please.

@syclik
Copy link
Member

syclik commented Jun 4, 2015

I don't trust that test failure.

@stan-buildbot
Copy link
Contributor

Refer to this link for build results (access rights to CI server needed):
http://d1m1s1b1.stat.columbia.edu:8080/job/Stan%20Pull%20Request/406/
Test PASSed.

syclik added a commit that referenced this pull request Jun 5, 2015
…lower-bound-check

Fixes #1469. Bugfix/issue 1179 exponential lower bound check
@syclik syclik merged commit 7ad520e into develop Jun 5, 2015
@syclik syclik deleted the bugfix/issue-1179-exponential-lower-bound-check branch June 5, 2015 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants