Skip to content

Commit

Permalink
Relax requirement for interpolation in tests
Browse files Browse the repository at this point in the history
@reproduce_failure('6.111.1', b'AXicY2BgOGDAgAUc8L/eJVux8DqIKYAQFUBXx0gMk2gTAGS/CLQ=')
triggers a failure (ip_dist_std =~ 1.03) which the accompanying plot
reveals is perfectly fine.
  • Loading branch information
berland committed Aug 19, 2024
1 parent b79ebc4 commit 4c66136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_utils_interpolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@ def test_interpolate_wo(
# That means that diff of the distances should be similar,
# that is the std.dev of the distances is low:
ip_dist_std = np.std(np.diff(dists[1:])) # This number depends on 'h' and 't' range
# (avoiding the first which reproduces go_low
if ip_dist_std > 1.0: # Found by trial and error
# (avoiding the first which reproduces wo_low
if ip_dist_std > 1.1: # Found by trial and error
print(f"ip_dist_std: {ip_dist_std}")
print(dists)

Expand Down

0 comments on commit 4c66136

Please sign in to comment.