nl_tokens: ** analyze issue ( s ) and stitch sentiment into github response ; return updated response
pl_tokens: function getSentiment ( response ) { const issuesToEvaluate = response . repository . <mask> . edges ; for ( let i = issuesToEvaluate . length - 1 ; i >= 0 ; i -- ) { let sent = polarity ( ( issuesToEvaluate [ i ] . node . title + " " + issuesToEvaluate [ i ] . node . bodyText ) . split ( " " ) ) ; issuesToEvaluate [ i ] . node . sentiment = sent ; } ; return response ; }