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

Started a heuristic marker inference tool #33

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

JustusAdam
Copy link
Collaborator

@JustusAdam JustusAdam commented Sep 4, 2023

What Changed?

This adds a new tool to the arsenal that uses naming heuristics to assign the kinds of markers that our collated policies use.

This is intended to set up the basic infrastructure for a marker assigner consisting of a recursive directory traversal, parsing using syn and a few sketch heuristics to begin with. It is intended that the heuristics later expand with more patterns we find in the projects we analyze.

Why Does It Need To?

This should make it easier to add markers to new applications for analysis with Paralegal.
The idea is that instead of starting marking for every application form scratch we can instead apply the same rules we used in previous applications to add as many markers as possible automatically.

Checklist

  • Above description has been filled out so that upon quash merge we have a
    good record of what changed.
  • New functions, methods, types are documented. Old documentation is updated
    if necessary
  • Documentation in Notion has been updated
  • Tests for new behaviors are provided
    • New test suites (if any) ave been added to the CI tests (in
      .github/workflows/rust.yml) either as compiler test or integration test.
      Or justification for their omission from CI has been provided in this PR
      description.

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.

1 participant