I learnt that "based on" modifies the subject of a sentence e.g. in the following sentence:
The teacher decided the grades based on students' performance on the test.
Would the following usage be also correct?
Based on your performance in the test, the grades would be decided by the panel.
thanks in advance