data/file_level_transformation.py
def _count_check_run_status(
            check_run_results: List[str]) -> Tuple[int, int]:
        """Computes the number of passed and failed check run status.

        Args:
            check_run_results: A list of check run result status.
        Returns:
            A tuple of two integers, the first integer stands for the
            number of passed check runs and the second stands for the number
            of failed check runs.
        """
        num_passed = 0
        num_failed = 0
        for check_run_result in check_run_results:
            if check_run_result == 'passed':
                num_passed += 1
            if check_run_result == 'failed':
                num_failed += 1
        return num_passed, num_failed
Computes the number of passed and failed check run status.

        Args:
            check_run_results: A list of check run result status.
        Returns:
            A tuple of two integers, the first integer stands for the
            number of passed check runs and the second stands for the number
            of failed check runs.
        
Computes the number of passed and failed check run status.
Computes the number of passed and failed check run status .
def _count_check_run_status(
            check_run_results: List[str]) -> Tuple[int, int]:
        num_passed = 0
        num_failed = 0
        for check_run_result in check_run_results:
            if check_run_result == 'passed':
                num_passed += 1
            if check_run_result == 'failed':
                num_failed += 1
        return num_passed, num_failed
def _count_check_run_status ( check_run_results : List [ str ] ) -> Tuple [ int , int ] : num_passed = 0 num_failed = 0 for check_run_result in check_run_results : if check_run_result == 'passed' : num_passed += 1 if check_run_result == 'failed' : num_failed += 1 return num_passed , num_failed
Computes the number of passed and failed check run status.
Computes the number of passed and failed check run status .
"""Computes the number of passed and failed check run status.

        Args:
            check_run_results: A list of check run result status.
        Returns:
            A tuple of two integers, the first integer stands for the
            number of passed check runs and the second stands for the number
            of failed check runs.
        """
A tuple of two integers, the first integer stands for the
number of passed check runs and the second stands for the number
of failed check runs.
A tuple of two integers the first integer stands for the number of passed check runs and the second stands for the number of failed check runs .
check_run_results
List[str]
A list of check run result status.
A list of check run result status .