is evolution making dvorak

2008-06-05

i’ve been working on my layout evolution program the last few days

after a few tests for 1-2 hours at a time and some major hacking at the code, i decided to let it run for a day or two. the latest version is very aggressive about breeding new layouts and killing bad layouts

instead of mucking around with 10 or 20 layouts i’ve bumped it up to 100. this takes ages, but is producing good results and lots of high scores. also previously it only killed about 50%, but the new one kills 75%

this seems to help a lot, at one stage in an early program the scores after each generation kept getting worse not better! i also tightened up the “breeding” program, now only the top 10% or so can breed. you might ask why keep the 75%-90% gap? well, i don’t want one fluky layout to remove a solid pool base

after a few generations the solid base should be back on top

a few things are obvious from the latest run:

  1. my test data needs some looking at (i think the word “this” might appear a lot)
  2. my rules need some work. the program is pumping out layouts that are scoring much better than dvorak, but the don’t look “right”

anyway, here’s the latest layout it’s just created:

' l g m y  f d o p v
r n t h s  i u a e c
; . w b j  x k , z q

and for comparison, here’s dvorak:

' , . p y  f g c r l   
a o e u i  d h t n s
; q j k x  b m w v z

they have some interesting similarities, the vowels mirror to the right hand is pretty cool. i still wouldn’t want to type on it though

i’ll let it run over night and see how it goes. each new generation takes about an hour to score, so i’m expecting some interesting results in the morning