Skip to content

[Docos] Add a new FAQ entry on preventing beartype.claw from type-checking "bad boy" callables and classes #263

Answered by leycec
SalamanderXing asked this question in Q&A
Discussion options

You must be logged in to vote

Ah-ha! Fantastic. Thanks so much for the minimal-reproducible example (MRE). You are totally right about everything. Indeed, this is an upstream Google Flax typing bug. Woooooooah. Never expected Google of all tech giants and Flax of all tech giant ML frameworks to drop the QA ball, but... we're all AI-augmented humans here, right? Mistakes do happen and then @beartype raises its claw in anger against those mistakes.

Would you mind submitting an upstream issue against Flax's issue tracker? Interestingly, this further substantiates the need for beartype.claw-fueled hybrid runtime static type-checking. After all, Google (probably) already statically type-checks Flax against their own in-house

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@leycec
Comment options

Answer selected by leycec
@SalamanderXing
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants