annotate docs/ResultsSpecificationDocument.tex @ 789:3539d6c992e4

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