Replace trajectory audit with isolated prefix scoring
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user