fix doctest in Level Analyzer