In book branch, chapter 5 I believe the test for compute_ARI isn't correct. I have checked that the Automatic Readability Index for the sentence 'This was rather easy. Please give me something more challenging' is 6.033
The condition however is abs(compute_ARI(sentences) - 4.442) < 0.001 which will always be false