Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

fix: true

globs:
- "**/*.md"

ignores:
- "CHANGELOG.md"
- ".venv"
Expand All @@ -16,4 +13,7 @@ ignores:
config:
# MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md046.md
MD046:
style: consistent
style: consistent
# MD007/unordered-list-indent - this is not compatible with mkdocs indented lists which require 4 spaces.
#It constantly de-dents 2 spaces leading lists to be flat
MD007: false
26 changes: 13 additions & 13 deletions website/docs/core-concepts/data-sharing.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ data. For more general information about these databases see
There are two key points that underpin data reuse in `ado`:

- You can **share** a Sample Store between multiple Discovery Spaces
- This allows a Discovery Space to (re)use relevant Entities and Measurements
stored in the Sample Store by operations on other Discovery Spaces
- This allows a Discovery Space to (re)use relevant Entities and Measurements
stored in the Sample Store by operations on other Discovery Spaces
- **Entities are always shared**. There is only one entry in a Sample Store for
an Entity

Expand Down Expand Up @@ -65,13 +65,13 @@ consider:

- **measured**: retrieve only Entities and measurements that were sampled via an
operation on the given Discovery Space
- this can be considered the "no sharing" mode. If an Entity or measurement
exists in the Sample Store that's compatible with the Discovery Space, but
no operation on the Discovery Space ever visited it, the "measured" mode
will not show it
- this can be considered the "no sharing" mode. If an Entity or measurement
exists in the Sample Store that's compatible with the Discovery Space, but
no operation on the Discovery Space ever visited it, the "measured" mode
will not show it
- **matching**: retrieve all Entities and measurements that match the Discovery
Space
- this can be considered the "sharing" mode.
- this can be considered the "sharing" mode.

## Data sharing and memoization

Expand All @@ -93,10 +93,10 @@ sampling process is as follows:
- The Entity's record is retrieved from the Sample Store if present (via its
unique identifier)
- If **memoization is on**
- for each experiment in the MeasurementSpace, `ado` checks if a result for it
already exists (via the experiment's unique identifier)
- if it does, the result is reused. If there is more than one result, they
are all reused
- for each experiment in the MeasurementSpace, `ado` checks if a result for it
already exists (via the experiment's unique identifier)
- if it does, the result is reused. If there is more than one result, they
are all reused
- if **memoization is off**
- Existing results are ignored. Each experiment in the Measurement Space is
applied again to the Entity. The new results are added to any existing.
- Existing results are ignored. Each experiment in the Measurement Space is
applied again to the Entity. The new results are added to any existing.
Loading