@runloop/api-client - v1.4.0
    Preparing search index...

    Interface AstGrepScoringFunction

    AstGrepScoringFunction utilizes structured coach search for scoring.

    interface AstGrepScoringFunction {
        pattern: string;
        search_directory: string;
        type: "ast_grep_scorer";
        lang?: string;
    }
    Index

    Properties

    pattern: string

    AST pattern to match. Pattern will be passed to ast-grep using the commandline surround by double quotes ("), so make sure to use proper escaping (for example, $$$).

    search_directory: string

    The path to search.

    type: "ast_grep_scorer"
    lang?: string

    The language of the pattern.