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

CodeReclaimers / neat-python / 26330410885 / 1
87%
master: 87%

Build:
DEFAULT BRANCH: master
Ran 23 May 2026 10:31AM UTC
Files 30
Run time 1s
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.1

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>

2215 of 2546 relevant lines covered (87.0%)

0.87 hits per line

Source Files on job 26330410885.1
  • Tree
  • List 30
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26330410885
  • 7d9acae0 on github
  • Prev Job for on master (#25578897946.1)
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