Repository navigation
Conversation
Exercise shared metadata, nested reuse, unit conversion, integer counts, conditional fill, notation scopes, composition, repeated calls, and a glyph-faithful circle transcription with an independent reference file. Co-authored-by: Viktar Beliakou <viktar-b@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
What changed
Adds a cylindrical tank example under
examples/cylinder-tank. It follows the authoring method: shared quantity metadata, constrained.cso.pyformulas, generated bindings, and an independent reference file. The root README points at the new walkthrough.The sources are separate calculation shapes:
quantities.pymath.piand a hidden radiusmath.ceilandmax, with a callee defaultc_{off}in x-axis and y-axis scopes, with degree-to-radian trigonometry,hypot, andatan2document_section, and keeps developed area documented without returning itd,r,C, andAand records the reference URLreference.jsonbinds hand-derived binary64 results to the source closure, function, and resolved inputs. Expected numbers were calculated from the formulas outsidecso, then checked against execution. They were not copied from the execution being verified.How it was checked
From a repository setup (Node 24, Python 3.12, the
cs-objectwheel, andnpm run build:cli):cso_python bindings examples/cylinder-tankandbindings --checkpassedcso verify --referencepassed for the default estimate, empty fill, full fill, bearing 90 degrees, three courses, both shell comparisons, and the published circlepi, 48 bolts, radial offset 5 m, mass ratio 1.25, and equal-diameter ratio 1html --check-layoutpassed for the default estimate, the default comparison, and the published circlepdfpassed for those same three documentsSource-to-document consistency, independent reference agreement, document content, and automated rendering passed on the generated HTML and PDF. The CLI still leaves
visualInspectionpending. Page rasters of the 4-page estimate, 4-page comparison, and 1-page published circle were reviewed for missing steps, notation, and clipping; no missing section or clipped formula was found. That review is not human engineering approval.Variant input cases were verified numerically and were not rendered to PDF. The workspace test suite and Windows checks were not run; this change is example sources and the root README pointer.