Chapter 1
Introduction

 1.1 How to download the database and use it
 1.2 Description of the schema
 1.3 Screen shots using the database via DB Browser for SQLite

1.1 How to download the database and use it

This is a short introduction on how to download and use the new CAS integration tests SQLite database. The database is one sqlite file.

  1. Download cas_integration_tests.zip and extract it. The file inside is called cas_integration_tests.db which is a large file (1.3 GB) and is the database file.
  2. Install sqlite3 if not already installed on your computer. The web page is sqlite3 database software. This is open source free software which is available to Linux, Mac and Windows. Most linux installation managers can also install this directly.
  3. It is recommended to also install DB Browser for SQLite which is a GUI interface to the database that allows one to easily query and view the database.
  4. Once sqlite3 is installed then the following command is used to access the database itself

    sqlite3  cas_integration_tests.db 
    >sqlite
     
    
  5. Once inside the database. SQL queries are used to find any information needed about the test results. There are many places on the web that show how to use SQL commands.

1.2 Description of the schema

There is only one table called main with currently 72 columns. The following is the result of issuing the command sqlite> PRAGMA table_info(main);

sqlite> PRAGMA table_info(main); 
0|key|INTEGER|0||1 
1|global_integral_number|INTEGER|0||0 
2|command_in_mma|TEXT|0||0 
3|command_in_maple|TEXT|0||0 
4|command_in_sage|TEXT|0||0 
5|command_in_sympy|TEXT|0||0 
6|command_in_mupad|TEXT|0||0 
7|optimal_in_mma|TEXT|0||0 
8|optimal_in_maple|TEXT|0||0 
9|optimal_leaf_size|INTEGER|0||0 
10|optimal_in_latex|TEXT|0||0 
11|has_known_anti|INTEGER|0||0 
12|input_file_name|TEXT|0||0 
13|input_file_number|INTEGER|0||0 
14|integral_number_in_file|INTEGER|0||0 
15|rubi_number_of_steps|INTEGER|0||0 
16|integrand_size|INTEGER|0||0 
17|rubi_pass|INTEGER|0||0 
18|rubi_leafsize|INTEGER|0||0 
19|rubi_time|TEXT|0||0 
20|rubi_anti|TEXT|0||0 
21|rubi_anti_in_latex|TEXT|0||0 
22|rubi_grade|TEXT|0||0 
23|rubi_grade_info|TEXT|0||0 
24|rubi_number_of_rules|TEXT|0||0 
25|rubi_rules_used|TEXT|0||0 
26|mma_pass|INTEGER|0||0 
27|mma_leafsize|INTEGER|0||0 
28|mma_time|TEXT|0||0 
29|mma_anti|TEXT|0||0 
30|mma_anti_in_latex|TEXT|0||0 
31|mma_grade|TEXT|0||0 
32|mma_grade_info|TEXT|0||0 
33|maple_pass|INTEGER|0||0 
34|maple_leafsize|INTEGER|0||0 
35|maple_time|TEXT|0||0 
36|maple_anti|TEXT|0||0 
37|maple_anti_in_latex|TEXT|0||0 
38|maple_grade|TEXT|0||0 
39|maple_grade_info|TEXT|0||0 
40|fricas_pass|INTEGER|0||0 
41|fricas_leafsize|INTEGER|0||0 
42|fricas_time|TEXT|0||0 
43|fricas_anti|TEXT|0||0 
44|fricas_anti_in_latex|TEXT|0||0 
45|fricas_grade|TEXT|0||0 
46|fricas_grade_info|TEXT|0||0 
47|maxima_pass|INTEGER|0||0 
48|maxima_leafsize|INTEGER|0||0 
49|maxima_time|TEXT|0||0 
50|maxima_anti|TEXT|0||0 
51|maxima_anti_in_latex|TEXT|0||0 
52|maxima_grade|TEXT|0||0 
53|maxima_grade_info|TEXT|0||0 
54|giac_pass|INTEGER|0||0 
55|giac_leafsize|INTEGER|0||0 
56|giac_time|TEXT|0||0 
57|giac_anti|TEXT|0||0 
58|giac_anti_in_latex|TEXT|0||0 
59|giac_grade|TEXT|0||0 
60|giac_grade_info|TEXT|0||0 
61|mupad_pass|INTEGER|0||0 
62|mupad_leafsize|INTEGER|0||0 
63|mupad_time|TEXT|0||0 
64|mupad_anti|TEXT|0||0 
65|mupad_anti_in_latex|TEXT|0||0 
66|mupad_grade|TEXT|0||0 
67|mupad_grade_info|TEXT|0||0 
68|sympy_pass|INTEGER|0||0 
69|sympy_leafsize|INTEGER|0||0 
70|sympy_time|TEXT|0||0 
71|sympy_anti|TEXT|0||0 
72|sympy_anti_in_latex|TEXT|0||0 
73|sympy_grade|TEXT|0||0 
74|sympy_grade_info|TEXT|0||0 
sqlite>
 

1.3 Screen shots using the database via DB Browser for SQLite

pict
Figure 1.1: Database GUI

pict
Figure 1.2: database structure