<s> '''<STR_LIT>''' <EOL> import lib . loaders <EOL> from core . bits import * <EOL> from core . marshal import ItemConverter <EOL> from digraphtools . predicate import predicate <EOL> want_coffee = ItemConverter ( ) . predicate_string_to_callable ( '<STR_LIT>' ) <EOL> assert want_coffee ( [ '<STR_LIT>' , '<STR_LIT>' ] ) == True <EOL> assert want_coffee ( [ '<STR_LIT>' , '<STR_LIT>' ] ) == False <EOL> class wake_up ( Item ) : <EOL> pass <EOL> class get_up ( Item ) : <EOL> depends = ( wake_up , ) <EOL> class make_breakfast ( Item ) : <EOL> depends = ( get_up , ) <EOL> class eat_breakfast ( Item ) : <EOL> depends = ( make_breakfast , ) <EOL> class make_coffee ( Item ) : <EOL> depends = ( get_up , ) <EOL> predicate = want_coffee <EOL> class drink_coffee ( Item ) : <EOL> depends = ( make_coffee , ) <EOL> predicate = want_coffee <EOL> class have_breakfast ( Group ) : <EOL> depends = ( get_up , ) <EOL> contains = ( eat_breakfast , drink_coffee ) <EOL> class walk_out_door ( Item ) : <EOL> depends = ( get_up , have_breakfast ) <EOL> class go_to_work ( Item ) : <EOL> description = '<STR_LIT>' <EOL> depends = ( walk_out_door , ) <EOL> items = [ wake_up , get_up , have_breakfast , make_breakfast , eat_breakfast , make_coffee , drink_coffee , walk_out_door , go_to_work ] <EOL> breakfast_task_factory = lib . loaders . TaskFactory ( items ) </s>
