Training codebase