golemcloud / golem

Golem is an open source durable computing platform that makes it easy to build and deploy highly reliable distributed systems.
https://learn.golem.cloud/
Apache License 2.0
530 stars 59 forks source link

Expand the comprehensive test to cover all scenarios #986

Closed afsalthaj closed 1 month ago

afsalthaj commented 1 month ago

It looks like with the new mock_data, mock_interpreter, data-types extensive function metadata and component metadata, its now easier to expand on test_interpreter_complex_rib which is a dedicated module to test a complex Rib.

While we have dedicated test for each functionality, its important to test how it behaves when chaining them altogether, such as taking the result of a function and construct a variant.

Currently it looks like only 70%, which is already significantly better than what existed during the initial stages of Rib.

afsalthaj commented 1 month ago

Estimate is 3 considering we may encounter bugs (even if the initial comprehensive tests worked as it is, with no bug fixes)