A Scorecard, Not a Ranking: Making Marketing Decisions with rubkit

#python#data-analysis#b2b-marketing

Part 1 of a series on multi-criteria decision making for B2B SaaS marketers. Two real problems, three Python libraries, no magic.


Every marketer I know has a spreadsheet like this one.

Rows are options: creators, landing pages, events, vendors. Columns are the numbers that matter: reach, cost, CTR, conversions. And at some point someone in a meeting says, “So which one?”

Then one of three things happens. We sort by a column (“most subscribers wins”). We eyeball it and defend a gut feeling. Or we build a weighted formula, =0.4*B2 + 0.3*C2 - 0.3*D2, which feels rigorous until you notice that subscribers are in the hundreds of thousands and comments are in the tens, so the big column wins whatever weights you pick.

There’s a whole field for this, called multi-criteria decision making (MCDM). I wanted to find out whether it’s useful to an ordinary marketer with an ordinary spreadsheet, or whether it’s an academic toy. So I took two real decisions and ran each through three Python libraries. This post is about the first library, rubkit. The next two posts cover pymcdm and pyDecision.

Short version: rubkit surprised me. Not because the maths is clever (it isn’t, and that’s the point), but because it made me write down things I’d normally leave in my head.

Ranking or scorecard?

Most MCDM libraries answer one question: who’s best compared with the others? You give them a table, they give you a #1.

That sounds like what we want, but it has a nasty property: a ranking always has a winner. If all ten creators on your shortlist are overpriced, one of them is still #1.

rubkit answers a different question: does this option clear our bar? You write the bar down first, as fixed benchmarks (“a $20 CPM is great, $400 is terrible”), and every option is scored against it. The output is a 0–100 score and a verdict: Sponsor, Test, Negotiate, Skip. Nobody is graded on a curve.

That changes how the tool behaves:

Ranking Scorecard (rubkit)
Compares against The other options on the list Targets you wrote down
Output A position A score and an action
New option next month Everyone’s rank can shift Existing scores don’t move
“None of these are good” Can’t say it Can say it

A rubkit rubric is a YAML file with four parts:

  1. Metrics and scales: how a raw number becomes a 0–1 score. For example, CPM $20 → 1.0, $400 → 0.
  2. Groups and weights: metrics roll up into groups (“Reach”, “Cost efficiency”), and the groups roll up into a score.
  3. Gates: hard business rules applied after scoring. “CPM above $500 can never score above 40.”
  4. Bands: score ranges mapped to verdicts.

Plus one idea I hadn’t seen elsewhere: judges. Every input records who produced it, whether that’s the spreadsheet, a human or an LLM. Keep that in mind; it matters later.

Here’s the whole API I used:

from rubkit import Judgement, Subject, load_rubric, score

rubric = load_rubric("youtube_rubric.yaml")

inputs = {
    "avg-views":   [Judgement(judge="sheet", value=40_000)],
    "cpm":         [Judgement(judge="sheet", value=25.0)],
    # ... the other spreadsheet metrics ...
    "audience-match": [Judgement(judge="marketer", value=5)],
}
result = score(rubric, Subject(id="Growth Digest"), inputs)

print(round(result.score.reported, 1), result.verdict)   # 70.5 Sponsor
print(result.gates)                            # [] : no business rule fired

That’s it. Everything interesting lives in the YAML.


Example 1: which YouTube creators should we sponsor?

We had a shortlist of ten YouTube creators, each with a quoted price per video. (I’ve given them B2B-marketing-style names for this post; the numbers are real.)

Channel Subscribers Avg views Cost / video Comments Audience match (1–10)
World of SaaS 123,000 13,000 $2,000 10 3
Growth Digest 25,800 40,000 $1,000 14 5
Augmented Marketing 121,000 500 $2,000 6 3
B2B Playbook 27,400 5,000 $3,500 20 2
Bowen on Demand Gen 53,000 30,000 $5,000 10 6
MarTech Weekly 503,000 15,000 $1,500 20 3
The SaaS Guy 213,000 2,500 $3,500 12 4
AI Marketer 52,200 75,000 $7,000 17 4
Corbin on Growth 175,000 950 $10,000 34 3
SaaS Explained 350,000 28,000 $8,500 22 5

The last column is the interesting one. It isn’t data. It’s my 1–10 grade of how closely each channel’s audience matches our buyers, based on reading the comments, watching other videos and getting a feel for the content.

Try sorting this sheet. By subscribers, MarTech Weekly wins with 503k, but only 3% of those subscribers watch a new video. By comments, Corbin on Growth wins with 34, on videos that get 950 views at $10,000 each. Every column crowns a different creator, and every winner has a trap.

Step one wasn’t rubkit at all

Before writing a rubric, I spent ten minutes turning raw columns into numbers I actually care about:

  • CPM (cost per 1,000 views). “Cost per video” means nothing until you know how many views it buys.
  • View rate (views ÷ subscribers). Is the audience alive? A big channel with tiny views has a dormant or bought audience.
  • Comment rate (comments per 1,000 views). Engagement, scaled so big and small channels compare fairly.
Channel CPM View rate Comments / 1k views
Growth Digest $25 155% 0.35
AI Marketer $93 144% 0.23
MarTech Weekly $100 3.0% 1.3
SaaS Explained $304 8.0% 0.79
The SaaS Guy $1,400 1.2% 4.8
Corbin on Growth $10,526 0.5% 35.8 ⚠️
Augmented Marketing $4,000 0.4% 12.0 ⚠️

This table alone beats the raw sheet. Three “big” channels reach under 2% of their subscribers and cost $1,400–$10,500 per thousand views. YouTube ads cost tens of dollars per thousand.

It also shows something I didn’t expect: the highest engagement rates belong to the channels with the fewest views. Thirty-four comments on 950 views is about 36 times the normal YouTube rate. That could be a tight-knit community. It could also be engagement pods or bots. Engagement is a quality signal only when the views are real.

The rubric

Five groups, weighted:

Reach Cost efficiency Engagement Audience health ICP fit
25% 25% 15% 15% 20%

Each metric gets a benchmark curve. Here’s CPM, plus the human-graded fit:

- id: cpm
  name: CPM (cost / 1k views)
  question: What do we pay for every 1,000 views?
  group: efficiency
  scale:
    type: measured
    unit: usd
    map: {type: linear, best: 20, worst: 400}   # $20 or less = 1.0, $400 or more = 0

- id: audience-match
  name: Audience match (1-10)
  question: How closely does this channel's audience match our ICP?
  group: fit
  judges: [marketer]
  scale:
    type: numeric
    min: 1
    max: 10
    anchors: {1: "No overlap with our buyers", 5: "Some buyers, mixed with others", 10: "Our ICP, exactly"}
  gate: {below: 4, action: cap, cap: 0.44, message: "Weak ICP fit (<4/10): Negotiate at best"}

Then come the gates, the part a weighted average can’t do. Four business rules:

Rule Effect
CPM above $500 Score capped at 40
Fewer than 2% of subscribers watch Score capped at 29: always Skip
Audience match below 4/10 Score capped at 44: Negotiate at best
Price above our $8,000 per-video budget Score capped at 44: Negotiate at best

Gates exist because averages forgive too much. A creator with huge reach and a terrible CPM can average out to “decent”. A gate says: no, some flaws can’t be bought off with strengths elsewhere.

“Score” here means the final score out of 100, the one that decides the verdict. It helped me to see where gates sit in the order of operations, because they come last:

  1. Each metric turns its raw value into 0–1, using its benchmark. SaaS Explained’s $304 CPM becomes 0.25.
  2. Each group averages its metrics.
  3. The overall score is the weighted average of the five groups.
  4. Gates check their rules. If one fires, the overall score is cut down to its cap. If several fire, the lowest cap wins.
  5. The report multiplies by 100 and looks up the verdict.

So a gate doesn’t touch any metric or group. It puts a ceiling on the final number. And the caps aren’t arbitrary: each one sits just below a verdict line. The verdicts start at 65 (Sponsor), 45 (Test) and 30 (Negotiate). A cap of 44 means “Negotiate at best”; a cap of 29 means “always Skip”. The number is really a way of writing “the best verdict this creator can get”.

The results

Bar chart of rubkit scores for 10 YouTube creators: Growth Digest and AI Marketer get Sponsor, the bottom three Skip
Channel Score Verdict Why
1 Growth Digest 70.5 🟢 Sponsor $25 CPM, and its views exceed its subscriber count
2 AI Marketer 66.7 🟢 Sponsor Most reach (75k views) at a $93 CPM
3 Bowen on Demand Gen 62.8 🟡 Test Best fit on the list (6/10); Sponsor at ≤ $4,000
4 MarTech Weekly 44.0 🟠 Negotiate Great numbers, but 3/10 fit (56.2 without the gate)
4 SaaS Explained 44.0 🟠 Negotiate $8,500 is over budget (50.5 without the gate)
4 World of SaaS 44.0 🟠 Negotiate 3/10 fit (50.5 without the gate)
7 B2B Playbook 34.6 🟠 Negotiate $700 CPM, 2/10 fit
8 The SaaS Guy 29.0 🔴 Skip Dormant audience
8 Corbin on Growth 29.0 🔴 Skip Dormant audience, $10.5k CPM
10 Augmented Marketing 23.3 🔴 Skip Dormant audience, $4,000 CPM

Two Sponsors, and they win for different reasons: Growth Digest on price, AI Marketer on reach. The bottom three are Skip under every weighting I tried. No change of priorities rescues a dead audience.

Notice the “without the gate” numbers. A scorecard doesn’t just say “44”; it says “56, but a business rule held it at 44, and here’s which one”. That’s the difference between a number and an explanation.

One thing I didn’t expect when I looked at which gates actually did something: the CPM gate fired four times and never changed a score. Every creator with a CPM above $500 either also had a dormant audience, so the stricter cap of 29 took over (The SaaS Guy, Corbin on Growth), or already scored below 40 anyway (B2B Playbook at 34.6, Augmented Marketing at 23.3). The gates that changed verdicts were the other three: the dormant audience (The SaaS Guy, from 32.2 Negotiate to 29 Skip), weak fit (MarTech Weekly and World of SaaS) and the budget (SaaS Explained).

I’ve kept the CPM gate anyway. It’s a safety net for a creator this list doesn’t have: expensive views, but a healthy, well-matched audience. Without the gate, that creator could average its way to Test. A rule that didn’t fire this time isn’t a wasted rule; it just means none of these creators tested it.

Three things I got wrong along the way

I’m including these because they were the most useful part.

1. I counted price twice. My first rubric had a “cost per comment” metric. It sounded smart until I read the output and stopped at “$500 per comment”. What does that even mean? Comments aren’t something we buy. More engagement means a better, more real audience. Price was already in CPM, and “cost per comment” turned a quality signal into a price tag. I replaced it with comment rate. The top three stayed the same; their order shuffled.

2. The budget was a warning, not a rule. rubkit can calculate, for each creator, the highest price at which they’d still earn each verdict. The first chart said some creators could cost $20,000–$37,500 and still earn “Test”. That’s absurd when the budget is $8,000. The cause: price lives in one 25% group, so it can cost a creator at most 25 points, and a creator strong everywhere else can absorb that. A soft warning wasn’t enough, so the budget became a gate. If a constraint is real, make it a rule, not a weight.

3. “Trial” was a confusing label. That’s what I originally called the middle verdict. Is a trial a discounted price? A free video? It means “book one video, measure, then decide”, so it’s now called Test. Small thing, but verdicts are for humans, and a verdict that needs explaining isn’t doing its job.

Every one of these fixes was a one-line change to a YAML file and a re-run. The rubric is something a teammate can argue with in plain language (“price shouldn’t count twice”) without reading any Python.

Target and walk-away prices

Because the score is a function of price, rubkit can answer a question no ranking can: at what price does this creator become a yes?

Target and walk-away price per creator against the $8,000 budget: Growth Digest is far below its target price
Channel Asking price Target price (Sponsor) Walk-away price (Test)
Growth Digest $1,000 $4,350 $8,000
AI Marketer $7,000 $8,000 $8,000
Bowen on Demand Gen $5,000 $4,000 $8,000
SaaS Explained $8,500 $2,350 $8,000
MarTech Weekly $1,500 none none

That’s a negotiation brief:

  • Growth Digest is underpriced. Lock in several videos.
  • Counter Bowen at $4,000. At that price it’s a Sponsor.
  • Get SaaS Explained under $8,000 for a one-video test.
  • MarTech Weekly has no price at all. It’s a $100 CPM, yet no discount helps, because its problem isn’t price, it’s fit. Some problems can’t be negotiated away.

The human grade that moved everything

Here’s the moment that convinced me rubkit was worth writing about.

After the first full run, I went back to MarTech Weekly and regraded its audience match from 7 to 3. One number in one cell.

MarTech Weekly went from #3, 65.2, Sponsor to tied #4, 44.0, Negotiate. It dropped two verdict bands.

Then I ran rubkit’s sensitivity check, which moves every weight up and down by 25% (24 tests in all). Not one verdict changed.

Sit with that for a second. I’d spent hours worrying about whether reach should be 25% or 30%, and the honest answer is that it barely matters. The inputs matter more than the weights, and the most powerful input on the sheet is the one a human typed in after reading YouTube comments.

That’s also why the judge system matters. Every judgement in rubkit’s output records who made it. When someone asks “why is MarTech Weekly a Negotiate?”, the answer is traceable: the data is fine, and this person’s grade triggered this rule. If you add a second grader, rubkit reconciles the two and flags disagreements. I didn’t need that here, but I’d want it for anything bigger.


Example 2: which landing pages perform best?

The second problem is about performance rather than picking.

The data comes from a real B2B SaaS website. I’ve anonymised it as Flowmetric, a fictional product-analytics company, with invented page and competitor names. The numbers are untouched. Eight organic landing pages, from Search Console plus conversions:

Page Clicks Impressions CTR Avg position Conversions
Open-source analytics tools (blog) 4,037 151,929 2.7% 6.0 3
Homepage 1,716 20,783 8.3% 11.2 5
Session Replay (product) 906 7,531 12.0% 4.4 10
Best analytics software (blog) 398 76,282 0.5% 12.6 9
Trackly alternative (blog) 319 10,080 3.2% 7.3 4
Event tracking approaches (blog) 155 15,249 1.0% 8.3 2
Funnel reports in SQL (blog) 119 14,185 0.8% 10.1 4
Pulseboard alternative (blog) 84 10,337 0.8% 6.1 3

The question: which pages are performing best right now?

The columns argue with each other again. The page with the most traffic, over half of all clicks, converts 0.07% of them. The page with the best conversion rate (3.6%) has 84 clicks.

This time there’s no human-graded column, so the work is in two traps hiding in the data.

Trap 1: the same information, counted three times

Clicks = impressions × CTR. Score all three and you’ve scored traffic three times. And raw CTR mostly re-measures position: a page at #4 should get far more clicks than a page at #12.

The rubric’s answer:

  • Clicks for volume.
  • No impressions. Visibility nobody clicks isn’t performance.
  • CTR relative to what its position predicts, using a published CTR-by-position curve (Backlinko’s 2025 numbers). A page at position 6 is expected to get about 5.7% CTR. If it gets 2.7%, its index is 0.46×.

That index asks a separate question from position: once it ranks, does the listing earn the click? (For a regression take on the same CTR and position data, see my Search Console low-hanging fruit analysis.)

Actual CTR vs the CTR expected for each position: homepage at 4.7x expected, Pulseboard alternative at 0.1x

Two pages jumped out:

  • The homepage gets 4.7× the expected CTR. That isn’t a brilliant meta description. It’s people searching for the company by name. rubkit has a gate action called flag (warn, don’t penalise), so the homepage carries a “likely branded traffic” flag rather than being compared like-for-like with blog posts.
  • Pulseboard alternative ranks at 6.1 but gets 0.14× the expected clicks. “Competitor alternative” pages often rank for queries where the competitor’s own site takes the click. Worth a look at the search results page.

Trap 2: tiny numbers

Pages here have between 2 and 10 conversions. “3 conversions from 84 clicks” is a 3.6% conversion rate, but one more conversion makes it 4.8% and one fewer makes it 2.4%. That’s noise wearing a percentage sign.

The fix is an old trick from statistics: give every page 100 imaginary visitors who convert at the industry average (1.9% for SaaS organic search) before computing its rate. Big pages barely notice; small pages get pulled towards the average until they’ve earned their rate. It’s the same idea as a prior in a Bayesian model, which my PyMC guide covers in more depth.

Raw vs adjusted conversion rates: small pages like Pulseboard alternative are pulled hard toward the 1.9% benchmark
Page Conversions / clicks Raw rate Adjusted
Pulseboard alternative 3 / 84 3.57% 2.66%
Funnel reports in SQL 4 / 119 3.36% 2.69%
Best analytics software 9 / 398 2.26% 2.19%
Session Replay 10 / 906 1.10% 1.18%
Open-source analytics tools 3 / 4,037 0.07% 0.12%

On raw numbers, the 84-click Pulseboard page is the “best converter on the site”. After adjustment, Best analytics software has the most trustworthy high rate: 9 conversions is enough evidence to keep it near 2.2%. (I checked that the choice of 100 visitors doesn’t drive the result. With 300 visitors, the ranks and verdicts are identical.)

The results

Four groups (conversions 30%, conversion efficiency 20%, traffic 25%, search visibility 25%) and three verdicts:

rubkit scores for 8 landing pages: only Session Replay is a Top performer; three blog posts are Underperforming
Page Score Verdict Why
1 Session Replay (product) 70.9 🟢 Top performer Most conversions, best position, CTR 1.5× expected. Strong everywhere
2 Homepage 54.4 🟡 Solid Lots of clicks, but converts 0.38% (adjusted). ⚑ branded traffic
3 Best analytics software (blog) 54.1 🟡 Solid The real conversion engine, held back by position 12.6
4 Trackly alternative (blog) 46.1 🟡 Solid Middle of the road on everything
5 Open-source analytics tools (blog) 45.3 🟡 Solid (just) 52% of all clicks, 0.12% conversion; capped below Top performer
6 Funnel reports in SQL (blog) 39.9 🔴 Underperforming Converts well, but only 119 clicks
7 Pulseboard alternative (blog) 37.4 🔴 Underperforming Ranks well, isn’t clicked
8 Event tracking approaches (blog) 32.1 🔴 Underperforming Weak across the board

One clear winner, and it’s not the page with the most traffic. Session Replay is the only page that ranks well, earns the click and converts. It stays #1 under every weighting I tried and in all 18 sensitivity tests.

The most instructive page is Open-source analytics tools. In a traffic report it’s the star. In a pipeline report it’s a problem. rubkit can show both views at once with scenarios, which re-score everything under different definitions of “performing”:

Page Balanced Pipeline-first Traffic-first SEO health
Session Replay 1 🟢 1 🟢 1 🟢 1 🟢
Best analytics software 3 🟡 2 🟡 4 🟡 5 🔴
Open-source analytics tools 5 🟡 7 🔴 3 🟡 3 🟡
Event tracking approaches 8 🔴 8 🔴 8 🔴 8 🔴

Same data, different question, different answer. That’s not a flaw in the tool. It’s the tool making you say out loud what “performing” means before you argue about which page is doing it.

A scorecard also lets you ask: how far is each page from the next band? Holding traffic constant, Open-source analytics tools needs 16 more conversions to be a Top performer. The three small pages can’t get there on conversions at all; their traffic and visibility are too weak. Those are two different to-do lists: add a next step to the big page, and get the small pages more traffic.


What I’m taking away

Some of this is about rubkit. Most of it is about deciding with more than one column.

  1. Write the bar down before you look at the answer. If you tune the weights until your favourite wins, you’ve built an expensive gut feeling. A YAML file someone else can read is a good forcing function.
  2. Ten minutes of derived metrics beats any algorithm. CPM, view rate, adjusted conversion rate: none of these are in the raw sheet, and all of them changed the answer.
  3. Use gates for deal-breakers and weights for trade-offs. “Over budget” and “dead audience” aren’t things you trade off against reach. They’re rules.
  4. Count each thing once. Cost per comment counted price twice. Clicks plus impressions plus CTR counted traffic three times. Both bugs looked reasonable until I said them out loud.
  5. Don’t trust small numbers. Three conversions is an anecdote. Correct for it, or at least flag it.
  6. A verdict should be an action. “Sponsor”, “Test”, “Negotiate”, “Skip” each tell you what to do on Monday. “Score: 62.8” doesn’t.
  7. Check your inputs harder than your weights. For the creators, moving any weight by 25% changed no verdict. One human regrade moved a creator two bands.

And some honest limits:

  • The benchmarks are assumptions. “$20 CPM is perfect” and “1,000 clicks is good” are my numbers for my situation. Someone with a different budget or site size should change them, and the answers will change too.
  • Some targets had no external source. For the landing pages, the click and conversion targets are house targets. I said so in the YAML, but they’re still my guesses.
  • A scorecard is only as fair as the person writing it. Rankings hide their assumptions in the algorithm. Scorecards put them in plain sight, which is better, but it’s not the same as having none.

When a scorecard isn’t the right tool

rubkit is at its best when you’ll make the same decision again: a sponsorship policy, a monthly page review, a vendor checklist. Score every new creator pitch the same way, forever, and the scores never shift because someone else joined the list.

It’s weaker when you genuinely don’t know what “good” looks like and just want to know who’s best among these. That’s what ranking libraries are for, and it’s the next post: the same two problems run through pymcdm, where nothing is benchmarked and everything is relative. Spoiler: for the landing pages, all three libraries agree on the winner and the loser, and disagree on almost everything in between. For the creators, a single human grade splits them.

If you think I’ve got something wrong here (a benchmark, a gate, the whole idea), I’d genuinely like to hear it. That’s half the reason I write these.