JetBrains-Research / TestSpark

TestSpark - a plugin for generating unit tests. TestSpark natively integrates different AI-based test generation tools and techniques in the IDE. Started by SERG TU Delft. Currently under implementation by JetBrains Research (Software Testing Research) for research purposes.
MIT License
48 stars 13 forks source link

Add language-agnostic parsing of the backtick block with code snippet for `HuggingFaceRequestManage` #290

Open Vladislav0Art opened 3 months ago

Vladislav0Art commented 3 months ago

Description

The implementation of the method HuggingFaceRequestManager.extractLLMGeneratedCode has a hard-coded Java-specific parsing.

It should be re-implemented to either support Kotlin as well or, even better, be completely language-agnostic or language-parameterizable.

Screenshots:

Screenshot 2024-07-05 at 13 26 02
Vladislav0Art commented 3 months ago

@Frosendroska, Hi! This is to inform you that such an issue exists with the FuggingFace integration.