Code Monkey home page Code Monkey logo

ubs-hackathon's Introduction

Build Status

ubs-hackathon

UBS Hackathon: Banker Revenue calculation project

Business flow to be automated:

Initial JSON with Opportunities and Bankers info (*.XLS file for Business users)

  1. Points calculation (Business Rules):
  • if role = "Deal Team" and "rating": "Important" -> 20

  • if role = "Deal Team" and "rating": "Critical" or "dealSizeConvertedInUSD"> 1000 -> 50

  • if role = "Project Sponsor" and "rating": "Critical" or "rank": "Executive Director"-> 100

  • if role = "Project Director" and "rating": "Critical" and "team": "Advisory" -> 120

  • Default value -> 10

  1. Get Percentage as per points (and POST to DealAttribution)

  2. Multiply on opportuninty.actualRevenueConvertedInUSD = Revenue brutto

  3. Apply taxes and timesheet koef to calculate revenue net:

    • USA - 0.15 tax rate
    • UK - 0.23 tax rate
  • Revenue brutto = Revenue brutto*(1-tax rate)
  1. Generate report.

Endpoint with Opportunities

curl -i "http://www.mocky.io/v2/5b90ff993100008200939774"

TODO: Future improvements:

  • Voice control to manage business rules
  • Intelligent incoming data clean-up (ML)
  • Business rules suggestions (ML)
  • Historical data analysis: comparison banker revenue during period of time and/or other bankers.
  • New Data Feeds plug-in engine.

ubs-hackathon's People

Contributors

tigranhakobyan777 avatar eduardomanrique avatar scripnichenko avatar tiagoportela avatar gabrielguimaraes avatar

Watchers

 avatar  avatar Sérgio Gonçalves avatar  avatar  avatar  avatar

ubs-hackathon's Issues

The detail of the hackathon

Hello eduardomanrique,

Thank you for sharing your code! I am interested in this hackathon. I assume your hackathon was in 2018. Could I ask about what the problem is in this competition and how many rounds are there during the hackathon? Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.