Repository navigation
feat(bid-leveling): level bids on bid day with an interactive tab and Excel export - #6
Merged
Merged
Conversation
… Excel export Replace the Python Markdown comparison with a dependency-free JS core shared by the CLI and a self-contained HTML tab. Gaps get sourced plug suggestions that never count until accepted; tax and bond can be carried on a common basis; alternates toggle into totals; the tab exports a formula-backed XLSX and a re-importable scenario. New realistic four-bid drywall sample.
|
Macroscope skipped reviewing this pull request. Per-review cost limit exceeded (workspace setting). This review would cost an estimated $8.15, which exceeds your per-review limit of $3.00. The top 3 files driving up this estimate:
Tip To get this pull request reviewed, you can:
|
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.
Rebuilds bid-leveling around bid day: an estimator levels one trade package under deadline and needs the leveled tab, the open gaps, and the questions to send each bidder.
How it works
scripts/leveling-core.mjsis a pure module with no dependencies.level.mjsinlines it into the HTML, so the browser recomputes with the same code. The page is pre-rendered and reads correctly with scripts blocked.--xlsx. Plugs and adjustments areSUMIFSover their sheets, so the workbook recomputes when edited.Sample
Cedar Hollow clinic, package 09A drywall. The four bids ship as the files an estimator actually gets, in
samples/bids/:Planted problems:
With the estimator's first pass (
estimator-scenario.json), Prairie is the lowest complete bid at $833,700. Ridgeline has the lowest base bid ($789,500) but stays incomplete with eight open items.Removed
level_bids.pyand its three references, the 2.0.0 samples, the Millbrook roofing task (it graded the 2.0.0 Markdown contract), and the 2.0.0 review harness, which depended on an unversioned/tmpcheckout. The version is now 3.0.0 and the marketplace version 0.6.0..emlis now inlined in the catalog.Verification
evals/tasks/bid-leveling/leveling-core.test.mjs: 18 tests, now in CI. They include byte-for-byte comparison of the bundled HTML, brief and XLSX against a fresh build, plus escaping of bid text in the HTML.Note
Rework bid-leveling skill to an interactive bid-day tab with Excel export
Macroscope summarized 44d1054.