microsoft / CodeT

MIT License
599 stars 76 forks source link

A bug related to regular expression in extracting equations in GSM8K in DIVERSE project #38

Open lyconghk opened 4 months ago

lyconghk commented 4 months ago

In DIVERSE project, utils.py GSM8KExample class, there is a bug of regular expression in the function init_equations(). the pattern "<<.+>>[0-9.]+" is not correct to find multiple equations among <<>> in a sample solution. image

Test case: image

Ethan