Macros defined with \NewDocumentCommand are robust and the "LaTeX 3" team marked it as "stable". The command \samplec is defined with it in lib/codeblock.tex and reported as "error" by pdflatex engine because we use \NewDocumentCommand without \usepackage{xparse}.
This may cause things to work incorrectly when compiling documents on several platform.