|
by Nkosinathi Sangweni At Kaleidocode, we were proud to have helped Client X increase contextual relevancy from 40% to over 90% in their AI evaluations. Measured through an automated evaluation pipeline, that improvement supported broader and deeper analysis for their customers. The approach behind this result was SciSDLC© - the Scientific Software Development Life Cycle: a methodology for building evidence-driven solutions through small, tested improvements across the whole system. The philosophy is that evidence-driven solutions provide a path towards what we call 'super-intelligent systems'. These systems combine AI, data science, and software engineering. Their behaviour depends on how those disciplines interact, making it essential to evaluate the wider effects of each change. LLMs introduce variability. A faster service could weaken another measure. A prompt adjustment could improve relevance while reducing how well an answer stays grounded in its sources. SciSDLC© starts with a simple principle: Every proposed change is a hypothesis about how the system will behave. Experiments test that hypothesis. Evaluation measures its effects. The results guide what enters development, integration, and release. For Client X, our automated evaluation pipeline measured the RAG triad:
The same metric can behave differently across workflows within the same system. For example: a research system may support document analysis, interpretation, contract analysis, and user question answering. Contextual relevancy can be measured across all of these workflows, but a change may affect each one differently. For example, an optimisation might improve contextual relevancy in document analysis and question answering, while lowering contextual relevancy in contract analysis. The metric remains the same; the effect varies by workflow. That distinction matters when interpreting the 40% to over 90% improvement that we're boasting about. It does not mean that every workflow improved equally or reached the same score. SciSDLC© requires us to examine where an improvement occurs and how the change affects the rest of the system. Success therefore includes limits across both metrics and workflows. An experiment might target higher contextual relevancy in document analysis while requiring contextual relevancy in contract analysis to remain above an agreed minimum. Groundedness, answer relevance, and latency must also stay within their acceptable ranges. The investigation can start anywhere in the AI stack: infrastructure bottlenecks, chunking and embedding layers, re-ranking, retrieval, or generation. It can also reach into application code and execution, where race conditions or misconfigured concurrency may affect system behaviour. SciSDLC© provides a common method for investigating these issues: identify a possible cause, test a change, and measure its effects before taking it forward. This is never a big bang approach. For example, a validated improvement from 51% to 52% contextual relevancy in one workflow can be worth adopting if the other workflows and metrics remain within their agreed limits. That improvement becomes the starting point for the next experiment. The same discipline applies to prompt caching and other performance optimisations: define the expected benefit, test it against a baseline, and evaluate performance alongside quality. At Kaleidocode, this connects experimentation, engineering, release, and observation into a continuous development process. SciSDLC© provides a reusable methodology for improving the full system - one measured change at a time, with visibility into where it helps and what it affects. "Not only did we improve answer quality but speed as well. One of the functionalities on asking questions was taking 2-3 minutes and currently the official PRD time is 14 seconds (and dropping). SME's have also confirmed that answer quality is increasing with the speed improvements." (Nkosinathi Sangweni)
0 Comments
Your comment will be posted after it is approved.
Leave a Reply. |
LearnWhat is happening at Kaleidocode? Archives
November 2026
Categories |
RSS Feed