NetLogo / NetLogo/Time-Extension

Error checking in ts-create and ts-add-row

Open
#36 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
8
Forks
4
PR merge metrics
No merged PRs in 30d

Description

I am learning from experience that it would be very helpful to raise an error when:
a) ts-create is used and its parameter column-name-list is not a list.
b) ts-add-row is used and its parameter row-list is not a list
c) ts-add-row is used and its parameter row-list is a list with length not equal to the column name list

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

Locate the entry points for ts-create and ts-add-row in the extension and inspect how their parameters are currently handled. Add checks for list types and matching row and column-list lengths, then run the existing test suite or command-level tests to verify invalid inputs raise errors and valid inputs still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.