<commit_before>var Trybutton = React.createClass({
  render: function(){
    return (
      <div  classname="btn-try" class="btn-group" role="group">
        <a  classname="try-link" class="btn btn-default bg-purple"  href="{this.props.tryurl}" target="_blank"> TRY FIRST.</a>
      </div>
    );
  }
});
var Answerbutton = React.createClass({
  render: function(){
    return (
      <div classname="btn-ans" class="btn-group" role="group">
        <a  classname="ans-link" class="btn btn-default bg-blue"  href="{this.props.ansurl}" target="_blank"> SAMPLE ANSWER.</a>
      </div>
    );
  }
});
var Rbutton =React.createClass({
  render: function(){
    return (
      <div classname="btn-r" class="btn-group btn-group-justified" role="group" aria-label="...">
        <Trybutton tryurl={this.props.tryurl}/>
        <Answerbutton ansurl={this.pros.ansurl}/>
      </div>
    );
  }
});
var makerbutton=function(urls){
  for( i=0; i<urls.length;i++){
    var mybutton=<Rbutton tryurl={ urls[i].try} ansurl={urls[i].ans} />;
    React.render(mybutton,document.getElementById(urls[i].id));
  }
}
// var url=[{try:" ",ans:"",id:" "},...];<commit_msg>Update runnablebutton.js<commit_after>var Trybutton = React.createClass({
  render: function(){
    return (
      <div  classname="btn-try" class="btn-group" role="group">
        <a  classname="try-link" class="btn btn-default bg-purple"  href="{this.props.tryurl}" target="_blank"> TRY FIRST.</a>
      </div>
    );
  }
});
var Answerbutton = React.createClass({
  render: function(){
    return (
      <div classname="btn-ans" class="btn-group" role="group">
        <a  classname="ans-link" class="btn btn-default bg-blue"  href="{this.props.ansurl}" target="_blank"> SAMPLE ANSWER.</a>
      </div>
    );
  }
});
var Rbutton =React.createClass({
  render: function(){
    return (
      <div classname="btn-r" class="btn-group btn-group-justified" role="group" aria-label="...">
        <Trybutton tryurl={this.props.tryurl}/>
        <Answerbutton ansurl={this.pros.ansurl}/>
      </div>
    );
  }
});
var makerbutton=function(urls){
  for( i=0; i<urls.length;i++){
    var tryurl="http://runnable.com/"+urls[i].try;
    var ansurl="http://runnable.com/"+urls[i].ans;
    var mybutton=<Rbutton tryurl={tryurl } ansurl={ansurl} />;
    React.render(mybutton,document.getElementById(urls[i].id));
  }
}
// var url=[{try:" ",ans:"",id:" "},...];
{'fraction_non_alphanumeric': 0.20665280665280666, 'fraction_numerical': 0.0008316008316008316, 'mean_word_length': 3.430939226519337, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 29, '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': '3786072', 'n_tokens_mistral': 852, 'n_tokens_neox': 850, 'n_words': 146}