Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -412,17 +412,17 @@ <h2 class="card-title"><a href="projects/postman-newman-api-testing.html">API Te
<div class="card-meta"><div class="workflow-meta"><a class="badge-link" href="https://github.com/niranjankagri/postman-newman-api-testing/actions/workflows/ci.yml" target="_blank" rel="noopener" aria-label="Open the CI workflow history of API Testing with Postman and Newman"><img class="ci" src="https://github.com/niranjankagri/postman-newman-api-testing/actions/workflows/ci.yml/badge.svg" alt="GitHub Actions workflow badge" width="150" height="20" loading="lazy"><span class="badge-fallback" hidden>Workflow history</span></a></div><p class="evidence" title="Scheduled CI run on main">Evidence checked 28 Nov 2026 | <a href="https://github.com/niranjankagri/postman-newman-api-testing/actions/runs/46109992378" target="_blank" rel="noopener">Scheduled CI run on main</a></p></div>
</div>
</div>
</article><article class="card project-card" data-project-id="ai-application-quality-testing" data-category="ai &amp; llm" data-tech="python" data-focus="" data-search="ai application quality testing a small support assistant over a fixed knowledge base, tested for grounded answers, an honest &quot;i don&#x27;t have that information&quot; and refused prompt injections. the same flow runs on a local ollama model every week, where each red-team fail is graded twice and only the fails both grades agree on are kept. a small support assistant over a fixed knowledge base, tested for grounded answers, an honest &quot;i don&#x27;t have that information&quot; and refused prompt injections. the same flow runs on a local ollama model every week, where each red-team fail is graded twice and only the fails both grades agree on are kept. on 3 dec 2026: 41 pytest scenarios passed, 9 of 9 promptfoo cases passed, and retrieval scored 1.000 on the 23 tuning queries but recall@1 0.083 on a blind holdout of 25 new questions (no-answer accuracy 1.000 on both). the weekly local-model run on 28 nov 2026: 8 of 8 evaluations passed, red team 5 of 6 after the second grade. historical repository or workflow evidence ci run on main python pytest promptfoo ollama rag red teaming" data-featured="false" data-date="2026-12-03" data-roles="" data-purpose="A small support assistant over a fixed knowledge base, tested for grounded answers, an honest &quot;I don&#x27;t have that information&quot; and refused…" data-result="On 3 Dec 2026: 41 pytest scenarios passed, 9 of 9 Promptfoo cases passed, and retrieval scored 1.000 on the 23 tuning queries but Recall@1 0.083 on a blind holdout of 25 new questions (no-answer accuracy 1.000 on both). The weekly local-model run on 28 Nov 2026: 8 of 8 evaluations passed, red team 5 of 6 after the second grade." data-result-kind="Historical repository or workflow evidence" data-languages="Python" data-layers="Retrieval metrics, deterministic behaviour evals, local-model evals and a red team" data-targets="Offline on every push; real local models weekly through Ollama" data-approach="Deterministic assertions first, a local rubric grader, every red-team fail graded twice" data-report="Weekly model run summary" data-limitations="" data-comparison-limits="Three knowledge-base articles and 48 labelled queries are a small lab; keyword retrieval misses most reworded questions (holdout Recall@1 0.083); the weekly 3b model on a CPU runner is an indication, not a measurement." data-case="projects/ai-application-quality-testing.html" data-report-url="https://github.com/niranjankagri/ai-application-quality-testing/blob/main/docs/images/model-run.png" data-architecture-image="" data-architecture-alt="" data-image="img/ai-app-quality.jpg" data-alt="Weekly local-model run on 28 Nov 2026: 8 of 8 Promptfoo evaluations passed, red team 5 of 6 after a second grade" data-source="https://github.com/niranjankagri/ai-application-quality-testing" data-live="" data-evidence-url="https://github.com/niranjankagri/ai-application-quality-testing/actions/runs/47082916322" data-evidence-label="CI run on main" data-workflow="https://github.com/niranjankagri/ai-application-quality-testing/actions/workflows/ci.yml" data-workflow-name="Quality checks">
</article><article class="card project-card" data-project-id="ai-application-quality-testing" data-category="ai &amp; llm" data-tech="python" data-focus="" data-search="ai application quality testing a small support assistant over a fixed knowledge base, tested for grounded answers, an honest &quot;i don&#x27;t have that information&quot;, refused prompt injections, attacks hidden in retrieved articles and every way the local model can fail. the same flow runs on a local ollama model every week, where each red-team fail is graded twice. a small support assistant over a fixed knowledge base, tested for grounded answers, an honest &quot;i don&#x27;t have that information&quot;, refused prompt injections, attacks hidden in retrieved articles and every way the local model can fail. the same flow runs on a local ollama model every week, where each red-team fail is graded twice. on 3 dec 2026: 96 pytest scenarios passed, 11 of 11 promptfoo cases passed, and hybrid retrieval scored 1.000 on the 23 tuning queries and recall@1 0.361 on a blind holdout of 25 new questions (keyword retrieval: 0.083; no-answer accuracy 1.000 throughout). the local-model run for the output guard the same day: 9 of 9 evaluations passed; with the guard off, the model followed a planted instruction in 3 of 8 answers. historical repository or workflow evidence ci run on main python pytest promptfoo ollama rag red teaming" data-featured="false" data-date="2026-12-03" data-roles="" data-purpose="A small support assistant over a fixed knowledge base, tested for grounded answers, an honest &quot;I don&#x27;t have that information&quot;, refused prompt…" data-result="On 3 Dec 2026: 96 pytest scenarios passed, 11 of 11 Promptfoo cases passed, and hybrid retrieval scored 1.000 on the 23 tuning queries and Recall@1 0.361 on a blind holdout of 25 new questions (keyword retrieval: 0.083; no-answer accuracy 1.000 throughout). The local-model run for the output guard the same day: 9 of 9 evaluations passed; with the guard off, the model followed a planted instruction in 3 of 8 answers." data-result-kind="Historical repository or workflow evidence" data-languages="Python" data-layers="Retrieval benchmarks, indirect-injection defences, deterministic and local-model evals and a red team" data-targets="Offline on every push; real local models weekly through Ollama" data-approach="Deterministic assertions first, a local rubric grader, every red-team fail graded twice" data-report="Weekly model run summary" data-limitations="" data-comparison-limits="Three knowledge-base articles and 48 labelled queries are a small lab; hybrid retrieval still misses most reworded questions (holdout Recall@1 0.361); the weekly 3b model on a CPU runner is an indication, not a measurement." data-case="projects/ai-application-quality-testing.html" data-report-url="https://github.com/niranjankagri/ai-application-quality-testing/blob/main/docs/images/model-run.png" data-architecture-image="" data-architecture-alt="" data-image="img/ai-app-quality.jpg" data-alt="Weekly local-model run on 28 Nov 2026: 8 of 8 Promptfoo evaluations passed, red team 5 of 6 after a second grade" data-source="https://github.com/niranjankagri/ai-application-quality-testing" data-live="" data-evidence-url="https://github.com/niranjankagri/ai-application-quality-testing/actions/runs/47097255736" data-evidence-label="CI run on main" data-workflow="https://github.com/niranjankagri/ai-application-quality-testing/actions/workflows/ci.yml" data-workflow-name="Quality checks">
<a class="card-image" href="projects/ai-application-quality-testing.html" tabindex="-1"><img src="img/ai-app-quality.jpg" alt="Weekly local-model run on 28 Nov 2026: 8 of 8 Promptfoo evaluations passed, red team 5 of 6 after a second grade" width="640" height="400" loading="lazy"></a>
<div class="body">
<p class="kind">Project | AI &amp; LLM</p>
<h2 class="card-title"><a href="projects/ai-application-quality-testing.html">AI Application Quality Testing</a></h2>
<p class="desc">A small support assistant over a fixed knowledge base, tested for grounded answers, an honest &quot;I don&#x27;t have that information&quot; and refused…</p>
<div class="card-result"><p class="fact">On 3 Dec 2026: 41 pytest scenarios passed, 9 of 9 Promptfoo cases passed, and retrieval scored 1.000 on the 23 tuning queries but Recall@1 0.083 on a blind holdout of 25 new questions (no-answer accuracy 1.000 on both). The weekly local-model run on 28 Nov 2026: 8 of 8 evaluations passed, red team 5 of 6 after the second grade.</p><p class="evidence-kind">Historical repository or workflow evidence</p></div>
<p class="desc">A small support assistant over a fixed knowledge base, tested for grounded answers, an honest &quot;I don&#x27;t have that information&quot;, refused prompt…</p>
<div class="card-result"><p class="fact">On 3 Dec 2026: 96 pytest scenarios passed, 11 of 11 Promptfoo cases passed, and hybrid retrieval scored 1.000 on the 23 tuning queries and Recall@1 0.361 on a blind holdout of 25 new questions (keyword retrieval: 0.083; no-answer accuracy 1.000 throughout). The local-model run for the output guard the same day: 9 of 9 evaluations passed; with the guard off, the model followed a planted instruction in 3 of 8 answers.</p><p class="evidence-kind">Historical repository or workflow evidence</p></div>
<ul class="tags" aria-label="Technologies"><li><a class="tag tag-link" href="projects.html?skill=Python">Python</a></li><li><a class="tag tag-link" href="projects.html?skill=pytest">pytest</a></li><li><a class="tag tag-link" href="projects.html?skill=Promptfoo">Promptfoo</a></li><li><a class="tag tag-link" href="projects.html?skill=Ollama">Ollama</a></li><li><a class="tag tag-link" href="projects.html?skill=RAG">RAG</a></li><li><a class="tag tag-link" href="projects.html?skill=Red teaming">Red teaming</a></li></ul>
<div class="card-foot">
<div class="actions"><a class="go" href="projects/ai-application-quality-testing.html">Case study <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M13.2 5.3l1.4-1.4L22.7 12l-8.1 8.1-1.4-1.4 5.7-5.7H2v-2h16.9z"/></svg></a><a class="source-action" href="https://github.com/niranjankagri/ai-application-quality-testing" target="_blank" rel="noopener">Source</a><button class="text-action preview-action" type="button" data-preview-project data-js-only aria-haspopup="dialog">Preview</button><button class="text-action compare-action" type="button" data-compare-project data-js-only aria-pressed="false">Compare</button></div>
<div class="card-meta"><div class="workflow-meta"><a class="badge-link" href="https://github.com/niranjankagri/ai-application-quality-testing/actions/workflows/ci.yml" target="_blank" rel="noopener" aria-label="Open the Quality checks workflow history of AI Application Quality Testing"><img class="ci" src="https://github.com/niranjankagri/ai-application-quality-testing/actions/workflows/ci.yml/badge.svg" alt="GitHub Actions workflow badge" width="150" height="20" loading="lazy"><span class="badge-fallback" hidden>Workflow history</span></a></div><p class="evidence" title="CI run on main">Evidence checked 3 Dec 2026 | <a href="https://github.com/niranjankagri/ai-application-quality-testing/actions/runs/47082916322" target="_blank" rel="noopener">CI run on main</a></p></div>
<div class="card-meta"><div class="workflow-meta"><a class="badge-link" href="https://github.com/niranjankagri/ai-application-quality-testing/actions/workflows/ci.yml" target="_blank" rel="noopener" aria-label="Open the Quality checks workflow history of AI Application Quality Testing"><img class="ci" src="https://github.com/niranjankagri/ai-application-quality-testing/actions/workflows/ci.yml/badge.svg" alt="GitHub Actions workflow badge" width="150" height="20" loading="lazy"><span class="badge-fallback" hidden>Workflow history</span></a></div><p class="evidence" title="CI run on main">Evidence checked 3 Dec 2026 | <a href="https://github.com/niranjankagri/ai-application-quality-testing/actions/runs/47097255736" target="_blank" rel="noopener">CI run on main</a></p></div>
</div>
</div>
</article><article class="card project-card" data-project-id="rag-agent-evals" data-category="ai &amp; llm" data-tech="" data-focus="" data-search="testing rag and ai agents 61 eval cases in four versioned suites (rag, robustness, security, agent) for a support assistant and an agent that can move money. there is no language model on purpose: bm25 retrieval and rules, so every number repeats exactly. a planner that misbehaves on purpose tests the guardrails: forbidden tools, bad arguments, endless loops. 61 eval cases in four versioned suites (rag, robustness, security, agent) for a support assistant and an agent that can move money. there is no language model on purpose: bm25 retrieval and rules, so every number repeats exactly. a planner that misbehaves on purpose tests the guardrails: forbidden tools, bad arguments, endless loops. on 28 nov 2026 the quality gate passed: 135 tests passed and the 7 known misses failed as expected, 99 % coverage; rag 1.000 on every measure, reworded questions 0.533 correct (limit 0.5), security and agent 1.000. historical repository or workflow evidence scheduled ci run on main python 3.13 pytest rag ai agents guardrails quality gate" data-featured="false" data-date="2026-11-28" data-roles="" data-purpose="61 eval cases in four versioned suites (RAG, robustness, security, agent) for a support assistant and an agent that can move money" data-result="On 28 Nov 2026 the quality gate passed: 135 tests passed and the 7 known misses failed as expected, 99 % coverage; RAG 1.000 on every measure, reworded questions 0.533 correct (limit 0.5), security and agent 1.000." data-result-kind="Historical repository or workflow evidence" data-languages="See technology tags" data-layers="RAG, robustness, security and agent evals; guardrail tests; unit tests of every grader" data-targets="Offline; no model and no browser" data-approach="Versioned case files, graders independent of how an answer was made, strict expected failures, gate as configuration" data-report="Quality gate table" data-limitations="" data-comparison-limits="There is no language model, and the RAG cases were written from the documents the retriever was tuned on, so 100 % says it works on what it was built for, not that it generalises." data-case="projects/rag-agent-evals.html" data-report-url="https://github.com/niranjankagri/rag-agent-evals/blob/main/docs/images/quality-gate.png" data-architecture-image="" data-architecture-alt="" data-image="img/rag-agent-evals.jpg" data-alt="Quality gate table from CI: every suite within its limits; reworded questions answer correctly 0.533 of the time against a limit of 0.5" data-source="https://github.com/niranjankagri/rag-agent-evals" data-live="" data-evidence-url="https://github.com/niranjankagri/rag-agent-evals/actions/runs/46113752833" data-evidence-label="Scheduled CI run on main" data-workflow="https://github.com/niranjankagri/rag-agent-evals/actions/workflows/ci.yml" data-workflow-name="CI">
Expand Down
Loading