Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

section_plan --print-weights accepts a runner with zero section labels (label floor collapses to 0)

Open
#1,312 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
shell

Research direction

Start with tools/section_plan.sh and run the supplied Python reproduction to confirm the zero-label case. Inspect the script's --print-weights and --selftest paths; done means a zero-label runner or log below the fixed floor returns rc 1 with "vacuous", and a selftest covers the zero-label runner.

Written by the indexing model from the issue text.

Description

area:gates found-by:critic kind:gate-defect

Found by a blind critic on PR #1310. The same result on main 7706607: this is pre-existing.

tools/section_plan.sh --print-weights derives its distinct-label floor from the runner. When the runner has zero section labels, the threshold collapses to zero. A fabricated 50-row timing log is then accepted, and a weights table is emitted for a runner with nothing in it.

Repro: python3 /tmp/sp-critic/repro_vacuity.py tools/section_plan.sh (rc 0 on head and on base).

Done when:

  • --print-weights refuses (rc 1, "vacuous") when the runner yields zero labels, or when the log matches fewer than a fixed floor of the runner's labels
  • a --selftest case plants the zero-label runner and names this check
Dominant language
C
Stars
3
Forks
7
Avg merge
3h 56m
Merged PRs (30d)
102

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from InauguralSystems/EigenScript

All issues in InauguralSystems/EigenScript

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.