# Graduation evidence and scoring / 毕业证据与评分

## 中文

### 先交付，再模拟

先沿[七阶段项目](https://ai.lwkjob.com/lab/capstone/README.zh.md)完成本人代码和证据，再按[岗位路径](https://ai.lwkjob.com/lab/capstone/CAREER_PATHS.md)选初级、中级或资深。90/120/150 分钟是最后一场模拟的建议时长，不是从零完成全部项目的时间。先按目标 JD 写必需职责、许可使用的 AI/搜索/参考及要验证的外部经验，再开始评分。

复制 ASSESSMENT_TEMPLATE.json 到自己的提交目录，保留未观察项为 pending。v2 表把低级别证据纳入高级别清单；旧表仍可保留，按新清单补缺，不会自动转换旧分数或把旧观察认定为新级别通过。原文件、diff、失败起点、同输入修复后报告与来源说明都先准备好。

### 6 → 12 → 18 项累计产物

中级保留初级六项并新增六项；资深保留中级十二项并新增六项。一份产物可支撑多项，但每项都要写支撑范围。低级别材料可复用，注明版本和本人贡献，升级后的代码须回归原正确对照。`reviewer_fresh_condition` 只占一项：它必须观察所选级别的职责；不能拿旧初级场次抵扣新资深场次。

| 路径 | 新增六项（括号是评分表键） |
| --- | --- |
| 初级 | 四项先备诊断和 career junior 报告（prerequisite_and_career_reports）；本人输入或只读边界代码、正反例和 diff（personal_bounded_code）；七阶段记录及一条实际模型→工具→状态轨迹（task_trace）；看修复前的故障定位、失败起点和同输入修后报告（diagnosed_fault）；逐主张对照实际上下文/原文（source_claim_review）；评审新合同、现场本人改动与原回归（reviewer_fresh_condition）。 |
| 中级 | 本人卫生用品变需求九项检查（independent_hygiene_change）；未改标签的原六任务回归（unchanged_baseline_regression）；原业务键与独立商家审计的未知效果对账（unknown_effect_reconciliation）；两类本人实训，其中一类涉及授权或未知效果（two_practice_modules）；career intermediate 调度/预算和 junior 回归（career_scheduling_budget_reports）；API、迁移/回滚、逐任务分母/失败切片、事故与发布记录（release_evaluation_incident_package）。 |
| 资深 | 本人容量/隔离/lease/版本 fencing 代码、低级别回归及旧 worker/拒绝写反例（capacity_isolation_fencing_code）；一个专长的可运行反例（specialty_counterexample）；假设、计算和有边界的实测或待执行计划（capacity_assumptions_and_measurement_plan）；两份含备选与反转条件的 ADR（two_adrs）；新旧 worker 迁移、回滚及止血/对账/恢复顺序（migration_rollback_incident_sequence）；组件负责人、接口与交接评审记录或计划，未执行标明计划（team_component_handoff_review）。 |

### 五维怎样给分

分值来自所选职责范围内可观察的行为。建议先选证据档，再在档内给分并写理由：0% 是已观察到未完成；约 40% 是有片段但靠关键提示或未接入真实调用点；约 60% 是完成基本合同并解释正反例；约 80% 是独立修复、保持回归并应对新条件；接近 100% 还须说明反例、剩余风险及反转条件。尚未观察记 null/pending，不记零分；术语或作者参考重放不获本人实现分。协助本身按开考前许可记录，关键提示如何影响独立性要写清楚。这些档位是评审建议，尚待真实试教校准。

| 维度 | 初级可观察行为 | 中级增加的行为 | 资深增加的行为 |
| --- | --- | --- | --- |
| 编码/集成 | 本人函数在实际调用点运行，类型/身份边界正反例明确，失败前后可核对。 | 新需求落进完整主链；调度/预算、持久状态和旧任务回归都有本人代码证据。 | 在并发、资源或版本变化下守住隔离、预算、lease/fencing，保留可区分错误实现的反例。 |
| 排错/可靠性 | 从实际失败追到首个错误边界，用检查区分假设，再在同输入下修复。 | 区分超时和未知写，原键对账、独立账本、恢复与两类故障练习相互一致。 | 解释旧 worker、迁移或事故窗口，给出止血/对账/恢复顺序，明确补偿和未完成效果。 |
| 评测/RAG | 解释任务分母、实际 context 和逐主张原文支持，区分工具成功与业务完成。 | 固定原分母和失败切片，增加新需求切片，保留检索/主张与业务回执的独立检查。 | 指出分布变化、越权/未知效果的硬门和评测盲区；测量口径能支持架构决定。 |
| 架构/边界 | 指出模型、工具、状态及可信身份分工，解释有界循环和审批边界。 | 比较变需求方案，说明 API/schema/恢复兼容、发布与回滚约束。 | 在明确容量假设下比较方案，写反转条件、失败窗口、迁移顺序和组件责任。 |
| 表达/证据 | 三分钟讲清具体任务、本人改动、结果与未验证部分，数字有来源。 | 让他人用提交材料重跑；个人与团队/参考贡献、事故和发布决定可追问。 | 在新约束下调整决策，解释取舍并交接接口；生产经历、真实协作和假设各有明确范围。 |

权重依次为初级 35/25/15/15/10，中级 25/25/20/20/10，资深 15/20/20/30/15。总分至少 80，各维至少本维满分的 60%，小数底线保留。全部累计产物和适用关键门也必须通过。不同职责级别的分数不换算；以上为教学建议，实际企业要求须另核对。

例如初级分数 30/20/13/13/9 合计 85，但 diagnosed_fault 仍缺失，不能完成验收，先补原失败和修复证据。资深即使 95 分，旧 worker 仍能重复写也被 fencing 关键门阻断，先修执行边界并回归。两例用于解释规则，没有真实学员分数。

### 每条证据与每个分数都可追问

在 artifactPathsAndDigests 中按表键填写记录。记录格式为 `status`、`scope`、`files`；每个 files 项含提交目录内相对 `path` 和实际 `sha256`。首次仍为 pending；评审实际核对后才改 verified，观察到违约则 failed。同一文件可复用，但只写它实际支撑的范围；文件存在和摘要匹配本身不能证明语义正确或本人实现。

scoreReasons 为五条记录，每条含 dimension、artifactKeys、observation、counterexample、unverified。把“给了多少分”与“观察到哪一行代码/哪条轨迹、什么反例、什么尚未测”连起来。评审姓名或化名、带时区的 reviewedAt、许可协助及实际使用情况也记录。learnerPersonalSourcePath 和 learnerPersonalSourceDigest 指向本人实际运行的源码；同输入前后 diff 放入对应产物。

freshCompleteInputAndContract 填 assessedLevel、requirementId、inputs、contract、positiveCase、negativeCase、unchangedRegression、observation；assessedLevel 必须与所选级别一致。合同必须给类型、范围、决定顺序、当前权限和效果规则，不让学员猜规则。observedPersonalChanges 写本人改动的真实调用点、推理及原回归结果。评审应在发题前用正确实现与合理错误实现检查题目能否区分它们；公开例题已经用于学习，不能称作未见条件。

本地工程、真实提供方接入、评审观察模拟、生产责任四种 evidenceStates 分开。targetJob.requiredEvidenceStates 列出目标岗位额外必需的真实接入或生产责任；要求缺失保持 pending。现场记录不能由作者参考替代，真实提供方来源和自然语言主张需要独立观察。实际学员试教按 [PILOT_GUIDE.md](https://ai.lwkjob.com/lab/senior-runtime/PILOT_GUIDE.md) 执行。

### 本地检查材料

源码 ZIP 内自带检查器和模板。也可保留原名下载 [assessment_review.py](https://ai.lwkjob.com/lab/capstone/assessment_review.py) 与 [ASSESSMENT_TEMPLATE.json](https://ai.lwkjob.com/lab/capstone/ASSESSMENT_TEMPLATE.json)。Python 3.9+ 标准库，不调用模型或网络，不导入、执行提交代码。

```sh
python3 assessment_review.py --assessment work/submission/ASSESSMENT_TEMPLATE.json --root work/submission --out work/assessment-consistency.json
```

空白表预期退出 1。报告列出缺项；完整且内部一致的记录退出 0，非法合同/分数/越界文件或无效 JSON 退出 2。检查器使用发布的累计合同，改表里的满分、必交清单不会绕过它。提交文件必须位于 --root 内，每文件最多 8 MiB；可将较大的原始产物拆分或提供脱敏摘要和评审范围。

退出 0 只表示申报记录、阈值与文件摘要一致。检查器不能认证评审身份、独立作者、现场表现、提供方来源、原文支撑或录用资格，报告不会自动改写评审表或把能力设为通过。真实核验仍由评审完成。

### 弱项怎样补练

| 断点 | 回读与下一次提交 |
| --- | --- |
| 编码未接入/输入宽松 | 回读 [tool-contracts](https://ai.lwkjob.com/learn/tool-contracts/?level=implementation)，改实际调用点，交合法与拒绝案例及同输入前后 diff。 |
| 排错只靠猜或改业务键 | 回读 [idempotency-recovery](https://ai.lwkjob.com/learn/idempotency-recovery/?level=debugging)，从原失败定位，用原键和独立账本对账，再回归。 |
| 指标全绿但主张没依据 | 回读 [rag-evidence](https://ai.lwkjob.com/learn/rag-evidence/?level=debugging)，固定分母，逐条核对实际 context 与原文，保留无支持主张。 |
| 架构只有名词/图 | 回读 [multi-tenant-agent-platform](https://ai.lwkjob.com/learn/multi-tenant-agent-platform/?level=design)，补容量输入、失败窗口、备选反转条件和可运行反例。 |
| 个人贡献或效果说不清 | 回读 [项目能力证据](https://ai.lwkjob.com/learn/project-experience-deep-dive/?level=implementation)，按一条任务讲清个人 diff、结果、来源、未验证范围。 |

先修最弱两项，记录原分数、失败输入、修后证据和复测时间；再由评审给另一份完整新合同观察迁移。旧材料保留，新评分追加原因。重复公开正确答案不能代替新观察。

## English

### Deliver the project before the mock

Finish personal code and evidence along the [seven-stage project](https://ai.lwkjob.com/lab/capstone/README.md), then select junior, intermediate or senior in the [career paths](https://ai.lwkjob.com/lab/capstone/CAREER_PATHS.md). The suggested 90/120/150 minutes cover the final mock, not building everything from scratch. Record target-job responsibilities, allowed AI/search/reference assistance and external experience requirements before scoring.

Copy ASSESSMENT_TEMPLATE.json into your submission directory and keep unobserved fields pending. Worksheet v2 includes earlier-level evidence in later-level checklists. Preserve old worksheets, add missing records against the new list, and never automatically convert old points or observations into a new-level pass. Prepare original files, diffs, failed starting reports, same-input repair reports and provenance first.

### Six, twelve and eighteen cumulative artifacts

Intermediate retains the six junior artifacts and adds six; senior retains the twelve intermediate artifacts and adds six. A file can support several keys with a separate scope for each. Reuse earlier evidence with its version and personal contribution, and regress original positive controls after upgrades. `reviewer_fresh_condition` is one key but must observe the selected responsibility level; an old junior session cannot substitute for a new senior session.

| Path | Six additional artifacts (worksheet keys) |
| --- | --- |
| Junior | Four prerequisite diagnostics and career junior reports (prerequisite_and_career_reports); personal input/read boundary code, opposite cases and diff (personal_bounded_code); seven-stage records and one actual model→tool→state trace (task_trace); fault diagnosis before viewing the repair, original failure and same-input repair (diagnosed_fault); claim-by-claim review against actual context/source (source_claim_review); reviewer fresh contract, observed personal change and original regression (reviewer_fresh_condition). |
| Intermediate | Personal hygiene requirement and nine checks (independent_hygiene_change); unchanged original six-task regression labels (unchanged_baseline_regression); unknown-effect reconciliation with the original business key and independent merchant audit (unknown_effect_reconciliation); two personal practice modules, one concerning authority or unknown effects (two_practice_modules); career intermediate scheduling/budget and junior regression (career_scheduling_budget_reports); API, migration/rollback, per-task denominators/failure slices, incident and release records (release_evaluation_incident_package). |
| Senior | Personal capacity/isolation/lease/version-fencing code, lower-level regression and stale-worker/rejected-write counterexamples (capacity_isolation_fencing_code); one runnable specialist counterexample (specialty_counterexample); assumptions, arithmetic and a bounded measured experiment or unexecuted plan (capacity_assumptions_and_measurement_plan); two ADRs with alternatives/reversal conditions (two_adrs); old/new-worker migration, rollback and stop/reconcile/resume sequence (migration_rollback_incident_sequence); owners, interfaces and handoff/review records or explicitly unexecuted plans (team_component_handoff_review). |

### Observable scoring anchors

Score observable behavior within the selected responsibility scope. Suggested anchors: 0% means observed noncompletion; around 40% means fragments needing pivotal hints or missing an actual call site; around 60% means the basic contract and explained positive/negative cases; around 80% means independent repair, retained regression and adaptation to a fresh condition; near 100% additionally explains counterexamples, remaining risks and reversal conditions. Unobserved is null/pending, not zero. Terminology and replaying author references earn no personal implementation credit. Record permitted assistance and how pivotal hints affected independence. These anchors still require calibration with actual learner observations.

| Dimension | Junior observation | Intermediate adds | Senior adds |
| --- | --- | --- | --- |
| Coding/integration | Personal function at the actual call site, explicit type/identity cases and comparable before/after failure. | Changed business requirement in the full chain; personal scheduling/budget, persisted state and original regression. | Isolation, budgets and lease/fencing under concurrent/resource/version changes, with discriminating wrong-implementation counterexamples. |
| Debugging/reliability | Locate the first erroneous boundary from the actual failure, distinguish hypotheses and repair under the same input. | Separate timeout from unknown writes; original-key reconciliation, independent ledger, recovery and two different fault exercises. | Explain stale-worker/migration/incident windows, stop/reconcile/resume order, compensation and unfinished effects. |
| Evaluation/RAG | Explain task denominators, actual context and source-supported claims; separate tool success from business completion. | Retain original denominators/failure slices, add changed-requirement slices and separately inspect retrieval/claims and business receipts. | Identify distribution shifts, authority/unknown-effect gates and evaluation blind spots; measurements support architectural decisions. |
| Architecture/boundaries | Model/tool/state/trusted-identity roles, bounded loops and approval boundaries. | Compare changed-requirement alternatives with API/schema/recovery compatibility, release and rollback constraints. | Compare alternatives under explicit capacity assumptions, including reversal conditions, failure windows, migration sequence and ownership. |
| Communication/evidence | Explain one concrete task, personal change, result and unverified scope in three minutes with sourced numbers. | Others can reproduce the submission and question personal/team/reference contributions, incidents and release decisions. | Adapt decisions to fresh constraints and hand off interfaces; separate production experience, actual collaboration and assumptions. |

Weights are junior 35/25/15/15/10, intermediate 25/25/20/20/10 and senior 15/20/20/30/15. Require at least 80 total, at least 60% of each dimension's maximum without rounding minima down, every cumulative artifact and applicable critical gate. Scores are not interchangeable across levels. These are teaching suggestions; check actual employer requirements separately.

A junior illustrative score of 30/20/13/13/9 totals 85, but a missing diagnosed_fault still prevents completion: add the original failure and repair evidence. A senior illustrative 95 cannot offset a stale worker's duplicate write: repair fencing and regress first. These explain rules and are not observed learner scores.

### Traceable records and scores

Each artifactPathsAndDigests entry uses status, scope and files; each file has a relative path within the submission directory and its actual sha256. Initially pending, it becomes verified only after human review, or failed after an observed violation. Reuse files only for their actual scope. Existence and matching hashes alone do not establish meaning or authorship.

scoreReasons contains five records with dimension, artifactKeys, observation, counterexample and unverified. Tie points to actual code/trace observations, counterexamples and untested areas. Record the reviewer name/alias, reviewedAt with timezone, assistance permission and actual assistance. learnerPersonalSourcePath and learnerPersonalSourceDigest identify the personally executed source; retain same-input before/after diffs in relevant artifacts.

freshCompleteInputAndContract contains assessedLevel, requirementId, inputs, contract, positiveCase, negativeCase, unchangedRegression and observation. assessedLevel must match the selected level. Specify types, ranges, decision order, current authority and effect rules. observedPersonalChanges names the changed call site, reasoning and original regression. Before issuing a requirement, the reviewer checks a correct and a plausible wrong implementation to establish discrimination. Public examples already used for learning are not unseen conditions.

Keep local engineering, real-provider integration, reviewer-observed mock and production responsibility separate in evidenceStates. targetJob.requiredEvidenceStates declares additional live integration or production responsibility requirements; missing evidence stays pending. Author references cannot replace observed learner work. Provider origin and natural-language source support need independent observation. Follow [PILOT_GUIDE.md](https://ai.lwkjob.com/lab/senior-runtime/PILOT_GUIDE.md) for actual learner sessions.

### Check the submission locally

The source ZIP includes the checker and template. Alternatively download [assessment_review.py](https://ai.lwkjob.com/lab/capstone/assessment_review.py) and [ASSESSMENT_TEMPLATE.json](https://ai.lwkjob.com/lab/capstone/ASSESSMENT_TEMPLATE.json), retaining filenames. Python 3.9+ standard library; no network, model calls or importing/executing submissions.

```sh
python3 assessment_review.py --assessment work/submission/ASSESSMENT_TEMPLATE.json --root work/submission --out work/assessment-consistency.json
```

The blank worksheet exits 1 and lists missing observations. Complete internally consistent records exit 0; invalid contracts/scores/out-of-root files or invalid JSON exit 2. The checker uses the published cumulative policy, so changing worksheet maxima/checklists does not bypass it. Files must be within --root and at most 8 MiB each; split larger raw artifacts or supply redacted summaries with explicit review scope.

Exit 0 establishes only consistency of declared records, thresholds and file hashes. The checker cannot authenticate reviewers, personal authorship, observed ability, provider origin, source support or hiring readiness. It neither rewrites the worksheet nor marks learner ability passed. Human review remains necessary.

### Remediation and retest

| Gap | Revisit and next evidence |
| --- | --- |
| Missing call site or permissive input | [tool-contracts](https://ai.lwkjob.com/en/learn/tool-contracts/?level=implementation): change the real call site, retain legal/rejected cases and same-input before/after diff. |
| Guessing or replacing a business key | [idempotency-recovery](https://ai.lwkjob.com/en/learn/idempotency-recovery/?level=debugging): diagnose the original failure, reconcile the original key against an independent ledger and regress. |
| Green metrics but unsupported claims | [rag-evidence](https://ai.lwkjob.com/en/learn/rag-evidence/?level=debugging): fix denominators, inspect actual context/source claim by claim and keep unsupported claims. |
| Architecture is only terms/a diagram | [multi-tenant-agent-platform](https://ai.lwkjob.com/en/learn/multi-tenant-agent-platform/?level=design): add capacity inputs, failure windows, alternatives/reversal conditions and a runnable counterexample. |
| Unclear personal contribution/effect | [project evidence](https://ai.lwkjob.com/en/learn/project-experience-deep-dive/?level=implementation): explain one task through personal diff, results, sources and unverified scope. |

Repair the weakest two dimensions first. Retain original points, failing inputs, repair evidence and retest time, then observe transfer under another complete fresh contract. Preserve old records and append revised score reasons. Repeating public answers does not replace a new observation.


## 工单迁移证据 / Ticket-transfer evidence

[企业工单补练](https://ai.lwkjob.com/lab/workorder-transfer/README.md)提供本人独立函数与实际HTTP/持久化检查。将原键、意图、回执、交接、当前权限的解释绑定个人diff和服务事实。它可补充所选职责的观察，不替代累计6/12/18项中的原卫生用品/容量/团队产物。公开固定检查通过不满足reviewer_fresh_condition；新条件的完整合同、现场行为、允许协助仍须另记录。

[Ticket practice](https://ai.lwkjob.com/lab/workorder-transfer/README.md) supplies independent learner functions and actual HTTP/persistence checks. Bind explanations of original key, intent, receipt, handoff and current authorization to personal diffs and authority facts. It supplements selected-level observations, without replacing required hygiene/capacity/team artifacts in the cumulative 6/12/18 list. Public fixed passes do not satisfy reviewer_fresh_condition; record the complete new contract, observed behavior and permitted assistance separately.
