Skip to content
View faceWang753's full-sized avatar

Block or report faceWang753

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
faceWang753/README.md

Ethan Wang

Data engineer in Toronto. I build product-data lakehouses on Microsoft Fabric, tools that give AI agents governed access to data, and tests that show where models and agent tools fail. Before that: three and a half years of banking software and data pipelines. I also evaluate finance-focused LLM responses on contract.

What I am building

Checks whether an MCP server that runs SQL flags failed queries, holds its read-only mode, limits results and keeps queries off the database host. I ran it against 11 open-source servers on 2 December 2026: one passed every check with its documented settings, and the same server that failed seven checks failed one when connected as a least-privilege role.

A PostgreSQL "trap" database of 641 bank transactions with 26 planted errors, 12 text-to-SQL tasks, and a grader that runs the model's SQL as a read-only role and compares result sets. The repo publishes the failing SQL from two models with root causes.

It also holds north_mcp, an MCP server that maps the calling user to a least-privilege PostgreSQL role and lets row-level security decide what they see. The same query returns 641 rows for one user and 505 for another, with no SQL parsing in the server.

A finance-agent benchmark of 126 cases. It changes one fact in a controlled evidence set and checks whether the agent's answer, citations and calculation change with it. The checks are deterministic; no LLM judge is needed. The data is synthetic, so a score says how a system behaves under this protocol, not how safe it is in production. Demo | Dataset

Turns written release criteria for an AI agent into a CI gate over recorded outputs: a small JSON contract, no model calls or API keys. Demo

Open-source work

Open, waiting on maintainers:

  • Inspect AI PR #4801: inspect score --from-scan adds the results of a completed Inspect Scout scan to an eval log as scores. It addresses an issue a maintainer accepted.
  • Cohere North MCP SDK #60: the auth example says endpoints require authentication, but the default server accepts calls with no identity.

Resolved:

  • postgres-mcp PR #245, merged: execute_sql failures now come back with isError: true (#244). The row-cap proposal, #243, is waiting on the maintainer's agreement on direction.
  • PydanticAI #7108: I raised a regression concern about a trace-privacy fix. The fix's author found part of it wrong and part of it "a real bug we would have shipped", and fixed that part before PR #7131 merged.

Reproductions and review:

  • PydanticAI #7041: reproduced a silently dropped approval response and checked the third-party fix in PR #7079, which is still open.

I use AI coding tools and say so in each pull request.

What I am looking for

Forward-deployed, solutions and applied AI engineering roles: work where I take a model or an agent into a customer's data and make it reliable there. I am authorized to work in Canada.

Contact

LinkedIn | Email

Pinned Loading

  1. finmirror finmirror Public

    Change one financial fact. Test whether an AI agent changes for the right reason.

    HTML 1

  2. txn-dq-checks txn-dq-checks Public

    SQL checks and a trap database for silent errors in financial transaction tables (PostgreSQL + MySQL). A verifier for AI agents that write SQL.

    Python