<commit_before>import * as React from 'react';
import * as classNames from 'classnames';
import {Panel} from 'react-bootstrap';
import {Alcatraz} from "../models/alcatraz";
import {STARS} from "../constants/SortFilters";

interface MainResultProps {
  alcatraz: Alcatraz[];
}

class MainResult extends React.Component<MainResultProps, any> {
  constructor(props, context) {
    super(props, context);
  }

  render() {
    const { alcatraz } = this.props;
    return (
      <div>
        {alcatraz.map( al=>
        <Panel key={al.name} header={al.name}>
          <p>{al.description}</p>
          <p>{al.stargazers_count}</p>
          <a href={al.url}>{al.name}</a>
          <img src={al.screenshot}/>
        </Panel>
          )}
      </div>
    );
  }
}

export default MainResult;
<commit_msg>show raning number<commit_after>import * as React from 'react';
import * as classNames from 'classnames';
import {Panel} from 'react-bootstrap';
import {Alcatraz} from "../models/alcatraz";
import {STARS} from "../constants/SortFilters";

interface MainResultProps {
  alcatraz: Alcatraz[];
}

class MainResult extends React.Component<MainResultProps, any> {
  constructor(props, context) {
    super(props, context);
  }

  render() {
    const { alcatraz } = this.props;
    return (
      <div>
        {alcatraz.map((al,i)=>
        <Panel key={i} header={al.name}>
          <p>{i + 1}</p>
          <p>{al.description}</p>
          <p>{al.stargazers_count}</p>
          <a href={al.url}>{al.name}</a>
          <img src={al.screenshot}/>
        </Panel>
          )}
      </div>
    );
  }
}

export default MainResult;

{'fraction_non_alphanumeric': 0.16411512553582364, 'fraction_numerical': 0.000612369871402327, 'mean_word_length': 2.688487584650113, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 31, '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': '2953738', 'n_tokens_mistral': 547, 'n_tokens_neox': 545, 'n_words': 117}