using compare() to compare goals and status in Minosse::Environment