
Assay: Scoring Every AWS Builder Center Article on Whether It's Worth Your Time
Assay reads every article and gives it a Read-Quality Score (RQS, 0–100) with a verdict — READ, SKIM, SKIP — plus one blunt sentence explaining it. Authors can paste their own link and get back a ranked list of what would raise it, each fix priced in points.
Assay: Scoring Every AWS Builder Center Article on Whether It's Worth Your Time
My entry for the Weekend Challenge: what would you build to skip your most annoying task? The brief said ideas only. I started writing the idea down, wanted to check whether its central assumption was even true, and by the time I had the answer the thing was running.
Builder Center publishes around 300 articles a week. Every morning I skim titles, open four, close three, and lose twenty minutes finding the one that was worth it. The platform shows me what is popular. Popularity answers a different question from the one I have.
Assay reads every article and gives it a Read-Quality Score (RQS, 0–100) with a verdict —
READ , SKIM , SKIP — plus one blunt sentence explaining it. Authors can paste their own link and get back a ranked list of what would raise it, each fix priced in points.This post is how it works: how the content is read, what gets measured before any model is involved, how fifteen dimensions are scored by four agents, and what a week of Builder Center actually looks like when you measure it.
Try it yourself
| |
|---|---|
Review your own article | the review portal — paste a link, get ranked fixes with the points each is worth |
See the leaderboard | what's worth reading now — filter by verdict and topic |
Subscribe | /feed.xml?min_rqs=70&topics=bedrock — any RSS reader becomes a filtered digest |
Wire it into your assistant | mcp.json — nine MCP tools, stdio or streamable HTTP on AgentCore |
Read the code | github.com/Vivek0712/assay — Apache-2.0 |
uv venv --python 3.13 && uv pip install -e ".[dev]"assay review https://builder.aws.com/content/3H40HYax3TFa9lIfgwEGhvfjrr2/slug
How it works

1 · Find the articles. Builder Center's sitemaps list every article back to 2022; its Atom feed carries the 30 newest, hourly. An EventBridge rule fires a Lambda every hour to pick up what is new.
2 · Read them. Article pages are a 2.5 KB single-page-app shell, so there is nothing to scrape. The page's own API returns the piece as raw markdown — better than rendered HTML, because fenced code, links and heading levels are unambiguous in the source. Bodies land in S3.
3 · Measure, before any model runs. Eight deterministic tools establish the facts, including one that checks every AWS API mentioned against botocore's 426 service definitions.
4 · Judge what a reader gets. Four Strands agents on Amazon Bedrock, deployed to Bedrock AgentCore Runtime, score fifteen dimensions in four families.
5 · Score it. The RQS is arithmetic in Python, never a model's output, and each dimension is capped by what was measured. Scores go to DynamoDB, served through the same MCP server any assistant connects to.
sitemaps + Atom ─→ Lambda ─→ S3 ─→ 8 deterministic tools ↓ MEASURED SIGNALS 4 Strands judges on AgentCore ─→ 15 dimensions ↓ caps + weighted sum DynamoDB ─→ MCP ─→ page · feed · extension · review portalREAD at 70+ · SKIM 40–69 · SKIP below.
Reading Builder Center
Requesting an article page directly returns almost nothing:
$ curl -s https://builder.aws.com/content/3H40HYax3TFa9lIfgwEGhvfjrr2/slug | wc -c 2572$ curl -s https://builder.aws.com/content/3H40HYax3TFa9lIfgwEGhvfjrr2/slug | grep -c "GuardDuty"02.5 KB and no article text — the content arrives later over an API. Watching what the page itself requests shows how:
GET https://api.builder.aws.com/cs/v2/articles?articleId=%2Fcontent%2F3H40HYax... builder-session-token: dummydummy is the literal anonymous token the site sends for logged-out readers. Same request, same data any visitor gets — and it returns the article as markdown, along with the metadata that makes scoring possible:markdownDescription # the article sourcetitle, tags[], uri, localeauthor{ alias, isAwsHero, isCommunityBuilder, isAmazonEmployee }externalCanonicalUrl # set when the piece is cross-postedlikesCount, commentsCount, lastPublishedAtMarkdown rather than HTML matters more than it sounds — every measurement below depends on being able to tell a fenced code block from a quoted one. Requests are concurrency-capped and rate limited; this is a community resource, not a load-test target.
Measuring before judging
The obvious implementation is to hand each article to a language model and ask whether it is any good. That reproduces the exact failure being detected: models reward fluency, and fluent-but-empty is the thing you are trying to catch.
So no model sees an article until eight deterministic tools have established the facts.
Checking that the APIs exist
botocore — already installed alongside boto3 — ships the authoritative machine-readable definition of every AWS API, one JSON model per service in its
data/ directory . The same models the AWS CLI is generated from.Which means you can check, exactly and without a model, whether the APIs an article tells you to call actually exist:
"""Check whether an AWS API mentioned in an article actually exists."""
import re
import botocore.sessionfrom botocore.exceptions import UnknownServiceError
SESSION = botocore.session.get_session()BIND_RE = re.compile(r"""(\w+)\s*=\s*boto3\.client\(\s*["']([a-z0-9.-]+)["']""", re.X)CALL_RE = re.compile(r"\b(\w+)\.([a-z][a-z0-9_]{2,})\s*\(")
def snake(pascal: str) -> str: """CreateBucket -> create_bucket, the form boto3 exposes.""" s = re.sub(r"([A-Z]+)([A-Z][a-z])", r"\1_\2", pascal) return re.sub(r"([a-z\d])([A-Z])", r"\1_\2", s).lower()
def operations(service: str) -> set[str]: try: model = SESSION.get_service_model(service) except UnknownServiceError: return set() return {snake(op) for op in model.operation_names}
def invalid_calls(code: str) -> list[str]: """Method calls on boto3 clients that no AWS service actually defines.""" bound = dict(BIND_RE.findall(code)) # variable name -> service bad = [] for var, method in CALL_RE.findall(code): service = bound.get(var) if service and method not in operations(service): bad.append(f"{service}.{method}") return bad
if __name__ == "__main__": print(len(SESSION.get_available_services()), "services indexed") print(invalid_calls('s3 = boto3.client("s3")\ns3.turbo_upload_object(Bucket="b")')) print(invalid_calls('s3 = boto3.client("s3")\ns3.put_object(Bucket="b", Key="k")'))$ python check_apis.py426 services indexed['s3.turbo_upload_object'][]The detail that makes it usable is the variable binding.
bound maps each variable to the service it was constructed from, so only calls on a known boto3 client are checked. Without that anchor you flag df.drop_duplicates() as a hallucinated AWS API, and precision is the entire value here — a false accusation is worse than a miss.An article referencing an operation that does not exist was never checked against reality.
The rest of the belt
tool | what it establishes |
|---|---|
aws_footprint | which services are operated versus merely named — API calls, CloudFormation and Terraform resources, ARNs, IAM statements, quota mentions |
validate_code | does the code parse? ast.parse , bash -n , yaml.safe_load , node --check . Syntax only — nothing from an article is ever executed |
verify_links | every outbound link resolved and classified: primary source, repo, community, dead |
structure_stats | pasted terminal sessions, real headings vs bold-text pseudo-headings, measurements with units |
find_artifacts | linked repositories, published packages, live demos — durable proof the work exists |
cross_post_check | MinHash near-duplicates, including the same body under a different author |
engagement_ratio | wired one direction only — see below |
The output is a
MEASURED SIGNALS block, and every judge is told the same thing: you may interpret these facts, you may not contradict them.MEASURED SIGNALS (exact, tool-derived - treat as ground truth): words: 1164 code blocks: 10 (84 lines of code) pasted terminal/console sessions: 9 outbound links: 2 (by kind: {'primary': 1, 'code': 1}) AWS services referenced: ['ec2'] (in code: none) AWS API references checked: 3, nonexistent: 0
The fifteen dimensions
Only now does a model get involved. Four Strands judges run concurrently on Bedrock, each owning one family:
family | weight | dimensions |
|---|---|---|
Content — is there anything here? | 35 | substance 9 · explanation depth 7 · insight 10 · accuracy 6 · scope discipline 3 |
AWS — useful to an AWS builder? | 28 | service depth 10 · architecture quality 7 · well-architected 5 · currency 3 · cost awareness 3 |
Evidence — can it be trusted? | 22 | evidence 9 · sources 6 · code quality 7 |
Reader — can it be used? | 15 | clarity 8 · actionability 7 |
Fifteen dimensions, four model calls — each judge returns its whole family in one structured response, so the granularity that makes the author-facing advice useful costs nothing extra.
Each returns a typed object rather than prose, so a score always arrives with the observations behind it:
from pydantic import BaseModel, Field
class AwsResult(BaseModel): """Is it useful to an AWS builder? Five dimensions, 28 of the weight."""
aws_service_depth: int = Field(ge=0, le=100) architecture_quality: int = Field(ge=0, le=100) well_architected: int = Field(ge=0, le=100) currency: int = Field(ge=0, le=100) cost_awareness: int = Field(ge=0, le=100)
operating_detail: list[str] = Field( description="Specifics only someone who used the service would write" ) named_only: list[str] = Field(description="Services named without detail") rationale: str = Field(description="Three sentences maximum")A number with no quotable evidence behind it is precisely the unfalsifiable output this project exists to complain about, so the schema makes returning one impossible.
The distinction the AWS family draws
Naming a service: "we used Amazon Bedrock for the LLM". Not dishonest — just not useful to someone who has to build the thing.
Operating it: the parameter that mattered and why, a throttle you hit and the retry config that fixed it, an IAM condition key, why this service over the obvious alternative.
aws_footprint counts the operating signals deterministically, and the judge picks its band from that count rather than from an impression:85-100 operated >= 5, or real configuration with a limit engaged with70-84 operated >= 3, or service-specific prose detail beyond the quickstart50-69 operated 1-2: real AWS usage at getting-started level30-49 operated 0 but services discussed with genuine context10-29 named in passing; would read the same on any cloudEvery dimension has bands like these. Unanchored, a judge asked to "rate this out of 100" invents a new scale on every call — measured at up to 40 points of disagreement between samples of the same article. Bands plus a median of three samples brings the whole-article spread to about ±3.
Turning judgements into a score
The RQS is arithmetic. Judges score their dimensions; the weighted sum happens in Python. Models are unreliable at arithmetic, and for a number people compare across articles, reproducibility beats nuance.
Dimensions are then capped by what was measured. This is the guardrail that makes the score hard to talk past:
# naming a service is not operating oneif not footprint["services"]: cap("aws_service_depth", 10, "no AWS service referenced at all")elif footprint["names_only"] and structure["measurements"] < 3: cap("aws_service_depth", 49, "services named, but nothing configured or invoked")
# the one hard disqualifierif aws_apis["total_invalid"] > 0: cap("code_quality", 29, "AWS API reference(s) do not exist in any SDK") cap("accuracy", 35, "cites AWS operations that do not exist")
# sourcing is demanded by content type, not universallyif structure["links"] == 0 and content_type in {"tutorial", "deep_dive", "reference", "news"}: cap("sources", 50, "no outbound sources in a piece making factual claims")Note the last one. An opinion piece with no citations is not penalised; a reference article asserting facts with none is. An article containing no code is not capped at all — it simply is not the kind of article code was expected from. Judges are told throughout to calibrate against what the piece is trying to be.
That principle was learned the hard way. An earlier version of this rubric weighted proof of execution at 30 — the heaviest pillar — and scored a substantial physical-AI write-up as SKIM because it linked two working repositories instead of pasting a terminal session. The author had shipped the code; the rubric could not see it. Proof of execution is now one signal inside
evidence , weighted to the strength of the claims made: an opinion piece needs none, a post claiming a 10x speedup needs the measurement.Why engagement is wired one way
Likes can never raise a score. The tool exists only to flag the inverse pattern:
if total_engagement >= 15 and substance_score < 0.25: flag("engagement out of proportion to substance")I assumed likes would not predict quality, then checked, because assuming is the behaviour this project exists to complain about. Across a full week — 302 articles:
$ python analysis/likes_vs_quality.pyPearson r(likes, RQS) = -0.092 (n=302)overlap between top-20 by likes and top-20 by RQS: 0 articlesr = −0.09 — indistinguishable from zero, sign pointing the wrong way. Rank the week by likes, rank it by measured quality, take the top twenty of each: the two lists share no articles.
That is not evidence anyone is buying engagement. It is something simpler and harder to argue with — whatever likes measure, it is not whether the article is worth your time.
What a week of Builder Center looks like
The corpus is deliberately small: the 15 most recent articles, rolling three-day window, refreshed hourly. A reading queue, not an archive.
$ assay report --run latest
run 'latest': 15 articles scored
READ 8 53.3% ##################### SKIM 5 33.3% ############# SKIP 2 13.3% #####
median RQS: 76.8The dimension medians are where it gets interesting:
dimension | median |
|---|---|
substance · explanation depth · accuracy · clarity · actionability | 85 |
well-architected · currency | 85 |
insight | 80 |
evidence | 70 |
cost awareness | 60 |
AWS service depth · sources · code quality | 50 |
The weak columns are consistent and specific. Builder Center writing is well written, well structured, accurate and current. What it tends not to do is operate the services it names (7 of 15 reference AWS services without configuring or invoking a single one), cite anything, or ship code you could run.
That is a far more useful finding than "most content is slop", and it is directly actionable — those three gaps are exactly what the review portal tells an author to fix.
Helping authors, not just readers
A score that tells you your article is mediocre is not much of a gift. The question an author has is what would move it, and because the caps and weights are deterministic, that is computable rather than hand-wavy.
If a cap holds
sources at 50 when the judge wanted 85, that cap is costing exactly (85 − 50) × 6 / 100 = 2.1 RQS. Not an estimate — derivable. So recommendations rank by what they are genuinely worth:$ assay review https://builder.aws.com/content/<id>/<slug>
Weekend Agent Challenge: Opportunity Finder Agent RQS 50/100 -> SKIM (20 points from READ) addressing everything below reaches about 75 (READ)
recommendations, highest impact first:
1. Support the claims you are making [~4.0 RQS] evidence — proportionate to the claims Not every article needs terminal output - but every claim needs something behind it. Show the measurement for results, and say plainly what you did not test.
2. Cite the factual claims [~3.9 RQS] sources and citations
3. Operate the services, do not just name them [~3.5 RQS] AWS depth — operating or naming One parameter that mattered, a quota you hit, an IAM condition or a cost figure is worth more than another paragraph describing a service.
[= exact: this cap is provably costing that much] [~ estimate: realistic headroom on that dimension]Anyone can paste a link into the review portal and get this back. It also runs against a local draft, so you can iterate before publishing.
Two design decisions behind it. The advice is keyed off the scorer's own cap messages, not written separately — a test asserts every cap the scorer can emit has matching advice, so a new cap cannot ship as a finding nobody can act on. And the public endpoint accepts only published Builder Center articles, never arbitrary text: it is the one route that costs money per request, and an open "run a language model on anything" endpoint invites exactly what you would expect.
Where the scores go
Four surfaces, all applying the same preference filter so they cannot disagree:
- a leaderboard, filterable by verdict and topic, with the full fifteen-dimension breakdown
- a filtered Atom feed — subscribe to
RQS >= 70, topics = [bedrock, eks]and nothing else
- an MCP server on AgentCore Runtime, so an assistant can answer "what is worth reading this week?" from measurements
- a Chrome extension overlaying the score onto Builder Center itself, purely additively
The MCP server is not a side door. The published leaderboard is built by calling it —
publish_site.py seeds DynamoDB, then reads the corpus back through the export_corpus MCP tool and renders the page from that output. The site is a client of the same surface any assistant connects to, which means the attribution policy lives inside the tool rather than in the renderer.One deliberate constraint: articles scoring READ or SKIM are named and linked, because pointing at good work is most of the value. Articles scoring SKIP publish their score and reasons but never the author or title. The aggregate pattern is worth describing plainly; individual community members are not the target.
Running it on AWS
The whole system is one CDK stack plus two AgentCore runtimes. The parts worth describing are the ones where a specific AWS behaviour shaped the design.
The fleet runs on Bedrock AgentCore Runtime, as two runtimes with different protocols. The scorer answers
POST /invocations and GET /ping , which is the runtime's service contract ; the MCP server speaks streamable HTTP on :8000/mcp and has to be stateless, because consecutive calls are not guaranteed to reach the same instance ( MCP protocol requirements ). One control-plane call registers each:control = boto3.client("bedrock-agentcore-control", region_name="us-east-1")
control.create_agent_runtime( agentRuntimeName="shouldiread_mcp", agentRuntimeArtifact={"containerConfiguration": {"containerUri": f"{repo}:latest"}}, networkConfiguration={"networkMode": "PUBLIC"}, protocolConfiguration={"serverProtocol": "MCP"}, # "HTTP" for the scoring fleet roleArn=role_arn, environmentVariables={"SCORES_TABLE": scores_table, "SIR_AWS_REGION": "us-east-1"},)Both images are
linux/arm64 — AgentCore does not accept amd64, so docker buildx build --platform linux/arm64 is not optional on an Intel machine. Invocations are SigV4-signed against bedrock-agentcore:InvokeAgentRuntime , which is what makes a public MCP endpoint safe to leave up.Concurrency sizing came from Bedrock, not from guesswork. Scoring one article is 1 triage call plus 4 judges × 3 samples = 13 model calls, so a 15-article run issues around 200 Bedrock requests in a tight window. Two client settings matter at that shape:
BedrockModel( boto_client_config=BotoConfig( retries={"max_attempts": 6, "mode": "adaptive"}, # client-side rate limiting on throttles max_pool_connections=128, # botocore's default is 10 connect_timeout=10, read_timeout=120, # nova-pro structured output is not fast ), model_id="us.amazon.nova-pro-v1:0", temperature=0.0, # sampling variance is handled by median-of-3, not by the model)adaptive retry mode is the one that earns its place: it backs the client off when Bedrock returns throttling exceptions rather than retrying into the same wall. And max_pool_connections defaulting to 10 is the setting that quietly costs you — above ten in-flight requests botocore discards and re-establishes connections, which shows up as throughput collapse rather than as an error.Model choice is a cost decision. Triage runs on
global.amazon.nova-2-lite-v1:0 and gates the four nova-pro judges, so an announcement post costs one cheap call rather than thirteen expensive ones. The same arithmetic is why the corpus is 15 articles on a rolling window rather than the 302 of the first full-week run — the judges are the entire variable cost of this system, and a reading queue does not need an archive behind it.DynamoDB is keyed so the leaderboard never scans. The table partitions on
article_id , and a GSI carries the access pattern the site actually has:from aws_cdk import aws_dynamodb as ddb
scores_table = ddb.Table( self, "ScoresTable", partition_key=ddb.Attribute(name="article_id", type=ddb.AttributeType.STRING), billing_mode=ddb.BillingMode.PAY_PER_REQUEST, removal_policy=RemovalPolicy.RETAIN, # a corpus is expensive to rebuild point_in_time_recovery_specification=ddb.PointInTimeRecoverySpecification( point_in_time_recovery_enabled=True ),)# "best READs of the last N days" as a Query, not a Scan with a filterscores_table.add_global_secondary_index( index_name="by-verdict-rqs", partition_key=ddb.Attribute(name="verdict", type=ddb.AttributeType.STRING), sort_key=ddb.Attribute(name="rqs_published", type=ddb.AttributeType.STRING),)The composite
rqs_published sort key is what turns the leaderboard query into a range condition. On PAY_PER_REQUEST billing, a Scan with a filter is charged for everything it reads and discards, which is why the DynamoDB guidance is to query rather than scan and to put the access pattern in a secondary index — the difference between the two is a bill, not just a latency number.CloudFront fronts both the site and the API, which solves cost and CORS in one move:
distribution = cloudfront.Distribution( self, "Distribution", default_behavior=cloudfront.BehaviorOptions( origin=origins.S3BucketOrigin.with_origin_access_control(site_bucket), cache_policy=cloudfront.CachePolicy.CACHING_OPTIMIZED, ), additional_behaviors={ # scores change hourly at most, so cache hard and invalidate on ingest "/api/*": cloudfront.BehaviorOptions( origin=origins.HttpOrigin(f"{http_api.api_id}.execute-api.{self.region}.amazonaws.com"), cache_policy=api_cache, # default_ttl 10 min, max_ttl 1 hour allowed_methods=cloudfront.AllowedMethods.ALLOW_GET_HEAD_OPTIONS, ), }, default_root_object="index.html",)Same origin means the browser never sends a preflight, and a ten-minute TTL keeps a public endpoint from turning into a per-request Lambda bill.
The rest of the belt. An EventBridge rule at
rate(1 hour) triggers the ingest Lambda (1024 MB, 10-minute timeout); scoring runs at 2048 MB with a 15-minute ceiling, which is the real constraint on batch size. Raw markdown lands in an S3 bucket with BLOCK_ALL public access and a 90-day lifecycle rule — it is needed only until an article is scored, plus a window to re-score after a prompt change.Why this shape
The design is a queue of cheap idempotent stages, and every choice below follows from that rather than from preference.
Split across Lambda and AgentCore rather than one service. Ingest is short, bursty and hourly — Lambda is the obvious fit and idles at zero. Scoring is long, model-bound and needs the tool belt plus the Strands runtime in the image, which is a container problem; AgentCore Runtime takes the container, handles session isolation and the SigV4 authorisation boundary, and I do not run a cluster to hold it. The cost is a two-deploy pipeline —
cdk deploy and docker buildx — which is a real tax I pay every time the tool belt changes.Every stage is re-runnable. Scores are keyed on
article_id , so re-scoring overwrites rather than appends, and the whole corpus can be rebuilt from S3 after a prompt change. That property is what makes the rubric safe to keep editing — which, given that this rubric has been reworked twice, mattered more than any throughput number.Static site over a rendered app. The leaderboard is generated at publish time and served from S3 through CloudFront; only the review endpoint is dynamic. A reader hitting the page costs a CloudFront request, not a Lambda invocation and a DynamoDB read.
What it costs to run. The variable cost of this system is Bedrock and essentially nothing else — 13 model calls per article, of which the four judges on
nova-pro dominate and the nova-2-lite triage gate exists specifically to keep announcement posts from reaching them. Everything else sits in the cheap tail: PAY_PER_REQUEST tables queried rather than scanned, hard-cached CloudFront behaviours, Lambdas that idle at zero, and a 90-day object lifetime. That is also why the corpus is 15 rolling articles rather than the 302 of the first full-week run — the honest constraint on scope here is the judge bill, not the engineering.
What this does not do
- It measures evidence and craft, not truth. An article can be well sourced, well structured and wrong in a way no tool here would catch.
- The corpus is 15 articles. Enough for a reading queue, not enough for claims about trends.
- Individual dimensions carry about ±10. The whole-article RQS is stable to roughly ±3, but treat a single
cost_awareness 60as a band, not a measurement.
- It cannot tell mention from use. An article explaining that some API does not exist gets flagged for referencing an API that does not exist. This post did, on an earlier draft.
- Nova only. Every Anthropic inference profile returns
ResourceNotFoundExceptionon the account this was built against, so triage runs onnova-2-liteand the judges onnova-pro. A different judge model would move the numbers; the caps and the measured signals would not.
Closing
The two hardest problems in building an LLM judge were both solved by removing the model's discretion rather than improving its reasoning.
The caps stop a judge awarding points the measurements do not support. The score bands stop it inventing a new scale on every call. Both replace an open-ended request with a narrow question anchored to something countable, and both produced larger improvements than any amount of prompt polish.
Which is a slightly deflating conclusion for an agentic system: most of the value came from the deterministic parts. The model's job turned out to be reading prose for what a regular expression genuinely cannot see — whether an explanation goes past the documentation, whether a design was reasoned or asserted, whether a reader could act on it. A real job, just smaller than the one I set out to give it.
And the finding that surprised me most is the friendliest one: Builder Center writing is good. Clear, accurate, current, well structured. The gap is not craft — it is that too much of it names AWS services without ever operating them. That is a fixable problem, and now it comes with a number attached.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article