Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix occasional assertion failure in nextgen dummy data #2189

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

DRMacIver
Copy link
Contributor

There turned out to be a bug for some date queries that could only be satisfied by a single date where the minimum would get forced above the maximum. This fixes that.

It also improves the formatting of many queries to more closely match how they're written in ehrql when printed by Hypothesis because manually translating this example annoyed me. I've not covered the complete set, only most of the ones I was interested in, but it's easy to add more as and when we need them.

We're hitting a minor Hypothesis bug in this (I'll fix it later) which means that we've got a superfluous Series type wrapped around the query being printed, but this doesn't really matter for actually using it.

Copy link

cloudflare-workers-and-pages bot commented Oct 25, 2024

Deploying databuilder-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: c0eec5e
Status: ✅  Deploy successful!
Preview URL: https://172f4d68.databuilder.pages.dev
Branch Preview URL: https://drmaciver-fix-failing-nextge.databuilder.pages.dev

View logs

@DRMacIver DRMacIver merged commit f4ffffd into main Oct 25, 2024
8 checks passed
@DRMacIver DRMacIver deleted the DRMacIver/fix-failing-nextgen-assertion branch October 25, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants