-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(#307): information about samples filtering in tex/report.tex
#309
Merged
Merged
Changes from 3 commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,7 @@ \section{Motivation}\label{sec:motivation} | |
their research results, paper authors must somehow guarantee that the source | ||
code used at the time of research remains available and intact throughout the | ||
paper's lifetime. One obvious solution would be to make copies of the | ||
repositories being extracted and then host them somewhere they are "forever" | ||
repositories being extracted and then host them somewhere they are ``forever'' | ||
available. | ||
|
||
Second, research methods typically involve filtering out certain types of files | ||
|
@@ -134,8 +134,11 @@ \section{Methodology}\label{sec:method} | |
Python, Ruby, and Bash, which do exactly the following: | ||
\begin{itemize} | ||
\item Fetch open repositories from GitHub, which have \ff{java} language | ||
tag, have reasonably big but not too big number of stars, and are | ||
of certain minimum size; | ||
tag, have reasonably big but not too big number of stars, have either MIT or Apache License, | ||
and are of certain minimum size; | ||
\item Filter out repositories those contain samples, instead real project, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @h1alexbel this description is too vague, I believe. Maybe we can give a link to your Python repo here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @yegor256 fixed |
||
framework or library utilizing Machine Learning techniques like text | ||
classification. | ||
\item Remove files without \ff{.java} extension, Java files with syntax errors, | ||
supplementary files such as \ff{package-info.java} and \ff{module-info.java}, | ||
files with very long lines, and unit tests; | ||
|
@@ -151,7 +154,6 @@ \section{Methodology}\label{sec:method} | |
|
||
We believe that our method is ethical, as it utilizes data from publicly | ||
available sources, thereby avoiding any infringement of copyright. | ||
% Would be great to include only repositories with MIT and Apache license, see https://github.com/yegor256/cam/issues/275 | ||
|
||
\section{Results}\label{sec:results} | ||
|
||
|
@@ -160,6 +162,7 @@ \section{Results}\label{sec:results} | |
\iexec{cat "${TARGET}/temp/repo-details.tex"} | ||
The full list of them is in the \ff{repositories.csv} file. | ||
The \ff{hashes.csv} file has a list of Git hashes of their latest commits. | ||
Predictions about each repository being sample or not located in \ff{predictions.csv} file. | ||
|
||
The filtering process was the following: | ||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@h1alexbel would be better to use a separate
\item
for the filtering by licenseThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yegor256 fixed