Jev Bet the Deuces
Jev Bet the Deuces
I asked a decision model named Jev to play pocket deuces on a king-ace-jack river. Three of its personalities checked, which is what you do when you own a pair of twos and a working sense of shame. The fourth bet half the pot. The only knob I turned was the bluff score, and check fell from 0.69 to 0.02.
Hand 2, seed 2, the big blind. Hole cards 2♥ 2♣. Board K♠ A♠ J♦ 4♠ 5♦. Pot 320. Stack 1,870. Nothing to call. I copied that exact moment four times. Same cards, same pot, same legal buttons. Rock, Shark, Caller, Maniac. The code is a local play-money table, four seats, blinds of 10 and 20, stacks of 2,000. The engine owns the rules and the equity. Jev owns the action. It never sees the other hole cards, and it never touches a poker site. github.com/BSC-137/jev_poker.
Jev has to be asked twice
Here is the whole trick, and it is a small one. Jev answers every question in a request at the same time. The questions cannot peek at each other. If I ask "is this a bluff?" and "what do you do?" in one breath, the action can invent the excuse, and the excuse can invent the action. So the action is a second call.
Call A asks two things only. The bluff score: is a bluff bet or raise aligned with this personality, given the equity, the pot odds, the board, how often the opponent folds, and the stack-to-pot? It comes back as a probability, not a paragraph. And a range score: how much does hero's range like this board for a value bet? Everyone shares the same five labels. Clear disadvantage, Slight disadvantage, Neutral, Slight advantage, Clear advantage. Round the score, clamp it to 0 through 4, read the label. Index 1 is Slight disadvantage. That is the whole labelling machine.
Those two numbers get copied onto a little note called prior judgments, and call B is told to pick a legal action. The note is evidence. It is not an order. Fold and call are not on the menu, because nothing is owed. You may check, bet half, bet the pot, or go all-in. Try to fold a free card and the engine will look at you the way a dealer looks at someone who asks to buy the deck.
A personality is three lines of luggage. Some sentences. A margin. A fraction. Rock's margin is 0.12 and his fraction is 0.25. Shark is 0.04 and 0.40. Caller is 0.00 and 0.55. Maniac is −0.06 and 0.70, which is a polite way of saying he will continue with hands the others have already set on fire. On this vote I set the personality and I left the equity number alone. Every row below is staring at 0.0833, logged at a fraction of 0.7. Rock's 0.25 is written on his name tag. It is not a new deal.
Rock and Caller are also told, in plain words, that a bluff is never their idea. Shark may bluff when people fold. Maniac may bluff because the sun came up. The range question does not get a custom speech. Same five labels for the whole table. If the personalities are going to disagree, they have to disagree in the bluff score or in the action. That is the experiment. Everything else is furniture.
The sensible policy checked
There is a second brain, and it is just code. When the check is free it checks, unless you are Shark or Maniac and your equity plus a small board bonus clears 0.55. A pot-sized bet wants 0.80. An all-in wants 0.92 and a stack shorter than three pots. The personality margin only matters when someone has bet into you.
Nobody has bet into us. Equity 0.0833 plus the 0.03 bonus is 0.1133. That does not clear 0.55, 0.80, or 0.92, and 5.84 pots behind is not a short stack. So the code checks for all four. The margins sit this one out. Good. A pair of deuces under a king, an ace, and a jack is not a secret monster. It is a pair of deuces.
Jev gets to overrule that, as long as the button it presses is legal and its confidence is a real number from 0 to 1. There is a 0.45 confidence floor in policy.py. This path does not call it. Maniac's vote plays at 0.2. The forced bluff plays at 0.19. Both are legal. Both go in the pot. The floor can write a letter.
Three checks and one little crime
| Persona | Played | Conf | Check | Half | Pot | All-in | Bluff | Range |
|---|---|---|---|---|---|---|---|---|
| Rock | check | 0.93 | 0.95 | 0.03 | 0.01 | 0.01 | 0.22 | 0.67 |
| Shark | check | 0.61 | 0.71 | 0.25 | 0.02 | 0.02 | 0.2 | 0.69 |
| Caller | check | 0.84 | 0.88 | 0.08 | 0.03 | 0.01 | 0.24 | 0.78 |
| Maniac | half pot | 0.2 | 0.22 | 0.4 | 0.2 | 0.18 | 0.44 | 0.7 |
Look at the range column and try to find a story. 0.67, 0.69, 0.78, 0.7. All four round to 1. All four get the same label: Slight disadvantage. The code's action is check on every row. The equity is the same number on every row. The thing that moved is the bluff score, 0.22, 0.2, 0.24, and then Maniac's 0.44, and the button that got pressed.
Confidence is its own little field, and it is not the height of the bar. Rock's check is 0.95 and his confidence is 0.93, which is a man agreeing with himself. Maniac's half-pot bar is 0.40 and his confidence is 0.2, which is a man betting while looking over his shoulder. The path does not care. A legal button and a number inside 0 to 1 is a complete personality.
Put the sentences next to the hand and the joke tells itself. Equity against the continuing hands is 8.3 percent. The range label is Slight disadvantage for everybody. Rock needs both of those to be strong before he bets. Caller needs the same pair, and he would like to need them rarely. Shark can value-bet a high range score, which he does not have, or bluff when the bluff score is high. His is 0.2. He checks at 0.71 and still leaves a guilty 0.25 sitting on the half-pot button, like a man who has talked himself out of it and not very well. Maniac's sentence says bet when the bluff score is up, equity be damned. His bluff score is 0.44. He bets.
Then I lied to it, on purpose
The control is Maniac only. I keep his range score, 0.7, Slight disadvantage, and I do not ask the range question again. I overwrite the bluff score. First 0.1. Then 0.9. Each time, the only question is the action.
| Bluff score | Played | Conf | Check | Half | Pot | All-in |
|---|---|---|---|---|---|---|
| 0.1 | check | 0.59 | 0.69 | 0.15 | 0.09 | 0.07 |
| 0.9 | half pot | 0.19 | 0.02 | 0.39 | 0.3 | 0.29 |
That is the whole result, and I like it because it is rude and clean. Check goes from 0.69 to 0.02. The half-pot bet goes from 0.15 to 0.39. The pot bet goes from 0.09 to 0.30. All-in goes from 0.07 to 0.29. Confidence falls off with it, 0.59 down to 0.19, because at 0.9 he has decided to put chips in and has not decided how many. 0.39, 0.30, 0.29. A three-way tie between "a bit", "more", and "all of it". The range score does not blink. It is 0.7 on both rows.
So the personality did not smuggle a better hand in. The cards did not change. The bluff score did, and the button followed it. Shark, unforced, is the polite version of the same leak: check 0.71, half-pot 0.25. Rock leaves 0.03 on that button. Caller leaves 0.08. Maniac leaves the building.
What refused to move
One label. One set of buttons. One equity, 0.0833 against the filtered hands and 0.3267 against a random one, which is the difference between "you are probably behind a hand that showed up" and "you are sometimes ahead of a hand that wandered in". One coded action: check, every time. The played action split. The bluff score split. I had already computed the thing that stayed. I only let the sentences touch the thing that moved.
One boundary, so I do not get cocky. I did not recompute the equity at Rock's tighter fraction. A Rock row here is Rock's sentences, read against an equity that was measured at 0.7. Re-dealing that filter at 0.25 would be a different evening.
He did it twice, and not with the same odds
The session that dealt this river is seed 2. Four hands, 29 decisions, every one of them from Jev, every logged cost 0.0. The votes copy one of those decisions, the river where Maniac bets half. The hand log is a second sample of that same moment. I am not averaging them. Averaging two opinions is how you get a third opinion nobody held.
In the hand log he is check 0.32, half 0.38, pot 0.17, all-in 0.13, confidence 0.17, bluff score 0.41, range score 0.6. In the vote file he is check 0.22, half 0.40, pot 0.20, all-in 0.18, confidence 0.2, bluff score 0.44, range score 0.7. Both times he bets half. Both times the code wanted a check. Same crime, different fingerprints. I kept the fingerprints.
Twelve hands of context, and then I stop
I also let them play a longer table, because I wanted to know whether the names were costumes or policies. Twelve hands. 81 decisions. All of them Jev. Mean confidence 0.611. The played action leaves the coded action on 30 of those 81, which is 37 percent. The bill on that report is 0.000000 dollars, and we will come back to that comedy in a second.
| Persona | N | Fold | Check | Call | Half | Pot | All-in |
|---|---|---|---|---|---|---|---|
| Rock | 13 | 12 | 0 | 1 | 0 | 0 | 0 |
| Shark | 18 | 12 | 3 | 3 | 0 | 0 | 0 |
| Caller | 29 | 10 | 6 | 13 | 0 | 0 | 0 |
| Maniac | 21 | 0 | 0 | 0 | 9 | 12 | 0 |
Eighty-one decisions. Please do not tell me who is a winning player. Rock called once. Maniac raised twenty-one times. That is the sentences, counted. It is also a very short evening.
A cent, and a zero that is lying
My TypeSafe usage page, one day, last 30 days: $0.0123, 304,604 tokens, 232 requests. The page prices input at an estimated $0.0342 per million tokens, calls output free, and admits the stats may be late. None of that lives in the repo. I matched the 232 requests by hand.
The logs say the experiment cost $0.00. That zero is the client being literal. When the response sends token counts and no cost field, the client writes 0.0 and keeps the tokens. The usage page, which is the thing attached to the card, says $0.0123. Multiply the tokens by the page's own estimated rate and you get about $0.0104, which is a third number. I am leaving all three on the table. A cent is a ridiculous price for four personalities and a pair of deuces. It is still not zero.
Do not promote this to a strategy
One river. The twelve-hand file is a sketch of how the four of them behave when you let them loose, and a sketch is not a win rate, not a ranking, and not a verdict on the bet. A half-pot jab with deuces, at confidence 0.2, is a fact about a sentence and a bluff score. The equity rule checked. It cannot read.
The clip is hand 2 of seed 2. The bars are the vote file for that copied river.
Hand log kept as a second sample · October 2026
Reply to this post
Subscribe and the next piece lands in your inbox. Comments live on Substack — that is the conversation layer for these posts.
Discuss on Substack