Skip to main content

AI Muggins


I play a card game called cribbage. I often play it with my son. One interesting part of the game is the muggins rule. This means that you can claim points from other players turns, if they miscount the score. 

The scoring is slightly nerve racking, with each of us double and triple checking our scores, to avoid falling foul of ‘muggins’, that’s part of the fun. 

Man tinkering with AI / Robot
But my son and I also find ourselves discussing other hands of cards, in a sort of alternate history version of the game. “So if I had a 7 instead of a 2 of hearts, then I’d get a double run and score at least 8 more points”.  

“Yes Dad, if you had different cards then you would likely have a different score, but you don’t” he says while rolling his eyes. 

This sort of bitter-sweet history rewriting is a convenient tool for us to swallow the awkward truth of the real world. We often create alternate things to object to. 

Take Chat GPT 4 and tools like Copilot X. These are powerful tools, capable of doing useful tasks quicker and more easily than other tools.   

But no... (People say), they are dangerously sentient, or not sentient, fake, poor at this one task or too good at some other thing that people get paid for. To paraphrase my son, “Yes, if they were X then they would not be Y”.  

These tools are, well..., Tools. They have their limits that we are still discovering – they also have great abilities which we are also only just realising. Unlike our existing tools we haven’t had a chance to evaluate them and find their place. A task made harder by the fact that AI technology is improving extremely fast at the moment. 

Just in the realm of software test automation alone there are many opportunities where GPT4 and Copilot could help. For example, summarising test results, and providing the results in a human readable form. E.g.: 


 Or explaining test code, without the need for cumbersome abstraction layers like cucumber, E.g.: 

This is a GPT4 API interpretation of the tests for my cribbage scorer.

The creation of basic unit tests for existing code to enable easy refactoring, or when combined with ‘function calling’ being able check the results contained in a body of text. E.g,:  

This is my Cribbage Scoring Plugin, available in ChatGPT4.

Testers & Test engineers often fall into the “Ha it can’t do this” school of thought with new tools. Rather than thinking I’ve been given access to a particularly useful text and code analysis and generation tool for a price that approaches free. 

A tool that is improving month by month, a tool that extends my reach and increases my performance (compared to those shunning it because it couldn’t do some party trick or a skill you’ve spent your career honing. 

Comments

Popular posts from this blog

Can Gen-AI understand Payments?

When it comes to rolling out updates to large complex banking systems, things can get messy quickly. Of course, the holy grail is to have each subsystem work well independently and to do some form of Pact or contract testing – reducing the complex and painful integration work. But nonetheless – at some point you are going to need to see if the dog and the pony can do their show together – and its generally better to do that in a way that doesn’t make millions of pounds of transactions fail – in a highly public manner, in production.  (This post is based on my recent lightning talk at  PyData London ) For the last few years, I’ve worked in the world of high value, real time and cross border payments, And one of the sticking points in bank [software] integration is message generation. A lot of time is spent dreaming up and creating those messages, then maintaining what you have just built. The world of payments runs on messages, these days they are often XML messages – and they ...

What possible use could Gen AI be to me? (Part 1)

There’s a great scene in the Simpsons where the Monorail salesman comes to town and everyone (except Lisa of course) is quickly entranced by Monorail fever… He has an answer for every question and guess what? The Monorail will solve all the problems… somehow. The hype around Generative AI can seem a bit like that, and like Monorail-guy the sales-guy’s assure you Gen AI will solve all your problems - but can be pretty vague on the “how” part of the answer. So I’m going to provide a few short guides into how Generative (& other forms of AI) Artificial Intelligence can help you and your team. I’ll pitch the technical level differently for each one, and we’ll start with something fairly not technical: Custom Chatbots. ChatBots these days have evolved from the crude web sales tools of ten years ago, designed to hoover up leads for the sales team. They can now provide informative answers to questions based on documents or websites. If we take the most famous: Chat GPT 4. If we ignore the...

Text to SWIFT - making data from prose (What possible use could Gen AI be to me? - Part 2)

 As I write this, my dog is grumpily moving around the room pausing intermittently to give me disappointed looks - looks that only my elderly mother could compete with. She (my dog) is annoyed by the robot vacuum cleaner. Its not been run for a while in that room - and its making a noisy foray into dark corners in a valiant effort to cleanse the mess. Its grinding gears and the cloud of dust in its wake is not helping to ease the dogs nerves. The dog's pleading puppy dog eyes & emotions have of course been anthropomorphised - at least a bit - by me (My dog is 7 years old and weighs over 20kg - so has little to fear). That is - I've taken human feelings and mapped them onto my dog. I know she has emotions - but she lacks language - or at least a language that (1) we humans understand, (2) maps to the same phrases or concepts I'm using. But I'm human, That's how I think and how I interact with people and sometimes - machines. Deciphering the problem and representi...