Skip to content

Generating predicates from alternating chained grammars #1624

@yichao-liang

Description

@yichao-liang

When generating predicates from _ChainPredicateGrammar with alternate=True, such as here when CFG.grammar_search_grammar_use_diff_features=True.

The enumeration seems to stop before grammar_search_max_predicates amount of predicates are generated, as one of the grammars runs out. In my experiment, it generated a total of 17 candidates when the hyperparameter is set to 200.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions