change REQUIREMENT_ERROR to REQUIREMENT_WARNING. Return array() if ok. Add weight