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

Commissioning #19

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open

Conversation

james-ward
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Jan 15, 2019

Codecov Report

Merging #19 into master will decrease coverage by 6.47%.
The diff coverage is 74.62%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
- Coverage   91.66%   85.19%   -6.48%     
==========================================
  Files           6        6              
  Lines         396      412      +16     
==========================================
- Hits          363      351      -12     
- Misses         33       61      +28
Impacted Files Coverage Δ
swervedrive/icr/controller.py 73.97% <18.18%> (-3.18%) ⬇️
swervedrive/icr/kinematicmodel.py 90.21% <66.66%> (-1.74%) ⬇️
swervedrive/icr/estimator.py 81.96% <90.9%> (-12.32%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0491c70...9a66028. Read the comment docs.

@@ -82,6 +102,79 @@ def test_estimate_lambda():
# assert np.allclose(desired_lmda, lmda_e.T, atol=tolerance)


@pytest.mark.skip("Closeness calculations not quite working yet")
Copy link
Member

Choose a reason for hiding this comment

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

pytest.mark.xfail instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It only fails some of the time, because sometimes the random values are bad.
It would be better to change them to fixed "errors" to get deterministic behaviour.
Do you still thing xpass is more appropriate in this case?

Copy link
Member

Choose a reason for hiding this comment

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

Ah, I see. The pytest docs seem to suggest that marking as xfail with strict=False is an appropriate way of marking a flaky test. An xfail mark will still allow the test to run.

ArthurAllshire and others added 22 commits January 15, 2019 17:37
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.

3 participants