MEXT has its own method for calculating the grades to evaluate the possibility of revoking or keeping the scholarship.
The equation for calculating the grades can be found here.
For the inputs, refer to your grades shown in the S&F page in your Tokyo Tech portal.