Sunday, November 4, 2018

Analyzing Lenny's flight paths

We are tracking the routes of animals all over the world. Some birds have already become famous like Lenny the stork whose annual air trip to Spain and back to his home at the Basel Zoo is observed by over 1500 fans. Lenny has a transmitter and everyone can check online when he starts his journey from Switzerland to South Spain where he spends a few months before he returns.

His routes [lenny] are recorded since 2013. Each time he starts the way back to his hometown, the local news celebrate it with corresponding articles [lenny2]. Lots of excited people are await his arrival near February/March. They are fascinated by the fact he returns to the same nest and same "girlfriend" every year to enlarge his family. What a faithful and diligent bro.

I wonder what Lenny thought of us bird-stalkers if he knew that each day of his life is tracked as a spot on a map that many people find so exciting. He'd probably bring us to court, took off the transmitter or at least got himself unsubscribed from all social media accounts. 

Maybe he'd become more vain and demonstrate that he could fly further south to Africa like others and/or his ancestors did. He may probably also felt ashamed when he realized we are watching him stop at all these fast-food rest places that are nothing else but garbage dumps. Or, he could be a little rascal like in the cartoon - with a big portion of humour. But since he doesn't know he's getting observed, he blithely goes on doing what many others do until a yet unknown trigger in his head tells him to go back home.

It's is not only the incredible flight-paths that I find so fascinating, it is also sad and heartrending if you see that almost every second of the ringed storks do not survive. The data logger web page [logger] keeps a record of each stork with his/her name and if you read their fates, you will learn that some don't even manage to accomplish a single trip. They die by flying into electric power lines, wind wheels, get shot or perish because they ate wrong or morbid things. These are all causes of death which are not natural.

But that's not really what I was about to talk. While digging deeper into Lenny's flight routes, I got a lot of questions. Why do these storks no longer fly to Africa and instead stay in Spain? How do they know where to go and how do they find their way back to their original nest they grew up? When do they start going South and how do they know it's time to return?

Scientists have raised the same questions about the truncated routes and they have come up with two theories:
  1. The Swiss storks are the result of a resettlement project that started with Algerian storks, a species that is not used to fly the same long distances as the original domestic storks. The route they are taking now pretty much matches the distance to what their relatives are "programmed for" or what they can perform.

  2. The second theory is less pleasant. Spain is full of garbage dumps where they find enough food. If you follow the markers of Lenny and then switch from the "map"-view to "satellite"-view, it is really appalling to see where he likes to rest and eat. I feel sorry for him and his friends. These garbage dumps seem to be another reason why there is no need to search for food further south.
These are fair explanations, but I could not find any answer to all my other questions like how do they remember which route to take and when? Explanations in scientific articles range from "inner-clock", "genetically programmed to go South with no plan" to "orientation by the Sun", "stars" and even "magnetic fields" or "orientation by the landscape".

I am a software tester. If I am given similar amounts of illustrations from a software developer whose components don't work, then my conclusion is: he simply doesn't know.

I invested some time and analyzed just one of those theories, "orientation by the landscape".
If you zoom out then it looks like Lenny takes the exact same route every year. But if you zoom into Lenny's flight path, I see that his first 2 routes to Spain went over the region of Burgundy in France while the last 2 years he took a route which was 100 km East of the first routes. This doesn't really look to me as if he strongly remembers each hill and course of a river. Anyhow, it still looks like he follows a main path from which he takes small excursions.
When Lenny headed South the very first time, he took a shortcut over the Mediterranean Sea (08/2013); a route which he never took again in the subsequent years on his way South. But he used it regularly on his way back north except for 2016 and 2017. That's interesting, because cause I was told, big birds don't like to fly over the sea. They have less natural draft. It costs them more energy to fly. So, what happened the first time that he never took that route again? And why did he find that route more attractive for his return to Switzerland? Did he follow and  trust less experienced storks?  Probably not. When Lenny was chipped in 2013, he was already an experienced 10 year old stork. May weather conditions or seasonable winds play a role? Can these parameters influence the conditions and allow for a more or less economical flight over the Sea at some time of the year? Did he learn about dangerous places which he tried to avoid next time? Is this aberration from the main route broadening his skills and make him a real travel expert over time by learning on the fly and really remember all these things?

Now we have our link to software testing. 
Isn't there an analogy to the process of following a strict test script vs. taking some detours? What if we don't enter the prescribed number 9481 in the calculator but do something different and watch what happens next? 
What if we use an alternative way to trigger the same software function/operation? I can enter a text by typing or by pasting from the clipboard into an edit field and I swear to you it is not the same! Isn't the habit of taking detours rewarding us with th e detection of more interesting bugs?

If you test software for many years, you will get a better sense of where things can go wrong. No book can teach you that. There are interesting books and articles that go into this direction like those from James Whittaker [whit], but it's not the same like experiencing some pain on your own. 
 
What about subject matter experts? They are like the elder storks. You would be dumb not to take their advice. They may not be the best testers, but they might lead you to very interesting places you had never been before.


Sources:
[lenny]
http://storch-schweiz.danielbischof.de/map/2964

[lenny2]
https://www.srf.ch/news/regional/basel-baselland/heimkehr-aus-dem-sueden-storch-lenny-ist-im-anflug 

[logger]
https://projekt-storchenzug.com/datenlogger/

[whit] 
Exploratory Software Testing by James Whittaker


No comments:

Post a Comment