NetLogo / NetLogo/NetLogo

Add an `is-headless?` reporter

Open
#2,553 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

compiler gui infrastructure
Dominant language
Scala
Stars
1.2k
Forks
272
PR merge metrics
No merged PRs in 30d

Description

Hi there,

I’d like to suggest adding an is-headless? reporter to NetLogo.

In some cases, for performance reasons, it’s useful to disable certain procedures when running in headless mode. While NetLogo already disables some features automatically, it cannot skip user-defined procedures, such as those handling plot calculations outside the widget.

Having an is-headless? reporter would allow users to conditionally disable these procedures directly in their code.

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

The issue names no implementation files or tests. Start by locating NetLogo's existing reporter definitions and the headless-mode entry point, then verify the new reporter in both headless and GUI execution; done means user code can conditionally skip procedures when headless.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
compilers
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.