SME-Issues / issues

0 stars 0 forks source link

Query Invoice Tests Canonical - 11/01/19 02:19 - 5004 #3360

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 quick look 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 6th 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 explored 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) do i have any invoices due to be paid on Wed
  • Expected ctx .SingleContext .DueDateQueryEnd to be <2019-01-16>, but found <2019-01-09>.
  • Response: Well, I've checked the most up-to-date records and the amount you owe to all suppliers on Wednesday (9th January) is seven unpaid bills totalling £3,908.26, all of which are overdue. The amount you are owed from all clients on Wednesday (9th January) is four unpaid invoices totalling £1,409.96, all of which are overdue.
(g) get me a recent supplier invoice
  • Expected ctx .SingleContext .QueryRecordComparator to be Latest, but found None.
  • Response: I've just queried for you and the amount you owe to all suppliers is nine unpaid bills totalling £4,428.61 of which seven are overdue.
(g) display the invoices for all creditors
  • Expected InvoiceState to be one of 'Unpaid', 'ImplicitUnpaid' but found 'ExplicitAll'.
  • Response: I've had a look at your account details and you received 217 invoices totalling £92,863.48, of which 208 have been paid totalling £88,434.87.
(g) show me the invoices for all suppliers
  • Expected InvoiceState to be one of 'Unpaid', 'ImplicitUnpaid' but found 'ExplicitAll'.
  • Response: Well, I've checked the most up-to-date records and you received 217 invoices totalling £92,863.48, of which 208 have been paid totalling £88,434.87.
(G) did i invoice mu monsters last month
  • Expected InvoiceState to be one of 'Unpaid', 'ImplicitUnpaid' but found 'ImplicitAll'.
  • 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.
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: I've investigated the current situation and you have no invoices on Wednesday (9th January).
(G) can i get the invoices
  • Expected QueryTransactionType to be one of 'All', 'Undefined' but found 'Incoming'.
  • Response: I've looked into this 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) show me accounts payable from 1 June to 1 July
  • Expected context .UnsupportedType to be DateRange, but found None.
  • Response: Hang on - I didn't quite understand all 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 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) what is the biggest overdue invoice
  • Expected ctx .SingleContext .QueryRecordComparator to be Biggest, but found None.
  • Response: I didn't understand all of that, however the overdue amount you owe to all suppliers is seven purchase invoices totalling £3,908.26. The overdue amount you are owed from all clients is four sales invoices totalling £1,409.96.
which is the biggest overdue invoice?
After pre-processingwhich is the biggest overdue invoice
  • Expected ctx .SingleContext .QueryRecordComparator to be Biggest, but found None.
  • Response: I'm afraid I didn't quite get all of that, however the overdue amount you owe to all suppliers is seven purchase invoices totalling £3,908.26. The overdue amount you are owed from all clients is four sales invoices totalling £1,409.96.
(g) who charged me the most this month
  • Expected QueryRecordComparator to be QueryRecordComparator .Biggest but found QueryRecordComparator .None
  • Response: 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.
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 just reviewed your accounts 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 just queried for you 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: So I've just looked over the finances 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 had a look at your account details 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.
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 C:\Code\Banking\SMEBanking\Puls…
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…