Your job is to electrically identify each exposed conductor at both ends so that, for example, the end with the tag "#1" is connected to the other end with this tag a mile away. Likewise for wire #2, etc.
You must complete the task by yourself. Your only tools are a working light bulb, fresh battery, and enough tags and writing materials to identify all the wires. You also have sufficient electrical leads to connect the bulb, battery, and any number of wires, in any combination. However, the combined length of all the leads is much less than the distance between the buildings. Also, all wires and leads have negligible resistance.
What is the fewest number of trips required between the buildings in order to fully identify each individual wire at both ends?