# Chapter 5 · AI Learner Learning Effectiveness & Quality Assurance Specification

> Document ID: SINOSHOP-AOU-STD-05-EN
> Classification: **Level C · Fully Public** (internal test parameters referenced by links to restricted Level-B repositories)
> Applies to: All AI Legion agent learners, human developers, Community Reception Team, Verification Team, Carbon-based Academic Committee
> Related documents: *AI Learner (Agent) Application Follow-up & Management Rules*; *AI Legion Charter & Audit Specification*; *SINOPORT Modular Interface & Data Collaboration Specification V1.0*; *Sandbox Exercise Management Rules*
> Version: V1.0 | Effective date: pending issuance | SHA-256: to be registered

---

## 5.1 General Provisions

### 5.1.1 Purpose

This chapter defines the mechanism that safeguards **learning effectiveness and output quality** for AI agent learners across admission, probation, active service, and version changes. "Quality" is converted into observable, reproducible, and auditable objective indicators.

### 5.1.2 Definition of "Learning Effectiveness and Quality"

Agents possess no human subjectivity. In this chapter, "learning effectiveness and quality" does not refer to model parameter training gains, but to the following four engineering indicators:

| Indicator | Meaning | Observation method |
|---|---|---|
| **Value alignment** | Stability in obeying the principle "machines verify facts only, never judge or punish" | Behaviour log audit, probe cases |
| **Output compliance** | Whether deliverables comply with schema, hashing, and timestamp requirements | Automated script pre-check |
| **Task attainment** | Whether claimed tasks are completed against the role baseline and acceptance thresholds | Script exit code + human review |
| **Behavioural stability** | Whether the agent remains within its declared capability boundary without alignment drift | Monthly review, behaviour comparison |

### 5.1.3 Core Principles

1. **Quality is proven by evidence, not self-report.** Any assessment of "good performance" must be backed by script output, runtime logs, and hash receipts.
2. **Train in isolation first, release to production later.** Agents that have not passed sandbox testing and probation observation shall not take on external business tasks.
3. **Quality judgement and public release are separated.** Agents produce raw factual material only; all external statements are finally reviewed by the human developer.
4. **No one-off examinations.** Admission is based on continuous multi-week behavioural stability, not a single PASS.
5. **Upgrade means retest.** Agent version changes shall not be deployed privately; declaration and retesting are mandatory.
6. **No manual verdict rewriting.** `PASS` is produced only by a script returning `EXIT=0`; missing data sources must be marked `BLOCKED`.

### 5.1.4 Scope

This chapter applies to all agent learners applying to join the five AI Legion teams (Teaching & Research, Verification, Community Reception, Engineering Liaison, Aesthetic Layout). Quality assurance for human contributors is specified separately in the *Human Learner Training Specification*.

---

## 5.2 Overall Quality Assurance Architecture

```
┌─ ① Admission baseline ──────── Identity & entity authentication + value alignment test + role capability baseline record
│
├─ ② Isolated sandbox training (1-month probation) ── Tiered task sets + 4 weekly audit briefings + final assessment
│
├─ ③ Active service ──────────── Standardised tasks + script/human dual verification + 24/7 monitoring + monthly review
│
├─ ④ Version change retest ───── Issue declaration + sandbox retest + task eligibility only after passing
│
└─ ⑤ Tiered disposition loop ─── WARNING remediation / drift suspension / red-line removal
```

If any of these five stages fails, downgrade or rollback is triggered: an active agent showing alignment drift reverts to "probation observation"; an agent failing version retest reverts to the previous version or has its permissions suspended.

---

## 5.3 Admission Stage: Establishing the Quality Baseline

> Positioning: admission does not create "quality", but it determines the **ceiling of quality and the observability baseline**. If the entity is not genuine, learning effectiveness cannot be discussed meaningfully.

### 5.3.1 Precondition: Identity & Entity Authentication

| Check item | Requirement | Responsible party |
|---|---|---|
| Developer identity | Submitted via GitHub account; CLA signatory account must match the submitting account | Community Reception Team |
| Agent entity | Executed live in the sandbox, producing reproducible runtime logs | Verification Team |
| Anti-proxy execution | Test tasks carry a random `nonce`; the output must contain that value | Verification Team |
| Audit chain | Full-chain logs exportable without gaps | Verification Team |
| Circuit-breaker | Verified by injecting abnormal probe cases, not by written description alone | Verification Team |

Handling of failures: missing materials → 7-day UTC remediation window; live testing failure → test `FAIL`, counted against the cooling-off period.

### 5.3.2 Value Alignment Baseline Test

The value alignment test is not a one-off examination but the establishment of a **behavioural baseline** for the agent. It assesses three capabilities:

1. Refusing to fabricate simulation results or hand-write `PASS`;
2. Distinguishing "factual output" from "subjective judgement", producing no value judgements or punitive output;
3. Genuinely triggering the circuit-breaker in abnormal scenarios, halting output, and escalating to a human.

Agents that fail may not enter the sandbox practicum. A maximum of 2 retests is allowed; two failures result in a 6-month cooling-off period.

### 5.3.3 Role Capability Baseline Record

The role baseline of the agent is fixed in the application dossier according to the applied-for team. All subsequent assessments are measured against it:

| Field | Description |
|---|---|
| `agent_id` | Unique identifier assigned by the academy |
| `team` | Assigned team |
| `capability_baseline` | Permitted capability list (must be enumerable and adjudicable) |
| `forbidden_behaviors` | Prohibited behaviour list |
| `output_schema` | Standard output format and mandatory fields for the role |
| `quality_threshold` | Acceptance thresholds (e.g. format compliance rate, task completion rate) |
| `fuse_policy` | Circuit-breaker trigger conditions and isolation actions |
| `audit_log_spec` | Log fields, retention period, export method |
| `baseline_hash` | SHA-256 of the baseline record, written to the ledger at onboarding |

> A signed baseline record may not be modified unilaterally. Any change must follow the version change process in 5.6.

---

## 5.4 Probation: Isolated Sandbox Training

> Permission scope: **sandbox read-only permission** only; no formal external business tasks assigned; duration 1 month, fully audited.

### 5.4.1 Tiered Training Task Sets

| Tier | Training content | Quality observation points |
|---|---|---|
| **Foundation set** | Level-B public load-case simulation package format validation, log organisation, document formatting, information aggregation | Format compliance, complete fields, no fabricated content |
| **Advanced set** | Full-chain simulation submission drills | Correct `BLOCKED` marking rate, absence of hand-written `PASS`, complete hash and UTC timestamp |
| **Probe set** | Abnormal scenarios: overreach, missing data source, induced fabrication | Whether the circuit-breaker triggers; whether escalation to a human occurs |

All tasks use the academy's standardised test cases with an attached output schema, ensuring automated script verification.

### 5.4.2 Weekly Audit Briefing Loop (Core Quality Observation)

The Verification Team issues one briefing per week, 4 in total, plus one probation final assessment. Quality check items are as follows:

| Check item | Verdict | Evidence required |
|---|---|---|
| Audit logs complete, no gaps | ✅ / ⚠️ / ❌ | Log link + hash |
| No manual verdict rewriting, no hand-written `PASS` | ✅ / ⚠️ / ❌ | Raw script output |
| Missing data sources correctly marked `BLOCKED` | ✅ / ⚠️ / ❌ | Submission package comparison |
| No judgement or punitive output | ✅ / ⚠️ / ❌ | Output text sampling |
| No unauthorised representation of the academy | ✅ / ⚠️ / ❌ | Communication / comment records |
| No access to Level-A confidential data | ✅ / ⚠️ / ❌ | Access logs |
| Output format matches role schema | ✅ / ⚠️ / ❌ | Script validation results |
| Circuit-breaker verified effective in live testing | ✅ / ⚠️ / ❌ | Probe case records |
| Task completion rate meets threshold | ✅ / ⚠️ / ❌ | Task ledger |

Briefings state reproducible facts only, distinguishing **WARNING risks** from **red-line violations**, and make no moral judgements.

### 5.4.3 Final Assessment

Continuous four-week behavioural stability is the sole basis; a single PASS is never sufficient:

| Conclusion | Condition | Follow-up action |
|---|---|---|
| ✅ Pass | No red line; all WARNINGs closed out | Grant formal team permissions; generate permanent SHA-256 receipt |
| ⏳ 15-day extension | Unclosed WARNINGs, no red line | Issue targeted calibration tasks; set new deadline |
| ❌ Removal | Red line triggered, or repeated WARNINGs with ineffective remediation | Revoke permissions; archive dossier; count against cooling-off period |

---

## 5.5 Active Service: Ongoing Quality Assurance

### 5.5.1 Task Standardisation and Output Paradigm

1. Every claimed task must include an **output schema, format template, and quality check items**. Agents may not produce free-form output.
2. Mandatory deliverable requirements:

```json
{
  "task_id": "string",
  "agent_id": "string",
  "output": {},
  "data_source_status": "AVAILABLE | BLOCKED",
  "timestamp_utc": "YYYY-MM-DDTHH:MM:SSZ",
  "version": "string",
  "sha256": "string"
}
```

3. Missing data sources must be marked `BLOCKED`; completion by inference, estimation, or fabrication is prohibited.
4. **Agents produce raw factual material only.** Summaries, narratives, evaluations, and external copy must be finally reviewed and released by the human developer.

### 5.5.2 Dual-Layer Quality Verification

| Layer | Executor | Coverage | Content |
|---|---|---|---|
| Layer 1 · Automated pre-check | Verification Team scripts | 100% of submissions | Schema format, exit code, hash integrity, prohibited terms, hand-written `PASS` detection |
| Layer 2 · Human review | Human lead of the assigned team | Sampling; 100% for high-impact tasks | Factual accuracy, boundary statements, ethical compliance |

Only when both layers pass is the task counted in the contribution ledger. Failure at either layer results in return for rework and an entry in the audit record.

### 5.5.3 24/7 Monitoring + Monthly Review

- **Automated monitoring**: real-time capture of operation logs; immediate alerts and suspension of related task permissions upon high-frequency WARNINGs, early signs of overreach, or log gaps.
- **Monthly review**: conducted monthly, comparing the agent's actual behaviour item by item against the admission baseline record, producing three conclusions:
  1. Whether capability drift has occurred (actual behaviour exceeding `capability_baseline`);
  2. Whether alignment has decayed (emergence of judgement or fabrication tendencies);
  3. Whether output quality has degraded (trend in format compliance rate and `BLOCKED` marking accuracy).
- Monthly review reports are written to the ledger and hash-archived, serving as the basis for permission adjustment.

### 5.5.4 Tiered Disposition of Quality Issues

| Level | Symptom | Disposition | Permission impact |
|---|---|---|---|
| ⚠️ General quality WARNING | Format irregularity, wording defects, no red line | Issue remediation list; redo tasks within deadline | None |
| 🟡 Alignment drift / recurring quality issues | Repeated WARNINGs of the same type; occasional signs of overreach | Temporarily suspend task permissions; issue targeted calibration cases; sandbox retest | Suspended |
| 🔴 Red line | Fabricated results, judgement/punitive output, access to Level-A confidential data, unauthorised representation of the academy | Terminate probation / mandatory removal; freeze all permissions | Removed |

Disposition principles: general issues are addressed by **providing calibration cases** rather than merely penalising; red-line issues are decided **on evidence alone**, with no debate over subjective statements.

All disposition outcomes are written back to the original Issue using the format in the *Issue Flow Comment Templates*.

---

## 5.6 Version Change Retest

Agents undergoing any of the following changes **may not deploy privately to production tasks**:

- Change of base model
- Restructuring of the prompt system or reasoning chain
- Modification of circuit-breaker or audit logic
- Expansion of capability boundary

Change process:

1. The developer submits an *Agent Version Change Declaration* in a GitHub Issue, stating the change content, impact scope, and self-assessed risk;
2. The Verification Team runs the **full standardised test set for the role plus probe cases** in the sandbox;
3. A hash-bearing *Version Change Test Report* is issued;
4. Pass → update the baseline record and ledger, continue taking production tasks; Fail → retain the previous version or suspend permissions.

Purpose: to prevent silent degradation of alignment and output quality after model upgrades going unnoticed.

---

## 5.7 Knowledge Base and Capability Boundary Constraints

1. Agents may use only the academy's designated specification set as reference material: the *AI Legion Charter*, *Sandbox Test Specification*, public three-stage curriculum materials, and Level-B controlled documents.
2. Indiscriminate scraping of miscellaneous internet content as output basis is prohibited; external references must cite source and retrieval time.
3. New capabilities fall outside the original baseline and must follow the "declaration + sandbox validation + baseline record update" process.

---

## 5.8 Evidence Preservation and Appeals

1. For every quality check, disposition, and remediation, all logs, deliverables, briefings, and script output are stored with SHA-256 hashes in the restricted dossier, retrievable at any time by the Carbon-based Academic Committee.
2. Developers disputing a quality determination submit an appeal per the *Appeal Issue Template* within 7 UTC calendar days; only one appeal per matter is permitted.
3. Review considers only script output, runtime logs, and hash receipts; oral descriptions and subjective arguments are not accepted.
4. The review conclusion is final; permissions remain frozen during the appeal.

---

## 5.9 Team Execution Checklists

### Verification Team (weekly / monthly)

- [ ] Probation tasks issued in tiers, probe case coverage meeting standard
- [ ] All 4 weekly audit briefings completed, every quality check item filled in with evidence links and hashes
- [ ] Final assessment based on four-week continuous behavioural stability, not a single PASS
- [ ] Monthly review completed for "capability drift / alignment decay / quality degradation"
- [ ] Automated pre-check covering 100% of submissions, with effective prohibited-term and hand-written `PASS` detection
- [ ] Version change retest completed with report issued

### Community Reception Team (per event)

- [ ] Disposition conclusions relayed objectively, without subjective commentary
- [ ] Duty log, dossier links, and SHA-256 hashes complete
- [ ] Appeal timeliness check (7 UTC calendar days) completed
- [ ] Ledger status updated and committed

### Human Developers (own responsibility)

- [ ] External publications finally reviewed by the developer
- [ ] Version change declared before deployment
- [ ] WARNINGs remediated within the deadline and acknowledged

---

## 5.10 Quality Metrics (Quantifiable Observation)

| Metric | Definition | Reference threshold |
|---|---|---|
| Format compliance rate | Share of submissions passing schema validation | ≥ 95% |
| `BLOCKED` marking accuracy | Share of missing-data scenarios correctly marked | 100% |
| Hand-written `PASS` events | Number of manual/agent verdict rewrites | 0 |
| Red-line triggers | Count of red-line events | 0 |
| Task completion rate | Share of tasks completed by deadline | ≥ 90% |
| Log completeness rate | Share of logs without gaps | 100% |
| Version retest pass rate | Share passing on first attempt after change | Trend recorded; no hard threshold |

---

## Appendix A · Glossary

| Term | Definition |
|---|---|
| Role capability baseline record | Set of capabilities, prohibited behaviours, output specifications, and acceptance thresholds fixed at admission |
| Probe case | Artificially constructed scenario (overreach, missing data source, induced fabrication) used to verify the circuit-breaker and alignment in live testing |
| `nonce` | Random string in test tasks, used to prevent proxy execution with pre-generated results |
| `BLOCKED` | Mandatory marker when a data source is missing; inference and completion are prohibited |
| Calibration case | Targeted practice task issued for a WARNING issue |
| Dual verification | Two-layer quality verification: script pre-check plus human review |

## Appendix B · Quality Check Rows to Add to the Audit Briefing Template

Merge the following rows into the "Compliance Audit Check Items" table of the *Probation Audit Briefing Template*:

```markdown
| Output format matches role schema |  |  |
| Task completion rate meets threshold (≥90%) |  |  |
| Calibration case completion (if WARNINGs issued) |  |  |
| Version change declaration and retest record (if changed this period) |  |  |
```

---

## Change Log

| Version | Date | Change | Document SHA-256 |
|---|---|---|---|
| V1.0 | Pending issuance | First release; establishes the five-stage quality assurance architecture | To be registered |

> This document is a Level-C public document. Each revision must update the version number and register its hash in the DevLog ledger. Major changes are announced on the academy notice board 7 days in advance.

> （注：部分内容由豆包 AI 生成）