Status: completed
Champion?:
Description:
We should add reference detection (links to other posts) and mention detection (links to user identities) to the Discourse plugin. Both references and mentions will correspond to new edge types.
Benefits:
First off, it will significantly increase the quality of cred attribution in the Discourse plugin, since references and mentions are both high-signal. Also, it will unblock a number of important/interesting initiatives, like the initiatives plugin and cred weighted prioritizaiton.
Implementation plan:
- Modify the Discourse fetcher+mirror interface to provide full post text
- Implement a (html?) parser that detects references and mentions
- Update discourse declaration so it has new edge types
- Modify
createGraph
so that it creates the new edge types
Dependencies:
References:
Contributions:
- https://github.com/sourcecred/sourcecred/pull/1402
- https://github.com/sourcecred/sourcecred/pull/1403
- https://github.com/sourcecred/sourcecred/pull/1404
- https://github.com/sourcecred/sourcecred/pull/1405
- https://github.com/sourcecred/sourcecred/pull/1406
- https://github.com/sourcecred/sourcecred/pull/1409
- https://github.com/sourcecred/sourcecred/pull/1410
- https://github.com/sourcecred/sourcecred/issues/1420
- https://github.com/sourcecred/sourcecred/pull/1422
- https://github.com/sourcecred/sourcecred/pull/1423
- https://github.com/sourcecred/sourcecred/pull/1424