> On May 11, 2017, at 8:34 AM, Alex Smith <ais...@alumni.bham.ac.uk> wrote:
> 
> On Tue, 2017-05-09 at 22:59 -0700, Aris Merchant wrote:
>> I'd prefer to try to make wages match time investment. Offices like
>> Referee don't seem to do much, whereas the ones I listed (such as
>> Secretary) seem like they have a ton of responsibilities.
> 
> Secretary is indeed very difficult.

As of the advent of Shinies, I’ve been using a tool called ledger 
<http://ledger-cli.org> to manage most of the data. It helps a ton. The raw 
entries look like this:

> 2017-04-30 * Pend proposal "Yet Another Scam"
>     Agora                                    5 Shinies
>     Player:ais523

In this transaction, the Agora account is credited 5 Shinies, and the 
Player:ais523 is debited 5 Shinies to balance the amount.

> 2017-05-01 * Payday
>     Player:ais523                           10 Shinies
>     Player:aranea                           10 Shinies
>     Player:Aris                             10 Shinies
>     Player:Charles                          10 Shinies
>     Player:G.                               10 Shinies
>     Player:Henri                            10 Shinies
>     Player:Murphy                           10 Shinies
>     Player:nichdel                          10 Shinies
>     Player:o                                10 Shinies
>     Player:omd                              10 Shinies
>     Player:Publius Scribonius Scholasticus  10 Shinies
>     Player:Roujo                            10 Shinies
>     Player:Sci_Guy12                        10 Shinies
>     Player:Sprocklem                        10 Shinies
>     Player:Tekneek                          10 Shinies
>     Player:Warrigal, the                    10 Shinies
>     Player:Yally                            10 Shinies
>     Player:Zachary Watterson                10 Shinies
>     Player:天火狐                            10 Shinies
>     Agora                                              = -149 Shinies

In this transaction, a large number of accounts are each credited 10 Shinies, 
and the Agora account is debited to balance it out. In addtion, there is an 
assertion that the Agora account’s balance is exactly -149 Shinies after this 
transaction is processed. After chewing on the full transaction log and 
querying it for data I’m interested in, the output looks like this:

> $ ledger -f office/secretary/accounts bal --limit 'commodity == "Shinies"' 
> --cleared
>          191 Shinies  Agora
>           16 Shinies  Organization
>           10 Shinies    AAaAA:Proxies:nichdel
>            6 Shinies    AVM:Bond:o
>          793 Shinies  Player
>           54 Shinies    Aris
>          140 Shinies    G.
>           50 Shinies    Henri
>           50 Shinies    Murphy
>           26 Shinies    Publius Scribonius Scholasticus
>           30 Shinies    Quazie
>           70 Shinies    Roujo
>           30 Shinies    Sprocklem
>           50 Shinies    Warrigal, the
>           64 Shinies    ais523
>           75 Shinies    nichdel
>           54 Shinies    o
>           50 Shinies    omd
>           50 Shinies    天火狐
>       -1,000 Shinies  Proposal:7838
> --------------------
>                    0

(You can see some of the bookkeeping-only accounts I maintain, there. The full 
transaction log is at 
<https://github.com/ojacobson/agora-nomic/raw/master/office/secretary/accounts> 
and is updated more or less whenever I remember to push my changes.)

ledger is responsible for the balance formatting in the weekly report. I’ve 
also been using it to track Budget, since Budget has account-like dynamics, but 
I maintain the table in the weekly report manually based on its output. (I 
think it may be possible to get ledger to directly generate that table, but 
it’s not clear how.)

Combined with some mail hygiene, this takes care of most of the work of 
maintaining the Secretary’s reports. I maintain an Inbox-agora mailbox, which 
has messages I need to Do Work on in it, and an Agora-2017 mailbox, where I 
move messages to after I’m done adding them to any relevant reports. That’s 
helped a ton for keeping the event lists in each report sane.

For the Surveyor, I’m considering a different approach, based on paperwork 
handled by land registries.

-o

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to