5 ms·
Heya, no worries - I’m glad to share it. MonkeyPatch ensures reliability through what we call ‘test-driven alignment’, in which the tests that reference the pa
by JackHopkins 3y ago
Heya, no worries - I’m glad to share it.
MonkeyPatch ensures reliability through what we call ‘test-driven alignment’, in which the tests that reference the patched functions are guaranteed to pass. The more align ‘tests’ you create, the more rigorous a contract that the functions have to fulfil.
The other way to increase consistency is using more constrained type annotations (i.e using pydantic field annotations), which is a similar concept to MarvinAI and Magentic.