Mert Özen Go Beyond the Code

Blog

Posts and series that take software and IT from the basics to advanced topics: from programming languages and databases to architecture and AI.

Series
1990 posts found
Incremental, Iterative and Spiral Models: Surfacing Risk Early
Project Management PART 04

Incremental, Iterative and Spiral Models: Surfacing Risk Early

Incremental development adds the system part by part, iterative development builds the whole roughly and reworks it; Cockburn recommends using both together. We start Bookstore's checkout with a walking skeleton and grow it in slices, and cover Boehm's risk-driven Spiral model, throwaway vs evolutionary prototypes, RAD and RUP's four phases, together with the pitfall of mini-Waterfall disguised as iterations.

8 Nov 2026 7 min 67
The V-Model: Pairing Every Development Step with a Test Level
Project Management PART 03

The V-Model: Pairing Every Development Step with a Test Level

In the V-Model testing isn't done last, it's designed on the left arm: requirements pair with acceptance tests, system design with system tests, architecture with integration tests, module design with unit tests. We tie Bookstore's 14-day return rule to its requirement with xUnit v3 traits, list the four tests of REQ-RET-01 with one command, and see in real test output which requirement a boundary bug breaks.

8 Nov 2026 8 min 70
The Waterfall Model: What Royce Actually Said in 1970
Project Management PART 02

The Waterfall Model: What Royce Actually Said in 1970

In his 1970 paper Royce drew the single-pass model but immediately called it risky, because problems such as timing and memory first appear in testing and force a redesign. We cover his five fixes (program design first, document it, do it twice, plan testing, involve the customer), the story of the name "Waterfall" and DOD-STD-2167, and how integration blows up in the last month of Bookstore's returns feature.

8 Nov 2026 8 min 95
What Is the SDLC? A Software System's Life from Idea to Retirement
Project Management PART 01

What Is the SDLC? A Software System's Life from Idea to Retirement

The SDLC (Software Development Life Cycle) is the full set of phases software goes through from idea to retirement: requirements, design, implementation, test, deployment, operations and retirement; models don't change the phases, only their order and repetition. Using Bookstore's returns feature we look at each phase's output, the weight of maintenance, the four process groups of ISO/IEC/IEEE 12207:2026 and the forgotten retirement phase.

8 Nov 2026 8 min 90
Agentic RAG and GraphRAG: When Classic RAG Is Not Enough
Artificial Intelligence PART 13

Agentic RAG and GraphRAG: When Classic RAG Is Not Enough

Classic RAG handles most questions whose answer sits in one place; on multi-hop questions an agent that uses retrieval as a tool found the right source but spent 3 calls, 11 times the tokens and 30 times the time. GraphRAG's first step produced fragmented entities with a small model, and long context with the whole corpus in the prompt tied classic RAG at 7/10.

8 Nov 2026 14 min 85
Measuring RAG: Recall@k, MRR, nDCG, Faithfulness and Groundedness
Artificial Intelligence PART 12

Measuring RAG: Recall@k, MRR, nDCG, Faithfulness and Groundedness

Measuring RAG means measuring retrieval against labelled sources (recall@k, MRR, nDCG) and generation with an LLM judge (groundedness, relevance) separately. We compare four retrieval methods on 30 questions in C#, show Microsoft.Extensions.AI.Evaluation giving 5 to an answer that misses the question, and cut a 1 min 42 s test to 1.1 s with response caching.

8 Nov 2026 12 min 126
Authorization and Security in RAG: Document-Level Permissions, Multi-Tenant Filters and Indirect Prompt Injection
Artificial Intelligence PART 11

Authorization and Security in RAG: Document-Level Permissions, Multi-Tenant Filters and Indirect Prompt Injection

In RAG, authorization isn't a request in the prompt but the WHERE clause of the retrieval query: told "don't reveal this", gemma3:4b told a customer the staff discount. We take tenant and ACL from the token into the query with EF Core 10 named query filters, and measure an HNSW filter returning 1 result instead of 10 and a poisoned reader review asking for card numbers.

8 Nov 2026 11 min 83
Putting Context into the Prompt: Citations, Context Budget and "I Don't Know" on Low Scores
Artificial Intelligence PART 10

Putting Context into the Prompt: Citations, Context Budget and "I Don't Know" on Low Scores

Packing chunks as short id-tagged blocks within a token budget, getting the answer and source ids via structured output and validating the ids in code makes citations trustworthy; but a valid citation is not a correct answer. Because Turkish similarity scores overlap, a pre-model "I don't know" threshold only catches the obvious cases.

8 Nov 2026 12 min 79
Reranking and Query Transformation: Cross-Encoders, Query Rewriting and HyDE
Artificial Intelligence PART 09

Reranking and Query Transformation: Cross-Encoders, Query Rewriting and HyDE

Retrieve wide, return narrow: passing hybrid search's 10 candidates through a reranker that reads question and chunk together raised the right chunk in first place from 15 to 23 of 30 questions, at 3.2 seconds per question. We measure conversational query rewriting, multi-query, HyDE and self-query on the same set and show when they hurt.

8 Nov 2026 14 min 110
Hybrid Search and Reciprocal Rank Fusion: Combining Keyword and Vector Search
Artificial Intelligence PART 08

Hybrid Search and Reciprocal Rank Fusion: Combining Keyword and Vector Search

Vector search misses SKUs, ISBNs and rare terms; adding keyword search with PostgreSQL tsvector (turkish) and merging the two lists by rank rather than score, with Reciprocal Rank Fusion, closes that gap. We build it with EF Core, a single SQL query and VectorData HybridSearchAsync, and measure vector, keyword and hybrid recall on 30 questions.

8 Nov 2026 14 min 101
Vector Search with EF Core (2): PostgreSQL pgvector, HNSW Index and Dapper
Artificial Intelligence PART 07

Vector Search with EF Core (2): PostgreSQL pgvector, HNSW Index and Dapper

With Pgvector.EntityFrameworkCore a Vector property, an HNSW index and CosineDistance ordering take a few lines; the real risk is silent failures: an index built with vector_l2_ops was never used by a cosine query, and without ReloadTypes Npgsql could not write the vector. Search with a permission filter, EXPLAIN checks, halving storage with halfvec (identical top-5 for 30 of 30 questions) and the same query with Dapper.

8 Nov 2026 12 min 80
Vector Search with EF Core (1): SQL Server 2025 vector Type, VectorDistance and EF Core 11 VectorSearch
Artificial Intelligence PART 06

Vector Search with EF Core (1): SQL Server 2025 vector Type, VectorDistance and EF Core 11 VectorSearch

In EF Core 10 a SQL Server 2025 vector column is mapped with a SqlVector<float> property and HasColumnType("vector(768)"), and search is done exactly with EF.Functions.VectorDistance. We build the code and inspect the real SQL EF Core generates: queries without a projection fetch the vector too, the preview vector index and VECTOR_SEARCH, and what EF Core 11 brings. SQL Server 2025 was not run for this post.

8 Nov 2026 10 min 92
Blog Map