Cross-table interval proposer and related functionality - #128
Open
tim-band wants to merge 12 commits into
Open
Conversation
added 6 commits
July 31, 2026 20:47
Fixed coloured promt issue
added 6 commits
August 4, 2026 19:49
and providers Fixed some documentation New Dockerfile that's usually faster to build bump version to 0.5.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cross-table intervals: getting an end time given a start time in a related table.
As with same-table intervals, the start time needs to be marked with the "start" role.
Many actual changes here:
Cross-table interval proposer (so you can have the start of an interval as person.birth_datetime and any table that has a person_id can get a date relative to that). This is surprisingly useful; the proposer keeps proposing delightful things!
New "extract" proposers that can extract Date from a DateTime in the same table (very useful for OMOP), and a Year, Month or Day from Date or DateTime (useful for OMOP's person table).
Fixed an issue Yean Hoon found with her tests failing because her SRC_SCHEMA environment variable was set and the tests were not removing it.
Adjusted the colouring; it turns out that making the prompt a different colour to the user's input confuses cmd.Cmd. If we switch to the cmd2 package we should be able to get coloured prompts back.
Select gets tab completion!
Colour theme can be set from an environment variable.
New Dockerfile that's usually faster to build.
Fixed a crash in multivariate proposers (very simple fix)
Fixed a crash with multiple concept IDs in the same partitioned generator. This was really difficult to fix!
Added MSSQL to partition generator tests and found out they don't work. Big fix.