It’s amazing how smart our ancestors were and creative and observant based on amateur science and gardening skills. The amount of planning and organization this must have taken would require a large coordinated effort.
But a farmer is a professional scientist and a professional gardener. Living 1k years ago did not make them uninformed or unskilled at their profession. It's quite a modern bias to suggest this is amateur.