Max recursion limit exceeded
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 78
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Changing the mean number of events `N_EVENTS_MEAN` or `DURATION` in the example_generation.py script leads to max recursion errors. The error looks as follows:
```
with os.scandir(dirname) as it:
RecursionError: maximum recursion depth exceeded while calling a Python object
```
Looks like in my case the error happens when I want to generate events with `max_event_overlap=1` and I place too many events on average for a given duration.
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
Start with example_generation.py and reproduce the failure by changing N_EVENTS_MEAN or DURATION, especially with max_event_overlap=1. Trace the event-generation path until the RecursionError appears and verify that the same inputs complete without exceeding the recursion limit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100