Correct texttt to code
Add documentation to extract_expected_data