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

Recidiviz / recidiviz-data / 803
72%
master: 86%

Build:
Build:
LAST BUILD BRANCH: jamwalla/justice_solutions
DEFAULT BRANCH: master
Ran 28 Nov 2018 10:13PM UTC
Jobs 1
Files 79
Run time 11s
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
803

Pull #217

travis-ci

web-flow
Remove memcache usage from regions.py (and refactor some other methods)

Part of #176

The main change here is that we don't cache the scraper package and
scraper class name in memcache. Instead, we only parse the region manifest
into a dict once, keep it in memory indefinitely, and get the scraper
package and class name from there.

This has the side effect of making Region object construction much cheaper
as we don't have to parse the full yaml file each time. Because of this,
I moved all of the region specific methods to be Region class methods.
This required some changes throughout the code base, and I may have gotten
a little carried away, so if you prefer any (or all) of them as non-class
methods I am happy to revert them.

In the future where each region has it's own manifest, instead of one large
`region_manifest`, I imagine we will only store the parsed config for a
region once it is needed. If this grows too large, we could put a
replacement policy in place.
Pull Request #217: Remove memcache usage from regions.py (and refactor some other methods)

46 of 46 new or added lines in 4 files covered. (100.0%)

2456 of 3387 relevant lines covered (72.51%)

0.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 803.1 28 Nov 2018 10:13PM UTC 0
72.51
Travis Job 803.1
Source Files on build 803
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #803
  • Pull Request #217
  • PR Base - master (#789)
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

© 2025 Coveralls, Inc