Final Exam: Development of a LYSO calorimeter and transformer-based reconstruction for the PIONEER experiment