annotate docs/ResultsSpecificationDocument.tex @ 1150:2674d80c66ff

Confirmed working (using examples) on OSX (Chrome/Safari/Firefox)
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Thu, 14 Jan 2016 16:00:52 +0000
parents 3edcbbea168b
children 06fbaccf3b58
rev   line source
n@1118 1 \documentclass{article}
n@1118 2
n@1118 3 \usepackage[margin=2cm]{geometry}
n@1118 4 \usepackage{listings}
n@1118 5 \usepackage{color}
n@1118 6
n@1118 7 \begin{document}
n@1118 8
n@1118 9 \large APE Browser Tool - Results Specification Document
n@1118 10
n@1118 11 \section{Introduction}
n@1118 12 This document outlines the return XML document structure to hold the results from the Browser Evaluation Tool, specifically for the APE Interface.
n@1118 13
n@1118 14 \section{Root}
n@1118 15 The root of the document is \texttt{BrowserEvaluationResult}.
n@1118 16
n@1118 17 \section{testReults}
n@1118 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.
n@1118 19
n@1118 20 \subsection{Attributes}
n@1118 21 \begin{itemize}
n@1118 22 \item \texttt{id} - The ID given to audioHolder in the project setup XML.
n@1118 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.
n@1118 24 \end{itemize}
n@1118 25
n@1118 26 \subsection{AudioElement}
n@1118 27 A 2nd level node, this contains the results for a specific audioElement.
n@1118 28
n@1118 29 \subsubsection{Attributes}
n@1118 30 Has the following attributes, depending on the variables set in the Project Specification.
n@1118 31 \begin{itemize}
n@1118 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.
n@1118 33 \item \texttt{url} - Mandatory. Returns the full URL given incase of errors or for later checking.
n@1118 34 \end{itemize}
n@1118 35
n@1118 36 \subsubsection{Value}
n@1118 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.
n@1118 38
n@1118 39 \subsubsection{Comment}
n@1118 40 One of these elements per track, containing any commenting data from the interface text boxes. Has the two following child nodes.
n@1118 41 \begin{itemize}
n@1118 42 \item \texttt{Question} - Returns the text next to the comment box
n@1118 43 \item \texttt{Response} - Returns the text in the comment box
n@1118 44 \end{itemize}
n@1118 45
n@1118 46 \subsubsection{metrics}
n@1118 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.
n@1118 48
n@1118 49 % Will list specific response structures per metric!
n@1118 50
n@1118 51 \subsection{metrics}
n@1118 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.
n@1118 53
n@1118 54 % Will list specific response structures per metric!
n@1118 55
n@1118 56 \section{PreTest and PostTest}
n@1118 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.
n@1118 58
n@1118 59 The PostTest is a 1st level node and contains the response to any post-test questions given in the project specification.
n@1118 60
n@1118 61 \section{Session Data}
n@1118 62 This will contain any captured session data. Currently not implemented but here for future referencing.
n@1118 63 % I used to have a 'global' comment for each 'session' as well
n@1118 64
n@1118 65 \end{document}