Repository navigation
chore(optimizer): bundle Energyplan 0.7.1 - #2047
Merged
Merged
Conversation
Energyplan 0.7.1 (srcfl/energyplan#85, 906cf053) keeps the recovery rule in the fixed-EV LP. From a start under the floor with a car, 0.7.0's fixed-EV point fell back under the floor and was rejected, and the fleet MILP kept the idle seed (#2043). Only the two Linux workers and manifest.json change; license, notices and schemas are the same. The health checks expect 0.7.1. A new native test plans the night charge of a battery 60 Wh under its floor beside a car, from the real start and from the floor. Refs #2043. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
6 tasks done
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.
Problem
In #2043 a battery 60 Wh under its floor, with a car in the plan, was planned idle for 28 h by Energyplan 0.7.0. #2045 already makes Core start such a battery on its floor. The protocol still allows an out-of-band start, and the worker must plan it too.
Change
v0.7.1-beta.1). The worker keeps its recovery rule in the fixed-EV LP, so the night charge is found from a start under the floor or over the ceiling. Requests that start inside their bands run as in 0.7.0.manifest.jsonchange. License, notices, Rust runtime licenses and schemas are byte-identical.e9dd74c6…37ae2a39…energyplan_test.goandenergyplan_fault_test.goexpect 0.7.1.TestNativeBatteryUnderItsFloorBesideACarChargesAtNightplans a battery 60 Wh under its floor beside a car, from the real start and from the floor. Both must charge in the cheap night.Evidence
Energyplan's full local CI passed 35 of 35 stages on 906cf053 (Mac mini, Linux arm64), and the amd64 gate gave identical replies. Its new tests fail on 7ea7d99 and pass on 906cf053.
The field request, replayed with the arm64 worker at Core's 1.5 s budget:
fixed_ev_rejectedOn this branch, on the Mac mini (Linux arm64):
make verifypassed, includingnative-solver-testand the handshake.The new native test also passes on 0.7.0 under Core's time budget, with 18.0 kWh from the real start. It guards the night charge but does not tell 0.7.0 from 0.7.1. The case that fails on 0.7.0 is in Energyplan's suite.
An independent review of srcfl/energyplan#85 found no blocking issue.
Refs #2043.
🤖 Generated with Claude Code