Giter VIP home page Giter VIP logo

fits-testing's Introduction

FITS testing tool

A tool to test the File Information Tool Set (FITS) against a test corpora. This tool will allow to pass a FITS implementation by argument and test it against a set of files, producing and report on Microsoft Excel format. Optionally, you can pass a ground truth file which will be used to validate the FITS output results in terms of mime type, puid and validation.

Build & Use

To build the application simply clone the project and execute the following Maven command: mvn clean package
The binary will appear at target/fits-testing-1.0-SNAPSHOT-jar-with-dependencies.jar

To see the usage options execute the command:

$ java -jar target/fits-testing-1.0-SNAPSHOT-jar-with-dependencies.jar -h
usage: report
 -d <arg>   directory with files to process
 -f <arg>   fits home
 -g <arg>   ground truth file
 -h         print this message
 -o <arg>   output file

To test a FITS against the included corpora, execute the following command:

$ java -jar target/fits-testing-1.0-SNAPSHOT-jar-with-dependencies.jar -d corpora/files/ -f ../fits-harvard-lts/ -g corpora/groundtruth.xls -o results/results-fits-harvard-lts.xls

Note that this command assumes you have downloaded the harvard-lts version of FITS into the parent folder.

Results

These are test results that resulted from the execution of this tool against several FITS versions.

Repository harvard-lts openplanets openplanets keeps
Branch master master gary-master keeps
Commit 0a1cd57f22 2ff3bc2dc0 7b0c2dd4c2 6fcb46a03c
% correct1 MIME type 35.4% 35.4% 25% 62.5%
% incorrect1 MIME type 60.4% 64.6% 70.8% 33.3%
% unknown1 MIME type 4.2% 0% 4.2% 4.2%
% correct PUID 25% 25% 0% 66.7%
% incorrect PUID 4.2% 4.2% 0% 20.8%
% unknown PUID 70.8% 70.8% 100% 12.5%
% correct validation2 2.1% 2.1% 2.1% 2.1%
% incorrect validation2 0% 0% 0% 0%
% unknown validation2 33.3% 33.3% 22.9% 64.6%
Avg. extracted features 8.3 8.3 8.4 8.8
Avg. exec. time (ms) 3731 3692 2324 5609
Results spreadsheet download download download download

1 Correct result is one that agrees with the ground truth, incorrect result is one that disagrees with the ground truth, and unknown result is one where FITS gives no answer.
2 The validation depends on the identification process. A tool will try to validate a file against the format it has identified, so if the identification is wrong, the validation cannot be considered as correct. So we only count validations of correct identifications (of MIME type or PUID), but the result is divided by the total number of files. This is why the total number of correct, incorrect and unknown validations in not 100%.

Test date: 2013-11-01
Test environment:

  • Processor: Intel® Core™ i5 CPU 650 @ 3.20GHz × 4
  • Memory: 7.7 GiB
  • Disk: Western Digital WD Black WD1002FAEX 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s
  • Operative system: Ubuntu 12.04.3 LTS
  • Java virtual machine: OpenJDK 1.6.0_27

Corpora:

  • Provided files with manually created ground truth
  • 48 files
  • Formats:
  • Vector graphics: Adobe Illustrator, Corel Draw
  • Text, spreadsheet and presentation: Microsoft Office and Libre Office
  • Application data: Lotus Notes

License

This software is available under the LGPL version 3 license. All corpora was created specifically for this project and is available under the Creative Commons Attribution-ShareAlike 3.0 Unported License.

fits-testing's People

Contributors

luis100 avatar sleroux-keep avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

peshkira

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.