If you are open minded then I encourage you to look at the events of the 1947 War through this dimension.
When the Indian subcontinent was partitioned Pakistan was given fewer supplies and fighting men right from the beginning of the War. The Joint Defence Council formed by Lord. Mountbatten had formed an agreement to divide the British Raj or Indian subcontinent Armed forces. The agreement stated that the Indian armed forces and all military supplies and equipment will be divided with 64% of the portion given to India and 36% of the portion given to Pakistan. Also, Pakistan was given 9 "training establishments" and a few ordnance factories while India was given 17 training established and many more ordnance factories.
So when you analyze Pakistan's performance in the 1947 War take this unto consideration, because it is a critical part of the equation.
Please read below.
"On the eve of Partition in 1947, the figure had come down to about 11,800 officers, 450,000 other ranks plus about 50,000 of Indian Princely State Forces. It is noteworthy that at that time (as per policy of the British Raj since 1857) there were only two completely Muslim combat units (1/15 Punjab Regiment and 3/16 Punjab Regiment), although there were several completely Hindu and Sikh units and regiments of the combat arms.
The original agreement called for the armed forces and other assets to be divided to the ration of 64% for India and 36% for Pakistan, but Pakistan was later forced to accept an 1/3 share of assets. Of the total 46 training establishments; only nine were located in Pakistan; all of the 17 Ordnance Depots were located in India, as were most of the Ordnance Depots and Engineer Store Depots.
In addition to Pakistan receiving far less stores than originally stipulated, most of the stores received were of general nature, perishable, unwanted and obsolete."
Source:
Pakistan Military Consortium :: www.PakDef.info
If you want to limit your analysis to simple geography/ territory held/ and or captured then you may, but there are other complexities you ought to look at.
Also let's not forget this aspect. During the 1947 war, Pakistan gained Northern territories (Gilgit, Mirpur, Chitral and surrounding areas), what is now known as Azad Kashmir, and Aksai Chin which was ceded to China in 1963, the year after your humiliating defeat to China.
The total land mass that Pakistan possessed after 1947 by Pakistan according to my calculations & other sources is this.
Northern Areas = 72,496 km²
Azad Kashmir = 13,297 km²
Aksai Chin = 5,181 km²
72,496 km2 (N-Areas) + 13,297 km2 (A-Kashmir)+ 5,181 km2 (Aksai Chin)=
90,974 km2 (total Land mass held by Pakistan after 1947 War)
On the Indian side, the capture Jammu & Kashmir Valley and Eastern Portion of Kashmir, the total land mass of that equals roughly
101,387 km².
101,387 km2 - 90,974 km2= 10,413 km2
10,413 km2 is the territorial difference we are talking about, you had mentioned in your post that you consider this a "partial victory".
But when you had already been given 64% of the Armed force's soldiers', money, supplies, military resources--like ordnance factories, this marginal "victory" you claim is quite a disappointment.
Considering regular Pakistan Army soldiers were not so active in the initial phases of the War, and it was mostly local tribes (inc. Pakistani, Kashmiri, & Afghan Pathans) you were facing, and let's not forget the Gilgit Scouts. So earlier in the War IA was fighting unconventional fighting forces...
The fact that Pakistan managed to capture 90,974 km2 territory through the meager resources it had is an amazing victory.