• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CodeReclaimers / neat-python / 26330410885
87%

Build:
DEFAULT BRANCH: master
Ran 23 May 2026 10:31AM UTC
Jobs 1
Files 30
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 May 2026 10:30AM UTC coverage: 86.999% (-0.004%) from 87.003%
26330410885

push

github

CodeReclaimers
Add disable_rule config flag for 75% crossover rule (#292)

Adds a `disable_rule` parameter to `[DefaultGenome]` so users can opt
into Stanley's reference NEAT C++ behavior alongside the current
neat-python semantics. Default remains `neat-python` (no behavior change
for existing configs).

- `neat-python`: when either parent has the gene disabled, replace the
  randomly-inherited `enabled` with a fresh Bernoulli(0.25) — 75%
  disabled regardless of how many parents had it disabled.
- `stanley`: random inherit, then 75% force-disable layered on top if
  either parent disabled — ~87.5% disabled with one parent disabled,
  100% disabled with both.

Threaded through `BaseGene.crossover()` as a keyword argument with a
backwards-compatible default so direct callers (tests, etc.) keep
working. Validated at config load.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

12 of 12 new or added lines in 2 files covered. (100.0%)

1 existing line in 1 file now uncovered.

2215 of 2546 relevant lines covered (87.0%)

0.87 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
94.92
-1.69% neat/checkpoint.py
Jobs
ID Job ID Ran Files Coverage
1 26330410885.1 23 May 2026 10:31AM UTC 30
87.0
GitHub Action Run
Source Files on build 26330410885
  • Tree
  • List 30
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7d9acae0 on github
  • Prev Build on master (#25578897946)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc