MunchLab / MunchLab/ceREEBerus

MergeTree.smoothing() crashes with IndexError

Open Beginner friendly
#102 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

Description

To reproduce, run

import cereeberus.data.ex_mergetrees as ex_mt

T2 = ex_mt.randomMergeTree(n=8, seed=1)
print(T2)
print(T2.f)

T2.smoothing(eps=1.0)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run the reproduction using cereeberus.data.ex_mergetrees.randomMergeTree and the resulting T2.smoothing(eps=1.0) call. Inspect the smoothing() implementation and the generated merge tree values to locate the IndexError. Done means this example completes without raising IndexError; the intended returned or printed result is not specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.