()
| 93 | |
| 94 | |
| 95 | def test_uses_last_user_message(): |
| 96 | sig = StructuralSignal() |
| 97 | row = {"messages": [ |
| 98 | {"role": "user", "content": "Design a distributed system with Kafka, Redis, PostgreSQL..."}, |
| 99 | {"role": "assistant", "content": "Sure, here is the design..."}, |
| 100 | {"role": "user", "content": "hello"}, |
| 101 | ]} |
| 102 | vote = sig.predict(row) |
| 103 | assert vote.tier_id <= 1 |
nothing calls this directly
no test coverage detected