Skip to content

feat(core): Add insights analysis engine with extensible rule framework#89

Merged
ayomideadeniran merged 1 commit intoSoroLabs:mainfrom
martinvibes:insights-opti
Feb 25, 2026
Merged

feat(core): Add insights analysis engine with extensible rule framework#89
ayomideadeniran merged 1 commit intoSoroLabs:mainfrom
martinvibes:insights-opti

Conversation

@martinvibes
Copy link
Copy Markdown
Contributor

  • Create new insights.rs module with severity levels and insight types
  • Implement InsightRule trait for extensible heuristic rule system
  • Add built-in rules: StorageEfficiencyRule, InstructionDensityRule, FootprintBloatRule, MemoryPressureRule, and EventEmissionRule
  • Integrate InsightsAnalyzer into simulation pipeline to generate efficiency scores and actionable recommendations
  • Update lib.rs and main.rs to export and expose insights functionality
  • Enhance simulation.rs to include insights report generation alongside resource metrics
  • Provides developers with automated optimization guidance based on contract resource consumption patterns

closes #66

- Create new insights.rs module with severity levels and insight types
- Implement InsightRule trait for extensible heuristic rule system
- Add built-in rules: StorageEfficiencyRule, InstructionDensityRule, FootprintBloatRule, MemoryPressureRule, and EventEmissionRule
- Integrate InsightsAnalyzer into simulation pipeline to generate efficiency scores and actionable recommendations
- Update lib.rs and main.rs to export and expose insights functionality
- Enhance simulation.rs to include insights report generation alongside resource metrics
- Provides developers with automated optimization guidance based on contract resource consumption patterns
@ayomideadeniran
Copy link
Copy Markdown
Collaborator

Pr under review

@ayomideadeniran ayomideadeniran merged commit c9268ec into SoroLabs:main Feb 25, 2026
4 checks passed
@ayomideadeniran
Copy link
Copy Markdown
Collaborator

No Error found well implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Backend] WASM Optimization Insights & 'Nutrition Warnings' Engine

2 participants