Review the existing Grank codebase to understand how projects are currently analyzed. Investigate how to detect the primary language of a repository using GitHub API or source code analysis. Propose a method to classify projects as documentation, frontend, or development based on file types. Consider edge cases like mixed language projects.