Documentation: issues to settle in the other packages before the final read and the stable release
维护者通常 1 天内回复
@ocots 已经在做这个了。
开始于 2026年10月9日。
评估
这个 Issue 还没有评估数据。
描述
Context
The page-by-page review of the documentation is merged (#953, 45 / 45 pages). Many pages point to issues of the other packages, either as a note ("see CTFlows#441"), or as a probe in docs/probes/ that checks the current behaviour and fails once the fix is released. Before a final read of the documentation, and the release of a new stable version, these issues must be settled, and the pages updated.
For each item: when the fix is released, bump the compat if needed, update the page and the probe (the probe fails on purpose, as a reminder), and tick the box.
Other packages: open issues
CTFlows
- control-toolbox/CTFlows.jl#441: with
saveat, the point call returns the state at the last saved time, not attf(wrong result, no error). Pages: Flows overview, Constrained arcs, Plot. - control-toolbox/CTFlows.jl#440:
constraint=:labeluses the raw constraint function and ignores its bound and its side. Page: Constrained arcs. - control-toolbox/CTFlows.jl#439: the point call of a concatenated Hamiltonian flow returns a flat
[x; p]. Page: Multi-phase flows (the code readszf[1:2]). - control-toolbox/CTFlows.jl#438: errors of the accessors, and gradients that only take
(t, x, p, v). Page: Accessors. - control-toolbox/CTFlows.jl#437:
variable_costate=trueon a trajectory call: rawMethodError. Page: From an OCP. - control-toolbox/CTFlows.jl#436:
method=:gpuraises obscureMethodErrors. Page: Flows overview. Closed: once released, quote the new errors and update the section "CPU and GPU" (it says the error does not name the cause yet). - control-toolbox/CTFlows.jl#435: the
Solutionof a flow keeps only 5 points. Page: Plot. - control-toolbox/CTFlows.jl#446: default output grid, an adaptive grid of 250 points when the solver returns fewer (so that a flow
Solutionis not polygonal by default). If adopted, the wording ongrid=n/AdaptiveGrid(n)in the Plot and Flows overview pages changes (opt-out withgrid=nothing). Pages: Plot, Flows overview.
CTFlows#434 is closed (control-toolbox/CTFlows.jl#442), and control-toolbox/CTFlows.jl#435 too (control-toolbox/CTFlows.jl#444, which replaces the output-grid rule of #442). Once released: (1) dense=false can be dropped from the plots (pages Plot, Flows overview, and the examples; probe plot_flow_saveat.jl); (2) the Plot page (and Flows overview) should say what to do when an integrated trajectory looks polygonal: the default grid is the solver steps, so pass grid=n or grid=AdaptiveGrid(n) (curvature-based, denser where the curves bend) at the call, e.g. f((t0, tf), x0, p0; grid=200). A grid cannot be combined with saveat or with a list of times (IncorrectArgument). Check the wording against the released API. Same check for the closed issues control-toolbox/CTBase.jl#570 (OpenLoop, pages Simulation and Migration), control-toolbox/CTModels.jl#435 (import_ocp_solution, page Save & load), control-toolbox/CTSolvers.jl#234 and control-toolbox/CTBase.jl#565 (GPU errors, probe installation_gpu_errors.jl), control-toolbox/CTSolvers.jl#230 (probe installation_integrators.jl).
CTDirect
- control-toolbox/CTDirect.jl#639: box multipliers are not divided by the time step, and their sign is the opposite of the path multipliers. Page: Solution object. Probe
solution_duals.jl. - control-toolbox/CTDirect.jl#640: time stamps of the costate. Same page and probe.
- control-toolbox/CTDirect.jl#405: dual variables of the path constraints, zeros with
:exa. Same page and probe. - control-toolbox/CTDirect.jl#638:
:exawith an explicittime_grid. Page: Choosing a method.
CTParser
- control-toolbox/CTParser.jl#326 (PR): alignment with ExaModels 0.12, errors as
CTExceptions. Pages that quote errors of@defneed a re-read. - control-toolbox/CTParser.jl#352, #353, #354: messages of
@def. Page: Abstract syntax. - control-toolbox/CTParser.jl#355:
:exaand the scheme aliases. Page: Choosing a method. - control-toolbox/CTParser.jl#356: make
@defhygienic (modules instead of names in the generated code).
CTLie
- control-toolbox/CTLie.jl#40: make
@Liehygienic. Page: The@Liemacro (section "using OptimalControlis needed"). - control-toolbox/CTLie.jl#41: the error of
Lifton aHamiltonianVectorFieldnamesad. Page: Lift.
CTBase
- control-toolbox/CTBase.jl#569:
title,xlabelandylabelare ignored without a warning inplot. Page: Plot.
OptimalControl
- #964:
initandinitial_guesstogether. Page: Initial guess. - #965: which initial-guess helpers of CTModels are re-exported.
- #966: stop exporting the module name
CTLie, after CTLie#40. - #967: remove the re-exports of
CTModelsandExaModels(and reviewCTBase,CTFlows), after CTParser#356. - #481: constant component of the dynamics with
:adnlp. Page: Abstract syntax. Probeabstract_syntax_constants_ad.jl. - #976: documentation of the GPU for the indirect method (flows and shooting). The direct method has a page; the indirect one has only a short section in the Flows overview.
To think about later
- The Geometry pages: the section has 6 pages for 4 functions. The review suggested 3 pages (overview and lift, brackets with
ad, Poisson,@Lieand∂ₜ, and AD backend). They were kept as they are in #953. Decide the structure, once the macros are hygienic (the page on@Liechanges).
Then
- Update the pages and the probes for each released fix:
julia --project=docs docs/probes/run.jlis the checklist, since a probe for a known bug fails when the bug is fixed. - Final read of the documentation (the review notes and the per-page log are kept by the maintainers).
- Release of the new stable version, and switch back the links of "Chat with an AI" to
stable/(they point todev/meanwhile).
- 主要语言
- Julia
- 星标
- 135
- 派生
- 11
- 平均合并
- 7 小时 51 分钟
- 30 天内合并 PR
- 22
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
control-toolbox/OptimalControl.jl 的其他 Issue
-
[Doc] User guide to the duals: every kind, constraint ↔ dual, direct ↔ indirect可能已有人在做 @ocots 于 6 天前认领。 未关闭
control-toolbox/OptimalControl.jl#1035 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Tests of the duals: every kind of constraint, direct vs indirect, pinned algorithms可能已有人在做 @ocots 于 6 天前认领。 未关闭
control-toolbox/OptimalControl.jl#1034 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[Doc] Examples for the sign convention of duals and costate (min/max, writing of constraints, direct vs indirect)可能已有人在做 @ocots 于 14 天前认领。 未关闭
control-toolbox/OptimalControl.jl#1016 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Documentation: sign conventions (min/max, p⁰, constraints, duals) and how they appear in a solution可能已有人在做 @ocots 于 17 天前认领。 未关闭documentation
control-toolbox/OptimalControl.jl#1015 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Tests fail on Julia 1.13: keyword-only anonymous function in test/problems/goddard.jl可能已有人在做 @ocots 于 18 天前认领。 未关闭
control-toolbox/OptimalControl.jl#996 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 control-toolbox/OptimalControl.jl 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Add project: Typst_jll.jl可能已有人在做 @github-actions 今天认领。 未关闭add-project
难度 1/5 1 小时以内 新手友好度 76/100
YDX-2147483647/best-of-typst#590 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
-
难度 2/5 1-3 小时 新手友好度 67/100