Skip to content
Python ETLEasyofficialBenchmark eligiblefree

Money to minor units

Amounts arrive as '$1,204.50', '1204.5 USD', and '120450' cents. Store amount_minor as integer and currency as ISO 4217. Never float. Keep raw_amount.

FieldDetail
CreatorPipelineArena · expert
Version2.0.0
Time35 min
Credits2
Completion0% · 0.0 rating
Hidden tests4

Objective

Typed columns match the hidden expected table; ambiguous rows quarantined.

#Success condition
1amount_minor is integer, no float column used for money
2currency is a 3-letter ISO code
3Ambiguous scale rows quarantined
4raw_amount preserved
#Visible instruction
1Parse symbols and separators explicitly.
2Use integer cents (or the currency’s minor unit).
3Keep the raw string for audit.
Hidden tests score the final tables or files, not the exact syntax you used. Test implementation is never shown to participants.

Signed-in workspace: Open in app