Skip to content

Are the programs that ASTactic generate guaranteed to be syntactically correct? #57

Answered by yangky11
brando90 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Sorry for the late reply! Yes, you're right. Given a nonterminal symbol, only a subset of production rules are valid. During testing, we always choose the rule with the highest predicted score among valid rules. During training, we could either

  1. restricting to valid rules
  2. considering all rules

We tried both and didn't observe a significant difference in the final performance.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yangky11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants