Score and Gen Pattern
Merge Fix