CCF in spectroscopy.py unstable? Or just the testing?

Open
#759 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
data, testing-qa

Research direction

Inspect spectroscopy.py and the tests that exercise the CCF, then run them with different seeds and execution orders to reproduce the NaNs. Trace whether the instability comes from the implementation or the test setup; done means the cause is identified and the relevant tests or behavior are made reliable.

Written by the indexing model from the issue text.

Description

Tests will often produce nans, depending on the seed and execution order. Need to understand whether it's bad test design or the code is unstable.

Dominant language
Python
Stars
229
Forks
196
Avg merge
4d 12h
Merged PRs (30d)
20

Getting set up

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.

More from StingraySoftware/stingray

All issues in StingraySoftware/stingray

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.