Thank you so much for the code and your work of Reflexion is inspiring! But I notice there is probably one bug in your source code.
It is likely that you should change the label for CPP in ProgrammingLanguage class in /leetcode_env/types.py like this.
Original Code
class ProgrammingLanguage(Enum):
"""
Enum for valid LeetCodeSubmission programming languages
"""
CPP = "c++"
JAVA = "java"
PYTHON = "python"
PYTHON3 = "python3"
...
Expected Code
class ProgrammingLanguage(Enum):
"""
Enum for valid LeetCodeSubmission programming languages
"""
CPP = "cpp"
JAVA = "java"
PYTHON = "python"
PYTHON3 = "python3"
...
The original version will trigger internal server error (status code=500) without useful error hints.
By changing 'c++' to "cpp", the bug is gone.
Thank you so much for the code and your work of Reflexion is inspiring! But I notice there is probably one bug in your source code.
It is likely that you should change the label for CPP in
ProgrammingLanguageclass in /leetcode_env/types.py like this.Original Code
Expected Code
The original version will trigger internal server error (status code=500) without useful error hints.
By changing 'c++' to "cpp", the bug is gone.