The code didn't fire them. The data did.
A single line of logic can unravel a thousand lies. Meta, the company that spent billions branding itself as the "responsible AI" leader, is now staring down a class-action lawsuit that alleges its internal HR AI system systematically targeted employees with medical conditions for layoffs. The complaint, filed last week in a California court, doesn't just accuse Meta of being an uncaring employer. It accuses the company of building a digital guillotine calibrated with proxy discrimination.
This isn't a bug. It's a feature of how corporate AI is deployed when accountability is an afterthought.
Context: The Irony of the Accuser
Meta has positioned itself as the champion of open-source AI with its Llama model series. Its executives speak at ethics summits. It funds fairness research. Yet internally, the same company was allegedly using a machine learning system to score employees on "performance" and "redundancy" — scores that conveniently correlated with medical leave records. The lawsuit claims that employees with approved health accommodations were disproportionately marked for termination. The system didn't explicitly ask "Does this person have a disability?" It asked a hundred smaller questions that collectively answered that question.
Cold eyes see what warm hearts ignore. In my years auditing smart contracts, I've watched seemingly neutral logic gates act as sieves for bias. A lending protocol doesn't need to call you a bad credit risk; it just needs to weigh your wallet age against your transaction history. Meta's HR system works the same way: it uses "days of sick leave," "participation in wellness programs," and "frequency of health-related performance notes" as proxy variables for medical status. The algorithm is innocent. The feature engineering is the weapon.
Core: The Forensic Autopsy of Meta's AI Guillotine
Let's dissect the technical architecture a responsible analyst would expect — and what Meta likely deployed.
First, the model type. HR decision systems rarely use deep learning. They rely on gradient-boosted trees (XGBoost or LightGBM) because these models offer high performance on tabular data and relative interpretability via SHAP values. Meta would have trained on a dataset of hundreds of thousands of employee records: performance reviews, promotion history, manager feedback, and — crucially — health-related flags. The model's output would be a single score: "layoff risk" or "performance percentile."
The hidden poison is in the feature selection. Any competent data scientist knows to exclude protected attributes like age, gender, race, or disability status. But the system doesn't need them. It learns correlations. If a group of employees with high medical expenses also has lower manager ratings — because managers unconsciously penalize absenteeism — the model will assign lower scores to that group. This is proxy discrimination by design.
How do I know? Because I've traced similar patterns in DeFi liquidation bots. A liquidator protocol doesn't need to know a user's location. It just needs to know that users from a certain IP range consistently miss price update thresholds. The result is the same: a systemic disadvantage disguised as neutral logic.

Meta's system likely had a fairness audit — every large company claims one. But audits are only as good as their thresholds. Was the model tested for disparate impact against employees with medical conditions? If so, what was the acceptable p-value? Most corporate audits use a relaxed standard: a 0.05 difference in selection rate is often deemed "acceptable." That's a legal fig leaf, not a safeguard.

Further, the lawsuit alleges that managers were given the scores and instructed to follow them with minimal human override. This eliminates the last layer of compassion. The algorithm becomes the final verdict, and the manager becomes a rubber stamp. The code doesn't lie, but the data does — and in this case, the data was rigged from the start.
Contrarian: What Meta Got Right
No analysis is honest without acknowledging the counterargument. Meta likely didn't intend to discriminate. The company invested significant resources in AI fairness research; its FAIR lab has published dozens of papers on bias mitigation. The HR AI system probably followed industry best practices: it excluded explicit protected attributes, used cross-validation, and underwent internal review. The problem isn't malice — it's the gap between academic fairness and operational reality.
Moreover, the lawsuit is still untested in court. The plaintiffs must prove not just statistical impact, but that Meta's system was designed with discriminatory intent or reckless disregard. That's a high bar. In a bull market for litigation, many filings are speculative.
Yet the contrarian view misses the forest for the trees. The industry standard for AI fairness is itself broken. Most companies test for "demographic parity" on coarse features like gender and race, but ignore intersectional proxies like "health-related absence combined with manager score." Meta may have passed its own internal audit while failing the ethics of operational deployment. That's the real scandal.
Takeaway: The Accountability Call
This case is not about Meta alone. It is about every company deploying AI in high-stakes human decisions. The technology is a mirror: it reflects the biases we fail to audit, the processes we refuse to question, and the people we choose to ignore.
The ledger remembers everything. The question is whether regulators, investors, and employees will read it before the next algorithm fires on autopilot.