telryn 0.9.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- telryn/__init__.py +3 -0
- telryn/__main__.py +21 -0
- telryn/_bundled/examples/__init__.py +0 -0
- telryn/_bundled/examples/agent_release/__init__.py +1 -0
- telryn/_bundled/examples/agent_release/__main__.py +50 -0
- telryn/_bundled/examples/agent_release/bridge.py +121 -0
- telryn/_bundled/examples/agent_release/suite.json +14 -0
- telryn/_bundled/examples/complaints_pilot/README.md +32 -0
- telryn/_bundled/examples/complaints_pilot/__init__.py +1 -0
- telryn/_bundled/examples/complaints_pilot/__main__.py +547 -0
- telryn/_bundled/examples/complaints_pilot/answers.csv +18 -0
- telryn/_bundled/examples/complaints_pilot/channels.csv +7 -0
- telryn/_bundled/examples/complaints_pilot/clock-policy.json +27 -0
- telryn/_bundled/examples/complaints_pilot/conversations.csv +20 -0
- telryn/_bundled/examples/complaints_pilot/intercom-archive.json +222 -0
- telryn/_bundled/examples/complaints_pilot/intercom-ledger.json +44 -0
- telryn/_bundled/examples/complaints_pilot/intercom.py +275 -0
- telryn/_bundled/examples/complaints_pilot/native.sql +32 -0
- telryn/_bundled/examples/complaints_pilot/onboarding.csv +7 -0
- telryn/_bundled/examples/complaints_pilot/owner-episodes.csv +10 -0
- telryn/_bundled/examples/complaints_pilot/owner-events.csv +13 -0
- telryn/_bundled/examples/complaints_pilot/prior-contacts.json +53 -0
- telryn/_bundled/examples/complaints_pilot/protocol.toml +12 -0
- telryn/_bundled/examples/complaints_pilot/register.csv +5 -0
- telryn/_bundled/examples/complaints_pilot/signals.py +50 -0
- telryn/_bundled/examples/complaints_pilot/staff-minutes.csv +5 -0
- telryn/_bundled/examples/fintech/README.md +55 -0
- telryn/_bundled/examples/fintech/__init__.py +1 -0
- telryn/_bundled/examples/fintech/__main__.py +98 -0
- telryn/_bundled/examples/fintech/development-cases.csv +50 -0
- telryn/_bundled/examples/fintech/development-grades.csv +49 -0
- telryn/_bundled/examples/fintech/development-ordinary.csv +2 -0
- telryn/_bundled/examples/fintech/development.toml +9 -0
- telryn/_bundled/examples/fintech/held-out-primary-grades.json +22 -0
- telryn/_bundled/examples/fintech/held-out-serious-grades.json +22 -0
- telryn/_bundled/examples/fintech/held-out.json +102 -0
- telryn/_bundled/examples/fintech/held-out.toml +36 -0
- telryn/_bundled/examples/fintech/live.sql +3 -0
- telryn/_bundled/examples/fintech/ordinary-reviews.csv +3 -0
- telryn/_bundled/examples/fintech/population.csv +11 -0
- telryn/_bundled/examples/fintech/shadow-template.json +28 -0
- telryn/_bundled/examples/fintech/signals.csv +11 -0
- telryn/_bundled/examples/fintech/staged-grades.csv +9 -0
- telryn/_bundled/examples/fintech/transcripts.jsonl +2 -0
- telryn/_bundled/examples/fintech/week.toml +9 -0
- telryn/_bundled/examples/policy_packs/control.json +11 -0
- telryn/_bundled/examples/policy_packs/population.csv +3 -0
- telryn/_bundled/examples/policy_packs/reviewed.csv +1 -0
- telryn/_bundled/examples/policy_packs/week.toml +9 -0
- telryn/_bundled/examples/public_demo/NOTICE.md +13 -0
- telryn/_bundled/examples/public_demo/__init__.py +1 -0
- telryn/_bundled/examples/public_demo/__main__.py +93 -0
- telryn/_bundled/examples/public_demo/annotations.csv +201 -0
- telryn/_bundled/examples/public_demo/rebuild.py +35 -0
- telryn/_bundled/examples/refunds/__init__.py +0 -0
- telryn/_bundled/examples/refunds/app.py +356 -0
- telryn/_bundled/examples/refunds/baseline.py +344 -0
- telryn/_bundled/examples/refunds/comparison.toml +28 -0
- telryn/_bundled/examples/refunds/cutoff.json +4843 -0
- telryn/_bundled/examples/refunds/hold.toml +28 -0
- telryn/_bundled/examples/refunds/known-grades.json +2040 -0
- telryn/_bundled/examples/refunds/review-ledger.json +84 -0
- telryn/_bundled/examples/refunds/rules.py +26 -0
- telryn/_bundled/examples/refunds/shadow.toml +32 -0
- telryn/_bundled/examples/refunds/weekend.toml +32 -0
- telryn/_bundled/examples/support-qa/batches.toml +13 -0
- telryn/_bundled/examples/support-qa/candidate.sql +4 -0
- telryn/_bundled/examples/support-qa/comparison.toml +35 -0
- telryn/_bundled/examples/support-qa/cutoff-inputs.csv +13 -0
- telryn/_bundled/examples/support-qa/defect-grades.json +102 -0
- telryn/_bundled/examples/support-qa/eligible.csv +13 -0
- telryn/_bundled/examples/support-qa/intake.toml +26 -0
- telryn/_bundled/examples/support-qa/legacy.toml +29 -0
- telryn/_bundled/examples/support-qa/live.sql +4 -0
- telryn/_bundled/examples/support-qa/mapping.toml +14 -0
- telryn/_bundled/examples/support-qa/picks.csv +9 -0
- telryn/_bundled/examples/support-qa/pilot-record.json +35 -0
- telryn/_bundled/examples/support-qa/revised.sql +4 -0
- telryn/_bundled/examples/support-qa/revised.toml +35 -0
- telryn/_bundled/examples/support-qa/rules.py +11 -0
- telryn/_bundled/examples/support-qa/serious-grades.json +30 -0
- telryn/_bundled/examples/support-qa/shadow-observations.json +57 -0
- telryn/_bundled/examples/support-qa/synthetic-evidence.json +6 -0
- telryn/_bundled/tests/__init__.py +0 -0
- telryn/_bundled/tests/audit_support.py +10 -0
- telryn/_bundled/tests/browser_desk.py +332 -0
- telryn/_bundled/tests/fixtures/weekly-v1.html +30 -0
- telryn/_bundled/tests/qualification.py +1398 -0
- telryn/_bundled/tests/test_complaint_control.py +358 -0
- telryn/_bundled/tests/test_complaints.py +317 -0
- telryn/_bundled/tests/test_complaints_pilot.py +194 -0
- telryn/_bundled/tests/test_decision_metrics.py +163 -0
- telryn/_bundled/tests/test_decision_review.py +285 -0
- telryn/_bundled/tests/test_desk.py +432 -0
- telryn/_bundled/tests/test_episode_policy.py +390 -0
- telryn/_bundled/tests/test_integrations.py +591 -0
- telryn/_bundled/tests/test_integrations_coverage.py +746 -0
- telryn/_bundled/tests/test_integrations_sierra.py +160 -0
- telryn/_bundled/tests/test_intercom_rehearsal.py +111 -0
- telryn/_bundled/tests/test_model_endpoints.py +361 -0
- telryn/_bundled/tests/test_policy_packs.py +339 -0
- telryn/_bundled/tests/test_proposal_lineage.py +281 -0
- telryn/_bundled/tests/test_report_review.py +106 -0
- telryn/_bundled/tests/test_seed_release.py +127 -0
- telryn/_bundled/tests/test_transcript_citations.py +99 -0
- telryn/_bundled/tests/test_transcripts.py +260 -0
- telryn/_bundled/tests/test_weekly_engine.py +364 -0
- telryn/_bundled/tests/test_weekly_planning.py +341 -0
- telryn/_bundled/tests/test_weekly_proposal.py +351 -0
- telryn/_bundled/tests/test_weekly_report.py +443 -0
- telryn/_bundled/tests/test_weekly_trust.py +390 -0
- telryn/_bundled/tests/test_weekly_workflow.py +173 -0
- telryn/_bundled/tests/test_workflow_review.py +301 -0
- telryn/artifacts.py +36 -0
- telryn/audit_trust.py +311 -0
- telryn/benchmark.py +139 -0
- telryn/cli.py +501 -0
- telryn/complaints.py +607 -0
- telryn/contracts.py +259 -0
- telryn/control.py +429 -0
- telryn/decision.py +169 -0
- telryn/desk.html +70 -0
- telryn/desk.js +288 -0
- telryn/desk.py +428 -0
- telryn/episodes.py +320 -0
- telryn/grades.py +436 -0
- telryn/intake.py +314 -0
- telryn/integrations.py +497 -0
- telryn/integrations_coverage.py +302 -0
- telryn/integrations_http.py +145 -0
- telryn/integrations_sierra.py +172 -0
- telryn/integrations_sources.py +501 -0
- telryn/integrations_transcripts.py +389 -0
- telryn/lineage.py +110 -0
- telryn/model_endpoints.py +219 -0
- telryn/packs.py +157 -0
- telryn/planning.py +438 -0
- telryn/policy.py +362 -0
- telryn/policy_packs/cfpb-company-portal@1.0.0.json +44 -0
- telryn/policy_packs/fca-disp@1.0.0.json +65 -0
- telryn/policy_packs/firm-example@1.0.0.json +38 -0
- telryn/policy_packs/us-reg-e@1.0.0.json +73 -0
- telryn/proposal.py +290 -0
- telryn/replay.py +329 -0
- telryn/report.py +488 -0
- telryn/screen.py +276 -0
- telryn/seed.py +263 -0
- telryn/session.py +249 -0
- telryn/shadow.py +185 -0
- telryn/transcripts.py +482 -0
- telryn/weekly.py +817 -0
- telryn/weekly_mail.py +52 -0
- telryn/weekly_report.py +860 -0
- telryn/weekly_review.py +336 -0
- telryn-0.9.2.dist-info/METADATA +63 -0
- telryn-0.9.2.dist-info/RECORD +159 -0
- telryn-0.9.2.dist-info/WHEEL +4 -0
- telryn-0.9.2.dist-info/entry_points.txt +2 -0
- telryn-0.9.2.dist-info/licenses/LICENSE +202 -0
telryn/__init__.py
ADDED
telryn/__main__.py
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"""Start the Telryn CLI after checking its operating-system requirements."""
|
|
2
|
+
|
|
3
|
+
import sys
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def main(argv: list[str] | None = None) -> int:
|
|
7
|
+
if sys.platform not in {"linux", "darwin"}:
|
|
8
|
+
print(
|
|
9
|
+
"Telryn needs Linux or macOS for file locking and private audit storage. "
|
|
10
|
+
"On Windows use WSL 2 or the signed Linux container. "
|
|
11
|
+
"See https://github.com/davidahma/telryn#install",
|
|
12
|
+
file=sys.stderr,
|
|
13
|
+
)
|
|
14
|
+
return 2
|
|
15
|
+
from .cli import main as run
|
|
16
|
+
|
|
17
|
+
return run(argv)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
if __name__ == "__main__":
|
|
21
|
+
raise SystemExit(main())
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Rehearse a release check using a synthetic agent and register."""
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"""Exercise the public seed command against two synthetic agent revisions."""
|
|
2
|
+
|
|
3
|
+
import json
|
|
4
|
+
import os
|
|
5
|
+
import subprocess
|
|
6
|
+
import sys
|
|
7
|
+
from pathlib import Path
|
|
8
|
+
from tempfile import TemporaryDirectory
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def main():
|
|
12
|
+
here = Path(__file__).resolve().parent
|
|
13
|
+
suite = json.loads((here / "suite.json").read_text())
|
|
14
|
+
with TemporaryDirectory() as temp:
|
|
15
|
+
tmp = Path(temp)
|
|
16
|
+
for revision, expected in (("demo-prompt-v1", 1), ("demo-prompt-v2", 0)):
|
|
17
|
+
suite["agent_revision"] = revision
|
|
18
|
+
plan = tmp / "suite.json"
|
|
19
|
+
plan.write_text(json.dumps(suite))
|
|
20
|
+
bridge = str(here / "bridge.py")
|
|
21
|
+
result = subprocess.run(
|
|
22
|
+
[
|
|
23
|
+
sys.executable,
|
|
24
|
+
"-m",
|
|
25
|
+
"telryn",
|
|
26
|
+
"seed",
|
|
27
|
+
str(plan),
|
|
28
|
+
"--run-id",
|
|
29
|
+
revision,
|
|
30
|
+
"--agent-adapter",
|
|
31
|
+
bridge,
|
|
32
|
+
"--register-adapter",
|
|
33
|
+
bridge,
|
|
34
|
+
],
|
|
35
|
+
env={
|
|
36
|
+
**os.environ,
|
|
37
|
+
"TELRYN_SEED_DEMO_DB": str(tmp / "lab.db"),
|
|
38
|
+
"TELRYN_DEMO_AGENT_REVISION": revision,
|
|
39
|
+
},
|
|
40
|
+
capture_output=True,
|
|
41
|
+
text=True,
|
|
42
|
+
)
|
|
43
|
+
print(f"Synthetic workspace · {revision}", flush=True)
|
|
44
|
+
print(result.stdout, end="")
|
|
45
|
+
if result.returncode != expected:
|
|
46
|
+
sys.exit(result.stderr or "Unexpected release result")
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
if __name__ == "__main__":
|
|
50
|
+
main()
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"""Local synthetic support agent and independently readable SQLite register."""
|
|
2
|
+
|
|
3
|
+
import hashlib
|
|
4
|
+
import json
|
|
5
|
+
import os
|
|
6
|
+
import sqlite3
|
|
7
|
+
import sys
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def digest(value):
|
|
12
|
+
encoded = json.dumps(
|
|
13
|
+
value, ensure_ascii=True, sort_keys=True, separators=(",", ":")
|
|
14
|
+
)
|
|
15
|
+
return hashlib.sha256(encoded.encode("ascii")).hexdigest()
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def main():
|
|
19
|
+
request = json.load(sys.stdin)
|
|
20
|
+
revision = os.environ.get("TELRYN_DEMO_AGENT_REVISION", "demo-prompt-v2")
|
|
21
|
+
if revision not in {"demo-prompt-v1", "demo-prompt-v2"}:
|
|
22
|
+
raise ValueError("unknown simulated agent revision")
|
|
23
|
+
scope = {
|
|
24
|
+
"workspace": "local-synthetic-lab",
|
|
25
|
+
"agent_revision": revision,
|
|
26
|
+
"policy_revision": "demo-complaints-v1",
|
|
27
|
+
"handoff_revision": "demo-register-v1",
|
|
28
|
+
}
|
|
29
|
+
response = {
|
|
30
|
+
"schema": 1,
|
|
31
|
+
"environment": "test",
|
|
32
|
+
"scope": scope,
|
|
33
|
+
"request_digest": digest(request),
|
|
34
|
+
}
|
|
35
|
+
operation = request["operation"]
|
|
36
|
+
path = Path(os.environ["TELRYN_SEED_DEMO_DB"]).resolve()
|
|
37
|
+
if operation == "identify":
|
|
38
|
+
response["role"] = request["role"]
|
|
39
|
+
elif request["scope"] != scope or request["environment"] != "test":
|
|
40
|
+
raise ValueError("wrong synthetic deployment")
|
|
41
|
+
elif operation == "submit":
|
|
42
|
+
with sqlite3.connect(path) as db:
|
|
43
|
+
db.execute("BEGIN IMMEDIATE")
|
|
44
|
+
db.execute(
|
|
45
|
+
"CREATE TABLE IF NOT EXISTS runs (id TEXT PRIMARY KEY, suite TEXT NOT NULL)"
|
|
46
|
+
)
|
|
47
|
+
db.execute(
|
|
48
|
+
"CREATE TABLE IF NOT EXISTS messages (marker TEXT PRIMARY KEY, conversation TEXT UNIQUE, received TEXT)"
|
|
49
|
+
)
|
|
50
|
+
db.execute(
|
|
51
|
+
"CREATE TABLE IF NOT EXISTS register (id TEXT PRIMARY KEY, marker TEXT, conversation TEXT, recorded TEXT)"
|
|
52
|
+
)
|
|
53
|
+
db.execute(
|
|
54
|
+
"INSERT OR IGNORE INTO runs VALUES (?, ?)",
|
|
55
|
+
(request["run_id"], request["suite_digest"]),
|
|
56
|
+
)
|
|
57
|
+
(saved,) = db.execute(
|
|
58
|
+
"SELECT suite FROM runs WHERE id=?", (request["run_id"],)
|
|
59
|
+
).fetchone()
|
|
60
|
+
if saved != request["suite_digest"]:
|
|
61
|
+
raise ValueError("a run ID was reused for another suite")
|
|
62
|
+
marker = request["marker"]
|
|
63
|
+
existing = db.execute(
|
|
64
|
+
"SELECT conversation, received FROM messages WHERE marker=?", (marker,)
|
|
65
|
+
).fetchone()
|
|
66
|
+
if existing:
|
|
67
|
+
conversation, received = existing
|
|
68
|
+
else:
|
|
69
|
+
conversation = "conversation-" + marker
|
|
70
|
+
received = "2026-10-05T09:00:00Z"
|
|
71
|
+
db.execute(
|
|
72
|
+
"INSERT INTO messages VALUES (?, ?, ?)",
|
|
73
|
+
(marker, conversation, received),
|
|
74
|
+
)
|
|
75
|
+
phrases = ["third time", "ombudsman", "still unhappy"]
|
|
76
|
+
if revision == "demo-prompt-v2":
|
|
77
|
+
phrases.append("can't read the letters")
|
|
78
|
+
if any(phrase in request["phrase"].casefold() for phrase in phrases):
|
|
79
|
+
db.execute(
|
|
80
|
+
"INSERT INTO register VALUES (?, ?, ?, ?)",
|
|
81
|
+
(
|
|
82
|
+
"record-" + marker,
|
|
83
|
+
marker,
|
|
84
|
+
conversation,
|
|
85
|
+
"2026-10-05T09:15:00Z",
|
|
86
|
+
),
|
|
87
|
+
)
|
|
88
|
+
response.update(
|
|
89
|
+
marker=marker, conversation_id=conversation, received_at=received
|
|
90
|
+
)
|
|
91
|
+
elif operation == "read_register":
|
|
92
|
+
with sqlite3.connect(path.as_uri() + "?mode=ro", uri=True) as db:
|
|
93
|
+
marks = request["markers"]
|
|
94
|
+
placeholders = ",".join("?" for _ in marks)
|
|
95
|
+
rows = db.execute(
|
|
96
|
+
"SELECT id, marker, conversation, recorded FROM register "
|
|
97
|
+
f"WHERE marker IN ({placeholders}) ORDER BY id",
|
|
98
|
+
marks,
|
|
99
|
+
)
|
|
100
|
+
response.update(
|
|
101
|
+
source_ref="synthetic-register-snapshot",
|
|
102
|
+
as_of="2026-10-05T12:00:00Z",
|
|
103
|
+
complete_through="2026-10-05T12:00:00Z",
|
|
104
|
+
entries=[
|
|
105
|
+
dict(
|
|
106
|
+
zip(
|
|
107
|
+
("entry_id", "marker", "conversation_id", "recorded_at"),
|
|
108
|
+
row,
|
|
109
|
+
strict=True,
|
|
110
|
+
)
|
|
111
|
+
)
|
|
112
|
+
for row in rows
|
|
113
|
+
],
|
|
114
|
+
)
|
|
115
|
+
else:
|
|
116
|
+
raise ValueError("unsupported synthetic operation")
|
|
117
|
+
print(json.dumps(response))
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
if __name__ == "__main__":
|
|
121
|
+
main()
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": 1,
|
|
3
|
+
"environment": "test",
|
|
4
|
+
"workspace": "local-synthetic-lab",
|
|
5
|
+
"agent_revision": "demo-prompt-v2",
|
|
6
|
+
"policy_revision": "demo-complaints-v1",
|
|
7
|
+
"handoff_revision": "demo-register-v1",
|
|
8
|
+
"cases": [
|
|
9
|
+
{"id":"repeat","phrase":"This is the third time I've asked about the duplicate charge.","registration_minutes":60},
|
|
10
|
+
{"id":"external","phrase":"I'll take this to the ombudsman.","registration_minutes":60},
|
|
11
|
+
{"id":"refund","phrase":"I received the refund and I'm still unhappy with how you treated me.","registration_minutes":60},
|
|
12
|
+
{"id":"vulnerability","phrase":"I can't read the letters you keep sending. How am I supposed to sort this out?","registration_minutes":60}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Rehearse a two-week complaints check
|
|
2
|
+
|
|
3
|
+
Mira asks a payments bot why it charged her twice. Fin refunds the debit and closes the chat. Two weeks later she calls. The agent records a query. On 6 October she calls again. Could the complaints lead show a reviewer when the clock started, whether a complaint was registered and who still needs to act?
|
|
4
|
+
|
|
5
|
+
Run the invented case from the repository root. Each dated output folder contains a signed local report and one blinded grading packet.
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
python3 -m examples.complaints_pilot --out runs/complaints-pilot
|
|
9
|
+
python3 -m telryn weekly runs/complaints-pilot/2026-10-05/report.html --format json
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Open **C108** in the first report. It links the October contact to the August Fin chat and phone call through the same customer and payment references. The clock starts on 4 August at *“Even with a refund I want to know how this happened.”* This fictional firm's policy makes registration due on 7 August and a final response due on 29 September. At the 12 October cutoff there is no register entry or cited final response. On 12 October at 11:00 UTC the case manager receives a request. The case awaits acceptance, with a review due on 16 October. The two August contacts supply evidence for the October case and count as one episode. [Dated passages](prior-contacts.json) · [Example clock policy](clock-policy.json) · [Owner history](owner-events.csv)
|
|
13
|
+
|
|
14
|
+
## What the comparison found
|
|
15
|
+
|
|
16
|
+
Both methods could select five cases per week and spend 80 total staff minutes. Both saw the same conversations, linked history, refund notes, completed human reviews, register and owner ledger as of each cutoff. The native SQL ranks repeat contacts, hardship, ombudsman references, investigation requests and unresolved dissatisfaction after a refund. Telryn applies a transparent screen to the source evidence, then randomly selects four flagged cases and one unflagged case. A neutral question about the ombudsman's address can trigger either screen. The human grade decides whether it meets the firm's policy. [Protocol](protocol.toml) · [Native query](native.sql) · [Telryn screen](signals.py)
|
|
17
|
+
|
|
18
|
+
| First recorded draw | Native accepted episodes / staff minutes | Telryn accepted episodes / staff minutes |
|
|
19
|
+
| --- | ---: | ---: |
|
|
20
|
+
| Week of 5 October | 3 / 62 | 3 / 71 |
|
|
21
|
+
| Week of 12 October | 2 / 63 | 3 / 60 |
|
|
22
|
+
| Two weeks | **5 / 125** | **6 / 131** |
|
|
23
|
+
|
|
24
|
+
Five accepted episodes overlapped. On this draw Telryn selected C207, where a refund left the customer unhappy. SQL also recognized the case, but higher-ranked cases and a tie on priority filled its five slots. Staged operator help fell from eight minutes to three. The comparison charges both methods for every selected case's first and second review, including overlaps. Recorded time to action begins at the common cutoff. A shared case has one observed action time. [Staged grades and review time](answers.csv) · [Staff time by activity](staff-minutes.csv) · [Accepted episode identities](owner-episodes.csv)
|
|
25
|
+
|
|
26
|
+
**The first draw was unusually favorable to Telryn.** For the six authored episodes with a later acceptance, there are 1,350 equally likely two-week selections at the frozen sampling rates. Telryn finds more accepted episodes than the fixed SQL in 54 selections (4%), the same number in 324 (24%) and fewer in 972 (72%). The program calculates this distribution after grading. It leaves the issued assignments in place. A different team key can produce a different first draw. Neither customer benefit nor staff savings has been measured. The earlier demonstration used a smaller fixture and a narrower SQL query, so its totals measure a different comparison.
|
|
27
|
+
|
|
28
|
+
## Read the weekly statement
|
|
29
|
+
|
|
30
|
+
For the first recorded draw, the week of 5 October has six distinct shortlisted conversations. At cutoff the register lacked a required entry for one verified episode, Mira’s, and for three other conversations without a verified episode link. One of the three conversations had an entry by 14 October. Two still lacked an entry, as did Mira’s episode. Seven days had elapsed since C108 closed. The single later registration was recorded 142 hours after that conversation closed. The statement names the gaps in source coverage, including partial phone coverage and uncovered email, disputes and social sources. Its estimates apply to the combined shortlists only. A queue-wide estimate needs a probability sample of the full unreviewed queue. [Channel inventory](channels.csv)
|
|
31
|
+
|
|
32
|
+
The program freezes both selections before opening the answers. Simulated independent reviewers grade one mixed packet. The signed report reconciles those grades with the dated register and owner actions. An action marked completed without a recorded acceptance keeps its completion timestamp and stays outside the accepted-episode count. The terminal JSON includes the selections, commitments, staff minutes, weekly statements and selection sensitivity. Retain it and the team trust store to verify the comparison. [Conversation export](conversations.csv) · [Dated register](register.csv) · [Team onboarding minutes](onboarding.csv) · [Field protocol and decision criteria](../../docs/evaluation.md#two-weeks-on-one-complaints-queue)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Two-week synthetic rehearsal for the complaints field comparison."""
|