Skip to content

Commit 6531251

Browse files
committed
docs: render newly promoted 8d47fa2 baseline from tokens
Refresh generated fact-marker contents only after the registry advanced; release 1.0.1 remains independent. Earlier a744bee rendering is retained in the parent commit.
1 parent e5bc4a4 commit 6531251

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎README.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ PineForge is a C++17 engine for backtesting and forward execution, with a C ABI
3131

3232
The separate PineForge compiler, [`pineforge-codegen`](https://github.com/pineforge-4pass/pineforge-codegen-oss), translates a PineScript v6 script into a C++ strategy that attaches the engine's Pine execution adapter (its releases 1.0.0 and 1.0.1 do; 0.10.4 predates the adapter); it owns translation, not execution semantics. TradingView comparisons measure this Pine path under the tested configurations. The [order model](docs/pages/fill-model.md) describes the current submodels and the remaining migration work; [Architecture](#architecture-kernel-vs-parity) states the boundary.
3333

34-
- **Proven, not promised.** All <!-- pf:scoreboard.graded|int -->7,989<!-- /pf --> graded probes — <!-- pf:inventory.corpusScripts|int -->309<!-- /pf --> open reference strategies, <!-- pf:inventory.communityScripts|int -->680<!-- /pf --> community-shared scripts and <!-- pf:inventory.probeScripts|int -->61<!-- /pf --> probe scripts the maintainers wrote, on <!-- pf:scoreboard.lanes|int -->18<!-- /pf --> market/timeframe lanes — grade against TradingView's own trade lists: **<!-- pf:scoreboard.excellent|int -->7,946<!-- /pf --> excellent, <!-- pf:scoreboard.strong|int -->43<!-- /pf --> strong, <!-- pf:scoreboard.belowStrong|int -->0<!-- /pf --> below strong**. The graded probes' TradingView trade lists hold <!-- pf:inventory.tvTrades|int -->4,776,328<!-- /pf --> trades; <!-- pf:scoreboard.anomaliesExcluded|int -->17<!-- /pf --> probes with TradingView-side defects are excluded.
34+
- **Proven, not promised.** All <!-- pf:scoreboard.graded|int -->7,989<!-- /pf --> graded probes — <!-- pf:inventory.corpusScripts|int -->309<!-- /pf --> open reference strategies, <!-- pf:inventory.communityScripts|int -->680<!-- /pf --> community-shared scripts and <!-- pf:inventory.probeScripts|int -->61<!-- /pf --> probe scripts the maintainers wrote, on <!-- pf:scoreboard.lanes|int -->18<!-- /pf --> market/timeframe lanes — grade against TradingView's own trade lists: **<!-- pf:scoreboard.excellent|int -->7,949<!-- /pf --> excellent, <!-- pf:scoreboard.strong|int -->40<!-- /pf --> strong, <!-- pf:scoreboard.belowStrong|int -->0<!-- /pf --> below strong**. The graded probes' TradingView trade lists hold <!-- pf:inventory.tvTrades|int -->4,776,328<!-- /pf --> trades; <!-- pf:scoreboard.anomaliesExcluded|int -->17<!-- /pf --> probes with TradingView-side defects are excluded.
3535
- **Open runtime.** The engine and native live runner are Apache-2.0. The separately distributed [PineForge compiler](https://github.com/pineforge-4pass/pineforge-codegen-oss/blob/main/LICENSE) uses PolyForm Noncommercial terms with additional personal-trading permission; commercial use requires a separate license. Public reference strategies, benchmarks and validation tooling are available in their respective repositories; the community-script test set is not redistributed.
3636
- **Fast.** In-process, no interpreter: median **36× faster than PyneCore** on the 200 strategies both engines time, measured at engine `35db01c8` on 2026-09-29 on an AWS c7a.8xlarge with PyneCore timed as a subprocess, its interpreter start-up included (PineForge runs a median 807k bars/s per strategy over its 201 slots with the bar magnifier on; [method](benchmarks/results/speed.md)). Parameter sweeps re-run a loaded `.so` with new inputs — no recompile, no fork.
3737
- **Deterministic to the bit.** Two runs with the same inputs produce identical trade lists. Same on Linux and macOS.
@@ -226,26 +226,26 @@ live behavior or real broker fills.
226226

227227
## Validation scoreboard
228228

229-
**Measured <!-- pf:scoreboard.date -->2026-10-03<!-- /pf -->** on main engine `<!-- pf:scoreboard.engineCommit|short -->a744bee8<!-- /pf -->` with codegen-oss `<!-- pf:scoreboard.codegenCommit|short -->8b42cd4a<!-- /pf -->` (baseline `<!-- pf:scoreboard.id -->pineforge-parity-baseline-20261003-engine-a744bee8<!-- /pf -->`, snapshot `<!-- pf:scoreboard.snapshotSha256|short -->37c78b3d<!-- /pf -->`): **<!-- pf:scoreboard.graded|int -->7,989<!-- /pf --> graded probes, <!-- pf:scoreboard.excellent|int -->7,946<!-- /pf --> excellent + <!-- pf:scoreboard.strong|int -->43<!-- /pf --> strong**, <!-- pf:scoreboard.belowStrong|int -->0<!-- /pf --> below strong and <!-- pf:scoreboard.engineErrors|int -->0<!-- /pf --> engine errors across <!-- pf:scoreboard.lanes|int -->18<!-- /pf --> market/timeframe lanes. Their TradingView trade lists hold <!-- pf:inventory.tvTrades|int -->4,776,328<!-- /pf --> trades.
229+
**Measured <!-- pf:scoreboard.date -->2026-10-03<!-- /pf -->** on main engine `<!-- pf:scoreboard.engineCommit|short -->8d47fa2d<!-- /pf -->` with codegen-oss `<!-- pf:scoreboard.codegenCommit|short -->8b42cd4a<!-- /pf -->` (baseline `<!-- pf:scoreboard.id -->pineforge-parity-baseline-20261003-engine-8d47fa2d<!-- /pf -->`, snapshot `<!-- pf:scoreboard.snapshotSha256|short -->88718b41<!-- /pf -->`): **<!-- pf:scoreboard.graded|int -->7,989<!-- /pf --> graded probes, <!-- pf:scoreboard.excellent|int -->7,949<!-- /pf --> excellent + <!-- pf:scoreboard.strong|int -->40<!-- /pf --> strong**, <!-- pf:scoreboard.belowStrong|int -->0<!-- /pf --> below strong and <!-- pf:scoreboard.engineErrors|int -->0<!-- /pf --> engine errors across <!-- pf:scoreboard.lanes|int -->18<!-- /pf --> market/timeframe lanes. Their TradingView trade lists hold <!-- pf:inventory.tvTrades|int -->4,776,328<!-- /pf --> trades.
230230

231231
Release **1.0.1 still grades <!-- pf:releases[1.0.1].scoreboard.excellent|int -->7,905<!-- /pf --> excellent / <!-- pf:releases[1.0.1].scoreboard.strong|int -->84<!-- /pf --> strong until the next release**, on <!-- pf:releases[1.0.1].scoreboard.graded|int -->7,989<!-- /pf --> probes (baseline `<!-- pf:releases[1.0.1].scoreboard.id -->pineforge-parity-baseline-20261001-codegen-67892cda<!-- /pf -->`, <!-- pf:releases[1.0.1].scoreboard.date -->2026-10-01<!-- /pf -->). A main scoreboard advance does not change release results.
232232

233-
The quantities above render from the public [facts tokens](https://github.com/pineforge-4pass/pineforge-release/blob/7238bb3d1a30c68cc857197cadf883bce29680f0/facts/facts.json). Maintain them with `lab facts render --repo . --facts <local facts file or pinned raw URL>`; `lab facts check` with the same inputs reports drift. Grades are registry-derived; the authored-script and closed-trade inventory is explicitly sourced to a historical public README for the identical population, not to registry row or slug totals.
233+
The quantities above render from the public [facts tokens](https://github.com/pineforge-4pass/pineforge-release/blob/d70c5cabbfcbf14c59c6b4fc3bb86d5833ffdc5c/facts/facts.json). Maintain them with `lab facts render --repo . --facts <local facts file or pinned raw URL>`; `lab facts check` with the same inputs reports drift. Grades are registry-derived; the authored-script and closed-trade inventory is explicitly sourced to a historical public README for the identical population, not to registry row or slug totals.
234234

235235
| Board | Test set | Result |
236236
|---|---|---|
237237
| **Public** — [open corpus](https://github.com/pineforge-4pass/pineforge-corpus) | 312 reference strategies on BINANCE:ETHUSDT.P 15m, Apache-2.0, reproducible by anyone | this repository's sweep: **311 excellent + 1 declared anomaly**; the <!-- pf:scoreboard.corpusProbes|int -->309<!-- /pf --> of them in the measured population: **<!-- pf:scoreboard.scopes.corpus.excellent|int -->309<!-- /pf --> excellent** |
238-
| **Closed test** | <!-- pf:inventory.closedProbes|int -->7,680<!-- /pf --> probes of <!-- pf:inventory.closedScripts|int -->741<!-- /pf --> TradingView scripts across the <!-- pf:scoreboard.lanes|int -->18<!-- /pf --> lanes: <!-- pf:inventory.communityScripts|int -->680<!-- /pf --> community-shared scripts (<!-- pf:inventory.communityProbes|int -->7,179<!-- /pf --> probes), private under TradingView's Terms of Service, and <!-- pf:inventory.probeScripts|int -->61<!-- /pf --> probe scripts the maintainers wrote (<!-- pf:inventory.probeScriptProbes|int -->501<!-- /pf --> probes) | **<!-- pf:scoreboard.scopes.closed.excellent|int -->7,637<!-- /pf --> excellent + <!-- pf:scoreboard.scopes.closed.strong|int -->43<!-- /pf --> strong** |
238+
| **Closed test** | <!-- pf:inventory.closedProbes|int -->7,680<!-- /pf --> probes of <!-- pf:inventory.closedScripts|int -->741<!-- /pf --> TradingView scripts across the <!-- pf:scoreboard.lanes|int -->18<!-- /pf --> lanes: <!-- pf:inventory.communityScripts|int -->680<!-- /pf --> community-shared scripts (<!-- pf:inventory.communityProbes|int -->7,179<!-- /pf --> probes), private under TradingView's Terms of Service, and <!-- pf:inventory.probeScripts|int -->61<!-- /pf --> probe scripts the maintainers wrote (<!-- pf:inventory.probeScriptProbes|int -->501<!-- /pf --> probes) | **<!-- pf:scoreboard.scopes.closed.excellent|int -->7,640<!-- /pf --> excellent + <!-- pf:scoreboard.scopes.closed.strong|int -->40<!-- /pf --> strong** |
239239

240240
### Lane by lane
241241

242242
<!-- pf:scoreboard.pairs|lanes -->
243243

244244
| Market · timeframe | Probes graded | Excellent | Strong | Below strong |
245245
|---|---:|---:|---:|---:|
246-
| BINANCE:BTCUSDT · 15m | 668 | 663 | 5 | 0 |
246+
| BINANCE:BTCUSDT · 15m | 668 | 664 | 4 | 0 |
247247
| BINANCE:BTCUSDT · 1D | 516 | 516 | 0 | 0 |
248-
| BINANCE:ETHUSDT.P · 15m *(hard lane: zero regression allowed)* | 1,009 | 999 | 10 | 0 |
248+
| BINANCE:ETHUSDT.P · 15m *(hard lane: zero regression allowed)* | 1,009 | 1,000 | 9 | 0 |
249249
| BINANCE:ETHUSDT.P · 1D | 540 | 539 | 1 | 0 |
250250
| CME_MINI:ES1! · 15m | 76 | 76 | 0 | 0 |
251251
| CME_MINI:ES1! · 1D | 35 | 35 | 0 | 0 |
@@ -257,11 +257,11 @@ The quantities above render from the public [facts tokens](https://github.com/pi
257257
| NSE:NIFTY · 1D | 225 | 225 | 0 | 0 |
258258
| NYSE:F · 15m | 637 | 625 | 12 | 0 |
259259
| NYSE:F · 1D | 505 | 502 | 3 | 0 |
260-
| OANDA:EURUSD · 15m | 653 | 647 | 6 | 0 |
260+
| OANDA:EURUSD · 15m | 653 | 648 | 5 | 0 |
261261
| OANDA:EURUSD · 1D | 453 | 453 | 0 | 0 |
262262
| OANDA:XAUUSD · 15m | 695 | 692 | 3 | 0 |
263263
| OANDA:XAUUSD · 1D | 456 | 456 | 0 | 0 |
264-
| **Total** | **7,989** | **7,946** | **43** | **0** |
264+
| **Total** | **7,989** | **7,949** | **40** | **0** |
265265

266266
<!-- /pf -->
267267

‎docs/pages/contributing-llm.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ a **kernel** that matches triggers, prices fills, books lots and settles, and a
2020
it. A separate project transpiles PineScript into C++ that attaches the
2121
adapter. The engine's value is that its output is *byte-reproducible* and graded
2222
*trade for trade against TradingView* on a fixed population (<!-- pf:scoreboard.population|int -->8,006<!-- /pf --> probes at
23-
the current baseline; <!-- pf:scoreboard.excellent|int -->7,946<!-- /pf --> of the <!-- pf:scoreboard.graded|int -->7,989<!-- /pf --> graded are excellent, <!-- pf:scoreboard.strong|int -->43<!-- /pf --> strong), so
23+
the current baseline; <!-- pf:scoreboard.excellent|int -->7,949<!-- /pf --> of the <!-- pf:scoreboard.graded|int -->7,989<!-- /pf --> graded are excellent, <!-- pf:scoreboard.strong|int -->40<!-- /pf --> strong), so
2424
almost every rule below exists to keep a change from quietly moving a byte.
2525

2626
## Repo map

0 commit comments

Comments
 (0)