#82 updated compilation_errors_ratio, added functions and fixed bugs