|
Build a Generic Result Type with Ok and Err
|
Hard
|
Framework
|
|
|
Build a JSON Codec for Dataclasses
|
Hard
|
End-to-End
|
|
|
Build an Event Router with Guards
|
Medium
|
End-to-End
|
|
|
Build a Registry That Does Not Keep Objects Alive
|
Medium
|
Primitives
|
|
|
Build a Task Queue That Keeps Arrival Order for Ties
|
Medium
|
Primitives
|
|
|
Build a Typed Factory Fixture
|
Hard
|
Primitives
|
|
|
Capstone: Build an Immutable Order Model from Untrusted Data
|
Hard
|
End-to-End
|
|
|
Check a Class Before You Add slots=True
|
Hard
|
Framework
|
|
|
Check a Version Against a Specifier
|
Medium
|
Primitives
|
|
|
Compute Cents from an Amount with __post_init__
|
Medium
|
Primitives
|
|
|
Convert and Validate a Port Number on Assignment
|
Medium
|
Primitives
|
|
|
Convert Dataclasses to JSON-Ready Values
|
Hard
|
Framework
|
|
|
Count Visited Cells with a Frozen Dataclass
|
Easy
|
Primitives
|
|
|
Diff Two Dataclass Records Field by Field
|
Hard
|
Framework
|
|
|
Find Mutable Defaults That Instances Share
|
Easy
|
Primitives
|
|
|
Fix a Dataclass Hierarchy with Keyword-Only Fields
|
Medium
|
Primitives
|
|
|
Fix a Slow Join and a Wasteful Top-k
|
Medium
|
End-to-End
|
|
|
Fix a Version Class That Compares Strings with is
|
Easy
|
Primitives
|
|
|
Freeze Nested Data into a Hashable Cache Key
|
Medium
|
Primitives
|
|
|
Give Each Task an ID from a ClassVar Counter
|
Easy
|
Primitives
|
|
|
Hide Secret Fields When You Print a Record
|
Medium
|
Primitives
|
|
|
Merge Settings from a File, the Environment and the Command Line
|
Medium
|
End-to-End
|
|
|
Parse a Nested Config with Placeholders and Secrets
|
Medium
|
End-to-End
|
|
|
Parse Untrusted JSON into a Dataclass
|
Hard
|
End-to-End
|
|
|
Predict Which Dataclasses Are Hashable
|
Hard
|
Framework
|
|
|
Read Settings from Environment Variables
|
Medium
|
End-to-End
|
|
|
Resolve Dataclass Field Types in Python 3.14
|
Hard
|
Framework
|
|
|
Simplify Arithmetic Expressions with Class Patterns
|
Medium
|
End-to-End
|
|
|
Simulate a Pool Shutdown with a Grace Period
|
Hard
|
End-to-End
|
|
|
Sort Semantic Versions with Prerelease Labels
|
Hard
|
Primitives
|
|
|
Sort Version Numbers with a Dataclass
|
Easy
|
Primitives
|
|
|
Tell Fields Apart from Class Variables
|
Easy
|
Primitives
|
|
|
Turn Outside Data into a Typed Record
|
Easy
|
Primitives
|
|
|
Type-Check a Custom Dataclass Decorator with dataclass_transform
|
Hard
|
Framework
|
|
|
Update a Frozen Record with replace()
|
Hard
|
Framework
|
|