JuliaDynamics / JuliaDynamics/ABMFrameworksComparison

Use `random_nearby` in wolf sheep?

Open
#66 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
NetLogo
Stars
27
Forks
11
PR merge metrics
No merged PRs in 30d

Description

In Agents.jl we have spent considerable development effort optimizing functions that pick a "random nearby thing" but these aren't used here anywhere even though picking a "random nearby thing" is an extremely common ABM programming pattern.

Maybe we can use the random nearby in the wolf sheep model?

here: https://github.com/JuliaDynamics/ABM_Framework_Comparisons/blob/main/WolfSheep/Agents/WolfSheep.jl#L78

Contributor guide

Open the contributing guide

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

Read WolfSheep/Agents/WolfSheep.jl around line 78 and compare the current nearby-selection logic with Agents.jl's random_nearby API. Confirm the intended helper usage and run the repository's relevant model or benchmark checks; done means the wolf-sheep model uses random_nearby as requested without changing its behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.