The Efficient Market Hypothesis seems to draw quite a lot of attention in popular debates, and in general during discussions on Behavioral Finance, where it is often seen as not entirely correct.
I wanted to know if within the Economics community, there is a consensus on the general empirical validity of the theory, or if the view is that it sometimes works and sometimes doesn't, do Economists have satisfactory knowledge as of now, on under which conditions it does not work and what exactly are the deviations in these cases.
As opinion-based questions are not to be asked in this website, I am interested in papers or other academic material summarizing the current empirical evidence for and against the EMH, or maybe a list of such summaries/ literature reviews that can give me a fuller picture.