<commit_before>import { Components, registerComponent } from 'meteor/vulcan:core';
import React from 'react';
import PropTypes from 'prop-types';
import withUser from '../common/withUser'
import Users from 'meteor/vulcan:users';
import withErrorBoundary from '../common/withErrorBoundary';

const PostsPageQuestionContent = ({post, currentUser, refetch}) => {
  const { AnswersList, NewAnswerCommentQuestionForm, CantCommentExplanation, RelatedQuestionsList } = Components
  return (
    <div>
      {(!currentUser || Users.isAllowedToComment(currentUser, post)) && <NewAnswerCommentQuestionForm post={post} refetch={refetch} />}
      {currentUser && !Users.isAllowedToComment(currentUser, post) &&
        <CantCommentExplanation post={post}/>
      }
      <AnswersList terms={{view: "questionAnswers", postId: post._id}} post={post}/>
      <RelatedQuestionsList post={post} />
    </div>
  )

};

PostsPageQuestionContent.propTypes = {
  post: PropTypes.object.isRequired,
};

registerComponent('PostsPageQuestionContent', PostsPageQuestionContent, withUser, withErrorBoundary);<commit_msg>Increase number of answers rendered by default<commit_after>import { Components, registerComponent } from 'meteor/vulcan:core';
import React from 'react';
import PropTypes from 'prop-types';
import withUser from '../common/withUser'
import Users from 'meteor/vulcan:users';
import withErrorBoundary from '../common/withErrorBoundary';

const MAX_ANSWERS_QUERIED = 100

const PostsPageQuestionContent = ({post, currentUser, refetch}) => {
  const { AnswersList, NewAnswerCommentQuestionForm, CantCommentExplanation, RelatedQuestionsList } = Components
  return (
    <div>
      {(!currentUser || Users.isAllowedToComment(currentUser, post)) && <NewAnswerCommentQuestionForm post={post} refetch={refetch} />}
      {currentUser && !Users.isAllowedToComment(currentUser, post) &&
        <CantCommentExplanation post={post}/>
      }
      <AnswersList terms={{view: "questionAnswers", postId: post._id, limit: MAX_ANSWERS_QUERIED}} post={post}/>
      <RelatedQuestionsList post={post} />
    </div>
  )

};

PostsPageQuestionContent.propTypes = {
  post: PropTypes.object.isRequired,
};

registerComponent('PostsPageQuestionContent', PostsPageQuestionContent, withUser, withErrorBoundary);
{'fraction_non_alphanumeric': 0.12390542907180385, 'fraction_numerical': 0.0013134851138353765, 'mean_word_length': 5.642441860465116, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 17, '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': '1565741', 'n_tokens_mistral': 686, 'n_tokens_neox': 657, 'n_words': 140}