Hard lessons2024-02-29 · Archive
Don't mock machine learning models in unit tests
Original EnglishWhere this applies — and where it may not
Original English evidence, selected for practical experience and outcomes. Read the source discussion for context.
From the discussion
“And in most cases, I'm using mocks because it's not easier to use the real thing.”
@kerkeslager · View source
Y
Don't mock machine learning models in unit tests
@kerkeslager · 76 points · 76 comments
Read the Hacker News threadSource: OpenIndex Hacker News dataset (ODC-By). Original content belongs to its authors. Summaries, translations, and suggested steps are AI-assisted editorial work. Read the sources; individual outcomes are not guarantees.