<commit_before>import { useAllPulls, useAllOpenPulls } from './pulls-context';
import { Navbar } from '../navbar';
import { Column } from '../column';
import { QACompare } from './sort';
import { LeaderList, getLeaders } from '../leader-list';
import { useMyPullNotification, useMyReviewNotification } from "./notifications"
import { Box, SimpleGrid, VStack } from "@chakra-ui/react"

export const Pulldasher: React.FC = function() {
   const allPulls = useAllPulls();
   const pulls = useAllOpenPulls();
   const pullsCIBlocked = pulls.filter(pull => pull.isCiBlocked());
   const pullsDeployBlocked = pulls.filter(pull => pull.isDeployBlocked());
   const pullsReady = pulls.filter(pull => pull.isReady() && pull.isCiRequired());
   const pullsDevBlocked = pulls.filter(pull => pull.getDevBlock() || pull.isDraft());
   const pullsNeedingCR = pulls.filter(pull => !pull.isCrDone() && !pull.getDevBlock() && !pull.isDraft()) ;
   const pullsNeedingQA = pulls.filter(pull => !pull.isQaDone() && !pull.getDevBlock() && !pull.isDraft() && pull.hasPassedCI());
   const leadersCR = getLeaders(allPulls, (pull) => pull.status.allCR);
   useMyPullNotification(pullsReady, 'merge');
   useMyReviewNotification([...pullsNeedingCR, ...pullsNeedingQA], 're-review');
   return (<>
      <Navbar mb={4}/>
      <Box maxW="var(--body-max-width)" m="auto" px="var(--body-gutter)">
         <VStack spacing="var(--body-gutter)">
            <LeaderList title="CR Leaders" leaders={leadersCR}/>
            <SimpleGrid minChildWidth='300px' spacing="var(--body-gutter)" w="100%">
               <Box>
                  <Column id="ci" title="CI Blocked" variant="ciBlocked" pulls={pullsCIBlocked}/>
               </Box><commit_msg>remove trailing whitespace<commit_after>import { useAllPulls, useAllOpenPulls } from './pulls-context';
import { Navbar } from '../navbar';
import { Column } from '../column';
import { QACompare } from './sort';
import { LeaderList, getLeaders } from '../leader-list';
import { useMyPullNotification, useMyReviewNotification } from "./notifications"
import { Box, SimpleGrid, VStack } from "@chakra-ui/react"

export const Pulldasher: React.FC = function() {
   const allPulls = useAllPulls();
   const pulls = useAllOpenPulls();
   const pullsCIBlocked = pulls.filter(pull => pull.isCiBlocked());
   const pullsDeployBlocked = pulls.filter(pull => pull.isDeployBlocked());
   const pullsReady = pulls.filter(pull => pull.isReady() && pull.isCiRequired());
   const pullsDevBlocked = pulls.filter(pull => pull.getDevBlock() || pull.isDraft());
   const pullsNeedingCR = pulls.filter(pull => !pull.isCrDone() && !pull.getDevBlock() && !pull.isDraft());
   const pullsNeedingQA = pulls.filter(pull => !pull.isQaDone() && !pull.getDevBlock() && !pull.isDraft() && pull.hasPassedCI());
   const leadersCR = getLeaders(allPulls, (pull) => pull.status.allCR);
   useMyPullNotification(pullsReady, 'merge');
   useMyReviewNotification([...pullsNeedingCR, ...pullsNeedingQA], 're-review');
   return (<>
      <Navbar mb={4}/>
      <Box maxW="var(--body-max-width)" m="auto" px="var(--body-gutter)">
         <VStack spacing="var(--body-gutter)">
            <LeaderList title="CR Leaders" leaders={leadersCR}/>
            <SimpleGrid minChildWidth='300px' spacing="var(--body-gutter)" w="100%">
               <Box>
                  <Column id="ci" title="CI Blocked" variant="ciBlocked" pulls={pullsCIBlocked}/>
               </Box>
{'fraction_non_alphanumeric': 0.1716937354988399, 'fraction_numerical': 0.004060324825986079, 'mean_word_length': 3.9841040462427744, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '907814', 'n_tokens_mistral': 1130, 'n_tokens_neox': 1085, 'n_words': 221}