No I think that was special repair , Like good roll on repair, repair to 0 % and its was like brand new
I got 40xp not 20xp
so sure its something set in the game that way
just probably don't happen often, maybe if i had tool and High skill it might happen a lot more
Another thing to keep in mind is items that are really high in deterioration (i.e. 80% and higher) have a much higher chance of failing to repair and can result in your item being "Its beyond repair." With 212 repair + tool, it sometimes happens. Better to keep up early maintenance and to start repairing by about 30-50%. Alternatively, you could gamble a repair with items that have "broken" or "It's barely hanging together" which occurs at 100% det. Successfully repairing those are risky but revert the item back to brand new 0%.
Note: My Supertool kit from Rondo was completely used up after about 20 repairs for me. Since the Supertool kit costs 2k, that's $100 per repair, so better make sure what you're repairing using the Supertool kit bonus is worth that money.
--What I want to know is whether or not luck plays a role in the repair formula--