ALTAR is an automated SQL predicate fault localization tool. Currently it supports PostgresSQL.
bundle install- update the database config file in config/default.yml
- Create a directory in
/sqldirectory, the name of the directory should be the database name. - Create a JSON file in the same format as
/sql/adventureworks/adventureworks_s01.json - Execute ALTAR with this command
./altar.rb -s #json_file_name# -o t -g c -m r - Statistics and Similarity based fault localization techniques can be applied with this command
./altar.rb -s #json_file_name# -o t -g c -m bto - Fault localization result will be store in a table name
test_resultin your database.
- Employees_AdventureWorks.xlsx contains experiment result for Employees and AdventureWorks
- data_collector.xlsx, polling_etl.xlsx contians experiment result for data_collector and polling_etl database
- balance.xlsx contains experiment result for MSDB database
- Combined result of the 5 databases are stored in Overall.xlsx
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D