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

akvo / iwsims / #38
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: main
Ran 16 Jun 2026 03:14AM UTC
Jobs 1
Files 109
Run time 1min
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

16 Jun 2026 02:59AM UTC coverage: 88.128% (-0.02%) from 88.146%
#38

Pull #21

coveralls-python

ifirmawan
[#20] Add migration for optimized materialized views

- Add mv_latest_monitoring: pre-computes latest monitoring per parent
  with indexes on form_id, administration_id, parent_administration_id
- Add mv_answer_denormalized: pre-joins answers with data/question tables
  with GIN index on answer_options for fast option filtering
- Add mv_cross_form_latest: aggregates latest answer per parent/question_name
  across all monitoring forms using ROW_NUMBER window function
- Add mv_parent_aggregates: pre-aggregated option counts and numeric stats
  per parent/form/question using DISTINCT ON + jsonb_agg
- Set atomic = False (required for non-transactional index creation)
- All reverse SQL uses CASCADE to handle dependencies

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Pull Request #21: [#20] Add migration for optimized materialized views

5040 of 5872 branches covered (85.83%)

Branch coverage included in aggregate %.

9717 of 10873 relevant lines covered (89.37%)

0.89 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
94.03
-1.0% utils/custom_generator.py
1
98.43
-0.52% api/v1/v1_profile/models.py
Jobs
ID Job ID Ran Files Coverage
1 #38.1 16 Jun 2026 03:14AM UTC 109
88.13
Source Files on build #38
  • Tree
  • List 109
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #21
  • PR Base - feature/20-materialized-views-for-visualization-api-optimization (#)
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