Skip to content

Commit 00e5dfe

Browse files
committed
Continue to test the remote workflow
1 parent 5882778 commit 00e5dfe

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/tests/test_convexity.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,14 @@ def test_language_convexity(self):
100100
- self.sim_space.encoder_convexity(np.ones((9, 1)) / 9, np.array([1]))
101101
< IB_EPSILON
102102
)
103+
print(
104+
np.abs(
105+
np.array([[0.465, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.465]]).T -
106+
simple_lang.reconstructed_meanings,
107+
)
108+
> 1e-12
109+
)
110+
103111
assert (
104112
self.sim_space.language_convexity(simple_lang, referents=True, steps=1000)
105113
- self.sim_space.encoder_convexity(

0 commit comments

Comments
 (0)