This isn’t bonding. This is just having them live separately - it won’t tell you if they like each other, can accept each other and form a hierarchy.
Bonding is a one time thing of putting them in a neutral territory bonding pen together and leaving them for a few hours to see if they accept each other and can form a hierarchy. If acceptance is successful then you move them to their cleaned out cage to live together and don’t separate them again. It has to be done all on one day, not over several months. If it isn’t successful in the neutral territory bonding pen then they must never be put in the same cage again.
The guides below will help further. The first guide explains the correct process for carrying out a bonding, and the other two show boar specific and dominance behaviours
Bonding and Interaction: Illustrated social behaviours and bonding dynamics
A Comprehensive Guide to Guinea Pig Boars
Dominance Behaviours In Guinea Pigs