Question would probably get more responses in the TC rifle forum, but I'll respond my op for the carbine/rifle lengths you asked about.
Depends on who made the 17HMR barrel, what length and finding the ammo (& lot number) it likes the best. That done, and all else being equal (trigger jockey's, conditions, etc) factory barrels should easily do sub MOA, maybe even 1/2 MOA or less. Some custom TC barrels will shoot in the 1's and 2's all day long with their preferred ammo, and all of them easily sub 1/2 MOA.
On the Contender the optimum bull barrel lengths were established early on by Fred at Bullberry to be 19"-21", taking into account velocity and accuracy/barrel harmonics. Pretty much the same with the 17HM2 barrels as well.
Two of the three Hummers I bought shoot both the Hornady 17gr V-Max and CCI 17gr TNT ammo's so close to the same POI the difference is almost not noticeable - the custom Contender shot in the 1's to mid 2's, the tricked out Marlin in the mid 2's to high 3's (when I hadn't guzzled too much coffee).
Regardless, the 17HMR is an inherently accurate cartridge that can make even first time shooters marksmen.