Code Search will import the source code from Classroom repositories and index it.
It can be used to find code duplicates across submissions and allows grading multiple students at the same time.
@if (classroom.codeSearch) {
Your OpenAI API key for advanced Code Search. Generate one in the
OpenAI API Keys.
The OpenAI API will be used to semantically index all code submissions that consent to third-party sharing.
If disabled, the students' consent will be ignored and all submissions will be indexed.
A gitignore-like list of directories, files and methods to ignore when indexing code.
More Info
Supports wildcards, negation, and other minimatch patterns.
To ignore a file, use Foo.java.
To ignore a directory, use bar/.
To ignore a directory except for a specific file, use bar/ and !bar/Foo.java.
To ignore a method or function, use Foo.java#baz.
To ignore all methods and functions except for a specific one, use Foo.java#* and !Foo.java#baz.
If a file is already ignored, all method rules for that file, even allow rules, have no effect.