hashgraph / hashgraph/guardian
Enhance diff and search to be less (ideally in-) sensitive to the order of schemas/fields
- Dominant language
- TypeScript
- Stars
- 146
- Forks
- 186
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 126
Description
### Problem description
Current implementation of policy 'diff' and search is susceptible to false reporting when essentially the same content of policies and schemas has different structure, i.e the order of the fields is significantly different. This limits the usefulness of these functionalities to cases where compared items have essentially the same structure, Guardian fails to identify similarities and missed items in situations when only the content is similar, but not structure.
### Requirements
Introduce advanced comparison capabilities where policies and schemas are compared 'semantically', i.e. similarities or differences in the content are found/highlighted irrespective of differences in structure.
### Definition of done
- Guardian comparison and search functionality is improved to resolve the problems described above.
- Documentation and examples are updated accordingly
### Acceptance criteria
- Guardian matches (as mush as possible) human concept of similarities and differences of schemas
Contributor guide
Assessment
This issue has not been assessed yet.