Skip to content

Prolog is being detected as Raku #6454

Discussion options

You must be logged in to vote

This is happening because one massive file is being detected as Raku and not Prolog because it's content doesn't match any of the heuristics for the .pl extension so it's falling through to the classifier which is not making a good guess, which isn't surprising given the content:

https://github.com/cbarrick/practice/blob/master/reddit/dailyprogrammer/246-med/words.pl

It's 3.64 MB so is by far the largest by bytes of code so if having a dispropotionate effect on the stats.

You'll need to implement an override to either force the language, or ignore the file.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cbarrick
Comment options

Answer selected by cbarrick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants