Skip to content

Instantly share code, notes, and snippets.

@esz135888
esz135888 / acceptance-tests.md
Last active May 23, 2026 21:43
Kolable data gap escalation pack - job f76485ea

E2E Acceptance Tests

A. Data Request Creation

  1. Given Kolable order/payment export is missing,
  2. When this job completes,
  3. Then PLS should have enough artifact evidence to create kolable_data_requests with Wade owner and 24h due.

Expected evidence: people_sync has data_owner=Wade, due date, and required schema.

B. No Repeated Strategy Pack

@esz135888
esz135888 / acceptance-tests.md
Created May 23, 2026 21:33
Kolable order payment reconciliation production pack - job 28b0cf53

E2E Acceptance Tests

A. Import Schema

  1. Given Wade uploads CSV/XLSX with the required 10 fields,
  2. When PLS runs reconciliation import,
  3. Then every row is accepted or rejected with row-level reason.

Expected evidence: import result includes row_count, accepted rows, rejected rows, and schema error list.

B. Payment Classification

@esz135888
esz135888 / acceptance-tests.md
Created May 23, 2026 21:23
PLS Capability Repair Dispatch Breaker - job 3bc391bc

E2E Acceptance Tests

A. Dispatch Breaker

  1. Given the same ai_native_project_id has 2+ completed durable artifacts and no target_repo_url,
  2. When a new production-delivery job is requested,
  3. Then PLS must create a dispatch_repair_record and block generic project_runner completion as the next lane.

Expected evidence: next job payload contains missing_capability=target_repo_url and next_worker_kind=repo_change/github_pr.

B. Repo Route

@esz135888
esz135888 / acceptance-tests.md
Last active May 23, 2026 21:13
PLS job 3fa9fb41 AI prediction capability repair dispatch

Acceptance Tests

Test 1: Stop Static Loop

Given the project already has D7-D30, dashboard spec, and repo handoff, when PLS creates the next job, then it must not be another generic project_runner production pack.

Pass:

  • next job worker kind is repo_change or github_pr.
  • job metadata includes implementation spec ref.
@esz135888
esz135888 / acceptance-tests.md
Created May 23, 2026 21:03
PLS job 0ce49729 AI prediction repo change handoff

Acceptance Tests

Test 1: Repo Availability Gate

Given this workspace has no .git, when the job completes, then it must not claim a PR exists.

Pass:

  • artifact states repo is missing.
  • next worker action is repo_change/github_pr after backend repo attachment.
@esz135888
esz135888 / acceptance-tests.md
Created May 23, 2026 20:53
PLS job 27bf4f7c AI prediction weekly scorecard dashboard implementation

Acceptance Tests

Test 1: Dashboard Card Render

Given a scorecard payload, when PLS loads /ai-prediction/scorecards/:id/card, then the card must render gate header, metric strip, repair backlog, evidence drawer, and next worker action.

Pass:

  • three states render: ship_weekly_scorecard, repair_first, blocked.
  • no text overflows in compact card mode.
@esz135888
esz135888 / acceptance-tests.md
Created May 23, 2026 20:43
PLS job 614b8f50 AI prediction D30 weekly scorecard adoption gate

Acceptance Tests

Test 1: Scorecard Input Completeness

Given D7 calibration and D14 correction artifacts, when D30 weekly scorecard is generated, then it must include run id, correction batch id, evidence snapshot, and decision record reference.

Pass:

  • calibration_run_id exists.
  • correction_batch_id exists.
@esz135888
esz135888 / acceptance-tests.md
Created May 23, 2026 20:33
PLS job 28e3e2ec AI prediction D14 correction router scorecard

Acceptance Tests

Test 1: D7 Run Ingest

Given a completed D7 calibration run, when D14 router starts, then it must ingest all miss, partial, unknown, and reviewer-disputed items.

Pass:

  • source_calibration_run_id exists.
  • non-hit/dispute count > 0 or explicit no-op record exists.
@esz135888
esz135888 / acceptance-tests.md
Created May 23, 2026 20:24
PLS job 7a70ab5d AI prediction D7 calibration run control tower

Acceptance Tests

Test 1: D1 Readiness Gate

Given an accepted reviewer inbox and 50-case seed queue, when the worker starts a D7 calibration run, then the run must be created with exactly 50 unique calibration_run_item rows and source freshness metadata.

Pass evidence:

  • calibration_run.status=ready
  • total_items=50
@esz135888
esz135888 / acceptance-tests.md
Created May 23, 2026 20:13
PLS job 3041def2 pilot visit evidence board

Acceptance Tests

Artifact kind: e2e_verification.

Pilot Evidence 驗收

測試 方法 Pass
3 場 pilot 查 batch evidence exactly 3 visits or explicit blocker
Pain moments 每場檢查 >= 3 pain_moments with client words