Giter Club home page Giter Club logo

testsuite's Introduction

Test Suites

This repository contains the test suite data for evaluating database queries as described in the paper:

Searching for Better Database Queries in the Outputs of Semantic Parsers

Data

The test suites can be downloaded from this link.

The test suites were created for five datasets: Spider, GeoQuery, IMDB, Yelp, and Academic.

The names of the database files for each dataset are in the following format:

{dataset_name}_{test_database_count}_{gold_query_index}_ts.sqlite

The gold_query_index is the index of the corresponding gold query. You can find the mapping between the gold queries and their indexes in the file {dataset_name}_query_to_index.json, which is located in each dataset folder.

For each gold query, there is a separate test suite with several test databases. The test_database_count parameter enumerates all the databases corresponding to a given gold query. For instance, if a gold query in the Yelp dataset has an index of gold_query_index=5, there would be three test databases in the test suite, named yelp_0_5_ts.sqlit, yelp_1_5_ts.sqlite, and yelp_2_5_ts.sqlite.

Comparison to the original test suites

Originally, the test suites were introduced in the following work: https://github.com/ruiqi-zhong/TestSuiteEval.

Our modifications are outlined in our paper, specifically in Section 4 and Appendix A which detail the construction of the test suite.

Below is the comparison of the test suites’ statistics.

testsuite's People

Contributors

ramild avatar

Watchers

 avatar

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.