Skip to content

docs(readme): redesign README as a branded landing page - #2474

Open
FlureeKevin wants to merge 4 commits into
mainfrom
docs/readme-redesign
Open

FlureeKevin wants to merge 4 commits into
mainfrom
docs/readme-redesign

Conversation

@FlureeKevin

@FlureeKevin FlureeKevin commented Nov 20, 2026 •

Copy link
Copy Markdown

Turns the README from a strong technical doc with no visual identity into a branded landing page that a developer, a buyer or a coding agent can act on within 30 seconds. The substance is unchanged: the 60-second tour, capabilities table, docs map and license explainer are all kept.

Rendered preview: README on this branch (it follows your GitHub theme, so switch themes to see both).

What changed

  • Header. The official wordmark from www-flur.ee/public/fluree-logo.svg in a <picture> (Deep #091133 for light mode, white for dark), a tagline, a condensed 2-line pitch, five flat-square badges in brand colors (release, Docker pulls, CI, license, docs) and a nav row.
  • Hero GIF of the 60-second tour (17.8 s, 310 KB, 1200×800, 22 px text, window frame). It shows the SPARQL query with cat, then runs it now and --at 1. The first frame is the finished result, so static previews aren't blank. Regenerate it with scripts/readme/render-tour.sh. The off-camera setup (tour-setup.sh) drops only the novelty is NKB … run fluree index maintenance notice from stderr; every other line is real output.
  • Four value cards: Time travel, Branch & merge, Triple-level policy, Built-in search.
  • Benchmarks, generated between <!-- BENCH:START --> / <!-- BENCH:END --> by scripts/readme/sync-bench.py. It computes every number from benchmark-db's raw results, using benchmark-db's own pass rule (status == 200, from common/make_charts.py). .github/workflows/readme-bench-sync.yml reruns it weekly and on dispatch, opening a PR instead of pushing to main. The figures match benchmark-db exactly (v4.2.8, measured 2026-11-19): DBLP-core 16.1 ms, QLever 12.6×, Virtuoso 18.6×; Pokec 1.81 ms reads, 2.54 ms durable writes.
  • Brand charts. The script also draws README-only DBLP-core charts in light and dark versions (<picture>), with Fluree in Vibrant #13C6FF and transparent backgrounds. The scale is linear: bars are exactly to scale up to 500 ms (Fluree, QLever, Virtuoso). MillenniumDB, Jena, Oxigraph and Blazegraph are hatched, clipped at the axis end and labeled with their real values.
  • Wikidata, now sourced. The old paragraph (21.5B triples, 43 ms, "10.4x slower", "2M facts/second") is gone. In its place is a generated line from benchmark-db: full dump 21.1B distinct triples, 850/850 WGPB queries at 14.4 ms (Fluree v4.2.7); Wikidata-truthy 8.18B triples, 105/105 at 270.9 ms, QLever 91/105 at 14.1× the latency (v4.2.8).
  • For AI agents is now a top-level section above "What makes Fluree different". It has a copy-paste setup prompt (each command in it was checked against the CLI), fluree mcp, llms.txt, and Fluree Memory and Fluree Unstructured, which replace the two [!NOTE] boxes that sat above Install.
  • What makes Fluree different: the subsections are trimmed. Standards-first no longer says "Both query languages" (see the GraphQL note below).
  • New: an "In this repo" table (descriptions taken from each crate's Cargo.toml) and a branded footer.
  • Tour sample output now shows what the CLI actually prints (comfy-table ASCII, columns sorted by name). The old box-drawn title | date table was hand-drawn; no CLI version prints it. Switching the CLI to box drawing is a one-line follow-up in fluree-db-cli/src/output.rs.
  • Supporting files: docs/assets/readme/BRAND.md (colors, sources, how to regenerate each asset), social-preview.png (1280×640) with its HTML source, and contrib/org-profile-README.md.

Deviations from the brief

  • Install sits above Benchmarks. With Benchmarks first, Install started about 2.5 screens down, which fails "Install starts within one scroll". Swapping two sections reverses it if you prefer proof first.
  • 416 lines, against a ~350 target. The prose is shorter than before. The extra lines are HTML markup (header, cards, footer) and the new "In this repo" table.
  • "How Fluree compares" is not included. There's a placeholder comment until the versus-stack matrix arrives.
  • The X and YouTube footer links were left out. twitter.com/flureeDB and youtube.com/@FlureePBC both returned 404 when checked on 2026-11-20. flur.ee's own footer uses the same URLs, so they may be broken there too.

TODO: needs Kevin

  • Tagline. The draft uses "The graph database that remembers everything, and proves it." The alternatives are "Time-travel, branch, and govern your knowledge graph, at benchmark-leading speed." and the original "A graph database for data that matters." The tagline appears in the README <h3>, social-preview.html and the org profile draft.
  • Brand files. The light wordmark is the website's official file. The dark one is the same path recolored to white; swap in an official reversed logo if one exists.
  • Community link. I found no public Discord or Slack, so there's no community badge.
  • Social links. Confirm the X and YouTube URLs (see above). LinkedIn and Careers are in place.
  • "How Fluree compares" data. The "Fluree versus the stack" matrix.
  • CITATION.cff. Skipped. Say if there's a paper or DOI to cite.
  • SECURITY.md and CODE_OF_CONDUCT.md. Missing from both this repo and fluree/.github; I didn't write policy text.
  • Bench sync workflow. Enable Settings → Actions → General → Allow GitHub Actions to create and approve pull requests. PRs opened with GITHUB_TOKEN don't trigger CI, so close and reopen them to run checks.

Claims flagged but not changed

  • GraphQL parity. The old text said both query languages had "the same capabilities". The new text keeps that claim for SPARQL, JSON-LD and openCypher, which the tour already makes. For GraphQL it only says it "runs on that engine too, with policy applied" (per docs/query/graphql.md), because I couldn't confirm time-travel parity.
  • Fluree Unstructured. The "best model-free parsing engine on a public 200-document benchmark" claim is carried over from the old NOTE box and wasn't verified here.

Org-level drafts (Kevin applies; nothing here needs admin)

  1. Org profile. It says "source-available under BSL 1.1", not "open source". fluree/.github already exists but has no profile/ folder. Copy contrib/org-profile-README.md to profile/README.md there. Its image URLs point at this repo's main, so they resolve after merge.
  2. Repo About text.
    • Description: The graph database that remembers everything, and proves it. Time travel, branching, triple-level policy and built-in vector/text search. SPARQL, JSON-LD, openCypher, GraphQL.
    • Website: https://flur.ee. The current homepage field is https://fluree.github.io/db/, while the README's docs badge points to labs.flur.ee/docs, so pick one docs home.
    • Topics: graph-database rdf sparql knowledge-graph json-ld cypher rust mcp ai-agents time-travel vector-search
    • One command: gh repo edit fluree/db --description "…" --homepage https://flur.ee --add-topic graph-database,rdf,sparql,knowledge-graph,json-ld,cypher,rust,mcp,ai-agents,time-travel,vector-search
  3. Social preview. Upload docs/assets/readme/social-preview.png in Settings → General → Social preview.
  4. Legacy repos. These are candidates for archiving or a "Legacy (v2/v3, Clojure): see fluree/db" note. Check each before acting.
    • v3 Clojure server stack: ledger (80★), server, http-api-gateway, v3-remote-multi-server-example, homebrew-flureedb (superseded by homebrew-tap), docs.flur.ee
    • Old examples and demos: developer-hub, ledger-docker-compose-example, terraform-example, transactor-group-examples, example-supply-chain, example-authority-delegation, example-iam-mdm, example-s3-ledger, kafka, events, credentials-demo, auth-pass-example, time-travel-sample-app, todomvc, dev-week-2024, v2-authority-demo
    • Old JS clients and UI: fluree-admin-ui, fql-react, f.template-react, fluree-react, js-react-wrapper, fql-graphql, flureenjs-listener-example, flureenjs-2-express-example, fluree-nodejs-server, vscode-fluree, smart-function-library, cra-template-fluree
    • Unmodified-looking forks of third-party projects: sjcl, elliptic, jepsen, kaocha, reitit, malli, setup-java, setup-clojure, action-gh-release, official-images, http.async.client, abracad
  5. Shared header for sibling repos. After this merges, I propose follow-up PRs that give benchmark-db, fluree-doc-parse and fluree-ai-releases the same wordmark, badge style (labelColor=091133, Vibrant/Purple) and nav row, pulling the logo from fluree/db's docs/assets/readme/.

Verification

  • Link check: lychee --include-fragments README.md docs/assets/readme/BRAND.md found 140 OK and 0 errors. LinkedIn was excluded because it blocks bots with a 403.
  • Rendering: Rendered with GitHub's markdown API (gh api markdown) and GitHub's stylesheet, then checked in light, dark and 375 px mobile (no horizontal scroll). All four assets resolve on this branch via raw.githubusercontent.com.
  • Benchmark sync: python3 scripts/readme/sync-bench.py --bench-repo ../benchmark-db --check passes against benchmark-db@3b8b750.
  • Agent prompt: Each command in it (fluree init, fluree mcp init --ide …, fluree docs search, --at 1) was checked against --help, and both llms.txt URLs return 200.
  • GIF: Recorded with the locally installed fluree 4.1.6, not 4.2.8. The table code on main is the same, so the output should match. Rerun scripts/readme/render-tour.sh after brew upgrade fluree to confirm.
  • Not run locally: actionlint on the new workflow (no Go toolchain here). CI's "Validate GitHub Actions workflows" step covers it.
  • Screenshots: TODO(Kevin): drag in the light, dark and mobile screenshots. The gh CLI can't upload images, so they aren't attached yet.

🤖 Generated with Claude Code

- Centered header with the official Fluree wordmark (light/dark <picture>),
  tagline, brand-tinted flat-square badges and a nav row
- Hero GIF of the 60-second tour, reproducible from docs/assets/readme/tour.tape (VHS)
- Four value cards; Install moved up; Benchmarks section generated from
  fluree/benchmark-db between BENCH markers
- New "For AI agents" section with a copy-paste agent prompt, MCP, llms.txt,
  Fluree Memory and Fluree Unstructured (replaces the two top-of-page NOTE boxes)
- "What makes Fluree different" trimmed; Standards-first no longer says "Both
  query languages"
- New "In this repo" table and branded footer
- scripts/readme/sync-bench.py and a weekly workflow that opens a PR when
  benchmark-db numbers change
- Draft org profile README in contrib/, social preview image, BRAND.md

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@FlureeKevin FlureeKevin added the documentation Improvements or additions to documentation label Nov 20, 2026
Kevin Doubleday and others added 3 commits November 20, 2026 13:08
- GIF: 22 px text, window frame, real query shown with cat, no indexing notice,
  result as the first frame (scripts/readme/render-tour.sh), sized to content
- Charts: sync-bench.py now draws log-scale light/dark DBLP-core charts in brand
  colors and uses benchmark-db's own pass rule (status 200), which fixes the
  Oxigraph count
- Replace the unsourced Wikidata paragraph with a generated line from
  benchmark-db's WGPB and Wikidata-truthy reports
- Tour sample output now matches what the CLI actually prints
- Org profile: "source-available", not "open source"

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bars are to scale up to 500 ms; slower engines are clipped, hatched and
labeled with their real values.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@aaj3f aaj3f left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@FlureeKevin this is a big step up for the front door, and generating every figure from benchmark-db's raw results is exactly the design I'd want. Claude recomputed each one independently, and they match benchmark-db and bplatz's #2471 to the digit.

On the two claims at README.md:75 and :296, the wording is yours to call, since it's the front door's voice more than a spec. I'd only softly flag that each is a little stronger than the page it links (inline), with the linked pages' phrasing as one option if you want lines nobody can pick at.

The one altitude note is sequencing with your #2476: the hero GIF and the tour sample show the ASCII tables #2476 replaces, and every other doc page already shows box-drawn ones, so I'd land #2476 first and re-render here. CI's test job is also red on BRAND.md; details below.

Full review below:


🔄 Request changes. Most of this is ready, and the generated block is a real improvement on main's hand-typed figures, several of which had drifted. Three things need to land first: the red test job, the fluree mcp serve sentence, and the re-render after #2476.

Before merging:

  1. docs/assets/readme/BRAND.md:1: CI red; exclude assets/* in fluree-db-docs/src/embed.rs or move the folder out of docs/.
  2. README.md:136: land #2476 first, then re-render the GIF and this sample.
  3. README.md:219: bare fluree mcp serve serves memory only; say --toolsets all or point at mcp init.

Decisions on the record: My reading is that this makes openCypher a full peer of SPARQL and JSON-LD on the front door (time travel, policies, graph sources) and puts GraphQL on the same engine with policy applied. I think that holds up from the code, but I'd like your confirmation it's the intended promise, since the docs have so far made it for SPARQL and JSON-LD only.

Notes:

  • This PR is the class fix for "a figure in prose drifts from its source": main's README had 17.5 ms, 11.5×, "r8a.4xlarge" and 43 ms over "21.5-billion" triples, all stale against benchmark-db, and #2471 is fixing the same drift in performance.md. What's left of the class is the hand-written prose around the block (README.md:75, :231, :296 above).
  • On the claim the body flagged: "the best model-free parsing engine on a public 200-document benchmark" is sourced. docs/unstructured/README.md:23-38, which the paragraph links, carries the opendataloader-bench table and that result.
  • On the tagline TODO: "remembers everything" may sit a little awkwardly beside the purge path docs/transactions/retractions.md describes for right-to-be-forgotten requests, and the erasure work on next. Worth having in mind whichever line you pick.
  • The tour's insert and update print "warning: novelty is 1KB (1 commits ahead of index); run fluree index to rebuild" on a fresh two-commit ledger, which tour-setup.sh filters out of the GIF. I'd rather the GIF not hide a line every reader will see; the better fix is probably for the CLI not to warn that early, which is outside this PR.
Adherence: patterns ✔ · performance ✔ · deployment ⚠️ · testing ✖ · conventions ⚠️ · verification
  • Patterns/abstractions: ✔ figures come from benchmark-db's raw results with its own pass rule; the README-only charts are generated by the same script.
  • Performance (speed first, memory second): ✔ docs, assets, a Python script and a workflow; no engine change. No performance-degradation risk.
  • Deployment targets: ⚠️ BRAND.md would be embedded in every fluree binary's docs corpus (CLI and MCP docs_search); the policy test catches it, which is the red job.
  • Testing: ✖ CI test fails on head (fluree-db-docs embed policy). sync-bench.py --check passes against benchmark-db@3b8b750.
  • Conventions: ⚠️ multi-line commits; three README sentences disagree with the code or the docs they link; BRAND.md:26 is stale.

Verified at 1201e3007: CI run 44802510768 (one failure, the embed policy test); sync-bench.py --check against benchmark-db@3b8b750 (up to date); every figure recomputed by Claude's own script from benchmark-db's raw TSVs (all match, and match #2471); 77 relative links and all anchors resolve, 14 external URLs return 200; on a c7i.4xlarge box Claude reproduced the fluree-db-docs failure and turned it green with #[exclude = "assets/*"], ran the README tour on this branch's and #2476's binaries, and listed fluree mcp serve's tools with and without --toolsets all; generator probes on scratch copies (an empty benchmark-db commit; perturbed data).

Just be sure to get the three items above in before this merges (most simply by landing #2476 first and re-rendering here); the rest are notes I think are worth folding in while you're in the file.

@@ -0,0 +1,32 @@
# README brand assets

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: CI's test job is red because this file ships inside the fluree binary.

fluree-db-docs embeds every *.md under docs/ into the binary (fluree-db-docs/src/embed.rs:29-43), so it can be served by fluree docs search and the MCP docs_search tool. Its policy test, every_embedded_page_is_published_or_an_extra, requires each embedded page to be linked from docs/SUMMARY.md or listed in EMBEDDED_EXTRAS. docs/assets/readme/BRAND.md is neither, so the test fails: "these pages ship inside the binary but nothing published them: ["assets/readme/BRAND.md"]" (run 44802510768, the only failure of 16565).

BRAND.md is a maintainer note, not documentation, so the policy's "internal" outcome fits. Claude checked on a box that one line in embed.rs turns the test green (22 of 22 pass):

#[exclude = "audit-impl/*"]
#[exclude = "assets/*"]
pub struct DocsAssets;

Moving the folder out of docs/ (next to scripts/readme/, say) works too, and also keeps the GIF, PNG and tape out of the mdBook output, but it means re-pointing the README, the script and the workflow. While you're in this file, line 26 still says the chart is on a log scale; it went linear in 1201e3007.

Commenting here because fluree-db-docs/src/embed.rs is not in this diff.

Comment thread README.md
│ Alien │ 1979-05-25 │
│ Blade Runner │ 1982-06-25 │
└──────────────┴────────────┘
+------------+--------------+

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking (merge order): this sample and the hero GIF show the ASCII tables your #2476 replaces.

The sample is accurate for today's CLI (Claude ran the tour on a box with this branch's binary and got these exact lines). But every other doc page that shows a table already shows the box-drawn style: docs/cli/query.md:100, docs/cli/history.md:90, docs/getting-started/tutorial-end-to-end.md:79, docs/guides/cookbook-time-travel.md:152. #2476 makes the CLI print it, and its own body calls this rendering "broken", "most visibly in the README hero GIF". If this merges first, the front door is the one page showing output that the next merge changes.

I'd land #2476 first, then re-render here: scripts/readme/render-tour.sh with a current binary (the GIF was recorded with 4.1.6), and this sample becomes exactly what Claude got from #2476's binary on the box:

┌────────────┬──────────────┐
│ date       │ title        │
├────────────┼──────────────┤
│ 1979-05-25 │ Alien        │
│ 1982-06-25 │ Blade Runner │
└────────────┴──────────────┘

Comment thread README.md
```

### Performance
**MCP server.** `fluree mcp serve` exposes ranked search over the version-pinned docs and persistent project memory over stdio. `fluree mcp init --ide claude-code` registers it for you. See [MCP server](docs/ai/mcp-server.md) and [Claude Code and the Fluree CLI](docs/ai/claude-code.md).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: fluree mcp serve on its own serves memory only, not the docs.

mcp serve --toolsets defaults to memory "for back-compat when omitted" (fluree-db-cli/src/cli.rs:2668-2671); only mcp init defaults to all and writes it into the IDE config. Claude listed the tools over stdio on a box: bare fluree mcp serve exposes kg_query and the six memory_* tools; --toolsets all adds docs_search, docs_get, docs_examples and docs_tree. So someone wiring fluree mcp serve into a client by hand from this sentence gets no docs search.

Suggested change
**MCP server.** `fluree mcp serve` exposes ranked search over the version-pinned docs and persistent project memory over stdio. `fluree mcp init --ide claude-code` registers it for you. See [MCP server](docs/ai/mcp-server.md) and [Claude Code and the Fluree CLI](docs/ai/claude-code.md).
**MCP server.** `fluree mcp serve --toolsets all` exposes ranked search over the version-pinned docs and persistent project memory over stdio (bare `fluree mcp serve` serves memory only). `fluree mcp init --ide claude-code` registers both for you. See [MCP server](docs/ai/mcp-server.md) and [Claude Code and the Fluree CLI](docs/ai/claude-code.md).

The same applies to the fluree mcp serve line under "Use it your way" (README.md:337); that one was on main already, but since that section now points here, I'd fix both.

Comment thread README.md

## Benchmarks

Systems with time travel, triple-level policy and reasoning are assumed to trade speed for capability. Fluree is faster than the specialist engines that have none of it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional (the wording is your call): the Benchmarks lead is a little stronger than the performance page it links.

"Fluree is faster than the specialist engines that have none of it" is unqualified, and it now opens the section. bplatz's #2471 rewrites the same sentence in docs/design/performance.md as "In the published benchmarks below, Fluree outperforms engines that provide none of these features", and adds the one case that goes the other way: "at 200 M triples QLever is 59% faster on the Business Intelligence mix" (BSBM, single client). In benchmark-db, Fluree leads every geometric mean in this block, but not every query (QLever is faster on 12 of the 105 DBLP-core queries).

Not a must, and the wording is yours: just flagging that, as written, a reader can find the BSBM case in the table below and pick at it. #2471's phrasing is one way to keep it strong and unfalsifiable; equally fine to keep yours if the unqualified version is deliberate.

Comment thread README.md
### Standards-first

Full SPARQL 1.1 with zero compliance failures against the W3C test suite. Native JSON-LD for idiomatic JSON APIs. Both query languages access the same engine with the same capabilities — time travel, policies, graph sources, and all.
Full SPARQL 1.1 with zero compliance failures against the W3C test suite, and native JSON-LD for idiomatic JSON APIs. SPARQL, JSON-LD and openCypher compile to the same engine with the same capabilities: time travel, policies, graph sources and all. GraphQL is derived from your data and runs on that engine too, with policy applied.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional (the wording is your call): "zero compliance failures" is a little stronger than the compatibility page this paragraph links, and the parity sentence now names openCypher and GraphQL.

docs/reference/compatibility.md:95 says SPARQL 1.1 Query is "In progress toward full compliance", and the testsuite's skip register lists documented divergences in the SPARQL 1.1 query suites (timezone offsets are not retained, so TZ/TIMEZONE/HOURS tests are registered; an empty named graph can't be enumerated) plus 21 SPARQL 1.0 evaluation entries. The suite is green because those are registered, which isn't the same as zero failures. This sentence was on main already, but the paragraph is being rewritten anyway.

To be clear, the divergences are few and deliberate, so this isn't badly off; it's just a touch stronger than the docs. Something like "passes the W3C SPARQL 1.1 query suites apart from a few documented divergences", linking docs/reference/compatibility.md, would match them, but the wording's yours.

The second sentence now names openCypher and GraphQL as well; my read on that is under "Decisions on the record" in the review body.

commit = bench_commit(bench)
gh = "https://github.com/fluree/benchmark-db/blob/main"
block = f"""{START}
<!-- Generated by scripts/readme/sync-bench.py from fluree/benchmark-db@{commit}. Do not edit by hand. -->

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional: the benchmark-db commit SHA in the block makes the weekly job open a PR whenever benchmark-db moves at all.

--check compares the whole block, and the block embeds fluree/benchmark-db@{commit}. Claude added one empty commit to a scratch clone of benchmark-db (no data change) and --check reported "out of date: README.md". benchmark-db had 11 commits in the last month, several of them BSBM-only, which change no README number. Comparing the block with the provenance comment stripped (or keeping the SHA only in the commit message and PR body, where the workflow already puts it) would make the bot speak only when a number moves. This is minor and non-blocking, but if you agree it's right, I'd rather see it folded in now than lost in the backlog.

d_rows.append((info["label"], ms, passed, total, key))
d_rows.sort(key=lambda r: r[1])
d = {r[4]: r for r in d_rows}
if d_rows[0][4] != "fluree":

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional: the "Fluree is no longer fastest" guard covers DBLP-core only; the other sentences are templated as wins.

The Pokec sentence ("N–M× faster reads … than FalkorDB, Memgraph and Neo4j"), the truthy sentence ("QLever … takes N× as long") and the WGPB "completes all N/M" are written whatever the data says. Claude fed the generator a perturbed copy of benchmark-db on a scratch checkout and it wrote "0.50–5.75× faster reads", "QLever answers 105/105 and takes 0.5× as long" and "completes all 847/850", with exit 0. Since a bot opens these PRs, I think the same fail-closed check belongs on every comparative sentence (every ratio above 1, "all" only when timeouts and errors are zero). I recognize this is minor, but if you agree, I'd rather see it in this PR than lost in the backlog.

# (and docs/assets/readme/dblp-core-geomean-{light,dark}.svg) from fluree/benchmark-db, and
# opens a pull request when anything changed. It never pushes to main.
#
# Needs "Allow GitHub Actions to create and approve pull requests" enabled in

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional: I'd rather not flip "Allow GitHub Actions to create and approve pull requests" for this.

That setting applies to the repo, not to this workflow: once on, any workflow running with a write token can open and approve pull requests. And the PR this job opens runs no CI until someone closes and reopens it. A scheduled job that runs sync-bench.py --check and fails (or files an issue) gives the same freshness signal with no setting change, and a maintainer runs the script and opens the PR normally. If you'd still prefer the bot, a GitHub App token scoped to this repo avoids the repo-wide setting.

@@ -0,0 +1,41 @@
<!--

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional: this draft belongs in fluree/.github, not here.

Its own header says "Not used by this repo", and the README's table describes contrib/ as "Community packaging (Arch Linux AUR)" (README.md:396). Opening it as a PR against fluree/.github directly would also get it reviewed where it will live. Not a big deal either way.

Comment thread README.md
</picture>
</p>

**At Wikidata scale.** On the [full Wikidata dump](https://github.com/fluree/benchmark-db/blob/main/benchmarks/wgpb/reports/wikidata-all/REPORT.md) (21.1B distinct triples), Fluree v4.2.7 completes all 850/850 WGPB graph-pattern queries with a 14.4 ms geometric mean. On [Wikidata-truthy](https://github.com/fluree/benchmark-db/blob/main/benchmarks/sparqloscope/reports/wikidata-truthy/REPORT.md) (8.18B triples), Fluree v4.2.8 answers 105/105 SPARQLoscope queries with a 270.9 ms geometric mean; QLever answers 91/105 and takes 14.1× as long.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional: the Wikidata-truthy ratio is a penalized mean, and the sentence doesn't say so.

"QLever answers 91/105 and takes 14.1× as long" uses SPARQLoscope's P=2 aggregate, in which each of QLever's 14 failures counts as twice the 300 s timeout (benchmark-db's report says so). On the 91 queries both engines answer, QLever's geometric mean is 9.9× Fluree's. The DBLP cell already says "P=2"; this sentence could carry the same qualifier, e.g. "…and its P=2 geometric mean, which counts a failed query as twice the 300 s timeout, is 14.1× Fluree's." Since the block is generated, the change goes in sync-bench.py:258. Minor, but if you agree, I'd rather see it in this PR than lost in the backlog.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants