Open jwmatthews opened 2 months ago
Another example
DEBUG - 2024-06-28 15:16:30,138 - [ file_solution.py:23 - guess_language()] - Code content classified as python
package com.redhat.coolstore.utils;
import jakarta.enterprise.inject.Produces;
import jakarta.enterprise.inject.spi.InjectionPoint;
import java.util.logging.Logger;
public class Producers {
Logger log = Logger.getLogger(Producers.class.getName());
public Logger getLog(InjectionPoint injectionPoint) {
return Logger.getLogger(injectionPoint.getMember().getDeclaringClass().getName());
}
}
DEBUG - 2024-06-28 15:16:30,139 - [ file_solution.py:91 - parse_file_solution_content()] - Found single codeblock
package com.redhat.coolstore.utils;
import jakarta.enterprise.inject.Produces;
import jakarta.enterprise.inject.spi.InjectionPoint;
import java.util.logging.Logger;
public class Producers {
Logger log = Logger.getLogger(Producers.class.getName());
public Logger getLog(InjectionPoint injectionPoint) {
return Logger.getLogger(injectionPoint.getMember().getDeclaringClass().getName());
}
}
I've been seeing intermittent output in logs of a Java example I'm working with being classified as python. I don't yet know how to reproduce this consistently I also don't think this is impacting any functionality right now.
This example is from the LLM returned response for updating https://github.com/konveyor-ecosystem/coolstore/blob/main/src/main/java/com/redhat/coolstore/model/ShoppingCart.java