<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def build_duration(self):
 """Return the difference between build and build_done states"""


        return int(self.state.build_done) - int(self.state.build)