Since %d is only used for int’s the POW returns a float64 so try duration_expr: "Sprintf('%vm', ( 2 ** GetDecisionsCount(Alert.GetValue())) * 10)"
OR duration_expr: "Sprintf('%fm', ( 2 ** GetDecisionsCount(Alert.GetValue())) * 10)"
As you can see from crowdsec log it states !%d(float64=0) which basically means type mismatch %v is basically a generic, however, it shouldn’t be used as if we change the default print for float64’s it may affect this
I choose to use duration_expr: "Sprintf('%dm', GetDecisionsCount(Alert.GetValue()) * GetDecisionsCount(Alert.GetValue()) * 10)" to avoid any issues in future.