annotate docs/ResultsSpecificationDocument.tex @ 1405:a9f1b91b6335

Minor fixes to test_create Specification before merge with core.js Specification
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Fri, 04 Dec 2015 18:51:58 +0000
parents 3b9f0bc523d6
children 06fbaccf3b58
rev   line source
nickjillings@1404 1 \documentclass{article}
nickjillings@1404 2
nickjillings@1404 3 \usepackage[margin=2cm]{geometry}
nickjillings@1404 4 \usepackage{listings}
nickjillings@1404 5 \usepackage{color}
nickjillings@1404 6
nickjillings@1404 7 \begin{document}
nickjillings@1404 8
nickjillings@1404 9 \large APE Browser Tool - Results Specification Document
nickjillings@1404 10
nickjillings@1404 11 \section{Introduction}
nickjillings@1404 12 This document outlines the return XML document structure to hold the results from the Browser Evaluation Tool, specifically for the APE Interface.
nickjillings@1404 13
nickjillings@1404 14 \section{Root}
nickjillings@1404 15 The root of the document is \texttt{BrowserEvaluationResult}.
nickjillings@1404 16
nickjillings@1404 17 \section{testReults}
nickjillings@1404 18 A 1st level node, contains all the results from a specific test instance defined by the audioHolder objects in the setup XML. Takes the audioElement as its children to define a full test and any test metrics.
nickjillings@1404 19
nickjillings@1404 20 \subsection{Attributes}
nickjillings@1404 21 \begin{itemize}
nickjillings@1404 22 \item \texttt{id} - The ID given to audioHolder in the project setup XML.
nickjillings@1404 23 \item \texttt{repeatCount} - Specifies the repeat count of the test, there will be one testResult per test per repeat, this will help identify which repeat.
nickjillings@1404 24 \end{itemize}
nickjillings@1404 25
nickjillings@1404 26 \subsection{AudioElement}
nickjillings@1404 27 A 2nd level node, this contains the results for a specific audioElement.
nickjillings@1404 28
nickjillings@1404 29 \subsubsection{Attributes}
nickjillings@1404 30 Has the following attributes, depending on the variables set in the Project Specification.
nickjillings@1404 31 \begin{itemize}
nickjillings@1404 32 \item \texttt{id} - Mandatory. This returns the ID of the track in question. This is either the value passed in from the project specification, or calculated based on the position in the list. For instance, in the automatic system, the first test sample has ID 0, the second ID 1 and so forth. The value passed in from the project specification can either be a string or a Number.
nickjillings@1404 33 \item \texttt{url} - Mandatory. Returns the full URL given incase of errors or for later checking.
nickjillings@1404 34 \end{itemize}
nickjillings@1404 35
nickjillings@1404 36 \subsubsection{Value}
nickjillings@1404 37 One of these elements per track, containing the floating value between 0 and 1 relating the user rating of the track. This is a mandatory element.
nickjillings@1404 38
nickjillings@1404 39 \subsubsection{Comment}
nickjillings@1404 40 One of these elements per track, containing any commenting data from the interface text boxes. Has the two following child nodes.
nickjillings@1404 41 \begin{itemize}
nickjillings@1404 42 \item \texttt{Question} - Returns the text next to the comment box
nickjillings@1404 43 \item \texttt{Response} - Returns the text in the comment box
nickjillings@1404 44 \end{itemize}
nickjillings@1404 45
nickjillings@1404 46 \subsubsection{metrics}
nickjillings@1404 47 One of these holders per audioElement, containing the results from any of the enabled per element metrics in metricResult tags. The ID of each element represents the metricEnable tag element. The inner value contains the results.
nickjillings@1404 48
nickjillings@1404 49 % Will list specific response structures per metric!
nickjillings@1404 50
nickjillings@1404 51 \subsection{metrics}
nickjillings@1404 52 One of these holders per testResults tag, containing the results from any of the enabled per test metrics in metricResult tags. The ID of each element represents the metricEnable tag element. The inner value contains the results.
nickjillings@1404 53
nickjillings@1404 54 % Will list specific response structures per metric!
nickjillings@1404 55
nickjillings@1404 56 \section{PreTest and PostTest}
nickjillings@1404 57 A 1st level node, contains the response to any pre-test questions given in the project specification. These are stored in the same Comment node as outlined in the above audioElement.
nickjillings@1404 58
nickjillings@1404 59 The PostTest is a 1st level node and contains the response to any post-test questions given in the project specification.
nickjillings@1404 60
nickjillings@1404 61 \section{Session Data}
nickjillings@1404 62 This will contain any captured session data. Currently not implemented but here for future referencing.
nickjillings@1404 63 % I used to have a 'global' comment for each 'session' as well
nickjillings@1404 64
nickjillings@1404 65 \end{document}