cdisc-org / cdisc-org/cdisc-rules-engine
.csv support for Whodrug
- Dominant language
- Python
- Stars
- 113
- Forks
- 43
- Avg merge
- 14h 51m
- Merged PRs (30d)
- 14
Description
currently only .txt files are supported for whodrug.
We will need to make changes to the terms_factory as well as the data_services that reads the files.
https://github.com/cdisc-org/cdisc-rules-engine/tree/main/cdisc_rules_engine/models/dictionaries/whodrug
AC:
update data service to accept and read CSV
whodrug factory should populate cache with this read CSV data
ensure txt/csv whodrug checks work similarly after the files are parsed and cached.
Contributor guide
Research direction
Start in cdisc_rules_engine/models/dictionaries/whodrug and inspect the terms_factory and data_services mentioned in the issue. Trace how .txt files are read and cached, then verify that CSV input populates the same cache and that both TXT and CSV Whodrug checks behave equivalently after parsing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100