Developer Builds Contradiction-Aware Research Agent on Cognee Knowledge Graph
A developer built ChronoScholar, a research memory agent that ingests arXiv papers into a Cognee knowledge graph and flags when newer papers contradict older stored findings, addressing a key limitation of standard RAG systems. The project was created for the WeMakeDevs x Cognee hackathon using a strict test-driven development approach across 8 components and 60 tests. The system uses Gemini 2.5 Flash to classify relationships between paper pairs and achieved a perfect F1 score of 1.0 on a small 10-pair contradiction detection benchmark, producing 494 entities and 1,025 edges from just 10 ingested papers. Despite comprehensive unit testing, the developer found that all five major integration failures were invisible to the mocked test suite and only surfaced when the real system ran. Key bugs uncovered included a Python str.strip() misuse corrupting JSON output, a silently discarded system prompt in the Groq API call, and greedy template variable substitution causing incomplete prompt rendering.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in