Unlocking SLM Potential for Data Analysis Code Generation via Non-Parametric Knowledge Distillation
ELVIA analysis
Independent review pending
The first reported finding concerns “Textual print deletion corrupts valid final-answer programs”. The component can turn correct admissible programs into failures, potentially changing successful-memory inclusion or inference observations. Original generated-program frequency and numerical benchmark effects are unestablished; SQL evaluation is separate.
Problem 1. Textual print deletion corrupts valid final-answer programs
MinorEvidence and reasoning
Problem statement
The helper deletes every line containing the substring print( except the last matching line before execution.
Proof
A valid CSV program loads values then if their sum exceeds prints “yes”, else prints “no”. It emits exactly one final answer at runtime. Deleting the first branch’s print leaves an empty if suite, causing a parse error, independently of which branch the data select. Values give the same structural failure. A second program assigns the six-character string “print(” to label, sets answer to its length, then prints answer; deleting the assignment instead creates an undefined name. One actual final-print control is unaffected.
Possible revision
Remove source-line deletion and handle output according to an explicit runtime contract. Replacing removed statements with pass can still erase the correct final output; no general line-deletion substitute is supplied.
Problem 2. The example planning path ignores per-query meta-instructions
MinorEvidence and reasoning
Problem statement
The active wrapper inserts shared prompt_sug and never reads each record’s generated rag_mg; the example also points planning at the raw rather than enriched input.
Proof
Hold question, data, template and shared guidance fixed, and change rag_mg from “sum the numeric column” to “count distinct identifiers”. The active wrapper’s prompt is identical because the changed field is absent from its dependencies. The existing mg wrapper does read the field and yields distinct prompts.
Thus query-specific generation cannot affect this shown path, although a global-guidance variant can intentionally use it.
Possible revision
For the MI variant, pass the enriched instruction output file and select the existing per-query wrapper. Missing prompts/models/configurations still prevent a complete reproduction claim.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
By doing so, SLMs can generate more relevant and contextually appropriate instructions, effectively bridging the gap between general knowledge and query-specific requirements.
NeurIPS 2025 official proceedings PDF (retained local copy); PDF p. 6
Actual review scope
The recorded inspection concerns these source locations: code_utils.py, remove_intermediate_prints lines 467–480; exec_python.py call; workflow, PDF pp.4–5; Eqs.(4)–(5), PDF p.6; run_phi-3_python.sh; rag_final_python_cot_gpu.py active planning loader.