import { PhrasesBuilder } from '../utils/phrases-builder' ; import { LowVarianceInfo } from '../../interface' ; template example export function lowVarianceStrategy ( variableMap ) { const { measure , dimension } = variableMap ; const phrases = new PhrasesBuilder ( ) ; phrases . add ( 'The' ) ; phrases . add ( measure , 'metric_name' ) ; phrases . add ( 'data points of' ) ; phrases . add ( dimension ) ; phrases . add ( 'are very similar to the mean' ) ; phrases . addSymbol ( 'punctuation_comma' ) ; phrases . add ( 'that is' ) ; phrases . addSymbol ( 'punctuation_comma' ) ; phrases . add ( 'the variance is low' ) ; phrases . addSymbol ( 'punctuation_stop' ) ; return phrases ; }