<commit_before>import React, { Component } from 'react'
import { connect } from 'react-redux'

class Sidebar extends Component {
  constructor(props) {
    super(props)
  }

  render() {
    return (
      <aside className="sidebar col-sm-3 in-desktop">
        <figure>
          <img style={{width: '80%', height: 'auto'}} src="http://media2.popsugar-assets.com/files/2013/07/10/010/n/4981324/78a3a96bf028c9fe_thumb_temp309592141373411224.xxxlarge/i/How-Choose-Right-Face-Mask.jpg" />
        </figure>
        <div className="sidebar-user-container">
          <header className="sidebar-roster-header">
            <h3>{this.props.house.name}</h3>
            <h4>Roommates:</h4>
          </header>
          {this.props.house.users.map((user, i) => 
            <SidebarUser key={i} user={user} />
          )}
        </div>
      </aside>
    )
  }<commit_msg>update sidebar to use user image or placeholder image<commit_after>import React, { Component } from 'react'
import { connect } from 'react-redux'

class Sidebar extends Component {
  constructor(props) {
    super(props)
  }

  render() {
    return (
      <aside className="sidebar col-sm-3 in-desktop">
        <figure>
          <img style={{width: '80%', height: 'auto'}} src={this.props.house.userImage || "http://media2.popsugar-assets.com/files/2013/07/10/010/n/4981324/78a3a96bf028c9fe_thumb_temp309592141373411224.xxxlarge/i/How-Choose-Right-Face-Mask.jpg"} />
        </figure>
        <div className="sidebar-user-container">
          <header className="sidebar-roster-header">
            <h3>{this.props.house.name}</h3>
            <h4>Roommates:</h4>
          </header>
          {this.props.house.users.map((user, i) => 
            <SidebarUser key={i} user={user} />
          )}
        </div>
      </aside>
    )
  }
{'fraction_non_alphanumeric': 0.15984513274336284, 'fraction_numerical': 0.0586283185840708, 'mean_word_length': 2.4655172413793105, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2116617', 'n_tokens_mistral': 666, 'n_tokens_neox': 599, 'n_words': 95}