Identifying if reaction is reduction or oxidation. Is there an error in this question?
Before the reaction, every carbon is attached to to other carbon atoms, one hydrogen atom and one chlorine atom. So oxidation state of each carbon = 0+0+-1(due to C-H bond) +1(due to C-Cl bond)= 0; average oxidation state of carbon is also zero.
In the product only two carbon atoms suffer a change in bondings; now each of these two carbon atoms is attached to one carbon through double bond, another carbon through single bond and a hydrogen atom; so O.S. of this carbon = 0+0+-1 = -1; so to conclude four carbon atoms remain in zero oxidation states, where as the doubly bonded carbon atoms are in -1 oxidation state. so average oxidation state of carbon = -2/6 = -1/3

P.S.:Fractional oxidation state results only when we take average, and that too in some cases