Automatic Payment Reconciliation

I would like to know what is this solution (Allow bulk reconciliation from Payment Reconciliation Tool · Issue #9201 · frappe/erpnext · GitHub) going to be about. I am trying to write up a routine that will automatically do payment reconciliation by using earliest date of invoice and applying the unallocated amount to each of those invoices one by one. I hope I am not duplicating efforts here.