Several recent discussions as well as the ticket
https://sourceforge.net/p/halef/tickets/55
suggests the creation of a tool which is to check the consistency of applications before deployment ("preflight"). The group consensus is to call this tool "PyTHIA", which stands for Python Testbench for HALEF Interactive Applications. This tool would check, e.g.:
- the availability of prompts
- the availability of grammars
- the availability of TSV files
- consistent naming schemes of variables (A_???, SC_???, etc., see https://sourceforge.net/p/halef/tickets/68/)
- distinct naming of dialog states, see https://sourceforge.net/p/halef/tickets/68/
- the fact whether a grammar file is in fact a grammar or something else (such as wav file, see https://sourceforge.net/p/halef/tickets/65)
- the fact that there is a default transition out of every decision shape
- whether there is a logical "IF" condition specified in the Branch shape for every action/semantic category that is specified in the preceeding script. (this was a callflow bug observed with the 7709 interview item, where the presence of one semantic category was not checked at all (typo), leading to going down the Default path whenever that semantic category was found)
- the fact whether the script blocks were generated using the right GGS script (see e.g. Case https://sourceforge.net/p/halef/tickets/64/)
- whether the right URL for the PHP logging scripts are used (again, whether the newest GGS scripts was used)
- whether every question block is follwed by a script block
- whether there are DTMF grammars specified (unless intended), since this may break stuff
Diff:
Diff:
Diff:
Diff:
Diff:
Diff:
Diff: