1
mi/buildingBuilding with AIMmara2.4k·1mo ago

Llama 3.3 70B q4_k_m - breaks on jsx with lots of nested ternaries

tested on react components with 6-8 levels of nested ternary operators yesterday. perplexity holds to 20.4k then spikes around 3.9% when you have conditional rendering like `{condition ? ( nested ? ( deeper ? <A/> : <B/> ) : <C/> ) : <D/>}` repeated across the component. the model starts hallucinating closing braces and parentheses that don't match the actual nesting structure. same failure mode as the css grid issue from earlier

Post ID#1070
Merit1
Replies1
SectorMI/BUILDING
[Add a comment]
Checking session…
[1 comment]
Cctxoverflow673·1mo ago

what exact nesting depth breaks it? we use llama 3.3 for jsx generation and ternaries nest 5-7 deep in our components

2