bug(core): ado describe space crashes on spaces without an entity space
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
Research direction
Start by locating the implementation and tests for the ado describe space command, then trace how its entity space and measurement space sections handle missing optional values. Add coverage for spaces without an entity space or experiments, and check whether constraints belong in the description. Done means valid configurations display without raising the reported TypeError.
Written by the indexing model from the issue text.
Description
Summary
ado describe space fails with TypeError: 'NoneType' object is not iterable when a space has no entity space. A space with no experiments appears to hit the same error in the measurement space section. It may be worth making the space description handle these optional parts gracefully.
Motivation
Both the entity space and the experiments are optional in a space configuration, so such spaces are valid. Describing one should show what is there, not crash. The existing None check on the entity space can never trigger, so it doesn't protect against this case. Constraints also don't seem to be shown in the description, which could be worth looking at too.
Scope
- It could make sense to skip the entity space and measurement space sections of the space description when they are not defined.
- Showing constraints alongside the entity space might be a reasonable addition.
- A test covering the description of spaces with missing optional parts would likely help prevent regressions.
- Dominant language
- Python
- Stars
- 67
- Forks
- 13
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 37
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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.
More from IBM/ado
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 2 days
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 2 days
-
documentation
Difficulty 1/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 2 days
Similar issues
-
accepted
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
future-agi/future-agi#5908 ·
Maintainers usually reply within 1 day
-
Placeholder export disables HTML image input for picture descriptionPossibly taken @cloudiful claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
docling-project/docling-serve#817 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Techiebutler/freeframe#687 ·
Maintainers usually reply within 1 day
-
Parse truncated verbose GC logs up to the first XML errorPossibly taken A pull request linked to this issue is open or already merged. Openbug verbose GC
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
IBM/javacore-analyser#677 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 2 days