- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I am working on finding similarities between two SAS programs (i.e., how much copied from other's code), similar to MOSS (Measure of software similarity), JPlag, CodeMatch these are all not supporting SAS Programming language. I have found 3 papers on the internet, one is based on python (very few details available: Ensuring Programming Integrity with Python - PharmaSUG), the second one has written on SAS (Upholding Ethics and Integrity: A macro-based approach to detect plagiarism in programming) but not much information and the third one has written on PROC GROOVY (Be wise, plagiarize)
I have also tried using SOUNDEX with the COMPGED functions but not helping (Reference)
Is there any code available to use or help me with steps to identify similarity?
I need to get the following details:
- Similarity Scores
- Matched Codes/Lines (Exact Match - COMPARE Function/Diff function in UNIX)
- Matched Codes/Lines (Fuzzy Match/Lexical Similarity)
- Matched Blocks (Exact Match - COMPARE Function/Diff function in UNIX)
- Matched Blocks (Fuzzy Match/Lexical Similarity)
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Ha. @Rick_SAS wrote a blog about how to build a recommendation system by cosine .
Maybe you could use it .
https://blogs.sas.com/content/iml/2019/09/05/cosine-similarity-recommendations.html
https://blogs.sas.com/content/iml/2019/09/03/cosine-similarity.html
https://blogs.sas.com/content/sasdummy/2019/07/25/sas-recommendation-engine/
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you @Ksharp. I have referred links provided by you and GitHub, https://lexjansen.com/ before I write to this forum. Today I received mail from PharmaSUG and they have published 2020 papers. I will also look into those papers.