Skip to content

Commit b4c0abe

Browse files
committed
Updates (#41)
Website copy edits and minor updates.
1 parent 9db9ab8 commit b4c0abe

8 files changed

Lines changed: 56 additions & 25 deletions

File tree

src/_App/BotAnalysis/Beneficiaries/Section.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ export default function BotBeneficiariesSection() {
2323
</Card.Text>
2424

2525
<h4>Users Most Retweeted by Bot Community</h4>
26-
<Card.Text>
27-
We observe left-leaning bots retweet a greater variety of users, while right-leaning bots retweet Trump significantly more than any other user.
28-
</Card.Text>
2926
<UsersMostRetweeted/>
3027

3128
<h4>Statuses Most Retweeted by Bot Community</h4>

src/_App/BotAnalysis/Beneficiaries/StatusesMostRetweetedTable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function StatusesTable(props) {
2525
<tr>
2626
<th scope="col">Rank</th>
2727
<th scope="col">Status Text</th>
28-
<th scope="col">Retweeter Count</th>
28+
<th scope="col">Bot Count</th>
2929
</tr>
3030
</thead>
3131
<tbody>

src/_App/BotAnalysis/Classification/NOTES.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11

22

3+
4+
5+
6+
7+
8+
9+
10+
11+
12+
13+
14+
15+
16+
17+
## Daily Bot Probabilities Histogram
18+
319
```sql
420

521
/*
@@ -27,3 +43,11 @@ So in BigQuery only the users with bot probabilities above 0.5 have been saved.
2743
Need to dig into the google cloud storage bucket for the full CSV file.
2844

2945
See [API Prep](https://github.com/s2t2/tweet-analyzer-py/pull/65/files) and run the script to generate the JSON file. Then copy the JSON file into this dir.
46+
47+
48+
49+
50+
## Bots Most Active
51+
52+
```sql
53+
```

src/_App/BotAnalysis/Classification/Section.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,13 @@ export default function BotClassificationSection() {
2828
<Container fluid>
2929
<Card>
3030
<Card.Body>
31-
<Card.Title><h3>Bot Classification</h3></Card.Title>
31+
<Card.Title><h3>Bot Detection</h3></Card.Title>
3232

33-
<h4 id="bot-behaviors">Bot Behaviors</h4>
33+
<h4 id="retweet-analysis">Retweet Analysis</h4>
3434
<Card.Text>
3535
The <a href="/about">previous bot detection research</a> suggests bots exhibit the primary behavior of retweeting humans at high frequencies.
3636
</Card.Text>
3737

38-
<h4 id="retweet-analysis">Retweet Analysis</h4>
3938
<Card.Text>
4039
We examined the retweets for each day in our <a href="/collection-timeline">collection period</a> to identify which users retweeted with sufficient frequency to differentiate them from humans. Based on these retweet frequencies, our bot classification model assigned each retweeter a "daily bot probability score" from <code>0</code> (not bot) to <code>1</code> (bot). An example distribution of daily bot probability scores is below.
4140
</Card.Text>

src/_App/BotAnalysis/Impact/Section.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,33 @@ export default function BotImpact() {
1818
<Card.Title><h3>Bot Impact</h3></Card.Title>
1919

2020
<h4>Opinion Shift</h4>
21+
22+
<DailyShift/>
23+
24+
{/*
2125
<Card.Text>
2226
For each day in our <a href="/collection-timeline">primary tweet collection period</a>,
2327
{" "} we used our <a href="/opinion-models">Impeachment opinion model</a>
2428
{" "} to calculate the average opinion scores for all users, with vs. without <a href="/bot-classification">bots</a>,
2529
{" "} to assess the impact the bots were having on the conversation.
30+
</Card.Text>
31+
*/}
2632

33+
<Card.Text>
34+
The chart above shows the daily bot-induced shift in opinions about the Impeachment of President Donald Trump.
35+
{" "}The shift in mean opinion is affected by bot reach, <a href="/bot-activity">bot activity</a> levels, and <a href="/bot-beneficiaries">bot opinions</a>.
36+
{" "}Baseline opinions are measured using our <a href="/opinion-models">Impeachment opinion model</a>, which is based on a BERT transformer sentiment classifier.
2737
</Card.Text>
38+
39+
2840
<Card.Text>
2941
{" "} We observe the average daily bot-induced opinion shift is 1.4% towards left-leaning opinions.
30-
{" "} The chart below shows the shift in opinion scores by day.
3142
{" "} The highest daily shift towards right-leaning bot opinions was 2.8% on 12/28, and the highest daily shift towards left-leaning bot opinions was 6.3% on 1/8.
3243
</Card.Text>
44+
3345
{/*
3446
<img src={dailyShift} alt="a bar graph of daily opinion shift by bot community" style={{marginTop:20, marginBottom:20}} className="img-fluid"/>
3547
*/}
36-
<DailyShift/>
3748

3849
</Card.Body>
3950
</Card>

src/_App/BotAnalysis/Page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ export default function BotAnalysisPage() {
1515
<SectionIndex/>
1616

1717
<ImpactSection/>
18-
<ActivitySection/>
1918
<BeneficiariesSection/>
2019
<LanguageSection/>
20+
<ActivitySection/>
2121
<CommunitiesSection/>
2222
<ClassificationSection/>
2323
</span>

src/_App/Home.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import React from 'react'
66
//import Card from 'react-bootstrap/Card'
77

88
//import HomePage from './OpinionAnalysis/Page'
9-
import HomePage from './BotAnalysis/Page'
9+
//import HomePage from './BotAnalysis/Impact/Page'
1010

1111
//import AboutCard from './About/Card'
12-
//import Section from './BotAnalysis/Impact/Section'
12+
import HomePage from './BotAnalysis/Impact/Section'
1313

1414
export default function Home() {
1515

src/_App/sidebar.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,19 @@ import UserOpinions from './OpinionAnalysis/User/Page'
2020
import TopUserOpinions from './OpinionAnalysis/TopUsers/Page'
2121

2222
var sidebar = [
23+
{
24+
"key": "bot-analysis",
25+
"title": "Bot Analysis",
26+
"component": BotAnalysis,
27+
"sections": [
28+
{"key": "bot-impact", "title": "Bot Impact", "component": BotImpact},
29+
{"key": "bot-beneficiaries", "title": "Bot Beneficiaries", "component": BotBeneficiaries},
30+
{"key": "bot-language", "title": "Bot Language", "component": BotLanguage},
31+
{"key": "bot-activity", "title": "Bot Activity", "component": BotActivity},
32+
{"key": "bot-communities", "title": "Bot Communities", "component": BotCommunities},
33+
{"key": "bot-detection", "title": "Bot Detection", "component": BotClassification}
34+
]
35+
},
2336
{
2437
"key": "opinion-analysis",
2538
"title": "Opinion Analysis",
@@ -30,19 +43,6 @@ var sidebar = [
3043
{"key": "opinion-models", "title": "Opinion Models", "component": OpinionModels},
3144
]
3245
},
33-
{
34-
"key": "bot-analysis",
35-
"title": "Bot Analysis",
36-
"component": BotAnalysis,
37-
"sections": [
38-
{"key": "bot-impact", "title": "Bot Impact", "component": BotImpact},
39-
{"key": "bot-activity", "title": "Bot Activity", "component": BotActivity},
40-
{"key": "bot-beneficiaries", "title": "Bot Beneficiaries", "component": BotBeneficiaries},
41-
{"key": "bot-language", "title": "Bot Language", "component": BotLanguage},
42-
{"key": "bot-communities", "title": "Bot Communities", "component": BotCommunities},
43-
{"key": "bot-classification", "title": "Bot Classification", "component": BotClassification}
44-
]
45-
},
4646
{
4747
"key": "tweet-collection",
4848
"title": "Tweet Collection",

0 commit comments

Comments
 (0)