lincc-frameworks / lincc-frameworks/jump-starter
Handle imports with sorting and deduplication
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Currently to handle imports in the code, a user can use a replacement like `{{imports}}` at the top of the output to add to. But this results in imports that are written in the order that they appear in the questionnaire rather than the desired sorted input list, and if different branches need to use the same imports, it could lead to duplicated imports.
It would be useful to have a dedicated handling of imports so that they appear sorted and deduplicated.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by locating the handling of the `{{imports}}` replacement and tracing how questionnaire branches contribute imports; done means generated output contains the required imports in sorted order without duplicates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter, python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100