The MCP server and the terminal should offer dimensional analysis and shader source once #2292 and #2293 land
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 18/100
調査の方向性
Start in Core/Operations/Catalogue.cs and the CatalogueTest and OneShotTest suites, which define how catalogue entries reach the MCP server and the terminal. The work waits on #2292 (MathS.Dimensions) and #2293 (MathS.Shaders) being accepted, and it needs a library change to parse Dimension.ToString output back into a dimension. Done means four catalogue entries, two MCP tools with McpUnitTests coverage, and the OneShot.notOffered names in place.
索引モデルが issue の本文から書いたものです。
説明
What you ran: amcli mcp on a build carrying #2292 (MathS.Dimensions) and #2293 (MathS.Shaders), branches feat/dimensional-analysis and feat/shader-source.
What it did: nothing; neither is there. Neither branch adds an entry to Core/Operations/Catalogue.cs (#1684), so the server's CatalogueTest and the terminal's OneShotTest stay green and nothing makes either surface keep up. AGENTS.md asks for both: "an operation the library offers by name is an entry of Core/Operations/Catalogue.cs", and the MCP server "has to expose what the release added".
What it should have done: once both are in a release:
1. Four catalogue entries, as queries:
| entry | calls |
|---|---|
dimension |
MathS.Dimensions.Of(expr, dimensions) |
dimensionless_groups |
MathS.Dimensions.DimensionlessGroups(variables, dimensions) |
hlsl, glsl |
MathS.Shaders.Hlsl / Glsl(outputs, names) |
The names are to agree on; #1019 item 16 asks for the library's own words. The shader entries are text in and text out already. The dimension entries need one addition in the library to be: reading a dimension back from the text Dimension.ToString writes (L M T^-2, L^(1/2), 1, with an ASCII spelling for Θ), so that a caller can pass g: "L T^-2".
On sequence, either each feature's pull request adds its entries with a Tools.NotOffered reason and an OneShot.notOffered name pointing here, which keeps every offered operation in the catalogue at every commit, or the pull request for this issue adds entries and surfaces together. The tests are built for the first, so I would do that.
2. Two MCP tools, each offering two entries, the way am_truth_table offers truth_table and satisfying_assignments:
am_dimensions:dimensions(name → dimension) and eitherformulaorvariables. For a formula:consistentwith its dimension,inconsistentnaming the subexpression and the two dimensions that disagree, orundeterminednaming what is missing (an undeclared variable, a symbolic power of a dimensional base). For variables: the dimensionless groups. As a routing description: call it before trusting a physics formula you derived or transcribed; a term with the wrong units survives algebra that looks right, andsin(x) - sin(x)withxa length is inconsistent even though it simplifies to 0.am_shader_source:language(hlslorglsl),outputs(name → expression) and optionallynames(variable → shader expression such asp.x). It answers the code, ordeclinedwith the node and the reason the library gives. As a routing description: call it to put a derivative or a closed form into a shader rather than transcribing it, which is where precedence,powof a negative base andfmodagainst a flooredmodgo wrong. It computes whatam_evaluatecomputes, except that since #2288 a compiled division by zero has no value, while on a GPU it is ±inf.
The README asks for a parameter on an existing tool first, then a prompt, then a tool. A dimensions parameter on am_parse fits the check, but not the groups, which take no formula. And a check that can fail reads better with its own status than inside the parse's warnings. am_to_sympy is the nearest relative of the shader tool, but its name and its answer are stable, and folding languages into it would change both.
Also:
- The
check-formulaprompt gains a step: where the variables are physical quantities, callam_dimensionswith their units befoream_domain_check. - The README gets the two rows of its tools table and one known limit: a dimension's exponents are rational, so
L^piis inconsistent and a symbolic power of a dimensional base is undetermined. - Every library call goes through
Guard.Run, andMcpUnitTestsdrives both tools as a client does. - Neither needs to be preliminary: each answers what a released API answers.
3. The terminal. The four names go into OneShot.notOffered; one-shot commands can follow if wanted.
Depends on #2292 and #2293, which wait for Accepted. If only one is accepted, the other half of this drops. The milestone is the one that carries them (2.7.0 proposed there).
- 主要言語
- C#
- スター
- 831
- フォーク
- 79
- 平均マージ
- 1時間 12分
- マージ済み PR(30日)
- 518
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ASC-Community/AngouriMath のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ASC-Community/AngouriMath#2220 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
Opinions wanted
難易度 4/5 1週間以上 初心者へのやさしさ 15/100
ASC-Community/AngouriMath#2319 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
The kernel under WebAssembly: 1.26 MB Brotli over the bare runtime, and 0.2 s to the first Simplifyオープン
難易度 3/5 半日 初心者へのやさしさ 48/100
ASC-Community/AngouriMath#2296 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
ASC-Community/AngouriMath#2293 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
ASC-Community/AngouriMath#2292 ·
メンテナーはふだん 1 日以内に返信
ASC-Community/AngouriMath の issue をすべて見る
似ている issue
-
effort:S P3 refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nightscout/nocturne#3243 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
dasher-project/Dasher-Windows#84 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
libnativeapi/nativeapi#21 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 3 日以内に返信
-
enhancement P3 performance
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
thomhurst/TUnit#7380 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信