<commit_before># React-News

[![React-News](http://henleyedition.com/content/images/2015/02/Screen-Shot-2015-02-22-at-10-59-05-PM.png)](http://henleyedition.com/react-news/)

## About

This is a real-time Hacker News clone written using [React](http://facebook.github.io/react/), [RefluxJS](https://github.com/spoike/refluxjs), and a [Firebase](http://firebase.com) backend.

## Demo

Demo available [here](http://henleyedition.com/react-news/).

Test User Login:  
email: <EMAIL>  
password: <PASSWORD>

## Development

`npm i && gulp` and have at the `src/`.

## Firebase Structure

`$` are Firebase-generated unique IDs.

```
├── comments
│   └── $commentId
│       ├── creator
│       ├── creatorUID
│       ├── postId
│       ├── postTitle
│       ├── text
│       ├── time
│       └── upvotes
├── posts
│   └── $postId
│       ├── commentCount
│       ├── creator
│       ├── creatorUID
│       ├── time
│       ├── title
│       ├── upvotes
│       └── url
└── users
    └── $userId
        ├── md5hash
        ├── upvoted
        │   └── $itemId
        └── username
```
<commit_msg>clarify dup data in firebase tree<commit_after># React-News

[![React-News](http://henleyedition.com/content/images/2015/02/Screen-Shot-2015-02-22-at-10-59-05-PM.png)](http://henleyedition.com/react-news/)

## About

This is a real-time Hacker News clone written using [React](http://facebook.github.io/react/), [RefluxJS](https://github.com/spoike/refluxjs), and a [Firebase](http://firebase.com) backend.

## Demo

Demo available [here](http://henleyedition.com/react-news/).

Test User Login:  
email: <EMAIL>  
password: <PASSWORD>

## Development

`npm i && gulp` and have at the `src/`.

## Firebase Structure

`$` are Firebase-generated unique IDs.

```
├── comments
│   └── $commentId
│       ├── creator (username)
│       ├── creatorUID ($userId)
│       ├── postId ($postId)
│       ├── postTitle
│       ├── text
│       ├── time
│       └── upvotes
├── posts
│   └── $postId
│       ├── commentCount
│       ├── creator (username)
│       ├── creatorUID ($userId)
│       ├── time
│       ├── title
│       ├── upvotes
│       └── url
└── users
    └── $userId
        ├── md5hash
        ├── upvoted
        │   └── $itemId ($postId or $commentId)
        └── username
```

{'fraction_non_alphanumeric': 0.19446883230904302, 'fraction_numerical': 0.018437225636523266, 'mean_word_length': 2.572100313479624, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '6009325', 'n_tokens_mistral': 851, 'n_tokens_neox': 898, 'n_words': 233}