SME-Issues / issues

0 stars 0 forks source link

Query Invoice Tests Canonical - 14/01/19 14:38 - 5004 #3501

Closed SME-Issues closed 5 years ago

SME-Issues commented 5 years ago

Query Invoice Tests Canonical

SME-Issues commented 5 years ago

Understood and failed but likely higher priority

Expressions Notes
When should I get the money in from ABC ltd?
After pre-processingWhen should I get the money in from ABC ltd
  • expected intent to be query_invoices but found query_payment
  • Expected to find entity 'open_mod' but found only {when, text, pay_from, money}
  • Response: I've had a scoot around and you have never received payment from ABC Ltd. You have one unpaid bill to them which is for the amount of £1.04 and was due on the 9th January 2019.
(G) are there any open invoices from november?
After pre-processingare there any open invoices from november
  • Expected ctx .SingleContext .DueDateQueryEnd to be <2018-11-30>, but found <2019-11-30>.
  • Response: I've scanned the digits and the amount you owe to all suppliers in November 2019 is nine open bills totalling £4,428.61 of which seven are overdue. The amount you are owed from all clients in November 2019 is nine open invoices totalling £9,932.46 of which four are overdue.
(g) get me a recent supplier invoice
  • Expected ctx .SingleContext .QueryRecordComparator to be Latest, but found None.
  • Response: I can see the amount you owe to all suppliers is nine unpaid bills totalling £4,428.61 of which seven are overdue.
do i have any invoices to be paid on weds?
After pre-processingdo i have any invoices to be paid on weds
  • Expected InvoiceState to be one of 'Unpaid', 'ImplicitUnpaid' but found 'ImplicitAll'.
  • Expected to find entity 'open_mod' but found only {datetime, text, dt, pay_type}
  • Response: After checking, I can verify that you have no invoices on Wednesday (16th January).
(G) did i invoice mu monsters last month
  • Expected QueryTransactionType to be Incoming but found Undefined
  • Expected to find one of entities {bill_to, pay_from} but found only {date_mod, datetime, text, acct_name}.
  • Response: I can't find that name in your accounting system records.
(G) can i get the invoices
  • Expected QueryTransactionType to be one of 'All', 'Undefined' but found 'Incoming'.
  • Response: I've had a scoot around and the amount you are owed from all clients is nine unpaid invoices totalling £9,932.46 of which four are overdue.
SME-Issues commented 5 years ago

Understood and failed but likely lower priority

Expressions Notes
(g) are any bills due immediately
  • Expected to find entity 'datetime_now' but found only {dt, pay_type, open_mod, text}
  • Response: I've explored and the amount you owe to all suppliers is nine unpaid bills totalling £4,428.61 of which seven are overdue. The amount you are owed from all clients is nine unpaid invoices totalling £9,932.46 of which four are overdue.
(g) are any invoices due immediately
  • Expected to find entity 'datetime_now' but found only {dt, pay_type, open_mod, text}
  • Response: I've explored and the amount you owe to all suppliers is nine unpaid bills totalling £4,428.61 of which seven are overdue. The amount you are owed from all clients is nine unpaid invoices totalling £9,932.46 of which four are overdue.
Do I need to pay anyone at the moment?
After pre-processingDo I need to pay anyone at the moment
  • Expected to find entity 'datetime_now' but found only {open_mod, paid_query, pay_to, text}
  • Response: I've checked that out and the amount you owe to all suppliers is nine unpaid bills totalling £4,428.61 of which seven are overdue.
(g) how much money do i have due in august
  • Expected to find one of entities {bill_to, pay_from} but found only {datetime, text, money, open_mod}.
  • Response: I've just reviewed your accounts and the amount you owe to all suppliers in August 2019 is nine open bills totalling £4,428.61 of which seven are overdue. The amount you are owed from all clients in August 2019 is nine open invoices totalling £9,932.46 of which four are overdue.
(g) is carl overdue in paying this month
  • Expected to find one of entities {bill_to, pay_from} but found only {date_mod, datetime, text, overdue, pay_any}.
  • Response: I can't find that name in your accounting system records.
which invoices are due now?
After pre-processingwhich invoices are due now
  • Expected to find entity 'datetime_now' but found only {dt, pay_type, text, open_mod}
  • Response: I've inspected and the amount you owe to all suppliers is nine open purchase invoices totalling £4,428.61 of which seven are overdue. The amount you are owed from all clients is nine open sales invoices totalling £9,932.46 of which four are overdue.
(G) show me accounts payable from 1 June to 1 July
  • Expected context .UnsupportedType to be DateRange, but found None.
  • Response: I'm sorry but I didn't understand all of that, however the amount you owe to all suppliers is nine outstanding purchase invoices totalling £4,428.61 of which seven are overdue.
(G) do i need to pay anything on 2 October
  • Expected ctx .SingleContext .DueDateQueryEnd to be <2018-10-02>, but found <2019-10-02>.
  • Response: I'm sorry but I didn't understand all of that, however the amount you owe to all suppliers on the 2nd October 2019 is nine unpaid bills totalling £4,428.61 of which seven are overdue.
(g) who charged me the most this month
  • Expected QueryRecordComparator to be Biggest but found None
  • Response: I'm sorry but I didn't understand all of that, however in January 2019 you received seven invoices totalling £2,955.95, none of which have been paid.
SME-Issues commented 5 years ago

Test Exception

Expressions Notes
find any invoice more than 30 days past due PulseAPI .Tests .Reporting .Helpers .TestFailedException: Error running test ---> System .ArgumentOutOfRangeException: Exception of type 'System .ArgumentOutOfRangeException' was thrown .Parameter name: FixedPeriodTypeActual value was Days . at PulseAPI .Handlers .DateHandler .ProcessFixedPeriod(BaseContext…
which bills are due to be paid now? PulseAPI .Tests .Reporting .Helpers .TestFailedException: Error running test ---> System .InvalidOperationException: Laas error: IndexError('[E040] Attempt to access token at 7, max length 7 .',)
56 at PulseAPI .Ai .AiProcessor .GetResponse(String baseUrl, String input, String[] topLevelEntities, String c…
what are my debts PulseAPI .Tests .Reporting .Helpers .TestFailedException: Error running test ---> System .InvalidOperationException: Laas error: TypeError("object of type 'generator' has no len()",)
56 at PulseAPI .Ai .AiProcessor .GetResponse(String baseUrl, String input, String[] topLevelEntities, String cacheKey) in …
how much do i owe kappa clowns for Sept PulseAPI .Tests .Reporting .Helpers .TestFailedException: Error running test ---> System .InvalidOperationException: Multiple pay_to values found . at PulseAPI .Processors .InputProcessor .TestEntityPairs(String inKey, String outKey, Chunk chunk, QueryContext newContext) in G:\SSDDev\Projects\SMEBanking\P…
how much is owed on the johnson ring pulls account PulseAPI .Tests .Reporting .Helpers .TestFailedException: Error running test ---> System .InvalidOperationException: Unsupported intent: 'multi_query' at PulseAPI .Processors .InputProcessor .ProcessIntent(IDialogueState previousDialogueState, Chunk chunk, PopulateQueryContextResult& populateQueryContext…
what's outstanding on the screw small businesses account PulseAPI .Tests .Reporting .Helpers .TestFailedException: Error running test ---> System .InvalidOperationException: Unsupported intent: 'multi_query' at PulseAPI .Processors .InputProcessor .ProcessIntent(IDialogueState previousDialogueState, Chunk chunk, PopulateQueryContextResult& populateQueryContext…
what's the value of MBP Ltd.'s business this year PulseAPI .Tests .Reporting .Helpers .TestFailedException: Error running test ---> System .InvalidOperationException: Unsupported intent: 'query_acct' at PulseAPI .Processors .InputProcessor .ProcessIntent(IDialogueState previousDialogueState, Chunk chunk, PopulateQueryContextResult& populateQueryContextR…
what's the value of screw small businesses's business this year PulseAPI .Tests .Reporting .Helpers .TestFailedException: Error running test ---> System .InvalidOperationException: Unsupported intent: 'query_acct' at PulseAPI .Processors .InputProcessor .ProcessIntent(IDialogueState previousDialogueState, Chunk chunk, PopulateQueryContextResult& populateQueryContextR…