cqframework / cqframework/cql-tests

Wrong Expected Output for Duration w/ Different Precisions

Open
#67 5 comments 0 reactions 1 assignee View on GitHub

@brynrhodes is already working on this.

Since Oct 2, 2025.

Dominant language
No language data
Stars
7
Forks
8
Avg merge
12d 5h
Merged PRs (30d)
2

Description

The test CqlDateTimeOperatorsTest.Uncertainty tests.TimeDurationBetweenHourDiffPrecision2 specifies the following CQL:

hours between @T06 and @T07:00:00

and expected result 1.

Since duration counts "whole calendar periods", and @T06 represents some time from 6:00:00.0 to 6:59:59.999, this should expect the result Uncertainty[0, 1] (represented as Interval[0, 1] in this test framework).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.