SSWConsulting / SSW.SophieBot

Business grade bots that empower you on enterprise data searching and entering using advanced artificial intelligence.
https://sswsophie.com/sophiebot/
MIT License
6 stars 3 forks source link

🐛 Data should be consistent for "When is Jake on client work" #430

Closed ravidhaduk closed 2 years ago

ravidhaduk commented 2 years ago

Cc: @jimmidier

Describe the Bug

When asking "When is Jake on client work", SophieBot gives inconsistent data.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Teams'
  2. Type 'When is Jake on client work'
  3. See inconsistent data.

Expected Behavior

SophieBot should give the same data as the PowerBI reports indicate.

Tasks

Screenshots

Screen Shot 2022-01-20 at 5 32 13 pm Figure: SophieBot returns a date 24th Jan.

Screen Shot 2022-01-20 at 5 33 01 pm Figure: PowerBI report shows Jake is booked today.

Thanks!

jimmidier commented 2 years ago

Fixed by separating next unavailability calculation from "next 4 weeks" and "starting today"

image Figure: Case where we do an unavailability calculation for "next 4 weeks"

image Figure: In this case we do a next unavailability calculation "starting today"