Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||||
Refactored calculateStatisticsCurves to use a new static method, calculatePercentiles, for computing percentiles. The new method supports arbitrary percentile queries and centralizes the logic, improving code reuse and maintainability.
Allows users to specify custom percentiles for statistics. Introduces a `percentile` field to the summary address and corresponding getter/setter methods. Updates the UI text generation to display the custom percentile value when appropriate, using the format "P[percentile]". Adds validation to ensure the percentile value is within the valid range of 0-100 or -1 (unset).
f003a81 to
563e49f
Compare
PR Type
Enhancement
Description
Add custom percentile support to ensemble statistics calculations
Allow users to specify arbitrary percentiles via text input field
Display custom percentiles with "P[value]" format in UI text
Extend hash function to support range types for cache validation
Diagram Walkthrough
File Walkthrough
18 files
Add percentile field and accessor methodsInitialize percentile field and implement getter/setterAdd CUSTOM statistics type enum valueRegister CUSTOM statistics type in AppEnumAdd custom percentiles field and getter methodsImplement custom percentile parsing and UI integrationAdd percentile data storage and calculation supportCalculate custom percentiles and store in map structureAdd hasPercentileData method to interfaceGenerate curves for custom percentiles with deduplicationAdd hasPercentileData stub methodImplement hasPercentileData returning false for cross-plotsAdd percentile field to address persistencePersist and restore percentile in address conversionAdd hasPercentileData method to interfaceImplement hasPercentileData returning false for well logsAdd hasPercentileData abstract method to interfaceAdd range type support to hash combining function