Material to be used in the new primary school assessments has been accidentally released online by the government agency responsible for testing.

The test for key stage 1 spelling, punctuation and grammar was uploaded to the Standard and Testing Agency’s website earlier this month.

Users wanting the accessible version of the exemplification materials were able to download the test.

The error has been discovered and shared on social media.

The Department for Education (DfE) has launched an inquiry and asked teachers not to share the material.

Some primary schools will have carried out key stage 1 tests over the last two weeks as part of the standard setting process. The full testing period takes place next month.

A DfE spokesperson said: “This is clearly a serious error and we have launched an immediate investigation to understand how it happened. The material has been removed from our website. Fortunately, this is a Key Stage 1 test which is provided to schools to support Teacher Assessment judgments.

“The data used to judge the performance of schools and the progress children are making at Key Stage 1 are teacher assessment judgements. The results of these tests are not collected. Nonetheless it is deeply regrettable that it has happened.

“We ask that if anyone has seen the material, they do not share it further so that the test remains helpful for those teachers who have not yet used it with their pupils.”