-
Notifications
You must be signed in to change notification settings - Fork 0
/
PIPELINE.txt
82 lines (55 loc) · 2.41 KB
/
PIPELINE.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
sc/sk/sg/su/sf -- generate a replier graph, such as
ureps -- uniformly random
ereps -- preferential attachment by mentioners (indegree)
creps -- preferential by nominal capital from the original soc_run results in dcaps
rreps
lreps
=> dreps, caps
doaranks -- rank users for each day by their capital
caps => aranks
for i in caps-*; do ../../../doaranks.opt $i; done
save_rbucks -- bucketize ranked users into power of 10 buckets
aranks => rbucks
for i in aranks-*; do ../../../save_rbucks.opt $i; done
save_days -- denums, number of edges, both replies and mentions, for each user daily
dreps => denums
for i in dreps-*; do ../../../save_days.opt $i; done
mv denums-* ../denums
dorates -- compute staying power within the same simulation, across days
rbucks => srates
for i in rbucks-*; do ../../../dorates.opt $i; done
overlaps with dreps
for i in `cat ../../list/freps-bases.list`; do ../../../doversets.opt ../../rbucks/rbucks-aranks-caps-dreps.mlb rbucks-aranks-caps-$i.mlb dreps-$i; done
overlaps within class and between classes
for i j in `cat ../../freps-overlaps1.list`; do ../../../doversets.opt rbucks-aranks-caps-$i.mlb rbucks-aranks-caps-$j.mlb $i-$j; done
dovols -- compute which part of all replies or mentions comes from each bucket
denums, rbucks => vols4
-- run in rbucks/
-- uses ../denums/
-- name from rbucks
for i in `cat ../../list/freps.list`; do ../../../dovols2.opt ../denums/denums-dreps-$i.mlb rbucks-aranks-caps-$i.mlb; done
b2br
-- in rbucks/
-- name from rbucks
for i in `cat ../../list/freps.list`; do ../../../dob2bs.opt ../dreps/dreps-$i.mlb rbucks-aranks-caps-$i.mlb; done
b2bm -- invert to get dments we didn't save earlier, then as above with -k m
starbucks:
dreps, caps => stars
rbucks, stars => sbucks
stars:
-- run in dreps/
-- uses ../caps/
-- name from dreps
for i in `cat ../../list/freps.list`; do ../../../dosranks.opt dreps-$i.mlb ../caps/caps-$i.mlb; done
sbucks:
-- run in stars/
-- uses ../rbucks/
-- name from stars
for i in `cat ../../list/freps.list`; do ../../../dostarbucks.opt ../rbucks/rbucks-aranks-caps-$i.mlb stars-dreps-$i.mlb; done
--
TABLES
srates
cat srates-rbucks-aranks-caps-but4.list | xargs -n5 ../../../tex4rates.opt -t -i freps/srates/tex
vols4
for i in vols4-rbucks-aranks-caps-fg*; do ../../../texvols.opt -t -i freps/vols4/tex $i; done
for i in vols4-rbucks-aranks-caps-fg*; do ../../../texvols.opt -tn -i freps/vols4/tex $i; done