NetLogo / NetLogo/models

Info tab incorrectly describes movement in Segregation model

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

Nobody has claimed this yet.

Dominant language
NetLogo
Stars
125
Forks
99
PR merge metrics
No merged PRs in 30d

Description

Info tab says "If agents don’t have enough same-color neighbors, they move to a nearby patch. "

and yet the code is

; move until we find an unoccupied spot
to find-new-spot
  rt random-float 360
  fd random-float 10
  if any? other turtles-here [ find-new-spot ] ; keep going until we find an unoccupied patch
  move-to patch-here  ; move to center of patch
end

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 with the Segregation model's Info tab and compare its movement description with the shown find-new-spot procedure. Update the description so it accurately reflects the movement behavior, then verify that the Info tab no longer contradicts the model code.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.