frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ensemble-bias-detector – property tests for voting aggregators

https://github.com/fuentesamurai/ensemble-bias-detector
1•killersamurai•39m ago

Comments

killersamurai•39m ago
Author here. I built this after shipping a multi-model voting ensemble that, when audited in production, was returning the same class on 90%+ of decisions on inputs where the underlying voters were balanced. The voters were individually correct. The aggregator was mathematically correct. The bias only lived in the joint distribution of the voting function — exactly the place unit tests don't reach but property-based tests do.

The library is six property checks that nearly every sensible aggregator should satisfy, packaged so you can audit any voting function in two lines. Pure stdlib, zero runtime deps.

Two things I learned while building it that surprised me:

  1. A naive Counter.most_common()[0][0] inherits its tie-break from
     dict insertion order, which silently leaks the order voters
     arrived in — caught by the permutation-invariance test.

  2. With three or more classes, there is no fully unbiased
     deterministic tie-break. Every choice (alphabetical, hash-based,
     fall-back-to-neutral) introduces a measurable asymmetry. The
     library catches all of them in turn.
The examples directory has a side-by-side audit of three "innocent looking" 3-class aggregators with three different failure modes — that's the part I found most pedagogically interesting.

Feedback and adversarial cases welcome.

https://github.com/fuentesamurai/ensemble-bias-detector

Ask HN: Is grpcurl home page compromised?

1•jicea•2m ago•0 comments

Plex's 200% Lifetime Pass price hike tries forcing users to another subscription

https://arstechnica.com/gadgets/2026/05/plexs-200-lifetime-pass-price-hike-tries-forcing-users-to...
2•ndr42•2m ago•0 comments

Show HN: Bevel – Guess the book from its opening passage

https://bevel.ink
1•knotalegend•2m ago•0 comments

Show HN: AgentKit SEO – a career context file that installs as agent skills

https://github.com/agentkit-seo/agentkit-seo
1•renatomignone•4m ago•0 comments

Show HN: YouTube MCP, give any AI agent access to YouTube

https://github.com/umbertotancorre/youtube-mcp
3•umbertotancorre•5m ago•0 comments

Biometric Surveillance in New York City

https://www.stopspying.org/biometric-map
2•raybb•6m ago•0 comments

Built DealSensematch in 2 months. No team. No funding. Just me

https://dealsensematch.com
2•Louiemarlow•6m ago•1 comments

Building the First AI-Native Hotel Booking Platform

https://hotels.cooveb.com/
1•sshinde•6m ago•0 comments

I am not a Software Engineer

https://huronbikes.mataroa.blog/blog/i-am-not-a-software-engineer/
1•l0b0•10m ago•0 comments

Understanding the Garbage Collector

https://ocaml.org/docs/garbage-collector
1•jkxyz•10m ago•0 comments

"Antarctica" – Fiction; the Yale Review

https://yalereview.org/article/jen-silverman-antarctica
2•everybodyknows•12m ago•0 comments

Show HN: DDS Vibe Academy – 31 free AI coding masterclasses, built by AI agents

1•robert_ddsbos•12m ago•0 comments

US transportation bill would add a $130 annual fee for EV drivers

https://arstechnica.com/cars/2026/05/bipartisan-bill-in-congress-includes-130-annual-ev-registrat...
5•logickkk1•14m ago•0 comments

Use Grok in OpenClaw

https://x.ai/news/grok-openclaw
1•surprisetalk•15m ago•0 comments

"How We Think" by John Dewey [pdf]

https://bef632.wordpress.com/wp-content/uploads/2015/09/dewey-how-we-think.pdf
2•baxtr•16m ago•0 comments

Tiny Basic feels like a dead albatross around my neck (1975)

https://archive.org/details/dr_dobbs_journal_vol_01
1•robin_reala•17m ago•0 comments

Most AI agent papers stack one LLM with a vector store, we flipped it

https://sbarron.com/writing/substrate-is-the-body
2•iampneuma•18m ago•1 comments

Solving the "Zork" Mystery

https://www.dpolakovic.space/blogs/zork-part2
1•dpola•18m ago•1 comments

LibrePCB 2.1 with cross-probing, net highlighting, UI themes and more

https://librepcb.org/blog/2026-05-19_release_2.1.0/
1•rnestler•19m ago•0 comments

Show HN: ECD++ 2026.3.10 Is Released

https://github.com/nbauma109/ecd/releases/tag/2026.3.10
1•nbauma109•20m ago•0 comments

Show HN: 5 Minute Frenzy – free multiplication practice game for kids

https://5minutefrenzy.com
1•carvil•20m ago•0 comments

'Obvious markers of AI': doubts raised over winner of short story prize

https://www.theguardian.com/books/2026/may/19/commonwealth-short-story-prize-winner-doubts-ai-art...
5•n1b0m•21m ago•1 comments

LiveFoldersFS – Reactive Filesystem Abstraction

https://www.livefoldersfs.org
2•loterio•22m ago•1 comments

OpenAI Guaranteed Capacity

https://openai.com/business/guaranteed-capacity/
2•louiereederson•22m ago•1 comments

Tesla's lithium refinery discharges 231,000 gallons of polluted wastewater a day

https://www.autonocion.com/us/tesla-lithium-refinery-texas/
105•atombender•22m ago•33 comments

Show HN: HypergraphZ – directed hypergraph library in Zig with Python bindings

https://github.com/yamafaktory/hypergraphz
1•yamafaktory•23m ago•0 comments

MailFlow – self-hosted email client with threading, mobile swipe, and IMAP/OAuth

https://github.com/maathimself/mailflow
1•goldfish8543•24m ago•0 comments

ACSM Publishes Updated Resistance Training Guidelines

https://acsm.org/resistance-training-guidelines-update-2026/
1•Tomte•24m ago•0 comments

The tool that made our AI agent better at using its tools

https://www.kapa.ai/blog/the-tool-that-made-our-ai-agent-better-at-using-its-tools
2•emil_sorensen•25m ago•0 comments

Sykes-Picot and Balfour Still Haunt the Modern Middle East

https://www.thefridaytimes.com/16-May-2026/cartographers-catastrophe-sykes-picot-balfour-still-ha...
1•bryanrasmussen•26m ago•1 comments