Repository navigation
Conversation
… gone and a file names the value that a missing row or a masked variable reads as A parameter under `missing: 0` or `missing: false` keeps its table as the data gave it, as `neutral` did, and reads the zero in a bound, on a constant side and in a comparison. A masked variable stands as its `missing:` number outside the mask. The program classes follow mathspec's renames. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A2crTbivTGt2WzGpTebdmf
mathspec now gives a given parameter a class of its own, and specsolve refuses a program that reads one anyway. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A2crTbivTGt2WzGpTebdmf
…e the value of a missing row Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A2crTbivTGt2WzGpTebdmf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W6yvGzZN2iR4WyA9RumvvJ
… or as a column of its subject's table Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W6yvGzZN2iR4WyA9RumvvJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W6yvGzZN2iR4WyA9RumvvJ
…ts and properties Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W6yvGzZN2iR4WyA9RumvvJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W6yvGzZN2iR4WyA9RumvvJ
…es (in progress) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W6yvGzZN2iR4WyA9RumvvJ
… are named as the file writes them Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W6yvGzZN2iR4WyA9RumvvJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W6yvGzZN2iR4WyA9RumvvJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W6yvGzZN2iR4WyA9RumvvJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W6yvGzZN2iR4WyA9RumvvJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W6yvGzZN2iR4WyA9RumvvJ
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Comment |
Documentation build overview
117 files changed ·
|
This branch has not been 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.
Note
The following content was generated by AI.
specsolve attaches
sets:andproperties:in place ofrelations:. A property arrives undersubject.property, or as a column of the table under its subject's key, where a null means the row lacks it. Both lanes agree on every case.This PR is the specsolve end of the mathspec stack, fluxopt/mathspec#1 to fluxopt/mathspec#5 (the last removes
relations:). It cannot merge before mathspec releases that stack. The pin stays at the released 0.4.0, so CI here runs against a mathspec that does not knowsets:and will be red.The base is
feat/mathspec-main. The first three commits are #2054's, cherry-picked, because the mathspec stack carries both that change and theconditions:rename. They drop out once #2054 merges.What changed
The door (
_sources.py)subject.property: the subject's members, then one column named after the property.missing: refusedevery row of the set needs one. A property of a dimension keeps the product check in attach, over the dimension's labels.set 'connection'andproperty 'bus0' of 'line', from one helper in_messages.py.The engine
generator[bus, fuel]) names the subject._engine/relations.pyreads it as the inner join of the property tables on the subject's members. Conditions already name real tables, so predicates are unchanged.The linopy lane (
tests/linopy_lane)bound_read).where. Before, it reduced over value columns, which a set does not have.On disk
setand a property's file asproperty, notrelation.ANSWER_LAYOUTgoes from 4 to 5.The migration
differential/pypsa/prep.py, the projection,tools/ladder.py, the bench ports and the tests, through one rename table.from_busandto_buseverywhere.Docs
reference/data.mdstates the contract.howto/data.mdshows PyPSA's generator table passed whole as the wide form.warehouse.md,verification.md, the glossary andarchitecture.mdfollow.Verification
The mathspec build is the stack's PR 5 tree, installed over the env with
pixi run --no-installthroughout.feat/mathspec-mainplus feat!: specsolve requires mathspec 0.4.0, wheremissing: neutralis gone and a file names the value that a missing row or a masked variable reads as #2054's three commits, cherry-picked, on the stack's mathspec base (parameterwhere:). It gives 3 failed, 5756 passed.test_a_relation_orders_bytewise_not_by_declarationandtest_a_where_orders_string_labels_bytewise_not_by_declaration. mathspec main now refuses>=on a string dimension, whichfeat/mathspec-mainpredates. They are not this PR's.ruff check .andruff format --check .are clean.pyrefly check(both targets intypecheck) gives 0 errors.bench/test_harness.pygives 482 passed. It ran with--i-know-another-is-running, because other test runs shared the box. Nothing was timed.tests/test_sets_and_properties.py, 13 cases, each held on both lanes. They cover:Mutation table (
tools.mutatefor line deletions, the last two by hand with the same three precautions; the base failures deselected)_sources.py:521-525)_sources.py:551-556)_sources.py:559-561)_engine/relations.py:54-55)tests/linopy_lane/where.py:276-278)_sources.py:529, the.filterremoved)attaching.py:85, the clause removed)Not run, not done, and departures
Not run
floorsenv anddocs-test. The docs env is not installed here.prep.pyand the 18 PyPSA reference scripts were checked by reading, not by running.Not done
where:, the mathspec change this stack is based on. That is its own PR.Departures from the defaults
relations:gone, the suite cannot be green on any smaller cut.Where test coverage moved
test_label_coords.pywas deleted. Its point went into the docstring of its twin.🤖 Generated with Claude Code
https://claude.ai/code/session_01W6yvGzZN2iR4WyA9RumvvJ