A fourth-grader has take a rather fantastic stand against the moral ambiguities thrown up by a maths exam question by invoking the "girl code".
Maddy Douglas was doing her homework when she came across a problem about the dating patterns of a group of high schoolers.
The question sets out a scenario where group of four boys and a group of four girls go on dates in different couple combinations.
Instead of working it out Maddy wrote: "I can't answer this problem because my mom says acoording (sic) to girl code you shouldn't date a friends x boyfriend."
Maddy's mother, Jean, posted the picture on the Facebook page of Huffington Post Parents with the hashtag #girlcodetrumpscommoncore.
She said: 'Maddy had never really seen me disgusted in that type of manner.
"She could see my disgust and said 'Didn't you tell me that you shouldn't date your friend's ex-boyfriend?
"I consider myself to be a completely open-minded type person and as a single mom, try to teach my children about equality and about different types of people they will encounter, but my first reaction was it was not an appropriate question for a fourth grader or really any grade."
Rather than be penalised for her initiative, the answer apparently went down quite well with her teacher.
Douglas told HuffPost, "Her teacher laughed at her answer and told her 'Good point.'"