How does the user reputation system work?

For every trade you make, you will be asked to rate your counterparty, while your counterparty will rate you.