cti-python-stix2/docs/api
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
..
confidence add new .rst documentation files 2018-11-28 17:03:02 -05:00
datastore Ran trailing-whitespace pre-commit hook. It changed a bunch of 2018-11-27 15:24:08 -05:00
equivalence Graph Equivalence (#449) 2020-10-16 11:35:26 -04:00
markings Ran trailing-whitespace pre-commit hook. It changed a bunch of 2018-11-27 15:24:08 -05:00
v20 New files and directories for RST files. closes #234 2019-01-11 13:59:08 -05:00
v21 New files and directories for RST files. closes #234 2019-01-11 13:59:08 -05:00
stix2.confidence.rst add newlines for stix2.v20.rst, stix2.v21.rst, stix2.confidence.rst 2020-07-01 10:32:51 -04:00
stix2.datastore.rst Ran trailing-whitespace pre-commit hook. It changed a bunch of 2018-11-27 15:24:08 -05:00
stix2.environment.rst Ran trailing-whitespace pre-commit hook. It changed a bunch of 2018-11-27 15:24:08 -05:00
stix2.equivalence.rst expose API Reference for Pattern Equivalence for ReadTheDocs 2020-09-11 13:54:13 -04:00
stix2.exceptions.rst Ran trailing-whitespace pre-commit hook. It changed a bunch of 2018-11-27 15:24:08 -05:00
stix2.markings.rst Ran trailing-whitespace pre-commit hook. It changed a bunch of 2018-11-27 15:24:08 -05:00
stix2.parsing.rst update stix2.parsing.rst 2020-06-30 22:39:58 -04:00
stix2.pattern_visitor.rst fix internal links to stix2.parsing.rst#stix2.parsing.parse 2020-07-01 11:21:53 -04:00
stix2.patterns.rst Ran trailing-whitespace pre-commit hook. It changed a bunch of 2018-11-27 15:24:08 -05:00
stix2.properties.rst Ran trailing-whitespace pre-commit hook. It changed a bunch of 2018-11-27 15:24:08 -05:00
stix2.serialization.rst add serialization to API documentation 2020-07-22 15:38:17 -04:00
stix2.utils.rst Ran trailing-whitespace pre-commit hook. It changed a bunch of 2018-11-27 15:24:08 -05:00
stix2.v20.rst add newlines for stix2.v20.rst, stix2.v21.rst, stix2.confidence.rst 2020-07-01 10:32:51 -04:00
stix2.v21.rst add newlines for stix2.v20.rst, stix2.v21.rst, stix2.confidence.rst 2020-07-01 10:32:51 -04:00
stix2.versioning.rst update stix2.versioning.rst 2020-06-30 22:35:03 -04:00
stix2.workbench.rst Ran trailing-whitespace pre-commit hook. It changed a bunch of 2018-11-27 15:24:08 -05:00