mlabs-haskell / mlabs-haskell/lambda-buffers
Compiler: Testing tasks
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 32
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
TODO:
- Benign mutation that shuffles Constructors in a Sum - easy
- Benign mutation that shuffles Fields in a Record - easy
- Benign mutation that shuffles Tys in a NTuple - easy
- Benign mutation that shuffles TyArgs in a TyAbs - difficult (requires updating call sites)
- Corrupting mutation causing a NamingError
- Corrupting mutation causing a ProtoParseError
- Corrupting mutation causing a KindCheckError
Check out Mutations in https://github.com/mlabs-haskell/lambda-buffers/blob/134ff00445aac6c09bfe63ecea433c3c708c3753/lambda-buffers-compiler/test/Test/LambdaBuffers/Compiler/Mutation.hs
And how to install them in https://github.com/mlabs-haskell/lambda-buffers/blob/134ff00445aac6c09bfe63ecea433c3c708c3753/lambda-buffers-compiler/test/Test/LambdaBuffers/Compiler.hs#L50
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the Mutations definitions in lambda-buffers-compiler/test/Test/LambdaBuffers/Compiler/Mutation.hs and the installation code near line 50 of lambda-buffers-compiler/test/Test/LambdaBuffers/Compiler.hs. Implement the unchecked benign and corrupting mutation tests from the issue, then run the compiler test suite to verify each listed case is covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- compilers, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100