Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joranhonig/tarantula
Implementation of the tarantula fault localisation algorithm
https://github.com/joranhonig/tarantula
bugs fault-localization solidity
Last synced: 15 days ago
JSON representation
Implementation of the tarantula fault localisation algorithm
- Host: GitHub
- URL: https://github.com/joranhonig/tarantula
- Owner: JoranHonig
- Created: 2021-01-08T16:20:28.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-10T13:05:58.000Z (over 3 years ago)
- Last Synced: 2024-10-04T15:45:57.373Z (about 1 month ago)
- Topics: bugs, fault-localization, solidity
- Language: ReScript
- Homepage:
- Size: 124 KB
- Stars: 14
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 👾 Tarantula
![Run Test 🔬 ](https://github.com/JoranHonig/tarantula/workflows/Run%20Test%20%F0%9F%94%AC/badge.svg) [![npm](https://img.shields.io/npm/v/tarantula-fl)](https://www.npmjs.com/package/tarantula-fl)
[![](https://img.shields.io/twitter/follow/JoranHonig?style=social)](https://twitter.com/JoranHonig)Implementation of the tarantula fault localisation algorithm in rescript.
## ⬇ Installation
```sh
npm install tarantula-fl
```## Example usage
```javascript
var tarantula = require('tarantula-fl')var testData = {
testResults: tarantula.TestData.fromMocha(exampleTestResult),
coverage: tarantula.TestData.fromSolCover(exampleCoverage)
}score = tarantula.Tarantula.tarantulaScore(testData)
```## 🤖 Developers
- Build: `npm run build`
- Clean: `npm run clean`
- Build & watch: `npm run start`
- Test: `npm test`## 📚 Learn More:
- [Empirical Evaluation of the Tarantula Automatic Fault-Localization Technique - James A. Jones and Mary Jean Harrold](http://spideruci.org/papers/jones05.pdf)