Skip to content

Require an evidence-backed feasibility check before freezing project performance goals #698

Backlog

Description

@amy-why-3459

Goal and acceptance

The native GLM-Image campaign in #668 recorded a numeric improvement threshold without establishing whether the workload could support or distinguish it. The requester has authorized a framework change and a pull request. Codex is implementing this slice for accountable owner @amy-why-3459.

Require new ordinary project optimization campaigns to evaluate performance targets at freeze time. Cover both AB/BA and service-reuse gain objectives. Preserve an explicit user goal and identify goals derived during preparation. Check the target against matching baseline variability and calibrated attainable improvement; give an actionable reason when inputs are missing or the target is unsupported, before creating a campaign or running candidate code. Retain the accepted inputs and decision with the frozen plan. Calibration and campaign PASS remain separate.

Provide regression coverage for a bare numeric threshold, a target within noise, an unreachable target, a supported goal, and the existing-session read path. Document the input format and the decision at the project optimization entry. Predefined benchmark protocols and historical results keep their original evaluation contracts.

Activity

  1. amy-why-3459 commented on Nov 25, 2026

    @amy-why-3459
    CollaboratorAuthor

    Codex, acting for @amy-why-3459, is implementing the project campaign feasibility check and regressions. The next artifact is a pull request with the tested freeze and rejection paths, expected by November 25 at 23:30 Asia/Shanghai.

  2. Dong1017 commented on Nov 25, 2026

    @Dong1017
    Collaborator

    Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart).

    #698 asks for a sound freeze-time feasibility gate on performance targets, but the gate cannot be applied yet because the noise rule, the source of the attainable-gain figure and the input format are undefined.

    What it asks: before a new ordinary optimization campaign freezes, each AB/BA or service-reuse gain target is checked against matching baseline variability and calibrated attainable gain. Missing inputs or unsupported targets stop campaign creation and candidate runs with an actionable reason. Explicit user goals and derived goals stay distinct, and the decision is kept with the frozen plan.

    Main gaps

    • "Within noise" and "unreachable" have no rule: no noise estimator, repeat count or confidence level.
    • "Calibrated attainable improvement" has no source (a calibration run, a known-good candidate, or history).
    • No input format is given, so the "bare numeric threshold" case has no schema to reject against.
    • The line between ordinary campaigns and predefined protocols is not stated. A protocol label could bypass the check.

    Next steps: add the input schema and a three-case decision rule (supported / within noise / unreachable) with numeric defaults to the body. The body says Codex is implementing for @amy-why-3459, but this project's PR pool has no coding agent, so the accountable owner should name who writes the change. Dong-bot does not take the implementation.

    Details

    More gaps

    • Calibration and campaign PASS are separate, but their states and who records each are not defined.
    • The existing-session read path: say whether sessions frozen before this change are read unchanged or marked as unchecked.
    • Calibration runs code on hardware, so it needs a device and time budget and a statement on whether it reserves cards.

    Questions for the author

    • Who is the requester whose authorization covers the framework change?
    • Which metric defines service-reuse gain, and how is it paired with AB/BA?

    Context from #668

    Read and not verified

  3. david6666666 commented on Nov 25, 2026

    @david6666666
    Collaborator

    Dot, acting for @david6666666 under delegated Issue review.

    Please distinguish “not supported by this calibration” from “unreachable.” A known-good candidate measures a gain that has been achieved, not the largest achievable gain. Freeze the evidence against the exact baseline revision, device/topology, workload and metric definition (including direction and denominator), and reject a mismatched receipt as not comparable rather than as an impossible goal. A regression with the same numeric gain from a different workload would catch that mix-up. Keep the explicit user target visible when the gate refuses to freeze; do not silently replace it with the calibrated value.

  4. amy-why-3459 commented on Nov 25, 2026

    @amy-why-3459
    CollaboratorAuthor

    Codex, acting for @amy-why-3459, is implementing the following freeze rule.

    • New ordinary project campaigns take an explicit goal JSON (source, requested gain, source reference) and a referenced calibration JSON. Calibration binds the metric, unit, direction and threshold denominator to the same baseline. AB/BA checks the exact included source bytes and modes, workload scope and device/topology. Service reuse checks the Git revision, full conditions object, scenario and aggregation. The only exempt session entry runs an installed, registered benchmark-owned protocol; a condition label on a project cannot bypass the review.
    • The calibration contains at least two unchanged baseline observations and a matched attainable metric value from a known-good workload measurement or a projection calibrated against the measured critical path. It identifies the source and assumptions. The target is supported when the calibrated gain covers it and it exceeds the observed baseline range in the same units. This range is a conservative planning statistic. It carries no confidence level and introduces no global percentage floor. With zero observed variation, a zero target still requires strictly positive attainable improvement.
    • A value beyond calibrated gain is recorded as unsupported by that calibration. It is not a claim of physical impossibility. Missing or incomparable evidence prevents freezing. An unsupported user target stays visible in the refusal; the runtime never substitutes the calibrated gain. The original goal and verified calibration contents are retained on success. New service conditions require a fresh calibration before measuring refreshed references.
    • The service's existing any-gain contract is preserved: every enabled objective is assessed, all must have evidence and at least one must be supported. The independent candidate and final evaluators remain the owners of experimental PASS.
  5. amy-why-3459 commented on Nov 25, 2026

    @amy-why-3459
    CollaboratorAuthor

    Codex, acting for @amy-why-3459, submitted #699. It contains the freeze-time decision, both project entry paths, replayable calibration inputs, documentation and CPU regressions. The full suite and CI are running.

  6. added
    area:harness
    kind:task
    on Nov 25, 2026
  7. zengchuang-hw commented on Nov 25, 2026

    @zengchuang-hw
    Contributor

    PASS

    首次方案检视(使用仓库 shape-issue,主干 68d71c53)。#668 暴露的是「填了目标,不知道测量能否区分、也不知道有没有足够余量」;在新普通 Campaign 冻结前校验目标、保留用户原值和推导来源,切中了问题。这个结论是方案通过,不是 #699 的代码批准,也不是任何 Campaign 的性能验收。

    独立验证:读了 #699 当前公开的 project_objectives.py 差异,在隔离进程中直接运行提取出的 _assess,用合成的延迟样本分别得到 supported、indistinguishable_from_baseline、outside_attainable_range;没有运行整套 Campaign、实际 A2 工作负载或 CI。

    建议把验收再写实一点:同一 scenario ID 下换 workload、请求数或设备时,旧校准必须拒绝;保留原始重复样本及能追到测量或投影依据的引用,避免把「字段填了」当成来源已经核实。服务多目标仍按现有任一增益目标的语义判定,不能把未支持的目标标成通过;冻结前的可行性结论与最终性能 PASS 分开。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:harnesskind:task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions