20 lines of code that will beat A/B testing every time - Steve Hanovs Programming Blog.
I've been pondering similar things in the context of games, namely to have the game adapt to your play style. This has been attempted many times, some more successful than others, but this simple approach could be useful as a component of a larger system.