-
Notifications
You must be signed in to change notification settings - Fork 5
Description
There's a bug in our Easter egg. It happens in both English and Irish. Even if you ask for a true cake, the answer is always that the cake is a lie. Some gamers might find this to be appropriate, but it is not the desired behavior here.
This would be a great first bug. The egg was made to be a test/example for certain requirements of the architecture. It is an elaboration on our standard Marco/Polo test for basic connectivity. There is no guarantee that this part of the code is still on architecture.
To reproduce:
Use or be inspired by these files (and similar ones) in $GEMSHOME/gemsModules/delegator/tests/inputs/:
caca_milis.json
cake_explicit.json
cake_implied.json
Then use a command like:
$GEMSHOME/bin/delegate cake_explicit.json
Note that only the color 'bandearg' is supported in Irish and the 'cake' has to be true or false (the words true/false in English). Feel free to improve the language selections if you like! In English you can use any color. If you use other colors in Irish, even Irish colors (e.g., 'gorm'), you will get an English response (e.g., 'The gorm cake is a lie!').
The result, in English, will look something like the following. Note that despite the obvious request for a true cake, the answer declares the cake to be a lie.
{"entity": {"type": "Delegator", "services": {"cakeMarco": {"type": "Marco", "myUuid": "c935f336-dd8f-42f7-a7a7-42bab530df7e", "options": {"cake": "true", "color": "pink"}}}, "responses": {"cakeMarco": {"type": "Marco", "myUuid": "c935f336-dd8f-42f7-a7a7-42bab530df7e", "outputs": {"message": "Polo", "info": "The pink cake is a lie!"}}}, "procedural_options": {"context": "website", "force_serial_execution": false, "pretty_print": false, "md_minimize": false}}, "notices": {}}
In English, the answer should say (and the equivalent in Irish):
{"entity": {"type": "Delegator", "services": {"cakeMarco": {"type": "Marco", "myUuid": "c935f336-dd8f-42f7-a7a7-42bab530df7e", "options": {"cake": "true", "color": "pink"}}}, "responses": {"cakeMarco": {"type": "Marco", "myUuid": "c935f336-dd8f-42f7-a7a7-42bab530df7e", "outputs": {"message": "Polo", "info": "The pink cake is not a lie!"}}}, "procedural_options": {"context": "website", "force_serial_execution": false, "pretty_print": false, "md_minimize": false}}, "notices": {}}