<commit_before><?php use_helper('Date') ?>
<?php
$list = array();
$getCommunityComment = 'event' === $type
  ? 'getCommunityEventComment'
  : 'getCommunityTopicComment';
foreach ($pager->getResults() as $communityTopic)
{
  $list[] = sprintf("[%s]<br>%s(%s)",
    op_format_date($communityTopic->getUpdatedAt(), 'XDateTime'),
    link_to(sprintf("%s(%d)",
      op_truncate($communityTopic->getName(), 28),
      $communityTopic->$getCommunityComment()->count()
    ), $link_to_detail, $communityTopic),
    op_truncate($communityTopic->getCommunity()->getName(), 17)
  );
}
op_include_list('communityTopic', $list, array('border' => true));
?><commit_msg>#4019 fixed the link url of topics in the result of searching topics<commit_after><?php use_helper('Date') ?>
<?php
$list = array();
$getCommunityComment = 'event' === $type
  ? 'getCommunityEventComment'
  : 'getCommunityTopicComment';
foreach ($pager->getResults() as $communityTopic)
{
  $list[] = sprintf("[%s]<br>%s(%s)",
    op_format_date($communityTopic->getUpdatedAt(), 'XDateTime'),
    link_to(
      sprintf("%s(%d)",
        op_truncate($communityTopic->getName(), 28),
        $communityTopic->$getCommunityComment()->count()
      ),
      sprintf($link_to_detail, $communityTopic->getId()),
      $communityTopic
    ),
    op_truncate($communityTopic->getCommunity()->getName(), 17)
  );
}
op_include_list('communityTopic', $list, array('border' => true));
?>
{'fraction_non_alphanumeric': 0.1962290502793296, 'fraction_numerical': 0.008379888268156424, 'mean_word_length': 5.665116279069768, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 26, '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': '5631834', 'n_tokens_mistral': 477, 'n_tokens_neox': 449, 'n_words': 74}