Feature/binary data operation#89
Conversation
…re/binary_data_operation # Conflicts: # backend/ibex/data_source/imas_python_source.py
Code Review — Backend IssuesReviewing the backend changes introduced by this PR. No style comments — only genuine bugs and a performance concern (copilot: sonnet 4.6). 🔴 Bug 1:
|
|
🔴 Bug 1: root:0 causes unhandled ZeroDivisionError → HTTP 500 instead of 466
🔴 Bug 2: Malformed operation strings cause unhandled ValueError → HTTP 500 instead of 466
🔴 Bug 3: IMAS_URI.occurrence is a str when present, int when absent
🟠 Bug 4: calculate_coordinate_shapes — n_coords is declared but never used
🟠 Bug 5: _get_descendant_node_names silently drops struct_array children
🟡 Bug 6: _walk_outline_nodes uses plain in instead of path_in_filled_paths
⚡ Performance: _OP_FUNCS dict rebuilt on every recursive call
|
|
@jwasikpsnc please fix conflict and then it should be good to be merged |
…re/binary_data_operation
…re/binary_data_operation # Conflicts: # backend/ibex/data_source/imas_python_source.py
|
Done |
/data/plot_data/operationsparameter/info/data_manipulation_methodsendpoint responseoperationsas list["operation:value", "..."] e.g.["add:1","mul:2","div:3"]`addsubmuldivpowrootWaiting for #72 to be merged first