Skip to content

Commit e8d601d

Browse files
committed
note issue
1 parent ab76025 commit e8d601d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,16 @@ Run with `cargo run --example profile_evolve_binary --release -- --bench --profi
188188
Find the flamegraph in: `./target/criterion/profile_evolve_binary/profile/flamegraph.svg`
189189
190190
## TODO
191+
* There is an issue with MutationType::RangeScaled. The pre-clamping solves the
192+
issue of oversampling the borders when using a large intermediate bandwidth.
193+
But it doesn't solve the 50/50 probability of sampling up or down. If the
194+
gene is nearer to an edge, the effective bandwidth is smaller due to
195+
pre-clamping, but that oversamples the bandwidth with regard to the other
196+
direction's bandwidth size. This effect gets stronger nearer to the edge. 50%
197+
of the samples fall between the current value and the edge, which feels very
198+
unbalanced. Need to sample the whole pre-clamped bandwidth as a whole (how to
199+
do that for unsigned int?) or need to balance the probability by bandwidth
200+
size
191201
192202
## MAYBE
193203
* Apply precision (to f32/f64) during hashing in order to converge and hit

0 commit comments

Comments
 (0)