Repository navigation
feat(skill): add six analysis strategies and 30 DuckDB SQL templates - #1145
Merged
Merged
Conversation
…TE for improved clarity and consistency
Contributor
✅ Preview is ready!
↩️ Previous: ⚡️ 🤖 Powered by surge-preview |
|||||||||||||||
- Updated segment stability analysis with refined chart styles, additional data points, and clearer annotations for better interpretation. - Enhanced subgroup discovery method by freezing predicate keys and improving visual clarity with updated bar styles and annotations. - Improved change point analysis with detailed annotations, including mean values and event markers for better trend visibility. - Refined significant change analysis to include absolute and relative changes with enhanced labeling for clarity. - Updated sustained trend analysis to better visualize daily observations and mean comparisons, with clear markings for sustained standards. - Enhanced trend divergence analysis with grouped line plots, emphasizing overall trends and providing clear annotations for material slopes. - Added guidelines for building method charts, emphasizing the importance of visual clarity and evidence representation in reports.
- Updated SQL templates in opportunity analysis methods to use parameterized inputs for better flexibility and clarity. - Enhanced documentation in input-output efficiency, quadrant analysis, opportunity impact, segment lift, segment stability, subgroup discovery, change point, significant change, sustained trend, and trend divergence methods. - Improved validation logic in SQL queries to ensure data integrity and handle edge cases. - Added annotations and refined visualization guidelines in the visualization documentation to enhance clarity and usability. - Updated TypeScript contracts to enforce stricter validation for annotations and group selections in visualization configurations.
yvonneyx
marked this pull request as ready for review
December 4, 2026 10:04
hustcc
reviewed
Dec 4, 2026
| ] as const; | ||
| export const vizInputSchema = z.discriminatedUnion('chartType', chartSchemas).superRefine((spec, context) => { | ||
| if ((spec.chartType === 'bar' || spec.chartType === 'column') && !spec.config.group && !spec.config.stack) { | ||
| spec.config.annotations?.forEach((item, index) => { |
hustcc
approved these changes
Dec 4, 2026
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.

AVA Skill 新增 6 个分析策略和 30 个可复用方法。
分析策略
分析方法
30 个方法的图表模板默认继承 GPT-Vis 1.4.1 的主题,涨跌、参照线和分组高亮等颜色取自默认色板及主题样式。
下方截图使用合成数据生成,展示各方法在本地 DuckDB 2.0.0 上的执行示例。截图对应各方法链接指向的验证版本。