tinker-engine / sailon-protocols

0 stars 0 forks source link

Add core OND protocol functionality #3

Closed nrsyed closed 3 years ago

nrsyed commented 3 years ago

This PR updates the DummyInterface, adds a MockDetector class (a modified version of the legacy MockDetector class), and fills out the ONDProtocol.run_protocol method. This allows the protocol to be run with tinker using the included sample config. At this stage, this is purely for demonstration—the mock algorithm does not perform any actual work and its methods simply return empty strings or None. Similarly, the protocol does not do anything useful with the returned values and the dummy interface produces hardcoded values. This functionality, along with other protocol functionality (e.g., image classification and feedback) will be introduced in future iterations.