prospector/filtering/filter.py
def filter_commits(
    candidates: "list[Commit]",
) -> "list[Commit]":
    """
    Takes in input a set of candidate (datamodel) commits (coming from the commitdb)
    and returns in output a filtered list obtained by discarding the irrelevant
    ones based on different criteria (timestamp of commit compared to advisory record date,
    extensions of the files modified in the commit, and the like)
    """

    print("WARNING: filter_commits() not implemented yet")
    return candidates

    Takes in input a set of candidate (datamodel) commits (coming from the commitdb)
    and returns in output a filtered list obtained by discarding the irrelevant
    ones based on different criteria (timestamp of commit compared to advisory record date,
    extensions of the files modified in the commit, and the like)
    
Takes in input a set of candidate (datamodel) commits (coming from the commitdb)
and returns in output a filtered list obtained by discarding the irrelevant
ones based on different criteria (timestamp of commit compared to advisory record date,
extensions of the files modified in the commit, and the like)
Takes in input a set of candidate ( datamodel ) commits ( coming from the commitdb ) and returns in output a filtered list obtained by discarding the irrelevant ones based on different criteria ( timestamp of commit compared to advisory record date extensions of the files modified in the commit and the like )
def filter_commits(
    candidates: "list[Commit]",
) -> "list[Commit]":
    print("WARNING: filter_commits() not implemented yet")
    return candidates
def filter_commits ( candidates : "list[Commit]" , ) -> "list[Commit]" : print ( "WARNING: filter_commits() not implemented yet" ) return candidates
Takes in input a set of candidate (datamodel) commits (coming from the commitdb)
and returns in output a filtered list obtained by discarding the irrelevant
ones based on different criteria (timestamp of commit compared to advisory record date,
extensions of the files modified in the commit, and the like)
Takes in input a set of candidate ( datamodel ) commits ( coming from the commitdb ) and returns in output a filtered list obtained by discarding the irrelevant ones based on different criteria ( timestamp of commit compared to advisory record date extensions of the files modified in the commit and the like )
"""
    Takes in input a set of candidate (datamodel) commits (coming from the commitdb)
    and returns in output a filtered list obtained by discarding the irrelevant
    ones based on different criteria (timestamp of commit compared to advisory record date,
    extensions of the files modified in the commit, and the like)
    """
candidates
"list[Commit]"