On this page
Teen Patti engine test results: actual execution record
Test target: TeenPattiND standard-card study engine. Observed 2026-11-19T04:06:47.645Z. Environment: v24.22.3 on linux. Method: direct execution of the published JavaScript evaluator in Node. The record reports this environment; mobile rendering and third-party APK behaviour use their own targets and protocols.
| Case | Question | Input | Observed | Check |
|---|---|---|---|---|
| T01 | Trail compared with a pure sequence | {"handA": "As Ah Ad", "handB": "Ks Qs Js", "aceOrder": "akq"} | 1 | Pass |
| T02 | Equal queen pairs use the kicker | {"handA": "Qs Qh 5d", "handB": "Qd Qc 4h", "aceOrder": "akq"} | 1 | Pass |
| T03 | Equal rank scores across suits tie | {"handA": "Qs Qh 5d", "handB": "Qd Qc 5c", "aceOrder": "akq"} | 0 | Pass |
| T04 | A-2-3 compared with A-K-Q under AKQ-first | {"handA": "As 2h 3d", "handB": "Ah Kd Qc", "aceOrder": "akq"} | -1 | Pass |
| T05 | The same cards under A23-first | {"handA": "As 2h 3d", "handB": "Ah Kd Qc", "aceOrder": "a23"} | 1 | Pass |
| T06 | K-A-2 is high card in the ordinary model | {"handA": "Ks Ah 2d", "handB": "4c 5d 6h", "aceOrder": "akq"} | -1 | Pass |
| T07 | Known Q-Q-5: all eligible opposing triples | {"hand": "Qs Qh 5d", "aceOrder": "akq", "opponent": "uniform random"} | [16273, 3, 2148, 18424] | Pass |
| T08 | Repeated physical card input | {"cardIds": [0, 0, 1]} | Choose three distinct cards from the standard deck. | Pass |
| T09 | Complete standard-hand category partition | {"deck": 52, "cardsPerHand": 3} | [16440, 3744, 1096, 720, 48, 52] | Pass |
Source SHA-256: 84b943509f700721a50adeb95c543ce216968730ab9c12dfc32bcab422b89890. Download the dated engine test observations.
Teen Patti engine test results: observed inputs and outputs
JavaScript and Python implementations independently evaluate all C(52,3)=22,100 distinct unordered three-card hands. The check compares the entire score vector: category first, then all category-specific tie breakers. The six category totals are 52 trails, 48 pure sequences, 720 ordinary sequences, 1,096 colours, 3,744 pairs and 16,440 high-card hands.
Download the JavaScript hand evaluator and download the independent Python evaluator to inspect the two implementations. The calculation method defines the ranking convention and scope.
A conditional Q-Q-5 reference result
Fix Q♠ Q♥ 5♦, use one ordinary deck, rank A-K-Q first and A-2-3 second, and give all suits equal status. Removing those three cards leaves 49 cards and 18,424 opposing triples. The exact result is 16,273 strict wins, 3 rank ties and 2,148 losses against one uniformly random opponent.
A terminal pot of 10 study counters and an additional cost of 4, with the requester losing ties and zero fees, yields (16,273×10−2,151×4)/18,424 = +8.3655015 counters. A continuing hand requires its own future-action branches and opponent policy. Read the Q-Q-5 worked decision for that distinction.
Forty-four original constructed exercises
The worked-hand collection contains 18 Teen Patti exercises and 26 rummy exercises. Teen Patti records include exact cards, win/tie/loss counts, pot, incremental cost and terminal EV. Rummy records include all thirteen initial cards, one proposed discard and every eligible identity completing a declaration on the next draw.
The rummy check uses one ordinary deck, 39 unknown next-draw identities, a full disjoint partition, at least two natural sequences and at least one pure sequence. In this natural-card model every accepted sequence is pure. A valid group covers at least three cards, and an ordinary set covers three or four distinct suits of the same rank.
Download all 44 worked-hand input records and download the full-hand rummy checker. Use the card and event definitions beside every result.
What the evidence demonstrates
These checks establish consistency with the publication’s explicitly implemented card models. They describe constructed examples and deterministic calculations. Product version history, publisher identity, legal classification and software-system fairness each use evidence suited to that separate question.
The source register distinguishes original analysis from external references. Material changes to a rule, source, example or calculation update the relevant page’s modification date; routine builds preserve the recorded date.
Read the consolidated worked-hand libraries
The 18 Teen Patti case records and 26 rummy declaration exercises preserve each original input and result in one task-specific library. The version comparison worksheet shows how a fixed input and one changed rule can reveal a meaningful difference.
TeenPattiND
Clear rule conventions, original worked examples and reproducible card mathematics. TeenPattiND publisher profile · Reproduce the validation evidence