Add support for a new curve data format in the Curves package converter system
中文简介正在准备中。当前显示原文说明。
Create tests for Diff Studio demo models
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Create tests for a Diff Studio model defined in the TS file at the path specified in the argument.
Parse input: extract the path to the TS file from the argument. Verify the file exists and has a .ts extension.
Read the TS file: open it and locate the single exported object of type ModelInfo. Note:
export const myModel: ModelInfo = { ... }).equations field of the exported object.Extract the file name: derive the base file name (without directory path and without the .ts extension) from the given path. This will be used as the test case name.
Update the test file src/tests/demo-models-tests.ts:
a. Add import: at the top of the file (with other imports), add:
import { <exportName> } from '<relative-path-to-ts-file>';
Use the correct relative path from `src/tests/` to the target file (without the `.ts` extension in the import path).
b. Add test case: inside the 'Demo models' category block, add a call to testTemplate (imported from ./test-utils):
testTemplate('<file-name>', <exportName>.equations);
- First argument: string with the TS file name (e.g., `'my-model'`).
- Second argument: the `equations` field of the imported `ModelInfo` object.
c. Placement: add the new test case in alphabetical order relative to existing test cases, or at the end of the 'Demo models' category if ordering is not established.
Given argument: src/demos/acid-base.ts
If the file exports:
export const acidBase: ModelInfo = { equations: `...`, ... };
Then in src/tests/demo-models-tests.ts:
import { acidBase } from '../demos/acid-base';
// ...
testTemplate('acid-base', acidBase.equations);
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Add support for a new curve data format in the Curves package converter system
中文简介正在准备中。当前显示原文说明。
Create info panels that appear in the context panel based on semantic types
中文简介正在准备中。当前显示原文说明。
Add a new single-objective optimization algorithm to the sci-comp library. Use when the user asks to implement a new optimizer (e.g. gradient descent, BFGS, simulated annealing, differential evolution).
中文简介正在准备中。当前显示原文说明。
Add unit tests to a Datagrok package
中文简介正在准备中。当前显示原文说明。
Answer a "how do I …" question about the platform with a Gherkin scenario on @datagrok-libraries/bdd that is filmed into a how-to video (grok-bdd guide), so the answer is demonstrated, sent as a video plus numbered steps, and kept as a regression test; the same scenarios, filmed in help mode, are the GIFs of the help pages
中文简介正在准备中。当前显示原文说明。
Translate hand-written Playwright specs (or any existing UI tests) into Gherkin features on @datagrok-libraries/bdd, then prove the features test what they claim by backward-matching them against the originals with independent reviewers, and fix the gaps in the core, the library and the features
中文简介正在准备中。当前显示原文说明。