You can spin the code up with "docker-compose up --build"
You and everyone else can then verify your statements on my project by running this:
docker exec -it flask poetry run http localhost:5000/api/abc/
docker exec -it flask poetry run http localhost:5000/api/xyz/
docker exec -it flask poetry run http localhost:5000/api/xyz/
docker exec -it flask poetry run http localhost:5000/api/xyz/
(By the way the response on these calls actually returns the current count of the specific route for easier testing. You can see whether your hypothesis is real by watching the results unfold on each request.)Then run this:
docker exec -it flask poetry run http localhost:5000/stats/
and the results are: [
{
"count": 3,
"path": "xyz"
},
{
"count": 1,
"path": "abc"
}
]
Which is correct. Which means You are wrong sir. You did not test my code. Literally, I just ran this in my code, you can try it if you have the time.I mean you're not the only person to make wrong assumptions on this thread. I'm getting the sense that reviewers just take a quick look and make rash judgements and then throw it into the trash. I'm betting it's not too far off from what the reviewer did for me.
You didn't run the code, which is fine, it's not expected of you. But shockingly, I think it's quite likely the evaluator at the company didn't run my code either and that is not expected or appropriate imo.
I think it's safe to say that This thread in general and your response included is becoming an accurate representation of typical shenanigans that happen for take home projects.
(Your mistake here fine, not a big deal, you're not evaluating me just giving me advice so getting things wrong is understandable in your case)