# Common Comments

### Description

This is used to help people to understand a topic in a more fair way.

But I think you'll never see it get used in China because of the censorship.

### Posts

| ID | Author | Created Date | Contents |
| -- | ------ | ------------ | -------- |
|    |        |              |          |

### Comments

| Belong\_ID | ID | Author | Created Date | Contents | Like | Dislike |
| ---------- | -- | ------ | ------------ | -------- | ---- | ------- |
|            |    |        |              |          |      |         |

### Logic

#### How to show comments

```python
if (Like-Dislike) > 0.1*(Like+Dislike):
    #Like > Dislike
    We put the comment to the left screen
elif (Dislike-Like) > 0.1*(Like+Dislike):
    #Dislike > Like
    We put the comment to the right screen
else:
    #Dislike == Like
    We put the comment to the center of screen
    
# for any new comments, we use AI to classify it
```

#### How to train AI

```python
Input: comment content
Output: Like number, Dislike number

# This could be done with tensorflow.js
```

#### How we delete posts

```python
Every week, we do a deletion.

First, we sort our posts with `Like + Dislike`,

Then, we delete the late 10% posts.
```
