constructive icon indicating copy to clipboard operation
constructive copied to clipboard

Better information on reconstruction issues

Open moodymudskipper opened this issue 3 years ago • 1 comments

I first though we could parse Waldo's messages and summarise but it's brittle, we can do better.

Whenever we do a reconstruction that we know will be inexact, e.g. reproducing an environment, or reproducing objects linked to env like functions, formulas, srcrefs, we update global variables, and we'll get a summary like :

  • 2 functions couldn't be reliably reproduced because of their environment and their srcref
  • 3 formulas couldn't be reproduced because of their environment
  • 1 other environment couldn't be reproduced

The object will have an additional issues element next to code and compare

construct_issues() would reiterate those and add suggestions since some constructors might do the job better

moodymudskipper avatar Oct 05 '22 11:10 moodymudskipper

{woof} might help but maybe a bit slow ? It could probably be made faster though since it's essentially parsing. https://github.com/moodymudskipper/woof

moodymudskipper avatar Apr 07 '23 14:04 moodymudskipper