cti-python-stix2/stix2
Emmanuelle Vargas-Gonzalez fb705c4885
Graph Equivalence (#449)
* new packages for graph and object-based semantic equivalence

* new method graphically_equivalent for Environment, move equivalence methods out

* object equivalence function, methods used for object-based moved here.

* new graph_equivalence methods

* add notes

* add support for versioning checks (default disabled)

* new tests to cover graph equivalence and new methods

* added more imports to environment.py to prevent breaking changes

* variable changes, new fields for checks, reset depth check per call

* flexibility when object is not available on graph.

* refactor debug logging message

* new file stix2.equivalence.graph_equivalence.rst and stix2.equivalence.object_equivalence.rst for docs

* API documentation for new modules

* additional text required to build docs

* add more test methods for list_semantic_check an graphically_equivalent/versioning

* add logging debug messages, code clean-up

* include individual scoring on results dict, fix issue on list_semantic_check not keeping highest score

* include results as summary in prop_scores, minor tweaks

* Update __init__.py

doctrings update

* apply feedback from pull request

- rename semantic_check to reference_check
- rename modules to graph and object respectively to eliminate redundancy
- remove created_by_ref and object_marking_refs from graph WEIGHTS and rebalance

* update docs/ entries

* add more checks, make max score based on actual objects checked instead of the full list, only create entry when type is present in WEIGHTS dictionary

update tests to reflect changes

* rename package patterns -> pattern

* documentation, moving weights around

* more documentation moving

* rename WEIGHTS variable for graph_equivalence
2020-10-16 11:35:26 -04:00
..
canonicalization End of changes 2019-09-11 10:44:14 -04:00
confidence update project documentation. 2018-11-28 16:51:00 -05:00
datastore Merge pull request #444 from chisholm/comp_ds_unversioned_objs 2020-10-15 08:57:55 -04:00
equivalence Graph Equivalence (#449) 2020-10-16 11:35:26 -04:00
markings Improve versionability detection when creating new versions 2020-06-05 14:24:16 -04:00
test Graph Equivalence (#449) 2020-10-16 11:35:26 -04:00
v20 Allow mixing single objects and lists in bundles 2020-07-20 00:24:36 -04:00
v21 Allow mixing single objects and lists in bundles 2020-07-20 00:24:36 -04:00
__init__.py expose API Reference for Pattern Equivalence for ReadTheDocs 2020-09-11 13:54:13 -04:00
base.py update docstrings for _STIXBase method 2020-07-22 15:20:39 -04:00
custom.py fix: Respect name of `@Custom*` decorated defs 2020-07-28 11:13:59 +10:00
environment.py Graph Equivalence (#449) 2020-10-16 11:35:26 -04:00
exceptions.py Add duplicate checking to markings and observable extensions, and fix some tests and add some tests. Fixes #363 2020-03-27 14:58:18 -04:00
parsing.py update docstrings environment.py and parsing.py 2020-06-30 22:32:04 -04:00
pattern_visitor.py pre-commit hook stylistic changes 2020-08-13 17:44:42 -04:00
patterns.py Merge pull request #456 from chisholm/fix_comparison_expression_root_type 2020-09-18 09:59:53 -04:00
properties.py Fix trailing commas 2020-06-26 16:43:19 -04:00
serialization.py move serialization-related methods to serialization.py 2020-07-22 15:36:48 -04:00
utils.py Update CompositeDataSource and deduplicate() to handle unversioned 2020-08-17 18:38:29 -04:00
version.py Bump version: 2.0.1 → 2.0.2 2020-07-07 09:42:01 -04:00
versioning.py add module docstring for versioning.py 2020-07-01 10:30:05 -04:00
workbench.py Update docs for 2.1 as default 2020-06-26 16:43:19 -04:00