fix wrong assertions in SourceCodeClassifier