sourcecred/src/core
Dandelion Mané 917b793aca
Move some files from core/attribution/ to analysis/ (#944)
The `core/attribution/` folder has some code that really is "core" in
that it deals with very basic concepts around converting graphs to
markov chains and running PageRank on them, and some code that is less
"core", like for normalizing scores and doing analysis on them.

To make progresson #704, we need an intermediary directory that has
analysis-related code that is e.g. aware of Node and Edge types, and
weights on those types, and can use them to run weight-informed
PageRank. That code shouldn't live in the app directory (since it is not
coupled to the frontend rendering), but also shouldn't live in core
(since "core" is basically finalized code with fully baked abstractions,
and per #710, this is not true of the node/edge type system).

Thus, I've decided to create the `analysis` directory. To get that
directory started, I've moved the non-core code in `core/attribution/`
to `analysis/`.

Test plan: `yarn test` passes, which is all we need, since this is a
straightforward file rename.
2018-10-29 22:54:15 +00:00
..
__snapshots__ Change `src/v3/` to `src/` and remove v3 naming (#474) 2018-06-30 16:01:54 -07:00
attribution Move some files from core/attribution/ to analysis/ (#944) 2018-10-29 22:54:15 +00:00
address.js Use `MapUtil` functions where appropriate (#496) 2018-07-06 22:14:33 -07:00
address.test.js Change `src/v3/` to `src/` and remove v3 naming (#474) 2018-06-30 16:01:54 -07:00
graph.js Use `NullUtil` functions where appropriate (#506) 2018-07-09 17:53:05 -07:00
graph.test.js Add `edgeToStrings` for easy snapshotting (#500) 2018-07-06 17:04:06 -07:00
graphTestUtil.js Change `src/v3/` to `src/` and remove v3 naming (#474) 2018-06-30 16:01:54 -07:00
repoId.js Add the `RepoIdString` type (#885) 2018-09-21 16:54:20 -07:00
repoId.test.js Add the `RepoIdString` type (#885) 2018-09-21 16:54:20 -07:00
trie.js Add `Trie.getLast` (#646) 2018-08-10 23:01:29 -07:00
trie.test.js Add `Trie.getLast` (#646) 2018-08-10 23:01:29 -07:00