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
Binary file added img/ai-app-quality.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/jmeter.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/postman-newman.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/quality-intelligence-report-2026-12-01.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/rag-agent-evals.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/social/ai-application-quality-testing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/social/jmeter-performance-testing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/social/postman-newman-api-testing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/social/rag-agent-evals.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 17 additions & 17 deletions index.html

Large diffs are not rendered by default.

78 changes: 65 additions & 13 deletions projects.html

Large diffs are not rendered by default.

35 changes: 35 additions & 0 deletions projects/ai-application-quality-testing.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/bounded-testing-agent.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
budget and loop guards before every step · trace.jsonl · report.md · scorecard against an answer key the agent never sees</code></pre></section><section aria-labelledby="stack"><h2 id="stack">Technology and tools</h2><div class="table-wrap"><table><thead><tr><th scope="col">Area</th><th scope="col">Tools</th></tr></thead><tbody><tr><td>Agent</td><td>Java 21: context, run memory, typed decisions, an evidence check, limits and loop guards, a trace and a report per run</td></tr><tr><td>Tools</td><td>An MCP server (MCP Java SDK 2.2.0, stdio): browser (Playwright), HTTP API, read-only SQLite, the existing smoke tests, an issue tracker</td></tr><tr><td>App under test</td><td>Ticket Desk on Javalin 7 and SQLite: JSON API and server-rendered pages with data-testid attributes</td></tr><tr><td>Model</td><td>qwen2.5:14b in Ollama, structured output, temperature 0; 7b tried first</td></tr><tr><td>CI</td><td>GitHub Actions: unit, browser and replayed-agent jobs required on every pull request; the real model weekly and on demand</td></tr></tbody></table></div></section><section aria-labelledby="decisions"><h2 id="decisions">Engineering decisions and approach</h2><ul><li>Permissions live in the tool server, so any MCP client gets the same refusals, not only this agent</li><li>Every API call acts as the test user; the database tool is read-only three ways; data-changing calls count against a write limit</li><li>A finding or a "requirement holds" needs evidence from two kinds of tool in the same run</li><li>Real-model runs are recorded and replayed in CI, tied to a hash of the prompt and the answer format</li><li>The replay must end exactly as the model's run did, so CI catches any guardrail change that would have treated the model differently</li></ul></section><section aria-labelledby="scope"><h2 id="scope">Test scope and execution approach</h2><span id="contribution" class="legacy-anchor" aria-hidden="true"></span><span id="features" class="legacy-anchor" aria-hidden="true"></span><p>Project-specific checks and execution details documented in the repository:</p><ul><li>Guardrail tests with a misbehaving model: unknown tools, acting as another customer, writing SQL, endless loops, unsupported claims, nameless approvals</li><li>A hand-written reference tester that finds every seeded defect through the same loop</li><li>Human approval: a queued bug is filed once, by a named person, through the CLI</li><li>Secrets masked in the trace by name and by shape</li><li>What the model runs exposed: a browser download on the MCP channel, an answer format that changed per JVM, no way to say "it holds"</li></ul></section><section aria-labelledby="results"><h2 id="results">Results with dated evidence</h2><div class="evidence-box"><p><b>Historical repository or workflow evidence</b></p><p>CI run on main</p><p>On 29 Nov 2026 all three required jobs passed on main: 57 unit tests (every guardrail with a scripted model), 8 browser tests, and the 6 recorded real-model runs replayed, each ending exactly as the model&#x27;s run did.</p><p>Evidence checked: <time datetime="2026-11-29">29 Nov 2026</time> | <a href="https://github.com/niranjankagri/bounded-testing-agent/actions/runs/46267272641" target="_blank" rel="noopener">Open dated evidence</a></p></div></section><section aria-labelledby="evidence"><h2 id="evidence">Evidence explorer</h2><span id="defects" class="legacy-anchor" aria-hidden="true"></span><div class="evidence-explorer" data-evidence-tabs><p>Static screenshots are labelled as images; dated workflow links identify the execution evidence and its check date.</p><div class="evidence-tablist" role="tablist" aria-label="Project evidence"><button type="button" role="tab" id="evidence-tab-bounded-testing-agent-report" aria-controls="evidence-panel-bounded-testing-agent-report" aria-selected="true" tabindex="0" hidden>Test report</button><button type="button" role="tab" id="evidence-tab-bounded-testing-agent-ci" aria-controls="evidence-panel-bounded-testing-agent-ci" aria-selected="false" tabindex="-1" hidden>CI evidence</button></div><div class="evidence-panel" role="tabpanel" id="evidence-panel-bounded-testing-agent-report" aria-labelledby="evidence-tab-bounded-testing-agent-report" tabindex="0"><figure><span id="image-aaea6f74cea2" class="legacy-anchor" aria-hidden="true"></span><button class="figure-trigger" type="button" data-image-dialog="image-ad575f9a67d2" aria-haspopup="dialog" aria-label="Open test report screenshot: Report of a replayed agent run with finding R5 and its evidence"><img src="https://raw.githubusercontent.com/niranjankagri/bounded-testing-agent/main/docs/images/agent-report.png" alt="Report of a replayed agent run with finding R5 and its evidence" loading="lazy" width="960" height="600"><span class="sr-only">Open image viewer</span></button><figcaption><b>Test report screenshot.</b> The report of a replayed run, 29 Nov 2026: the model found R5 in three steps, citing a database query and an API call. <span class="capture-note">Static image; capture date is not recorded in the portfolio data.</span></figcaption></figure><dialog class="image-viewer" id="image-ad575f9a67d2" aria-labelledby="image-ad575f9a67d2-caption"><form method="dialog"><button type="button" data-dialog-close aria-label="Close image viewer">Close</button></form><img src="https://raw.githubusercontent.com/niranjankagri/bounded-testing-agent/main/docs/images/agent-report.png" alt="Report of a replayed agent run with finding R5 and its evidence" width="960" height="600"><p class="viewer-caption" id="image-ad575f9a67d2-caption"><b>Test report screenshot.</b> The report of a replayed run, 29 Nov 2026: the model found R5 in three steps, citing a database query and an API call. Static image; capture date is not recorded in the portfolio data.</p></dialog><p>The recorded qwen2.5:14b runs pass the quality gate on 2 of 6: privacy on both builds. On booking it saw seats left go to -1 and kept booking until the loop guard stopped it; on prices it saw 4500 cents against 5200 and called them matching. No run reported a false finding, and every run that went in circles was stopped by a guard.</p><p class="capture-note">Static material from the public repository. The linked verification record was checked 2026-11-29; that date is not a screenshot capture date.</p></div><div class="evidence-panel" role="tabpanel" id="evidence-panel-bounded-testing-agent-ci" aria-labelledby="evidence-tab-bounded-testing-agent-ci" tabindex="0"><div class="evidence-box"><p><b>Dated workflow record</b></p><p>Evidence checked 2026-11-29. <a href="https://github.com/niranjankagri/bounded-testing-agent/actions/runs/46267272641" target="_blank" rel="noopener">Open CI run on main</a></p></div></div></div></section><section aria-labelledby="run"><h2 id="run">Local setup and execution</h2><pre tabindex="0"><code>./mvnw test # 57 tests, no browser, no model
./mvnw test -Dsuite=agent # the recorded model runs replayed
./agent.sh run booking-privacy --build defects --model ollama
./agent.sh approve target/agent-runs/defects/booking-rules A-1 --by "&lt;your name&gt;"</code></pre></section><section aria-labelledby="workflow"><h2 id="workflow">Workflow and reports</h2><span id="ci"></span><p><a href="https://github.com/niranjankagri/bounded-testing-agent/blob/main/.github/workflows/ci.yml" target="_blank" rel="noopener">View workflow definition</a>.</p></section><section aria-labelledby="limitations"><h2 id="limitations">Known limitations</h2><ul><li>Ticket Desk is small and written for the project</li><li>The recorded 14b model on a CPU runner passes 2 of 6 runs: the replays show the guardrails, not a capable agent</li><li>The evidence check is structural; whether the model understood what it saw is for the person approving the bug</li><li>The app under test is small and written for the project; the recorded model is a 14b model on a CPU runner that passes 2 of 6 runs, so the replays show the guardrails, not a capable agent.</li></ul></section><section class="related-projects" aria-labelledby="related-title"><h2 id="related-title">Related projects</h2><p>Related by shared categories or technology tags.</p><ul><li><a href="ai-assisted-testing.html">AI-Assisted Test Automation (Claude)</a><p>A human-reviewed pipeline for drafting and triaging Playwright tests.</p></li><li><a href="llm-feature-testing.html">Testing an LLM Feature (Claude)</a><p>An HR policy assistant on Claude and the harness that decides whether it can ship: structured replies, deterministic checks for facts…</p></li><li><a href="design-patterns-test-framework.html">Design Patterns in a Selenium and Playwright Framework</a><p>Five design patterns doing real work in one Java framework: Page Object, Factory (browser and engine), Strategy (JSON, CSV or API test data)…</p></li></ul></section><nav class="case-neighbors" aria-label="Adjacent projects"><a class="neighbor previous" href="rag-chatbot-quality-gate.html"><span>Previous project</span><b>Quality Gate for a RAG Chatbot</b></a><a class="neighbor next" href="mobile-test-automation-framework.html"><span>Next project</span><b>Mobile Framework (2021, upgraded for Android + iOS)</b></a></nav><p class="crumbs back"><a data-project-return href="../projects.html">Back to Projects</a></p></div></div>
./agent.sh approve target/agent-runs/defects/booking-rules A-1 --by "&lt;your name&gt;"</code></pre></section><section aria-labelledby="workflow"><h2 id="workflow">Workflow and reports</h2><span id="ci"></span><p><a href="https://github.com/niranjankagri/bounded-testing-agent/blob/main/.github/workflows/ci.yml" target="_blank" rel="noopener">View workflow definition</a>.</p></section><section aria-labelledby="limitations"><h2 id="limitations">Known limitations</h2><ul><li>Ticket Desk is small and written for the project</li><li>The recorded 14b model on a CPU runner passes 2 of 6 runs: the replays show the guardrails, not a capable agent</li><li>The evidence check is structural; whether the model understood what it saw is for the person approving the bug</li><li>The app under test is small and written for the project; the recorded model is a 14b model on a CPU runner that passes 2 of 6 runs, so the replays show the guardrails, not a capable agent.</li></ul></section><section class="related-projects" aria-labelledby="related-title"><h2 id="related-title">Related projects</h2><p>Related by shared categories or technology tags.</p><ul><li><a href="ai-assisted-testing.html">AI-Assisted Test Automation (Claude)</a><p>A human-reviewed pipeline for drafting and triaging Playwright tests.</p></li><li><a href="llm-feature-testing.html">Testing an LLM Feature (Claude)</a><p>An HR policy assistant on Claude and the harness that decides whether it can ship: structured replies, deterministic checks for facts…</p></li><li><a href="design-patterns-test-framework.html">Design Patterns in a Selenium and Playwright Framework</a><p>Five design patterns doing real work in one Java framework: Page Object, Factory (browser and engine), Strategy (JSON, CSV or API test data)…</p></li></ul></section><nav class="case-neighbors" aria-label="Adjacent projects"><a class="neighbor previous" href="rag-chatbot-quality-gate.html"><span>Previous project</span><b>Quality Gate for a RAG Chatbot</b></a><a class="neighbor next" href="jmeter-performance-testing.html"><span>Next project</span><b>Performance Testing with Apache JMeter</b></a></nav><p class="crumbs back"><a data-project-return href="../projects.html">Back to Projects</a></p></div></div>
</main>
<footer><div class="wrap footer-layout">
<div class="footer-brand"><a class="footer-name" href="../">Niranjan Kumar Agri</a><p>© 2026 · Quality engineering and automation</p></div>
Expand Down
Loading