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

rm-hull / fuel-prices-api
20%
main: 50%

Build:
Build:
LAST BUILD BRANCH: chore/update-go-deps
DEFAULT BRANCH: main
Repo Added 15 Feb 2026 04:17PM UTC
Token ll95Syy8THJQo9UoER7i47AlSjfaC54Tt regen
Build 174 Last
Files 23
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

LAST BUILD ON BRANCH feat/stats
branch: feat/stats
CHANGE BRANCH
x
Reset
Sync Branches
  • feat/stats
  • chore/add-tests
  • chore/cicd-build
  • chore/client-api-metrics
  • chore/data-cleansing
  • chore/migrations
  • chore/update-go-deps
  • dependabot/github_actions/docker/build-push-action-7
  • dependabot/github_actions/docker/login-action-4
  • dependabot/github_actions/docker/metadata-action-6
  • dependabot/github_actions/docker/setup-buildx-action-4
  • dependabot/github_actions/docker/setup-qemu-action-4
  • dependabot/go_modules/github.com/PuerkitoBio/goquery-1.12.0
  • dependabot/go_modules/github.com/getsentry/sentry-go-0.45.0
  • dependabot/go_modules/github.com/getsentry/sentry-go-0.45.1
  • dependabot/go_modules/github.com/getsentry/sentry-go-0.46.0
  • dependabot/go_modules/github.com/getsentry/sentry-go-0.46.1
  • dependabot/go_modules/github.com/getsentry/sentry-go-0.46.2
  • dependabot/go_modules/github.com/gin-contrib/cors-1.7.7
  • dependabot/go_modules/github.com/gin-contrib/pprof-1.5.4
  • dependabot/go_modules/github.com/gin-gonic/gin-1.12.0
  • dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.37
  • dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.38
  • dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.40
  • dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.41
  • dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.42
  • dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.44
  • dependabot/go_modules/github.com/rm-hull/godx-0.2.1
  • dependabot/go_modules/github.com/tavsec/gin-healthcheck-1.7.14
  • dependabot/go_modules/github.com/tavsec/gin-healthcheck-1.7.15
  • feat/brand-icons
  • feat/cron-scheduling
  • feat/drop-out-of-bounds-fuel-prices
  • feat/exclude-stale-prices
  • feat/expose-snapshot-stats
  • feat/full-refresh
  • feat/gin-integration
  • feat/grafana-dashboard
  • feat/migration-logging
  • feat/per-type-limits
  • feat/price-distribution
  • feat/price-distributions
  • feat/price-history
  • feat/price-tracking
  • feat/sentry
  • feat/sql-metrics
  • feat/stats-last-updated
  • feat/windowing-same-price
  • fix/error-reporting
  • fix/show-most-recent-updated-price
  • main
  • perf/both-views
  • perf/explain-plan-snapshot-view

21 Feb 2026 01:15AM UTC coverage: 20.402% (-1.6%) from 22.017%
22247439246

Pull #12

github

rm-hull
refactor: consolidate loops in stats derivation

Consolidate statistics calculation logic to reduce redundant
iterations over search results and fuel price arrays.

*   Move **Brand Distribution** counting into the main results loop.
*   Combine **Standard Deviation** variance accumulation with the price
    distribution bucketing logic.
Pull Request #12: feat: add price statistics to search response

0 of 73 new or added lines in 2 files covered. (0.0%)

203 of 995 relevant lines covered (20.4%)

0.22 hits per line

Relevant lines Covered
Build:
Build:
995 RELEVANT LINES 203 COVERED LINES
0.22 HITS PER LINE
Source Files on feat/stats
  • Tree
  • List 16
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
22247439246 feat/stats refactor: consolidate loops in stats derivation Consolidate statistics calculation logic to reduce redundant iterations over search results and fuel price arrays. * Move **Brand Distribution** counting into the main results loop. * Combine *... Pull #12 21 Feb 2026 01:16AM UTC rm-hull github
20.4
22247172741 feat/stats perf: optimize variance calculation Replace `math.Pow` with direct multiplication when calculating variance. Squaring a number via multiplication is more computationally efficient than calling the power function. Pull #12 21 Feb 2026 01:01AM UTC rm-hull github
20.38
22247145571 feat/stats feat: add price statistics to search response Adds a new `statistics` field to the search API response to provide insights into fuel price data. - Create `stats` package to calculate averages, price distribution, and standard deviation. - Upda... Pull #12 21 Feb 2026 01:00AM UTC rm-hull github
20.4
See All Builds (174)

Badge your Repo: fuel-prices-api

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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