Task: Wrong Candidate Generation
Input (English): misdemeanor in superior court is entitled to appeal as a matter of right the issue of whether the sentence imposed: (1) Results from an incorrect finding of the defendant’s prior record level under G.S. 15A-1340.14 or the defendant’s prior conviction level under G.S. 15A-1340.21; (2) Contains a type of sentence disposition that is not authorized by G.S. 15A-1340.17 or G.S. 15A-1340.23 for the defendant’s class of offense and prior record or conviction level; or (3) Contains a term of imprisonment that is for a duration not authorized by G.S. 15A-1340.17 or G.S. 15A-1340.23 for the defenda fendant essentially stipulated to matters that moot the issues he could have raised under subsection (a2), his appeal should be dismissed. See State v. Simmons, 64 N.C. App. 727, 308 S.E.2d 95 (1983) (<HOLDING>), disc. review denied, 310 N.C. 310, 312 S.E.2d 
 Holding statements: (A) holding that the sentence entered by the circuit court was illegal because the court had no authority to impose a sentence that exceeded the punishment fixed by the jury (B) holding that under subsection al as then written the defendant had no right to appeal whether his sentence was supported by evidence presented because he entered into a plea agreement as to the sentence (C) holding that the prosecutors statement about a witnesss truthfulness was proper because the evidence showed that the witness complied with the plea agreement not that he told the truth simply because he entered into the plea agreement (D) holding that the defendant waived the right to appeal his sentence including the terms and conditions of his supervised release when he agreed to a plea agreement that said he expressly waives his right to appeal the conviction and sentence imposed on any ground emphasis added (E) holding that an express waiver of the right to appeal the sentence was invalid because the trial court had failed properly to advise the defendant and that the defendant therefore did not waive his right to appeal the legality of his sentence
Output (English): holding that the sentence entered by the circuit court was illegal because the court had no authority to impose a sentence that exceeded the punishment fixed by the jury