Replace trajectory audit with isolated prefix scoring

This commit is contained in:
2026-08-07 00:47:31 +08:00
parent f1a090e8c4
commit c6c583dcee
18 changed files with 914 additions and 469 deletions
+3 -3
View File
@@ -154,7 +154,7 @@ def command_classify(args: argparse.Namespace) -> int:
def command_audit(args: argparse.Namespace) -> int:
"""Score educational process quality and locate causal truncation points."""
"""Locate a safe boundary, materialize its prefix, then score the prefix."""
settings = Settings.from_env()
with GLMClient(settings) as client:
@@ -165,7 +165,7 @@ def command_audit(args: argparse.Namespace) -> int:
limit=args.limit,
resume=args.resume,
workers=args.workers,
stage_name="trajectory_audit",
stage_name="two_call_audit",
processor=lambda record: audit_trajectory(record, client),
)
@@ -324,7 +324,7 @@ def build_parser() -> argparse.ArgumentParser:
classify.set_defaults(func=command_classify)
audit = subparsers.add_parser(
"audit", help="Score process quality and locate causal truncation points"
"audit", help="Locate a safe boundary, then score only the retained prefix"
)
_add_stream_arguments(audit)
audit.set_defaults(func=command_audit)