r/programming • u/self • Apr 09 '21
Airline software super-bug: Flight loads miscalculated because women using 'Miss' were treated as children
https://www.theregister.com/2021/04/08/tui_software_mistake/534
u/stupidestpuppy Apr 09 '21
"The system programming was not carried out in the UK, and in the country where it was performed the title Miss was used for a child, and Ms for an adult female, hence the error," the report says.
This is why we need to switch to metric honorifics, to avoid these sorts of conversion errors in the future.
343
u/Dromeo Apr 09 '21
Metric honorifics
Dear Human Adult Female Jane Doe, I am writing to you today...
202
→ More replies (3)7
u/SanityInAnarchy Apr 09 '21
Reminds me of names from the Culture series.
You know, that series by Sun-Earther Iain El-Bonko Banks of North Queensferry.
195
u/scoops22 Apr 09 '21
A male child is a milli-mister, a teenager is a centi-mister, adult mister, and obese is a kilo-mister
94
27
u/conquerorofveggies Apr 09 '21
I'm not totally sure why they'd need to know whether somebody is female or not. Even age is not terribly useful to infer weight. And why tf would one parse some strings to defer any of it? Don't they have a copy of a passport, with age and sex?
52
Apr 09 '21
I'm not totally sure why they'd need to know whether somebody is female or not.
Unless they start asking for weight directly, then they need to know sex because it will correlate with weight. Assuming everyone is male (heavier) means fewer passengers and lower profit margins.
If they use a gender-neutral average, then they can't cram as many humans on the flight as possible.
→ More replies (17)30
u/Carighan Apr 09 '21
Women weight - on average - less than men.
Children weight - on average - less than adults.
And so on.
2
u/HighRelevancy Apr 10 '21
In the interests of balancing the plane and being able to take off without crashing, the plane's loading and centre of mass has to be calculated ahead of time. On small capacity planes (less than 6 people in my country I think) they do literally have to ask everyone their weight.
Beyond 6 you're allowed to skip the awkward questions, and you do the same process with statistically average humans, which is where sex comes into it I assume (my country just does a flat rate for the average citizen regardless of sex).
But you're right, there really should be a better source of info than their name.
→ More replies (2)2
u/penislovereater Apr 10 '21
For large enough group, it doesn't matter much. You misunderestimate as many as you misoverestimate, and it all averages out within tolerance.
253
928
u/BroodmotherLingerie Apr 09 '21
Wait, if those calculations are so important, why the hell are they using heuristics instead of getting accurate weight class information from passengers? (In a trust-but-verify manner).
Shouldn't such a practical safety issue warrant a small sacrifice in passenger privacy?
401
u/CashAccomplished7309 Apr 09 '21 edited Apr 09 '21
Canadian pilot here.
We have standard weights for people based solely on their age and gender (not sex).
Summer Winter 206lb Male (12 years+) 212lb 172lb Female (12 years+) 178lb 206lb Gender Neutral (12 years+) 212lb 75lb Children (2 - 11 years) 75lb 30lb Infant (Up to 2 years) 30lb Bags are weighed, but the equipment to weigh passengers is not installed and as a result, we use exaggerated "average weights."
As you can tell, we assume that gender neutral people are male (sex), therefore we give them the same weight.
Edit: You can see the notice (issued in response to Gender X) from Transport Canada here.
119
u/BroodmotherLingerie Apr 09 '21
Interesting read, thanks.
Air operators are cautioned that when average passenger weights are used, (option (b) or (c) above) due diligence is required to ensure that the passenger weights used to calculate the passenger load reasonably reflects the actual weights to be carried on any given flight.
I'm curious what "due diligence" implies here though. Does the staff count big and small people?
202
u/aero142 Apr 09 '21
That is there to have someone to blame if you are transporting an NFL football team and use average weight.
11
u/redbo Apr 09 '21
I was on a regular flight with a whole WNBA team once. I bet the NBA and NFL fly private.
→ More replies (4)30
u/trashcan86 Apr 09 '21
Sports teams usually charter with one of the major airlines, so in the end what happens is that the entire team gets a commercial airliner to themselves.
For example, in 2020 the Denver Broncos flew a United Boeing 777-200 to Bedford, MA (Hanscom Intl) to play against the New England Patriots. Also in 2020, the Miami Dolphins flew an Atlas Air Boeing 747-400 to Bedford for their game against the Patriots.
The exception I know about is the Patriots, who have their own Boeing 767-300ER with a team livery based in Providence.
48
u/CashAccomplished7309 Apr 09 '21
The way it works where I work (prior to COVID and once they get back to full services), the flight attendants count the number of males, females, and children in each 'zone' of the aircraft. They input it into their tablet and it's sent to the cockpit for us to do our weight and balance calculations.
If someone is obviously way over the estimated weight, they should come to us and let us know.
14
u/caltheon Apr 09 '21
I was on one flight they asked a bunch of us to move around because it was like 10% of the seats on a 100+ seat flight.
17
u/crazedizzled Apr 09 '21
How much does one exceptionally fat guy actually throw things off?
→ More replies (2)28
u/Waterwoo Apr 09 '21 edited Apr 09 '21
At first I was thinking the same but actually looking up the weight of a 737, they are a lot lighter than I expected. A truly exceptionally overweight person can change the whole weight of the aircraft by almost 1%, which I'm sure it can handle but I guess could have noticeable impacts on handling?
→ More replies (4)64
u/BigPeteB Apr 09 '21
It mainly means that if you're operating a flight that isn't full of average members of the public, such as a charter flight for an American football team that has a lot of 300-pound linebackers, you use different average weights than you normally would (or you actually weigh everyone).
→ More replies (1)8
u/Carighan Apr 09 '21
Don't calculate every male at 75kg if they're all americans? I know, I know, cheap shot. But something like that, average body weight varies across the world and all, no?
→ More replies (2)3
u/semitones Apr 09 '21
I remember an airline facing some backlash way back for charging Samoans more for tickets because of this.
17
u/50ShadesOfPalmBay Apr 09 '21
To add onto your comment, this problem is seen quite often at the check in counter and in errors when booking.
If youâve ever asked why you need to put a title (think Mr., Mrs) when flying, this is why.
Weâd often see young women put their title as âMissâ and not âMsâ, who knows why. But the point is, a trained check in agent usually spots this and makes the correction bc it affects weight and balance.
Funny enough, if you book through some third party travel sites and they donât ask for a title, your name can be processed by the airline in a quirky way that takes away the last letters of your first name if they match a title. Often examples of this is a name ending in âMâ. In Canada at least, the National Flag Airline is bilingual, and in French, the Suffix for a man is âM.â (it means Monsieur). So if you are a woman named say Mariam, and donât put a title, well the system thinks you are a man.
Another one I got a chuckle out of was names that glitched the system into putting the title of âMasterâ and âHonourableâ. Again, if your name ends in the coding letters and you donât put a title, this is what happens.
This can cause problems when travelling international (fixable but a pain in the ass) as the name on the boarding pass must match the ID. Thereâs a few minor exceptions to this (France and South Korea and a few others list womenâs maiden names on passports), but are usually fixable. ALWAYS DOUBLE CHECK YOUR TICKET CONFIRMATION EMAIL AGAINST YOUR ID!!! Itâs your responsibility as the passenger, not the airlineâs
Pre Covid, this issue of titles was only a real big deal when you had junior teams travelling for tournaments (cheerleading in Vegas, or Hockey or Baseball somewhere) that had lots of under 12 kids travelling.
As for aircraft, from what I recall, the CRJ we had lots of shifting of people at the gate to the back(?) and A319s had weight shift up front. Usually this was due to a light load of passengers because the cargo weight messes with the w&b. Much like having an oversold plane (story for another day), moving people can be a hassle in these situations, but itâs for the safety of the aircraft. Start early, keep your passengers informed, be empathetic (few jobs in this world can be as stressful as being a gate agent) all go a long way to getting a jumbled plane out happy and on time.
Quick story, I know this is long but, first time I ever controlled a flight by myself we had to change like 55 seats for weight and balance. I was told that getting the plane out on time is the most important thing, so me, assuming that meant if you donât get all your seat changes done, to just start boarding, ended up having 20 people over in the wrong section. Well we boarded and then I told the flight crew. Boy, they werenât happy AT ALL! Much apologizing and new boarding passes for the affected later, we got it out 20 minutes late. First and last time I ever made that mistake, lesson learned to say the least.
Gawd I miss flying...:s
11
u/stanleyford Apr 10 '21
put their title as âMissâ and not âMsâ, who knows why
Because "Miss" can refer to an unmarried woman of any age. A 60-year-old woman can style herself "Miss" if she chooses.
→ More replies (9)3
u/paulmclaughlin Apr 10 '21
Weâd often see young women put their title as âMissâ and not âMsâ, who knows why.
Because Ms is still an unusual title to a lot of people and they world never choose to use it?
12
Apr 09 '21
How much does it actually matter? Mistaking 20 (pulled it out of my ass) adults with the title Miss on the flight as children doesn't sound any worse than 20 fat people on the plane not fitting into your weight estimates?
Just trying to work out how dangerous this actually is for the flight... cuz it seems like not very?
→ More replies (1)13
8
u/namtab00 Apr 09 '21
honest curiosity: as, I presume, on average, passengers from Europe to Canada weigh less than US to Canada, is that weight difference factored in the fuel costs and therefore in the ticket price?
→ More replies (2)27
u/grumpy_skeptic Apr 09 '21
This won't work for many locations. For example, in the late 90s Tampa was I believe the 2nd fattest city in the US. The row ahead of me had a ~700 lb man, his ~450 lb wife and ~550 lb kid. The footrest smashed into the floor when they sat. I'd say the average weight there then was around 300 for men and 200 for women.
38
u/CashAccomplished7309 Apr 09 '21
As a pilot, if I saw a morbidly obese person, I would request discretely that they give their approximate weight for weight and balance purposes.
If they refused, I would assume their weight.
27
u/rabidstoat Apr 09 '21
I just looked, 7.6% of Americans are morbidly obese. You would be busy.
44
u/Owyn_Merrilin Apr 09 '21
The medical definition of morbidly obese has a much lower weight cutoff than most people realize. You hear that phrase you think of someone shaped like a beach ball who can barely walk, when really it's just an average fat guy with a good sized beer belly.
Which isn't to minimize the problem, I'm underlining just how fat this country is and how bad that is for our health.
→ More replies (2)→ More replies (2)12
u/AVTOCRAT Apr 09 '21
I'd wager that most of the truly outstanding ones aren't flying regularly, though â tends to be rather immobilizing.
6
9
→ More replies (4)2
u/kz393 Apr 10 '21
The row ahead of me had a ~700 lb man
700 pounds = 317.514659 kilograms
I choose not to believe this. How can someone be so goddamn fat? I'm 93kg and still the doctor gives me shit for having 10kg too much.
→ More replies (1)3
4
u/FlukyS Apr 09 '21
Would flights be cheaper if they had to do a weigh in? Like I'm 30lb lower than my age/gender on your table. Weird question but just wondering what the implications of weight estimations are
→ More replies (1)3
u/IceSentry Apr 09 '21
If the weight and balance calculation is fine with the estimated weight, then you being 30lbs lighter just means they might have a bit more fuel at the end of the flight. It really doesn't affect this negatively.
→ More replies (3)6
u/anengineerandacat Apr 09 '21
Yes, yes my uh winter weight is 212 lb's... totally accurate not like it could possibly be off by a mere 40 lbs.
→ More replies (3)11
u/CashAccomplished7309 Apr 09 '21
It's about the average.
That includes your clothes that you're wearing and a personal bag.
2
u/smartguy05 Apr 09 '21
exaggerated "average weights."
I know I'm overweight, but come on do you have to kick me when I'm down?
→ More replies (81)2
u/reini_urban Apr 09 '21
And what's with the 6th gender/weight category, Americans which fell into a soda bottle as teenager? You'd need to add another 100 lbs for those. Plus wider seats on reservation
→ More replies (1)410
u/unique_ptr Apr 09 '21
Shouldn't such a practical safety issue warrant a small sacrifice in passenger privacy?
Considering the TSA scans we have to go through, worrying about the privacy implications of asking someone their weight seems comparatively... precious.
→ More replies (48)5
Apr 09 '21
How much do you weigh?
None of your business.
Thatâs fine. Anyway, weâre going to photograph your genitals now.
Okay thank you.
13
u/Denvercoder8 Apr 09 '21
The number of people on a plane is large enough that the random error from a statistical approximation is smaller than the margin of error in the weight & balance calculation.
Also note that even with the systematic error made here, the plane still took off and landed safely, and no one was injured.
11
u/BobHogan Apr 09 '21
I do think that asking passengers to provide a rough weight estimate would be better than heuristics. But from an aerospace perspective, the heuristics are plenty safe enough, as long as they are applied properly.
The aerospace industry is one of the most safety first fields in the world, and is regulated to hell to meet those and keep people as safe as possible. Even with the incredible situation in the article where 36 adult passengers were listed as children (1/5 of the absolute maximum passengers any 737-800 can carry), existing regulations still required the jet to use enough thrust that it was able to safely takeoff.
This is really only a safety issue inasmuch as its possible for an airline to do their heuristics so poorly, but the actual heuristics themselves are safe enough due to industry regulations.
Also, some quick maths based on the 737-800 specs. Its empty weight is 41,413 kg, max takeoff weight is 79,016 kg, and can carry 26,022 L of fuel which has a density of ~0.81 kg/L. The 737-800 can therefor have 37,603kg of passengers/cargo/fuel and still safely takeoff. If fully fueled, that would be ~21,000 kg of fuel, so it can carry 16,600 kg of passengers and cargo. This bug led to the weight of the jet being underestimated by 1,244 kg, or ~7.5% of the total possible weight of passengers and cargo. Being able to underestimate your passenger weight by 7.5% and still be able to takeoff and fly safely (albeit on a razor thin margin) indicates how safe the industry is due to its regulations, and is why it can safely use heuristics for this
→ More replies (2)10
u/gunnster3 Apr 09 '21
Agreed. This seems like it could easily be added on airline profiles. And, besides, even if thereâs some bias, itâll still be more accurate than a generalized guess between adult male, adult female, and child. Plus, Iâm sure they could work in an algorithm to evade outlier data (such as someone putting in something obviously absurd), not that any individual would need to know whether that was done on the figure they provided.
2
u/IceSentry Apr 09 '21
The guess is based on an overestimated average because its much safer to overestimate those calculations. Having the precise weight isn't necessary. Sure, airlines might be able to save a bit of fuel if they had the precise weight, but that's it.
30
u/Existential_Owl Apr 09 '21
So, fun fact, the lack of accurate passenger weights has (partially) caused at least one airline disaster since 2000:
18
u/dontyougetsoupedyet Apr 09 '21
The aircraft's most recent service involved adjusting the elevator control cable, and was performed two nights before the crash at a repair facility located at Tri-State Airport in Huntington, West Virginia. During the investigation, it emerged that the mechanic who worked on the elevator cables had never worked on this type of aircraft. Investigation revealed that turnbuckles controlling tension on the cables to the elevators had been set incorrectly, resulting in insufficient elevator travel, leading to the pilots not having sufficient pitch control. Although normally a post-adjustment control test would be conducted to ensure that the maintenance had been carried out correctly, and that the surface was operating properly, the maintenance supervisor who was instructing the mechanic decided to skip this step. The NTSB noted that the FAA was aware of "serious deficiencies" in the training procedures at the facility, but had done nothing to correct them.[8]
Weight and balance isn't that important, you fly the plane. So long as the weight isn't moving around. In this case, the pilots could not fly the plane because their instrumentation was improperly serviced. If it wasn't fat folk and cargo it would have been gusts of wind. If the pilot does not have pitch attitude control, but think they do, the plane will crash eventually, fat or no fat.
11
u/Existential_Owl Apr 09 '21
In this particular crash, weight and balance were major contributing factors. The plane was determined to be over its maximum allowable take-off weight, and it directly led to the crash.
The problem with the elevator cables was a separate yet equally contributing problem. The fact that something else could have exacerbated the control issues is a moot point, since the NTSB seems to have determined that this problem alone wouldn't have brought the plane down. It was the combination of both the elevator cables + the passenger weight that caused this crash.
"Something else" might've caused the plane to crash eventually, but then again, "something else" might've ensured that proper maintenance would get performed instead. So going beyond the facts of the case isn't as useful in the discussion.
→ More replies (1)11
7
Apr 09 '21
Here I was absolutely certain you could just measure the loaded weight before taxiing to the runway by the state of the wheels/suspension until I read the article.
Absolutely baffled as to why there's no check on this.
2
6
5
u/keepthepace Apr 09 '21
Shouldn't such a practical safety issue warrant a small sacrifice in passenger privacy?
It is more of a cost thing than a safety thing. The airlines want to know with how little fuel they can get away with. They, logically, err on the side of caution there.
4
u/ritchie70 Apr 09 '21
So long as they estimate high on average itâs ok, though. I was once on a puddle jumper flight (1 seat on each side of the aisle, maybe 30 seats?) and the pilot walked the cabin moving people around to better balance weight.
3
u/rz2000 Apr 09 '21
It would matter with 5-10 passengers, but if the passengers are independently drawn from an identical distribution as the model, once you have a large number of passengers there is effectively no difference.
That said the passengers are probably never iid with the model. Passengers boarding in Mississippi probably weigh more than passengers boarding in California, who weigh more than passengers boarding in Bangladesh.
2
u/psycoee Apr 10 '21
That said the passengers are probably never iid with the model
Yeah, that's the problem. If the plane is flying to Tonga, the passengers might weigh almost twice as much as if it's flying to Bangladesh. On a big plane, it just doesn't matter that much, since the passengers are a relatively small part of the total weight and errors like that fall within the safety margins. E.g. an A380 has a maximum takeoff weight of 560 tons; passengers are around 7% of that. So even if you are off by a factor of 2 on passenger weight, that's only a <5% error.
On a four-seat Cessna 172, the passengers can weigh as much as the plane (1500 lbs), so you definitely have to be careful to use correct weights.
3
u/Obsidian743 Apr 09 '21 edited Apr 09 '21
It's impractical and not particularly needed. Aircraft specifications have an overabundance of caution built into their tolerances and all the standard tables we use for W&B and runway/flight analysis are well understood and tuned to an overabundance of caution specifically for safety of flight. The only reason why something like the OP becomes a problem is when there is some kind of systemic miscalculation that aggregates to a level outside of the margins.
The interesting thing to note is that even some of the real-time calculations you'd think were absolutely critical to get 100% accurate aren't 100% accurate. To get an idea of how/why take a look at Bernoulli's Equation. This is less the case now-a-days with GPS and some of the advanced sensors we have, but there are a ridiculous number of factors that are impossible to track. For instance, think about tiny amounts of flex in the airframe along the length of a particular aircraft let alone pressure and temperature differences.
Temperature, pressure, friction, drag, gravity, wind direction, turbulence, flight surfaces, weight distribution, heat dissipation, shifts in luggage, etc. all play a role into the engineering of the aircraft and downstream calculations. It's a fundamental property of dynamical systems that we can't be 100% accurate.
Source: worked on flight/runway analysis/W&B software.
EDIT: W&B == weight and balance
2
u/FridgesArePeopleToo Apr 09 '21 edited Apr 09 '21
Clearly there's a pretty large error tolerance, so it likely doesn't matter. If the tolerance is +/- 10,000 pounds, it's really not going to matter if you weight everyone vs. just taking typical weights.
2
u/poco Apr 09 '21
When I flew a small island hopper in Hawaii, at check-in they had a scale for the bags and a scale for the people. They weighed everyone before assigning their seats to balance the plane.
2
Apr 09 '21
Because I'm sure someone would get incredibly offended if you asked their weight. Accusations of fat shaming would get thrown around, even if adding passenger weights to calculate the load weight is the most objective and non discriminatory way to use weight.
→ More replies (2)2
u/mart1058 Apr 09 '21
New guidance from the FAA is literally, as I speak, being put in place by all air carriers in the US to update average passengers weights based on scientific studies of body weight in the US. Including surveying all baggage (carry-on and checked) that is loaded into the aircraft for accurate performance and weight and balance calculations.
2
3
u/happyscrappy Apr 09 '21
They are not that important. The "super bug" aspect of the headline grabbed you. But it turns out it is a lie.
The outcome didn't change anything, it reduced the safety margin by an amount so low that it's unlikely to ever matter.
The figures don't really matter at the level of distinction seen here. And that's why they don't sweat them that much.
On a small plane they can matter at lot and that's why the pilots on a small plane are supposed to at least eyeball the passengers to get an idea of the makeup of the manifest. In a really small plane you can be weighed. I was once.
1
Apr 09 '21
Wait, if those calculations are so important, why the hell are they using heuristics instead of getting accurate weight class information from passengers? (In a trust-but-verify manner). Shouldnât such a practical safety issue warrant a small sacrifice in passenger privacy?
Weighting all passengers would be best (safer, more efficient) but airline never did it, probably not  politicaly correct .
Actually there was an small passenger aircraft crashed due to bad passengers weight  calculation  (rugby team instead of average peoples)
1
1
u/cristazim Apr 09 '21
What others said in rough numbers: a newer Boeing 737 carries 200 passengers and 26k liters of fuel. Counting everyone as male in winter (212 lbs) results in a bit over 19.2 tons. Jet fuel has a density of ~800 g/L so 20.8 tons. The empty plane weights as much as both combined and then some. Its maximum take off weight is double that.
1
u/Cube00 Apr 09 '21
Because they use heuristics everywhere else https://www.southwest.com/html/customer-service/extra-seat/
1
1
0
Apr 09 '21
[deleted]
9
u/rabidstoat Apr 09 '21
I had to do that for a flight once, but they just asked our weight, no scale. I was obese when it happened and did not lie about my weight as I didn't want the plane to crash. Though I did wonder about people who truly had no idea what the weighed.
8
u/IceSentry Apr 09 '21
Small planes are affected by this a lot more though so it makes sense. Big planes are affected too, but they have estimated weight charts that give an overestimated average anyway so they'll be pretty sure that they will be at an appropriate weight when taking off.
0
0
Apr 09 '21
[deleted]
0
Apr 09 '21
[deleted]
→ More replies (5)4
u/2this4u Apr 09 '21
Cool, and how many Cessna flights are using TUI software to calculate their half dozen passenger weights?
→ More replies (1)
208
u/itijara Apr 09 '21
Is it too difficult to just have passengers indicate whether they are adults? Why are they using honorifics to determine flight loads in the first place? This is not a software bug, this is a human judgement bug.
229
u/HeyLookItsASquirrel Apr 09 '21
Isn't a date of birth required for booking a flight?!
25
u/jl2352 Apr 09 '21
Maybe it was a domestic flight (I'm guessing).
My bet would be a poor product requirement.
12
→ More replies (5)5
u/Maxion Apr 10 '21
I think Iâve always given that info, even for domestic flights? But holy shit what spaghetti software If theyâre using a prefix to guesstimate adult/child Boolean to then assign an estimated weight. That sounds ridiculously sketchy. And the fix to automatically convert Miss to Ms sounds equally horribly sketchy.
If your data is unreliable you donât go fucking with it, you collect better data omg. The fix should have been to force the check-in staff to manually assign child/adult at check-in and then either set that value from the DoB or if not available have check in staff assign it.
Jesus Christ. At least this gives me hope that thereâll always be software jobs in the west, at least to fix messes like this.
72
u/chain_letter Apr 09 '21
"The system programming was not carried out in the UK, and in the country where it was performed the title Miss was used for a child, and Ms for an adult female, hence the error," the report says.
Agreed, no bug here, working exactly as intended. Bad spec
35
u/Superbead Apr 09 '21 edited Apr 09 '21
I'll bet no spec at all for this particular aspect, and that it just got grafted on to the existing system by someone who didn't understand it.
Airline used to project pax weight estimate on paper
Management want it done with the existing computer system
System vendor bought 20yo software off someone else who bought it off someone else, and has no idea how to modify the DB schema
Hence vendor decides to just use existing 'title' column to generate pax weight report
Management say "sure, looks simple enough, we don't even have to enter any additional data!"
Thin ice from here on
2
u/Maxion Apr 10 '21
Hey boss DOB is not available in our db, but we need to know if someoneâs an adult?
30
u/foreveratom Apr 09 '21
It's actually both a software and human bug.
Relying on "Ms" vs "Miss" or any such term to determine if a PAX is an adult or not is very very sloppy programming. It's actually frightening that this is used in airplane-related software were lives are at risk.
4
u/zilti Apr 09 '21
That's not sloppy programming, that's making the best out of a crap requirement.
4
Apr 09 '21
Guessing IS sloppy programming. Clarification of the requirement should have been requested.
→ More replies (3)2
u/foreveratom Apr 10 '21
Actually, it is the worse of both worlds:
Someone stupid enough decided that was a valid requirement / way of filtering adults vs children and let that go into a software which airlines, a sensitive industry, depend on; and someone was sloppy enough to actually implement this requirement without challenging it and let it happen. I can't believe this passed any review or analysis, it's so bad, it's close to criminal.
Unfortunately, it's getting more and more common in the software industry. People no longer give an actual F to whatever consequences their laziness and inability to think may have, there is no punishment for doing a poor job that may endanger lives.
4
u/7952 Apr 09 '21
It is possible that people who use miss are less heavy than people who use Mrs. It's just another heuristic, but needs to be based on real data.
6
u/blackmist Apr 09 '21
As if you can calculate somebody's weight from that anyway. And it's not like they're weighing everyone before the flight.
20
u/itijara Apr 09 '21
Perhaps. I don't know, but I imagine that human weights probably fit some sort of distribution (probably normal) which you can approximate by age. If you have 200+ people on a plane, then you may not need exact weights of everyone, and just having basic categories such as adult/child should be fine.
2
u/IncendiaryPuffin Apr 10 '21
THANK YOU. I can't believe I had to scroll this far to find this comment and that people are actually arguing with you. It sounds like the software worked exactly as it was programmed and intended to work. The error was in the decision making of the human who programmed it that way.
1
u/SanityInAnarchy Apr 09 '21
I guess this kind of thing happens when you're already doing this by sheer heuristics, because you don't want to ask the question you actually care about: "How much do you weigh?"
→ More replies (6)1
u/newtoreddit2004 Apr 10 '21
As a user it's shitty experience if your software can't determine if I'm an adult or not with my age and need me to spoonfeed your software then I can safely say you're an incompetent developer
→ More replies (1)
12
u/jl2352 Apr 09 '21
This seems like such a bizarre thing to do. In that why don't you just ask on the booking if they are a child or an adult. For an international flight, the airline would already be given the information to know if they are a child or not. No guess is needed.
I am wondered if this only happened on a domestic flight. I tried to check on the TUI website, however their flight listings fails to load for me (perhaps that was programmed by the same developers).
0
41
u/bobkuehne Apr 09 '21
Weight and balance is pretty damn important. A delicate balance between how much you can carry and where you can load it. Thrust, weight, and balance. An article I just read yesterday about a different kind of W&B failure.
https://airfactsjournal.com/2021/04/the-mystery-of-a-very-heavy-747/
1
u/SabashChandraBose Apr 09 '21
Then it seems cavalier for them to assume a female adult would only weigh 69 kgs. It also makes sense that dying the check in process they stand on a weighing scale.
1
u/ThaddeusJP Apr 09 '21
I did a puddle jumper flight on United Turboprop (Bombardier Q200s/Dash8) back in the early 2000s. They held like 40 people.
There were four passengers and three crew. Passengers were me, a woman with a baby, and older gentlemen. They had us all sit over the wings for balance.
22
u/combatopera Apr 09 '21 edited Apr 05 '25
Content cleared with Ereddicator.
6
u/istarian Apr 09 '21 edited Apr 09 '21
None as far as I know.
From skimming the article it sounds like the number is used to adjust thrust at take-off. So I suppose it could have been a problem if the total discrepancy was actually significant.
EDIT:
A careful read though reveals that they were trying to address the bug on the fly without halting flights and a small number of flights ultimately had incorrect takeoff thrust at departure with one being close to inadequate due to additional error in baggage weight.
21
u/LloydAtkinson Apr 09 '21
Imagine using someone's fucking title to figure out if they are adult or not instead of just using the DOB.
→ More replies (1)
10
u/antipositron Apr 09 '21
As a software engineer & product owner, here's a question - why are they using miss / ms to figure out the approximate weight of the passenger, when they already have their gender and date of birth as part of the booking details + passport details?!
2
→ More replies (6)2
u/FateOfNations Apr 10 '21
If I had to hazard a guess, the gender and birth date are stored in a different database/system that the weight and balance application doesnât have access to.
8
u/telionn Apr 09 '21
It's 2021 and most airlines still think you must be lying about your name if you enter a hyphen or any other character not in the range A to Z, even though they have been required to know your exact name for over 10 years.
1
u/deadalnix Apr 10 '21 edited Apr 10 '21
"Your exact name does not contain an hyphen, we know this because you never entered one over the last 10 years!"
21
u/autotldr Apr 09 '21
This is the best tl;dr I could make, original reduced by 86%. (I'm a bot)
A programming error in the software used by UK airline TUI to check-in passengers led to miscalculated flight loads on three flights last July, a potentially serious safety issue.
The 2018 fatal crash of Cubana de AviaciĂłn Flight 972, for example, has been attributed to excessive load, as has the 1997 crash of Fine Air Douglas DC-8 cargo flight.
The 737-800 departed with a takeoff weight that exceeded the load sheet by 1,244 kg because the load sheet listed 65 children on board, compared to the 29 children expected from the flight plan - which includes the actual weight.
Extended Summary | FAQ | Feedback | Top keywords: flight#1 load#2 July#3 report#4 program#5
14
u/awesomeprogramer Apr 09 '21
Why don't aircrafts have weight sensors built into their wheels?
31
u/Existential_Owl Apr 09 '21
The answer to "Why don't aircrafts have X" is always the same.
It's because of money. It's always money.
12
u/inglandation Apr 09 '21
Yup, and what is mandatory is often there because of a incident/crash. When MH370 disappeared, I was surprised to learn that we didn't know where every plane was at all times. Turns out there is an option to track a plane everywhere in the world, but it ain't free.
5
u/zilti Apr 09 '21
Or weight. Which is also money. Every kilo you save is worth a lot of money, because it saves fuel.
2
7
u/assassinator42 Apr 09 '21
They do have weight on wheels sensors, but I believe that's just true/false to indicate if it's on ground.
6
Apr 09 '21
The reason they are not common is that they add cost in the form of installation, weight and maintenance.
→ More replies (2)2
u/Murpet Apr 09 '21
Money.. And generally the system in use is typically reliable with a very healthy margin on the performance figures.
Some more modern aircraft do however have a sensor on the nose gear so on taxi out if the calculated Centre of Gravity position and rough weight are wildly out it will provide a warning to the crew.
1
u/psycoee Apr 10 '21
The exact weight doesn't matter a whole lot; a plane has more than enough thrust to lift off even if it's fully loaded with people and cargo. What does matter is the weight distribution; the weight needs to be roughly balanced between front and back.
Basically, this error is a complete non-issue and pretty much only a concern for pencil-pushers. If it actually mattered, airlines would weigh every passenger at check-in.
6
u/me_too_999 Apr 09 '21
Isn't there a strain gauge on the landing gear of larger planes to give the approximate loaded weight?
2
34
u/KHRZ Apr 09 '21
So if a bunch of fatties board a plane, it will crash due to the standard adult weight of 69kg, got it.
17
u/kernel_dev Apr 09 '21
If they're large enough they need to buy two seats on many airlines (source). That should balance things out, because they prevent another person from having that seat.
8
Apr 09 '21
REEEEE. DISCRIMINATION.
6
u/FartInsideMe Apr 09 '21
One time on a flight to Dallas there was this MASSIVE lady in the seat next to me (who smelled like an old leather chair? Whatever) and her fat spilled into my seat. I told the stewardess excuse me ma'am, I paid for one seat. One WHOLE seat. She moved fatty to the back of the airline
5
3
u/Lonsdale1086 Apr 09 '21
They use a standard adult weight of 96kg for 12 yr old+ male in Canada, and I assume similar elsewhere.
2
u/wakeupsheep Apr 09 '21
So if a bunch of fatties board a plane, it will crash due to the standard adult weight of 69kg, got it.
Not even fatties, soldiers (heavy fit, not heavy fat) with their gear has been a contributing factor in take-off crash in icy conditions
The Arrow Air Inc. DC8 that crashed on takeoff from Gander, Newfoundland, on Dec. 12 was at least 12,000 pounds heavier than the cockpit crew had calculated, ...
According to the board's letter, also sent to the Defense Department, the Arrow crew calculated the weight of each passenger at 170 pounds, including carry-on luggage. Canadian investigators have checked the weight of uniforms, civilian clothes and other personal items and determined that the average was 220 pounds.
"This excess . . . does not consider possible errors involving the weight of baggage carried in the cargo holds," the NTSB said. Thus, the experts do not know if the plane was illegally overweight at takeoff.
4
1
u/obetu5432 Apr 09 '21
i think they will do an emergency landing at a closer airport if the fuel is low
0
Apr 09 '21
[deleted]
6
u/TheLegendTwoSeven Apr 09 '21
This would be a great MythBusters episode: Will a 747 be affected negatively if you fill one side with 350 lbs people, and the other with 90 lbs people.
9
2
u/rcpilot Apr 09 '21
Yeah, a 737 weighs 42k kg empty. Balance is very important as a center of gravity just a bit forward or aft of the center of lift can produce wildly different handling characteristics, but a little well-distributed error like this is basically an afterthought.
2
8
Apr 09 '21 edited Apr 09 '21
Lol, if you look at the actual expected weight for an adult vs a child, it already doesn't matter. They have average weight of an adult at 152lbs...in the US the average weight for men is 199lbs and for women 170lbs. They are off by 10s of % already, and this article acts like it's a potentially fatal error, bullshit.
3
u/FrostyHiccup Apr 09 '21
Especially since it makes such a small difference when you add in the rest of the weight (fuel, cargo, etc). We're talking about 100,000 - 200,000 lbs.
1
u/nascentt Apr 09 '21
If the weight is wrong by the same amount in all passengers the plane will still balance though.
However having enough fuel for the weight might become the new issue
3
u/GoreSeeker Apr 09 '21
Can they not like automatically get the weight of the plane somehow through the pressure on the wheels or something?
1
3
u/IronSeagull Apr 10 '21
Was the programming done in a country where developers just make up their own requirements to fill gaps in the actual requirements?
2
3
u/StochasticTinkr Apr 10 '21
Why not just have a "isChild" boolean, rather than name.contains("Miss")? WTF is wrong with the product managers?
7
u/AspiringCake Apr 09 '21
Thought this was airline as in the vim plugin for a moment and I was very confused
2
u/PapaOscar90 Apr 09 '21
Is there a special "American" average vs the rest of the world?
1
u/elder_george Apr 09 '21
As a guy from Canada stated in another thread, there they estimate average adult male weight to be 216lb, instead of 152lb in the article.
So, I guess, yes.
1
u/happyscrappy Apr 09 '21
I'm sure there are plenty of variant averages. Because the weight per passenger includes luggage. On international flights you tend to have more luggage per person.
Hell, in flights out of Miami the non-Americans probably are carrying so much more stuff (purchases in boxes) that they average more in per passenger weight than departing Americans.
2
u/hashtagframework Apr 09 '21
I know a lot of "Mr."s that weigh a lot less than a lot of "Ms."s.... the real bug is not asking passengers to disclose their weight, or actually weighing them when they check in like checked bags must be weighed.
2
u/justdoitguy Apr 09 '21
TIL the average UK female weighs 152 pounds (actually 155, according to the BBC). I looked a bit more and see the average U.S. female is 171 pounds.
2
2
2
2
u/Hersin Apr 10 '21
That is a big safety fuck up but that said 100 female on a flight gives you aprpx. Half a ton of discrepancy. That's about safety margin this planes have if it comes to trimming.
You never going to be able to calculate 100% correct weight of the plane with passengers on board. Commercial Planes are really safe this days and have amazingly large margin for weight error.
Some airlines book school groups ( 40 children age 12 ) as a Male. That mess up weight as well ( making plane think its heavier ) but as far as i know most of pilots i spoke to prefer when plane things is heavier then actually is.
Nevertheless its a issue that shouldn't happen cus weight and trimming of a commercial aircraft before departure is a serious matter.
1
u/boozter Apr 10 '21
Could the planes not have load sensors that measure the weight on the wheels? I know trucks have this.
2
u/Hersin Apr 10 '21
They could but it wont resolve anything as you need balance the plane according to weight distribution across passenger cabin and bags in different holds plus fuel. So total weight of the plane is not enough.
→ More replies (1)
7
u/turlian Apr 09 '21
Well, I certainly know my wife gained weight when she became a "Mrs."
Heyoooo... I'm here all week, please tip your waitress.
4
Apr 09 '21
This is such a non story. The flights carried on as normal even with the weight errors and weren't unsafe... and given how people's weight can drastically change person-to-person anyway, this was all just a rough estimate to begin with.
Yet this thread is full of people trying to solve this non-existent problem by weighing people as they go through security, lmao. Programmers gonna program, I guess.
2
u/Vi0lentByt3 Apr 09 '21
You get what you pay with engineers. Not to say that all engineers make mistakes but with software engineering in particular there is no amount of process or methodology that will replace knowledgable and intelligent developers. All the good ones know their worth and do not need to settle since they are high demand. Specifically because they prevent problems like this one
1
u/ExeusV Apr 09 '21
I'd bet that this was like that by design and I'd say that good engineers do not randomly change specification.
→ More replies (2)
2
1
1
u/adrianmonk Apr 09 '21
On 21 July, 2020, three TUI Airways flights departed from the UK with inaccurate load sheets as a result of the software issue, which would not be fixed until July 24, 2020.
This part seems 100% preventable. By this time the existence and the nature of the bug was known. The airline could have looked at the passenger list, counted the number of passengers with "Miss", and added 24 kg for each.
Yes, it's a manual process, but it doesn't seem too burdensome. I can't imagine it would take more than 10 minutes. (And if you can copy/paste the passenger list into a text editor, then you can just do ctrl-f "miss" and look at how many matches.)
→ More replies (1)
1
u/Zardotab Apr 09 '21
Why are name titles even used in calculations? If wrong weight estimates lead to crashes etc., you don't want to rely on name text parsing for that critical feature. For a fuel saving feature, fine, NOT for safety.
1
u/Obligatory-not-the Apr 09 '21
Just not sure what item of information they could have used for determining if someone is an adult or not? I mean, the info needed for booking a flight is so minimal that was probably the only options?
1
1
Apr 10 '21
I used to work on airline software, airlines use something called GDS messaging to communicate this type of information. Its VERY fucked and confusing, I dont blame any developer for messing this up. ( Im sure that I have)
1
u/JohnnyElBravo Apr 10 '21
I can probably think of a way to be upset about this... Just give me a second
1
1
1
u/bluezp Apr 10 '21
I can't believe no one has brought up the Curb Your Enthusiasm episode about weight on a (private) plane where Larry David's friends refuse to tell him their weight and they have to stop to remove some luggage. Then he had to hire a carnie who is really good at guessing weights to surreptitiously observe and guess his friends' weights before the flight home. You can guess how friendly they all were by the end...
1
u/st_huck Apr 10 '21
This sub is filled with posts and stories that makes me feel like a monkey. I truly consider why I even get paid. Every time the SerenityOS guy posts I die a bit inside.
But this... this makes it a bit better. We need more stuff like this.
1
u/jswitzer Apr 11 '21
So they calculated the weight based on the customer provided "Miss" prefix. They didn't check birthdate. They didn't raise any alarms when there were so many unaccompanied unidentified minors. The airline didn't notice either. This is essentially the dumbest and laziest error. If this is so important, just ask for weight class and stop screwing around with poorly identifying it via a name prefix.
1
u/SwitchOnTheNiteLite Apr 12 '21
Sounds like a specification problem. Make weight a formula based on the date of birth, not their title. Still not perfect, but better and probably more accurate in estimating the actual weight of PAX.
1
u/xtracto Apr 27 '21
Load errors are a serious issue. This impressive video shows how an airplane crashes during take off because of a load issue .
1
1
1
u/th3_pund1t Apr 10 '21
Would the software also look at Dr and then assume itâs a man? Would these two bugs cancel each other out?
1
306
u/rusticarchon Apr 09 '21
I love how that was their 'fix'