-
Notifications
You must be signed in to change notification settings - Fork 75
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
hybrid algorithm #100
Comments
In the meeting we said that @matthewjasper would try to write up some mentoring instructions and @AlbinS would try to fix this. =) |
To add a new pass first add a new variant to the polonius/polonius-engine/src/output/mod.rs Lines 20 to 51 in ecafafb
also use the new pass in Then the new algorithm can be implemented by adding another arm here: polonius/polonius-engine/src/output/mod.rs Lines 116 to 135 in ecafafb
The pass just has to run the location insensitive pass, check if Finally, the pass should be tested by adding a test here that runs that hybrid algorithm and asserts that it gets the same errors (only) as the naive algorithm: Lines 13 to 51 in ecafafb
|
As discussed in today's meeting, a simple starter issue for getting more understanding of how polonius works is to create a "hybrid" algorithm that first tries the location-insensitive analysis and -- if there are errors -- falls back to datafrog-opt.
The text was updated successfully, but these errors were encountered: