Feature/adds slash to r and dialogue#40
Merged
Merged
Conversation
…tions cleanly until later updated [R/OHDSIAssistant/R/strategus_cohort_methods_shell.R](/ai-agent/HadesProject/OHDSI-Study-Agent/R/OHDSIAssistant/R/strategus_cohort_methods_shell.R:2014) so the shell now: - distinguishes recommendation identifiers cleanly, - treats only numeric IDs and `ohdsi:<id>` as directly computable in this workflow, - shows non-computable recommendations with their original identifier instead of just `?`, - stops with a clear message if a user selects an unsupported descriptive phenotype such as `cipher:<id>`. I also added a narrow regression test in [tests/test_cohort_methods_shell_recommendation_support.py](/ai-agent/HadesProject/OHDSI-Study-Agent/tests/test_cohort_methods_shell_recommendation_support.py:1) to lock in that behavior.
The shell was correctly selecting OHDSI cohort `1039`, but the source-definition lookup still assumed `definitions/1039.json`. I updated [R/OHDSIAssistant/R/strategus_cohort_methods_shell.R](/ai-agent/HadesProject/OHDSI-Study-Agent/R/OHDSIAssistant/R/strategus_cohort_methods_shell.R:2399) so it now resolves source files using the current index naming scheme: - numeric OHDSI IDs can resolve to `ohdsi__<id>.json` - namespaced IDs can resolve via `:` → `__` conversion, such as `ohdsi:1039` → `ohdsi__1039.json`
Collaborator
Author
|
This PR hardens the cohort method ACP/MCP support fixes some bugs due to the replacement of the phenotype indexing methods with one that scales to include CIPHER (mostly non-computable), and brings in the new |
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.
No description provided.