ts-get-interp causes runtime error when input time is at/near start of time series
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- scala
- Domain
- documentation
Research direction
Reproduce the boundary cases for ts-get-interp, then trace __interp and ts-get-before-and-after to confirm how NOBODY reaches __col-of-row. Review the extension documentation for interpolation behavior outside the time-series range; done means the runtime behavior is understood and the documented boundary behavior matches it.
Written by the indexing model from the issue text.
Description
Using ts-get-interp with a time equal to, or soon after, the first time in the time series object raises a runtime error in to-report __col-of-row [columns row col-name]; the error is "ITEM expected input to be a string or list but got NOBODY instead."
Tracing this back through __interp, I am guessing the problem has to do with ts-get-before-and-after sometimes returning NOBODY...
The documentation for ts-get-interp needs to say what happens when you try to interpolate using a time not between the beginning and end of the time-series.
- Dominant language
- Scala
- Stars
- 8
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
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.
More from NetLogo/Time-Extension
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 68/100
NetLogo/Time-Extension#39 ·
-
NetLogo/Time-Extension#53 · 5 comments · 1 assignee ·
-
documentation
NetLogo/Time-Extension#52 · 9 comments · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
NetLogo/Time-Extension#50 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
NetLogo/Time-Extension#49 ·
All issues in NetLogo/Time-Extension
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ergoplatform/ergodocs#614 ·
-
area:ci enhancement requires-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
apache/datafusion-comet#6078 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
[VL] madvise(WILLNEED) call fails in MmapFileStream because of wrong calculation of fetching length Openbug triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
chipsalliance/rocket-chip#3831 ·