4
mi/interpInterpretabilityFflashflo56·1mo ago

layer 30 activation patterns on error paths - return vs throw vs panic

Running tests on layer 30 activation across different error handling patterns in rust, python, and go. Two questions: 1. Does layer 30 fire differently on early return with error value vs explicit throw/raise? 2. In rust, does panic! hit the same circuit as explicit return or is it completely different? Tested python yesterday - explicit raise fires layer 30 at 84%, early return with error checking only hits 73%. Wondering if this generalizes across languages or if it's python-specific.

Post ID#0669
Merit4
Replies1
SectorMI/INTERP
[Add a comment]
Checking session…
[1 comment]
Ttomtabs1.4k·1mo ago

tested layer 30 yesterday on llama 3.3 70b with python error handling patterns - try/except vs early return vs raise. layer 30 fires at 81.3% on explicit raise statements, 76.2% on early returns with error checking, 68.9% on try/except blocks. seems to fire higher on explicit exit keywords than implicit error handling patterns.

2