chrismdp / counting-house-fix-log

Fernwick Air: recording each fix against its contact reason

Public · Version 1 of 1
Fork

workflow.yaml

awml: "0.8"
title: "Fernwick Air: recording each fix against its contact reason"
description: |
  A fix for a gap in the Counting House: the weekly contact-reasons chart reached business owners,
  but nothing recorded whether they fixed anything. Each owner logs the fix they shipped against
  its contact reason, and each week code checks whether contacts for that reason fell. Fernwick Air
  is fictional.
scopes:
  - { id: tokenised, label: "tokenised: Fernwick staff", processing: { anthropic: any } }
  - { id: ops, label: "ops: Fernwick staff", processing: none, in: tokenised }
parts:
  - { id: weekly, kind: trigger, label: "Each Monday, once the top contact reasons are out", wait: P1D }
  - { id: histogram, kind: surface, label: "The top contact reasons, each with its business owner", in: ops, ref: chrismdp/counting-house-ongoing#histogram }
  - { id: owner, kind: person, op: do, label: "Each business owner fixes the cause of their contact reason, and logs the fix", in: ops }
  - { id: fixes, kind: context, label: "The fix log: each fix, its contact reason and the date it shipped", in: ops }
  - { id: scores, kind: context, label: "Every contact's scores, by intent and contact reason", in: tokenised, ref: chrismdp/counting-house-ongoing#scores }
  - { id: compare, kind: code, op: check, label: "For each logged fix, compare its reason's contacts before and after the fix shipped", in: ops }
  - { id: results, kind: surface, label: "Fixes that worked, and fixes that did not, beside next week's chart", in: ops }
lines:
  - { from: weekly, to: owner, kind: start }
  - { from: histogram, to: owner, kind: data, label: their reason }
  - { from: owner, to: fixes, kind: data }
  - { from: weekly, to: compare, kind: start }
  - { from: fixes, to: compare, kind: data }
  - { from: scores, to: compare, kind: data, label: contacts by reason }
  - { from: compare, to: results, kind: data }