fixing calculation bug and adding partial value for tests
fixing JSON file versions