fix: clarify contributing-run metrics in GitHub Release copy - #45
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #39 / PR #42.
Problem
The manifest already labels aggregate metrics with
translation_metrics_scope=contributing_run_execution, but the human-readable GitHub Release body still renders generic lines such as翻译条数and消耗 token. That can be read as exact final-artifact distinct-unit or lifetime-cost attribution, which #39 intentionally does not provide.Fix
When
translation_metrics_scope == contributing_run_execution:翻译条数line toProvider 词条执行范围(累计);API 调用,涉及翻译资源, and token values, now under the explicit execution-evidence scope.For manifests without the new scope, preserve the historical copy rather than silently reinterpreting old metrics.
Scope
Presentation only. No change to
translation-evidence.json, aggregation, manifests, Provider accounting, per-unit attribution, artifact diffing, or publisher behavior.