betterworks
Steps to run the code:
- Clone the repository
- npm i
- npm run start --> will give the output based on designation
- npm run test -- > will run the test cases
if you want to change any segment kindly change in the sampleFile.ts segmenttype.
What is not completed---> NA
Sample Output: 0 1 2
Segment Sentiment Score Participation Percentage
Manager 5 94.12
Developer 0 100.00
CEO -2 100.00
Please feel free to contact in case of any queries