memoir progress metrics
[Ultimately_Untrue_Thought.git] / notes / memoir_wordcounts.py
1 #!/usr/bin/env python3
2
3 import subprocess
4
5 shas = [
6     '347fe081c6',
7     '4681a3764a',
8     '867b6583c7',
9     'a8b07bd83a',
10     'cfdc07319c',
11     'bbb4315cfe'
12 ]
13
14 for sha in shas:
15     subprocess.run(["git", "checkout", sha])
16     subprocess.run("wc content/drafts/blanchards-dangerous-idea-and-the-plight-of-the-lucid-crossdreamer.md content/drafts/a-hill-of-validity-in-defense-of-meaning.md content/drafts/agreeing-with-stalin-in-ways-that-exhibit-generally-rationalist-principles.md".split())
17
18 # 30 Apr 347fe081c6  6746
19 # 30 May 4681a3764a 10308   +3562
20 # 30 Jun 867b6583c7 13313   +3005
21 # 31 Jul a8b07bd83a 20391   +7078
22 # 28 Aug cfdc07319c 36784  +16393
23 # 30 Sep bbb4315cfe 49533  +12749
24 # (October not quite over) +13862