Effect of defects in computational mechanics of materials: the role of AI and rich data (Version intégrée)