SalesCandy Git archive
salesperson-ranking
Ranks salespeople and publishes ranking results.
README
This repository calculates and publishes rankings for sales personnel. It processes various event logs to determine performance metrics.
The system takes raw event data as input, processes it through defined scoring logic, and outputs the final ranked list of salespeople.
Selected files and folders
handlerspackage.jsonserverless.yml
Reconstructed issues
Summaries inferred from the archive. Original issue records are unavailable here.
Filter user selection to active teams
Previously, user selection for ranking calculations might include users from inactive teams. This change restricts the population to only those users actively associated with the relevant teams, ensuring accurate scope.
Restrict lead event processing
The ranking logic was incorrectly processing all types of lead logs. This update ensures that only records explicitly marked as 'NEW' LeadLogs are considered for scoring, improving data fidelity.
Handle deletion logs gracefully
The system previously failed or produced incorrect results when encountering records indicating a deletion event. This fix adds specific handling to safely skip or process these deletion logs without disrupting the main ranking calculation.
Selected commits
-
Ignore non LeadLogs and LeadLogs which are not NEW
Reza Rosli ·
c3f8c7e9e7c3690deba6a74015e09434bed11ad6 -
Fix error when encountering a deletion log
Reza Rosli ·
73974886d7de1b97adb120e0ff140ef40654adca -
Bugfix: select other users only from teams where the user is active in
Reza Rosli ·
fc84f6a52c492f4a81cab92a872ec170899e3e57 -
Update dependency serverless-pseudo-parameters to v2.6.0
Renovate Bot ·
85b43e779f695870608dfa8ef8f54130092f1c8e -
Pin dependencies
Renovate Bot ·
2e80a2b477dd2b98f288b7214d042632fbdf2714 -
Setup sonarqube integration
Reza Rosli ·
9e68b898c547bc4ab259ad98cf2aea817f1207fa -
Refactor queries
Reza Rosli ·
10d91990e62aab29d5e28f5de3fe2f977f8e2aae -
Changes to support migration to CandyBase serverless
Reza Rosli ·
cea4051859695d7d3e11ba0a059d781d29d2398d -
Add renovate.json
Renovate Bot ·
d956d28d06950995dea28ab21d70c2ae09b2b8b0 -
fix security Audit
Muhammad Anwaar ·
0ed17f5a4718916ed5101037fb88727deb40129b -
Cleanup
Reza Rosli ·
dd00e6cfbaad2d2318f8a7bc40b5ba9bacb818e3 -
update DB variable Name
Muhammad Anwaar ·
a0dd1ea5ad8b1b03405c6843eb35947a8c295b30 -
- Implement secrets manager - Remove dead code - Simplify serverless.yml
Reza Rosli ·
6fc03dc29bdd51b6d30f78a3944a6f5d784444a8 -
Add policy to access candybase
Reza Rosli ·
6e442551db717a78bcf400e99761560662cfc1e7 -
optimise score
Muhammad Anwaar ·
3bd31ac3e9e9507e1b8403a430683d299f5ca26f -
add callDuraion, ageFromCurrentAssignment to score contribution
Muhammad Anwaar ·
f4142efa4b475c6887017772dd4b771b6580bde6 -
SP multifactor Weightage
Muhammad Anwaar ·
17584fafc84f39573cef4bae42855266b66852b2 -
Add structures for handling candysttream data
Reza Rosli ·
ab7985b419947ee1cb1807b3050ca337d14f4b03 -
initiall commit
Muhammad Anwaar ·
a685ff3d82ef5f1c4a8a6e28c58fe3ae46841e0a -
intiall commit
Muhammad Anwaar ·
85eda28e022e024a0119edce9099ec7ca9ac6623 -
initial commit
Muhammad Anwaar ·
081b875ea27df35cf04f9b9aa313415815dde52e