Increase test coverage - #236
Conversation
|
@kasyanovse это можно ревьюить? Или уже неактуальны измения? |
Именения актуальные. До ревью еще очень далеко. Хотя, если ишью в описании неактуален, то и этот пр не актуален. |
|
Ишью актуален. Но мб какие-то из новых тестов самодостаточны и их можно влить уже? Если нет то нет. |
Точно не помню, но должны быть самодостаточными. Можешь вливать, как посчитаешь нужным. |
|
@maypink как считаешь, вливаем (убрав закомментированное)? |
- resolve the conflict in AdaptiveMutationProb (keep _min_proba = 0.1 from main);
relax the validation to (0, 1] since values below _min_proba are clamped
by next() anyway and should not break existing configurations
- fix wording of the validation error messages
- implement the previously commented-out decremental regularization test;
it exposed a latent bug: Regularization was never given GraphRequirements,
so decremental mode crashed with AttributeError on
requirements.static_individual_metadata. Regularization now accepts
requirements (like the other operators) and EvoGraphOptimizer passes them
- add a test for decremental regularization on graphs without fitted subtrees
- revert the docstring change in test_custom.py ('sane result' was intended)
- remove an unused import
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #236 +/- ##
==========================================
+ Coverage 72.71% 73.24% +0.53%
==========================================
Files 142 142
Lines 8450 8461 +11
==========================================
+ Hits 6144 6197 +53
+ Misses 2306 2264 -42 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
#224