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

uc-cdis / cohort-middleware / 17473263561
82%

Build:
DEFAULT BRANCH: master
Ran 04 Sep 2025 06:30PM UTC
Jobs 1
Files 28
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

04 Sep 2025 06:28PM UTC coverage: 81.782% (-0.8%) from 82.571%
17473263561

push

github

web-flow
Feat: add new endpoints for PLP (#132)

* feat: add new GetCohortDefinitionStatsByObservationWindow

...to return the number of persons in a cohort that have an observation period equal or longer than
the given observationWindow (aka "look back window").

* feat: add new GetCohortDefinitionStatsByObservationWindow1stCohortAndOverlap2ndCohort

    ...to return the number of persons in a cohort that have an observation period equal or longer than
    the given observationWindow (aka "look back window") and are also present in second cohort.

* fix: correct comment of RetrieveCohortOverlapStats

* feat: add new GetCohortDefinitionStats method

...to return the number of persons in a cohort that have an observation period equal or longer than
the given observationWindow (aka "look back window") and are also present in cohort2 with a cohort2 start date that is
in the period between cohort1 start date and the given outcomeWindow2ndCohort.

* feat: add support for multiple source records where only one is active

* feat: add new cohort-stats endpoint that takes outcome window parameter

* feat: change connection string parsing to a more standard format

* feat: add GET endpoint for check-overlap

* fix: add deleted_date to data_generator ddl test scripts

* feat: add new controller tests

* feat: added new test for cohortDataController

* feat: increased coverage of controller layer

---------

Co-authored-by: Hara Prasad <haraprasad.jvr@gmail.com>

183 of 245 new or added lines in 8 files covered. (74.69%)

2258 of 2761 relevant lines covered (81.78%)

30.67 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
95.24
-4.76% utils/dsn.go
4
95.12
-4.88% models/helper.go
7
0.0
0.0% server/router.go
8
86.22
-1.36% controllers/cohortdata.go
17
89.82
-10.18% models/cohortdefinition.go
25
79.29
-8.36% controllers/cohortdefinition.go
Jobs
ID Job ID Ran Files Coverage
1 17473263561.1 04 Sep 2025 06:30PM UTC 28
81.78
GitHub Action Run
Source Files on build 17473263561
  • Tree
  • List 28
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 511cd651 on github
  • Prev Build on master (#16421846230)
  • Next Build on master (#18111069395)
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