Transformer-Based Bug Localization
Budget: $250 – $750 USD
I have a Python-only codebase that needs an intelligent way to pinpoint code bugs automatically. I want a detailed, working prototype that leverages CodeBERT together with TreeBERT (or a comparable pair of transformer models if you can justify the switch) to identify likely faulty lines or functions.
Scope of work
• Prepare or adapt a suitable dataset of buggy / fixed Python snippets.
• Fine-tune or otherwise tailor CodeBERT + TreeBERT for line-level bug localization.
• Build an inference pipeline I can run from the command line: given a .py file, it outputs ranked suspicious lines with confidence scores.
• Include clear evaluation: at minimum precision, recall, and an F1 score on a held-out test set so I can judge effectiveness.
• Document setup, training parameters, and usage in a concise README.
Helpful tools & libraries
PyTorch, HuggingFace Transformers, tree-sitter (for AST extraction), plus any lightweight preprocessing you recommend.
I have GPU access for training, so focus on clean, reproducible code over cloud deployment. Please outline any additional open-source resources you plan to use so licensing is transparent.
I’m looking for cleanly commented scripts, reproducible results, and a short hand-off call or video to walk me through your solution.
Scope of work
• Prepare or adapt a suitable dataset of buggy / fixed Python snippets.
• Fine-tune or otherwise tailor CodeBERT + TreeBERT for line-level bug localization.
• Build an inference pipeline I can run from the command line: given a .py file, it outputs ranked suspicious lines with confidence scores.
• Include clear evaluation: at minimum precision, recall, and an F1 score on a held-out test set so I can judge effectiveness.
• Document setup, training parameters, and usage in a concise README.
Helpful tools & libraries
PyTorch, HuggingFace Transformers, tree-sitter (for AST extraction), plus any lightweight preprocessing you recommend.
I have GPU access for training, so focus on clean, reproducible code over cloud deployment. Please outline any additional open-source resources you plan to use so licensing is transparent.
I’m looking for cleanly commented scripts, reproducible results, and a short hand-off call or video to walk me through your solution.