NetLogo / NetLogo/NW-Extension

Possible confusion in save/load matrix

Open
#18 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
66
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Let's say you have two link breeds: dirlinks and undirlinks, being respectively directed and undirected.

Let's say you have a bunch on links of both kinds, and you then:

nw:set-snapshot turtles links
nw:save-matrix "matrix.txt"

And you then:

nw:load-matrix "matrix.txt" turtles links

You would expect to get back both your directed and undirected links. Both that's not what happens. You get only undirected links. This is potentially confusing for the user.

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

Start by reproducing the behavior with nw:set-snapshot, nw:save-matrix, and nw:load-matrix using both directed and undirected link breeds. Review how the matrix represents link direction and determine the intended format before changing behavior; done should preserve and restore both link kinds.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
networking
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.