INCATools / INCATools/ontology-access-kit
sort the return of 'ancestors' by the chain of relations such that the nodes are arranged in order from leaf to root
Open
good first issue
- Dominant language
- Python
- Stars
- 198
- Forks
- 35
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 1
Description
currently the return of the 'ancestors' method does not return parent nodes in consistent order.
Contributor guide
Research direction
Start by locating the implementation and tests for the `ancestors` method, then reproduce its current ordering with a parent chain. Trace the relations used to build the result and verify that the returned nodes are consistently ordered from leaf to root; add or update a regression test demonstrating that order.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100