Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for ability to lift a CSE out of an assign form when it depends on bindings in the assign and fuzz infra for testing #80

Merged
merged 39 commits into from
May 1, 2024

Conversation

prozacchiwawa
Copy link
Contributor

First, the bug fix part is relatively small.
This might need breaking up, but it's a good place to bring in fuzz testing infra that allows us to do more.
A good bit of what's written in the regression part of the CSE fuzz test will be folded into common fuzz infrastructure too.
The fuzz infra added has 2 layers:

  1. Core part in src/compiler/fuzz.rs which is a simple runner for a rule based expression expander.
  2. Extra parts are in src/tests/compiler/fuzz.rs which adds chialisp specific support.

…e rules for a hierarchy of variables defined either as individual expressions or as assign forms.
@coveralls
Copy link

coveralls commented Apr 16, 2024

Pull Request Test Coverage Report for Build 8851168455

Details

  • 110 of 137 (80.29%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.1%) to 82.931%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/compiler/optimize/above22.rs 14 17 82.35%
src/compiler/comptypes.rs 6 12 50.0%
src/compiler/optimize/cse.rs 80 98 81.63%
Totals Coverage Status
Change from base Build 8835428455: 0.1%
Covered Lines: 15173
Relevant Lines: 18296

💛 - Coveralls

@prozacchiwawa prozacchiwawa merged commit e9ff608 into base May 1, 2024
29 checks passed
@prozacchiwawa prozacchiwawa deleted the 20240406-assign-cse-fuzz branch May 1, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants