I want to evaluate an algorithm that detects source code indentation. I'm looking for a collection of space indented source files in various languages. Each file should be annotated with the programming language and the indentation width. By indentation width I mean the number of spaces per indentation level.

I understand this is a very specific request and there is possibly no such dataset out there. So until there is an answer with a dataset annotated with indentation width I will also accept answers with datasets annotated with programming language only. I prefer datasets with source files in a broad range of programming languages and from a broad range of projects/authors.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.