AcademySoftwareFoundation / AcademySoftwareFoundation/OpenTimelineIO
otio.algorithms.flatten_stack() only flattens one level
Open
help wanted
- Dominant language
- C++
- Stars
- 2k
- Forks
- 351
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 1
Description
If you have Tracks or Stacks within a Track, `otio.algorithms.flatten_stack()` doesn't flatten all the way.
We might need a separate `otio.algorithms.flatten_track()` and a recursive `flatten()` that deals with arbitrary nesting.
Contributor guide
Research direction
Start at otio.algorithms.flatten_stack() and inspect its current tests and callers. Reproduce the nested Track/Stack case described in the issue, then define and verify the chosen recursive behavior; done means arbitrary nesting is flattened consistently and regression coverage captures it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend-api-design
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100