• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alphagov / backdrop / 1989
92%
master: 89%

Build:
Build:
LAST BUILD BRANCH: upgrade_paas_stack
DEFAULT BRANCH: master
Ran 22 Oct 2014 03:14PM UTC
Jobs 1
Files 52
Run time 25s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1989

push

travis-ci

alexmuller
Fix shifting of flat data queries on boundaries

If there is a query parameter `start_at`, the Query will have a positive
delta. If `end_at` is used, the Query will have a negative delta.

In first_nonempty(), when we have a negative delta we get a first
nonempty index which is negative. The grouped version of this class
searched for the closest point across all of the groups ignoring
direction by using abs() as a parameter to min() -- which means that
min() sorts by running values through abs(), but returns the original
non-absolute value.

By including an abs() in PeriodFlatData, we were losing information
indicating the direction of shifting the data.

This bug manifested itself by providing an end_at query parameter
and a duration across a boundary where data ended, and resulted in
no data being returned for that query.

1769 of 1936 relevant lines covered (91.37%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1989.1 (SKIP_VIRUS_SCAN=1 SKIP_SPLINTER_TESTS=1 MONGO_REPLICA_SET='' NO_AUTOPEP8=1) 22 Oct 2014 03:14PM UTC 0
91.37
Travis Job 1989.1
Source Files on build 1989
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1989
  • 05a96f65 on github
  • Next Build on bugfix-flat-data-shifting (#1990)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc