From c25c322801d0b84ab2b6d595c4de4efc450a84f5 Mon Sep 17 00:00:00 2001 From: GordonYuanyc Date: Wed, 2 Dec 2026 00:22:15 +0000 Subject: [PATCH 1/4] System leaderboard web page in the sketch leaderboard's layout scripts/system-leaderboard-data.py turns saved one-shot run directories and use-case runs/index.json into one flat record per system, configuration and workload, with each approximate record naming the exact record it is compared with. system-leaderboard/ follows ProjectASAP/sketch-leaderboard page by page (Results, details, Accuracy vs Cost, Throughput, Visualization, Decision Support) over those records. The data file is not committed; it comes from an archive of saved results. Co-Authored-By: Claude Opus 5.5 --- scripts/system-leaderboard-data.py | 309 ++ system-leaderboard/.gitignore | 6 + system-leaderboard/.prettierignore | 3 + system-leaderboard/.prettierrc.json | 1 + system-leaderboard/eslint.config.js | 23 + system-leaderboard/index.html | 13 + system-leaderboard/package-lock.json | 2994 +++++++++++++++++ system-leaderboard/package.json | 38 + system-leaderboard/public/favicon.svg | 1 + system-leaderboard/src/App.jsx | 33 + .../src/components/BaselineLink.jsx | 14 + .../src/components/DataHealthGate.css | 79 + .../src/components/DataHealthGate.jsx | 110 + .../src/components/ModeBadge.jsx | 35 + system-leaderboard/src/components/Navbar.jsx | 46 + .../src/context/BenchmarkDataContext.jsx | 39 + .../src/context/benchmarkDataContextValue.js | 3 + .../src/hooks/useBenchmarkData.js | 12 + system-leaderboard/src/index.css | 10 + system-leaderboard/src/main.jsx | 13 + .../src/pages/AccuracyVsCost.css | 90 + .../src/pages/AccuracyVsCost.jsx | 454 +++ .../src/pages/DecisionSupport.jsx | 471 +++ system-leaderboard/src/pages/Home.jsx | 15 + .../src/pages/ResultDetails.css | 86 + .../src/pages/ResultDetails.jsx | 310 ++ system-leaderboard/src/pages/ResultTable.css | 25 + system-leaderboard/src/pages/ResultTable.jsx | 142 + system-leaderboard/src/pages/Throughput.jsx | 235 ++ .../src/pages/Visualization.jsx | 402 +++ .../src/utils/benchmarkRecord.js | 365 ++ system-leaderboard/src/utils/loadJson.js | 20 + system-leaderboard/src/utils/metrics.js | 122 + system-leaderboard/src/utils/schema.json | 126 + system-leaderboard/vite.config.js | 7 + 35 files changed, 6652 insertions(+) create mode 100755 scripts/system-leaderboard-data.py create mode 100644 system-leaderboard/.gitignore create mode 100644 system-leaderboard/.prettierignore create mode 100644 system-leaderboard/.prettierrc.json create mode 100644 system-leaderboard/eslint.config.js create mode 100644 system-leaderboard/index.html create mode 100644 system-leaderboard/package-lock.json create mode 100644 system-leaderboard/package.json create mode 100644 system-leaderboard/public/favicon.svg create mode 100644 system-leaderboard/src/App.jsx create mode 100644 system-leaderboard/src/components/BaselineLink.jsx create mode 100644 system-leaderboard/src/components/DataHealthGate.css create mode 100644 system-leaderboard/src/components/DataHealthGate.jsx create mode 100644 system-leaderboard/src/components/ModeBadge.jsx create mode 100644 system-leaderboard/src/components/Navbar.jsx create mode 100644 system-leaderboard/src/context/BenchmarkDataContext.jsx create mode 100644 system-leaderboard/src/context/benchmarkDataContextValue.js create mode 100644 system-leaderboard/src/hooks/useBenchmarkData.js create mode 100644 system-leaderboard/src/index.css create mode 100644 system-leaderboard/src/main.jsx create mode 100644 system-leaderboard/src/pages/AccuracyVsCost.css create mode 100644 system-leaderboard/src/pages/AccuracyVsCost.jsx create mode 100644 system-leaderboard/src/pages/DecisionSupport.jsx create mode 100644 system-leaderboard/src/pages/Home.jsx create mode 100644 system-leaderboard/src/pages/ResultDetails.css create mode 100644 system-leaderboard/src/pages/ResultDetails.jsx create mode 100644 system-leaderboard/src/pages/ResultTable.css create mode 100644 system-leaderboard/src/pages/ResultTable.jsx create mode 100644 system-leaderboard/src/pages/Throughput.jsx create mode 100644 system-leaderboard/src/pages/Visualization.jsx create mode 100644 system-leaderboard/src/utils/benchmarkRecord.js create mode 100644 system-leaderboard/src/utils/loadJson.js create mode 100644 system-leaderboard/src/utils/metrics.js create mode 100644 system-leaderboard/src/utils/schema.json create mode 100644 system-leaderboard/vite.config.js diff --git a/scripts/system-leaderboard-data.py b/scripts/system-leaderboard-data.py new file mode 100755 index 00000000..fa42e8e0 --- /dev/null +++ b/scripts/system-leaderboard-data.py @@ -0,0 +1,309 @@ +#!/usr/bin/env python3 +import argparse +import csv +import glob +import json +import math +import os +import statistics +import sys + +SCHEMA_VERSION = 2 + +DESCRIPTION = "Write the system leaderboard's data file from saved approxbench benchmark-external outputs." + +EPILOG = """\ +--data a data directory as scripts/leaderboard-data.sh packs it: one-shot// for each + one-shot run directory and phase3/runs/index.json for the use cases on systems +--one-shot a run directory of scripts/one-shot-workload.sh after one-shot-report: its + one-shot-summary.csv, one-shot-tables.csv and results//*.one-shot.json +--periodic the runs/index.json scripts/use_cases/run_use_case_on_systems.py writes + +Every line of the output is one record: one system in one configuration on one workload, with +its per-query results under "queries". Nothing is rerun; only saved results are read. +""" + +EXACT_PERIODIC_SYSTEMS = {"VictoriaMetrics"} + + +def number(value): + if value is None or value == "": + return None + value = float(value) + return value if math.isfinite(value) else str(value) + + +def count(text): + return None if text in (None, "") else int(text) + + +def finite(values): + return [v for v in values if isinstance(v, (int, float)) and math.isfinite(v)] + + +def geomean(values): + values = [v for v in finite(values) if v > 0] + return math.exp(sum(math.log(v) for v in values) / len(values)) if values else None + + +def largest_error(values): + if "inf" in values: + return "inf" + values = finite(values) + return max(values) if values else None + + +def median(values): + values = finite(values) + return statistics.median(values) if values else None + + +def machine_text(machine): + if not machine: + return None + memory = machine.get("memory_kib") + memory = f", {memory / 1024 / 1024:.0f} GiB {machine.get('memory_type', '')}".rstrip() if memory else "" + return f"{machine.get('cpu_model')}, {machine.get('logical_cores')} logical cores{memory}, {machine.get('os')}" + + +def one_shot_baseline(system, configuration, configurations): + if configuration == "exact": + return None + if (system, "exact") in configurations: + return f"{system}/exact" + return "duckdb/exact" if ("duckdb", "exact") in configurations else None + + +def one_shot(run_directory): + summary = os.path.join(run_directory, "one-shot-summary.csv") + tables = os.path.join(run_directory, "one-shot-tables.csv") + for path in (summary, tables): + if not os.path.isfile(path): + sys.exit(f"no {path}; run approxbench benchmark-external one-shot-report first") + results = {} + for path in sorted(glob.glob(os.path.join(run_directory, "results", "*", "*.one-shot.json"))): + with open(path) as file: + result = json.load(file) + results[(result["engine"]["id"], result["configuration"])] = result + rows = {} + with open(summary, newline="") as file: + for row in csv.DictReader(file): + rows.setdefault((row["engine"], row["configuration"]), []).append(row) + loads = {} + with open(tables, newline="") as file: + for row in csv.DictReader(file): + loads.setdefault((row["engine"], row["configuration"]), []).append(row) + hot = {key: {r["query"]: number(r["hot_min_wall_seconds"]) for r in group if r["status"] == "ok"} + for key, group in rows.items()} + for (system, configuration), group in rows.items(): + result = results.get((system, configuration), {}) + texts = {q["id"]: q.get("sql") for q in result.get("queries", [])} + baseline = one_shot_baseline(system, configuration, rows) + baseline_key = tuple(baseline.split("/")) if baseline else None + queries = [] + for r in group: + answered = r["status"] == "ok" + reference = hot.get(baseline_key, {}).get(r["query"]) if baseline_key else None + own = number(r["hot_min_wall_seconds"]) if answered else None + queries.append({ + "query": r["query"], + "text": texts.get(r["query"]), + "status": r["status"], + "first_run_seconds": number(r["first_run_wall_seconds"]), + "hot_min_seconds": own, + "hot_median_seconds": number(r["hot_median_wall_seconds"]), + "hot_min_engine_seconds": number(r["hot_min_engine_seconds"]), + "speedup_over_baseline": reference / own if reference and own else None, + "max_relative_error": number(r["max_relative_error"]), + "missing_groups": count(r["max_missing_groups"]), + "extra_groups": count(r["max_extra_groups"]), + "differing_text_cells": count(r["differing_text_cells"]), + "truth_stable": r["truth_runs_agree"] != "false", + "peak_memory_bytes": number(r["hot_median_peak_memory_bytes"]), + }) + ok = [q for q in queries if q["status"] == "ok"] + compared = [q for q in ok if q["truth_stable"]] + load = loads.get((system, configuration), []) + load_seconds = [number(t["load_seconds"]) for t in load if t["load_seconds"]] + yield { + "schema_version": SCHEMA_VERSION, + "benchmark": "one-shot", + "workload": r["workload"], + "system": system, + "configuration": configuration, + "mode": "exact" if configuration == "exact" else "approximate", + "baseline": baseline, + "version": (result.get("engine") or {}).get("version"), + "build_profile": (result.get("engine") or {}).get("build_profile"), + "options": {k: v for k, v in (result.get("configuration_options") or {}).items() + if k not in ("database", "connection", "url", "program", "python")}, + "machine": machine_text(result.get("machine")), + "harness_version": result.get("harness_version"), + "trials": 1, + "runs_per_query": max((count(q["runs"]) or 0) for q in group), + "query_count": len(queries), + "answered_count": len(ok), + "matching_truth_count": sum( + 1 for q in compared + if isinstance(q["max_relative_error"], (int, float)) and q["max_relative_error"] <= 1e-6 + and not q["missing_groups"] and not q["extra_groups"] and not q["differing_text_cells"]), + "compared_count": len(compared), + "total_hot_seconds": sum(q["hot_min_seconds"] or 0 for q in ok), + "geomean_hot_seconds": geomean([q["hot_min_seconds"] for q in ok]), + "speedup_over_baseline": geomean([q["speedup_over_baseline"] for q in ok]), + "max_relative_error": largest_error([q["max_relative_error"] for q in compared]), + "median_relative_error": median([q["max_relative_error"] for q in compared]), + "peak_memory_bytes": largest_error([q["peak_memory_bytes"] for q in ok]), + "data_size_bytes": sum(count(t["data_size_bytes"]) or 0 for t in load) or None, + "load_seconds": sum(load_seconds) if load_seconds else None, + "ingest_samples_per_second": None, + "median_query_ms": None, + "p99_query_ms": None, + "cpu_seconds": None, + "disk_bytes": None, + "decision_agreement": {}, + "queries": queries, + } + + +def instance_totals(measured): + instances = measured.get("per instance") or [measured] + rates = finite([i.get("insert samples per second") for i in instances]) + disks = finite([i.get("disk bytes") for i in instances]) + peaks = finite([i.get("peak resident bytes") for i in instances]) + return { + "instances": len(instances), + "ingest_samples_per_second": min(rates) if rates else None, + "disk_bytes": sum(disks) if disks else None, + "peak_memory_bytes": sum(peaks) if peaks else None, + } + + +def names(value): + return sorted(value) if isinstance(value, dict) else list(value or []) + + +def periodic(index_path): + with open(index_path) as file: + runs = json.load(file) + groups = {} + for run in runs: + details = run["details"] + arm = run["run_id"].split("-systems-bulk-", 1)[-1].split("-trial")[0] + for system, measured in (details.get("systems") or {}).items(): + exact = system in EXACT_PERIODIC_SYSTEMS + key = (run["use_case"], system, "exact" if exact else arm) + groups.setdefault(key, []).append((run, details, measured, exact)) + for (use_case, system, configuration), trials in groups.items(): + run, details, _, exact = trials[0] + reasons = {} if exact else (details.get("unsupported") or {}) + totals = [instance_totals(m) for _, _, m, _ in trials] + errors = {} + for _, d, _, ex in trials: + source = {q: (v or {}).get("max relative error") for q, v in (d.get("victoriametrics_vs_truth") or {}).items()} \ + if ex else (d.get("max_relative_error") or {}) + for query, value in source.items(): + errors.setdefault(query, []).append(value) + unsupported = sorted({n for _, _, m, _ in trials for n in names(m.get("unsupported"))}) + plans = (details.get("exact_plans") if exact else details.get("plans")) or {} + queries = [{ + "query": query, + "text": text, + "status": "unsupported" if query in unsupported else "ok", + "reason": reasons.get(query) if query in unsupported else None, + "plan": plans.get(query), + "max_relative_error": largest_error(errors.get(query, [])), + } for query, text in (details.get("promql") or {}).items()] + agreement = {} + if not exact: + for _, d, _, _ in trials: + for rule, values in (d.get("fidelity") or {}).items(): + agreement.setdefault(rule, []).append(values.get("agreement")) + yield { + "schema_version": SCHEMA_VERSION, + "benchmark": "periodic", + "workload": use_case, + "system": system, + "configuration": configuration, + "mode": "exact" if exact else "approximate", + "baseline": None if exact else "VictoriaMetrics/exact", + "version": None if exact else details.get("backend_rev"), + "build_profile": details.get("write mode"), + "options": {} if exact else (details.get("arm") or {}), + "machine": None, + "harness_version": None, + "trials": len(trials), + "instances": max(t["instances"] for t in totals), + "runs_per_query": None, + "query_count": len(queries), + "answered_count": sum(1 for q in queries if q["status"] == "ok"), + "matching_truth_count": None, + "compared_count": None, + "total_hot_seconds": None, + "geomean_hot_seconds": None, + "speedup_over_baseline": None, + "max_relative_error": largest_error([q["max_relative_error"] for q in queries]), + "median_relative_error": median([q["max_relative_error"] for q in queries]), + "peak_memory_bytes": median([t["peak_memory_bytes"] for t in totals]), + "data_size_bytes": None, + "load_seconds": None, + "ingest_samples_per_second": median([t["ingest_samples_per_second"] for t in totals]), + "median_query_ms": median([m.get("median query ms") for _, _, m, _ in trials]), + "p99_query_ms": median([m.get("p99 query ms") for _, _, m, _ in trials]), + "cpu_seconds": median([m.get("cpu seconds") for _, _, m, _ in trials]), + "disk_bytes": median([t["disk_bytes"] for t in totals]), + "decision_agreement": {rule: median(values) for rule, values in agreement.items()}, + "queries": queries, + } + + +def periodic_speedups(records): + exact = {(r["workload"]): r for r in records if r["benchmark"] == "periodic" and r["mode"] == "exact"} + for record in records: + if record["benchmark"] == "periodic" and record["mode"] == "approximate": + reference = exact.get(record["workload"]) + if reference and reference["median_query_ms"] and record["median_query_ms"]: + record["speedup_over_baseline"] = reference["median_query_ms"] / record["median_query_ms"] + + +def main(): + parser = argparse.ArgumentParser( + description=DESCRIPTION, epilog=EPILOG, formatter_class=argparse.RawDescriptionHelpFormatter + ) + parser.add_argument("--data", action="append", default=[], metavar="DATA_DIRECTORY") + parser.add_argument("--one-shot", action="append", default=[], metavar="RUN_DIRECTORY") + parser.add_argument("--periodic", action="append", default=[], metavar="INDEX_JSON") + parser.add_argument("--output", default="system-leaderboard/public/data/all.jsonl") + parser.add_argument("--format", choices=("jsonl", "json"), default="jsonl", + help="jsonl: one record per line, as the web leaderboard reads; json: one array, as " + "the Grafana dashboards read [jsonl]") + args = parser.parse_args() + one_shot_runs = list(args.one_shot) + periodic_indexes = list(args.periodic) + for data in args.data: + one_shot_runs += sorted(os.path.dirname(p) for p in glob.glob(os.path.join(data, "one-shot", "*", "one-shot-summary.csv"))) + index = os.path.join(data, "phase3", "runs", "index.json") + if os.path.isfile(index): + periodic_indexes.append(index) + if not one_shot_runs and not periodic_indexes: + sys.exit("no results found; give --data, --one-shot or --periodic") + records = [] + for run_directory in one_shot_runs: + records.extend(one_shot(run_directory)) + for index in periodic_indexes: + records.extend(periodic(index)) + periodic_speedups(records) + records.sort(key=lambda r: (r["benchmark"], r["workload"], r["mode"] != "exact", r["system"], r["configuration"])) + os.makedirs(os.path.dirname(os.path.abspath(args.output)), exist_ok=True) + with open(args.output, "w") as file: + if args.format == "json": + json.dump(records, file, sort_keys=True) + else: + for record in records: + file.write(json.dumps(record, sort_keys=True)) + file.write("\n") + print(f"{len(records)} records to {args.output}") + + +if __name__ == "__main__": + main() diff --git a/system-leaderboard/.gitignore b/system-leaderboard/.gitignore new file mode 100644 index 00000000..92fab02c --- /dev/null +++ b/system-leaderboard/.gitignore @@ -0,0 +1,6 @@ +node_modules +dist +public/data +*.local +*.log +.DS_Store diff --git a/system-leaderboard/.prettierignore b/system-leaderboard/.prettierignore new file mode 100644 index 00000000..98aee372 --- /dev/null +++ b/system-leaderboard/.prettierignore @@ -0,0 +1,3 @@ +dist +node_modules +public/data diff --git a/system-leaderboard/.prettierrc.json b/system-leaderboard/.prettierrc.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/system-leaderboard/.prettierrc.json @@ -0,0 +1 @@ +{} diff --git a/system-leaderboard/eslint.config.js b/system-leaderboard/eslint.config.js new file mode 100644 index 00000000..db5110b3 --- /dev/null +++ b/system-leaderboard/eslint.config.js @@ -0,0 +1,23 @@ +import js from "@eslint/js"; +import globals from "globals"; +import reactHooks from "eslint-plugin-react-hooks"; +import reactRefresh from "eslint-plugin-react-refresh"; +import prettier from "eslint-config-prettier"; +import { defineConfig, globalIgnores } from "eslint/config"; + +export default defineConfig([ + globalIgnores(["dist"]), + { + files: ["**/*.{js,jsx}"], + extends: [ + js.configs.recommended, + reactHooks.configs.flat.recommended, + reactRefresh.configs.vite, + prettier, + ], + languageOptions: { + globals: globals.browser, + parserOptions: { ecmaFeatures: { jsx: true } }, + }, + }, +]); diff --git a/system-leaderboard/index.html b/system-leaderboard/index.html new file mode 100644 index 00000000..3e101a3c --- /dev/null +++ b/system-leaderboard/index.html @@ -0,0 +1,13 @@ + + + + + + + System Leaderboard + + +
+ + + diff --git a/system-leaderboard/package-lock.json b/system-leaderboard/package-lock.json new file mode 100644 index 00000000..55ed94bc --- /dev/null +++ b/system-leaderboard/package-lock.json @@ -0,0 +1,2994 @@ +{ + "name": "system-leaderboard", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "system-leaderboard", + "version": "0.0.0", + "dependencies": { + "ajv": "^8.20.0", + "ajv-formats": "^3.0.1", + "react": "^19.2.6", + "react-dom": "^19.2.6", + "react-router-dom": "^7.18.0", + "recharts": "^3.9.0" + }, + "devDependencies": { + "@eslint/js": "^10.0.1", + "@types/react": "^19.2.14", + "@types/react-dom": "^19.2.3", + "@vitejs/plugin-react": "^6.0.1", + "eslint": "^10.3.0", + "eslint-config-prettier": "^10.1.8", + "eslint-plugin-react-hooks": "^7.1.1", + "eslint-plugin-react-refresh": "^0.5.2", + "globals": "^17.6.0", + "prettier": "^3.8.4", + "vite": "^8.0.12" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", + "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.29.7", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz", + "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz", + "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.7", + "@babel/helper-compilation-targets": "^7.29.7", + "@babel/helper-module-transforms": "^7.29.7", + "@babel/helpers": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/template": "^7.29.7", + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7", + "@jridgewell/remapping": "^2.3.5", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.7.tgz", + "integrity": "sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.29.7", + "@babel/types": "^7.29.7", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz", + "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.29.7", + "@babel/helper-validator-option": "^7.29.7", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-globals": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz", + "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz", + "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz", + "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7", + "@babel/traverse": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz", + "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz", + "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.7.tgz", + "integrity": "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.7.tgz", + "integrity": "sha512-hnORnjP/1P/zFEndoeX+n+t1RwWRJiJpM/jO7FW32Kn9r5+sJB2JWOdYo4L6k78j15eCwY3Gm/7364B1EMwtNg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.7" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/template": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz", + "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.7.tgz", + "integrity": "sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.7", + "@babel/helper-globals": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.7", + "debug": "^4.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.7.tgz", + "integrity": "sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@emnapi/core": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz", + "integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/wasi-threads": "1.2.1", + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/runtime": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz", + "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/wasi-threads": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz", + "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz", + "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", + "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/config-array": { + "version": "0.23.5", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz", + "integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^3.0.5", + "debug": "^4.3.1", + "minimatch": "^10.2.4" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/config-helpers": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.6.0.tgz", + "integrity": "sha512-ii6Bw9jJ2zi2cWA2Z+9/QZ/+3DX6kwaV5Q986D/CdP3Lap3w/pgQZ373FV7byY/i7L4IRH/G43I5dz1ClsCbpA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^1.2.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/core": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.1.tgz", + "integrity": "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/js": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz", + "integrity": "sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "eslint": "^10.0.0" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } + } + }, + "node_modules/@eslint/object-schema": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.5.tgz", + "integrity": "sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.2.tgz", + "integrity": "sha512-+CNAzxglkrpNf/kKywqQfk74QjtceuOE7Qm+AF8miRvPF/wmmK5+OJOgVh3AVTT3RP2mH3+FOaxlE5v72owk0A==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^1.2.1", + "levn": "^0.4.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@humanfs/core": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz", + "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/types": "^0.15.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node": { + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz", + "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/core": "^0.19.2", + "@humanfs/types": "^0.15.0", + "@humanwhocodes/retry": "^0.4.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/types": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz", + "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@napi-rs/wasm-runtime": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.5.tgz", + "integrity": "sha512-AWPoBRJ9tsnVhor4sjO7rkni+7p+2IAEFj6cx06UgP10jkQHqay/36uRV/bFkgrh18D9vb4cr8Q0Pthskgzy+Q==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@tybys/wasm-util": "^0.10.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + }, + "peerDependencies": { + "@emnapi/core": "^1.7.1", + "@emnapi/runtime": "^1.7.1" + } + }, + "node_modules/@oxc-project/types": { + "version": "0.133.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.133.0.tgz", + "integrity": "sha512-KzkdCd6Uxqnf6l3HOw1xfatAlUURA0g14cvBYFyJ5SaNOQbOUvBr9PKArcPcrNIeRsBdgcUzOGrhKveVpvOIGA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/Boshen" + } + }, + "node_modules/@reduxjs/toolkit": { + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-2.12.0.tgz", + "integrity": "sha512-KiT+RzZbp6mQET+Mg+h2c97+9j1sNflUxQkIHI7Yuzf6Peu+OYpmkn6nbHWmLLWj+1ZODUJFwGZ7gx3L9R9EOw==", + "license": "MIT", + "dependencies": { + "@standard-schema/spec": "^1.0.0", + "@standard-schema/utils": "^0.3.0", + "immer": "^11.0.0", + "redux": "^5.0.1", + "redux-thunk": "^3.1.0", + "reselect": "^5.1.0" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18 || ^19", + "react-redux": "^7.2.1 || ^8.1.3 || ^9.0.0" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-redux": { + "optional": true + } + } + }, + "node_modules/@reduxjs/toolkit/node_modules/immer": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/immer/-/immer-11.1.8.tgz", + "integrity": "sha512-/tbkHMW7y10Lx6i1crLjD4/OhNkRG+Fo7byZHtah0547nIeXYcpIXaUh0IAQY6gO5459qpGGYapcEOHtFXkIuA==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, + "node_modules/@rolldown/binding-android-arm64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.3.tgz", + "integrity": "sha512-454rs7jHngixp/NMxd5srYD57OnzSlZ/eFTETjORQHLwJG1lRtmNOJcBerZlfu4GjKqeq8aCCIQrMdHyhI51Hw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-arm64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.3.tgz", + "integrity": "sha512-PcAhP+ynjURNyy8SKGl5DQP94aGuB/7JrXJb/t7P+hanXvQVMWzUvRRhBAcg/lNRadBhoUPqSoP4xw5tR/KBEA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-x64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.3.tgz", + "integrity": "sha512-9YpfeUvSE2RS7wysJ81uOZkXJz7f7Q55H2Gvp3VEw/EsahqDtrphrZ0EwDLK5vvKOzaCrBsjF8JmnMLcUt78Gg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-freebsd-x64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.3.tgz", + "integrity": "sha512-yB1IlAsSNHncV6SCTL27/MVGR5htvQsoGxIv5KMGXALp+Ll1wYsn+x98M9MW7qa+NdSbvrrY7ANI4wLJ0n1e6g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm-gnueabihf": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.3.tgz", + "integrity": "sha512-Yi30IVAAfLUCy2MseFjbB1jAMDl1VMCAas5StnYp8da9+CKvMd2H2cbEjWcw5NPaPqzvYkVIaF1nNUG+b7u/sw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-gnu": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.3.tgz", + "integrity": "sha512-jsO7R8To+AdlYgUmN5sHSCZbfhtMBkO0WUx8iORQnPcMMdgr7qM2DQmMwgabs3GhNztdmoKkMKQFHD6DTMCIQw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-musl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.3.tgz", + "integrity": "sha512-VWkUHwWriDciit80wleYwKILoR/KMvxh/IdwS/paX+ZgpuRpCrKLUdadJbc0NpBEiyhpYawsJ73j9aCvOH+f7Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-ppc64-gnu": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.3.tgz", + "integrity": "sha512-5f1laC0SlIR0yDbFCd8acUhvJIag6N3zC5P7oUPN6wX0aOma+uKJ0wBDH5aq7I1PVI2ttTlhJwzwRIBnLiSGEg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-s390x-gnu": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.3.tgz", + "integrity": "sha512-Iq4ko0r4XsgbrF/LunNgHtAGLRRVE2kXonAXQ/MV0mC6jQpMOhW1SvtZja2EhC/kd05++bP78dsqBeIQyYJ6Yg==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-gnu": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.3.tgz", + "integrity": "sha512-B8m6tD5+/N5FeNQFbKlLA/2yVq9ycQP1SeedyEYYKWBNR3ZQbkvIUcNnDNM03lO1l5F2roiiFJGgvoLLyZXtSg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-musl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.3.tgz", + "integrity": "sha512-pSdpdUJHkuCxun9LE7jvgUB9qsRgaiyNNCX7m/AvHTcq67AiT/Yhoxvw5zPfhrM8k/BfP8ce/hMOpthKDpEUow==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-openharmony-arm64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.3.tgz", + "integrity": "sha512-OXXS3RKJgX2uLwM+gYyuH5omcH8fL1LJs96pZGgtetVCahON57+d4SJHzTgZiOjxgGkSnpXpOsWuPDGAKAigEg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-wasm32-wasi": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.3.tgz", + "integrity": "sha512-JTtb8BWFynicNSoPrehsCzBtOKjZ6jhMiPFEmOiuXg1Fl8dn2KHQob+GuPSGR0dryQa1PQJbzjF3dqO/whhjLg==", + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "1.10.0", + "@emnapi/runtime": "1.10.0", + "@napi-rs/wasm-runtime": "^1.1.4" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-arm64-msvc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.3.tgz", + "integrity": "sha512-gEdFFEN70A/jxb2svrWsN3aDL7OUtmvlOy+6fa2jxG8K0wQ1ZbdeLGnidov6Yu5/733dI5ySfzFlQ/cb0bSz1g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-x64-msvc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.3.tgz", + "integrity": "sha512-eXB7CHuaQdqmJcc3koCNtNPmT/bj2gc999kUFgBxG8Ac0NdgXc4rkCHhqrgrhN3zddvvvrgzj1e90SuSfmyIXA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz", + "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "license": "MIT" + }, + "node_modules/@standard-schema/utils": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@standard-schema/utils/-/utils-0.3.0.tgz", + "integrity": "sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==", + "license": "MIT" + }, + "node_modules/@tybys/wasm-util": { + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.2.tgz", + "integrity": "sha512-RoBvJ2X0wuKlWFIjrwffGw1IqZHKQqzIchKaadZZfnNpsAYp2mM0h36JtPCjNDAHGgYez/15uMBpfGwchhiMgg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@types/d3-array": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.2.2.tgz", + "integrity": "sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==", + "license": "MIT" + }, + "node_modules/@types/d3-color": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz", + "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==", + "license": "MIT" + }, + "node_modules/@types/d3-ease": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/d3-ease/-/d3-ease-3.0.2.tgz", + "integrity": "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==", + "license": "MIT" + }, + "node_modules/@types/d3-interpolate": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz", + "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==", + "license": "MIT", + "dependencies": { + "@types/d3-color": "*" + } + }, + "node_modules/@types/d3-path": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.1.tgz", + "integrity": "sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==", + "license": "MIT" + }, + "node_modules/@types/d3-scale": { + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.9.tgz", + "integrity": "sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==", + "license": "MIT", + "dependencies": { + "@types/d3-time": "*" + } + }, + "node_modules/@types/d3-shape": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.1.8.tgz", + "integrity": "sha512-lae0iWfcDeR7qt7rA88BNiqdvPS5pFVPpo5OfjElwNaT2yyekbM0C9vK+yqBqEmHr6lDkRnYNoTBYlAgJa7a4w==", + "license": "MIT", + "dependencies": { + "@types/d3-path": "*" + } + }, + "node_modules/@types/d3-time": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-3.0.4.tgz", + "integrity": "sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==", + "license": "MIT" + }, + "node_modules/@types/d3-timer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/d3-timer/-/d3-timer-3.0.2.tgz", + "integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==", + "license": "MIT" + }, + "node_modules/@types/esrecurse": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz", + "integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/estree": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", + "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/react": { + "version": "19.2.17", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.17.tgz", + "integrity": "sha512-MXfmqaVPEVgkBT/aY0aGCkRWWtByiYQXo3xdQ8r5RzuFrPiRn8Gar2tQdXSUQ2GKV3bkXckek89V8wQBY2Q/Aw==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "csstype": "^3.2.2" + } + }, + "node_modules/@types/react-dom": { + "version": "19.2.3", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz", + "integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "^19.2.0" + } + }, + "node_modules/@types/use-sync-external-store": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.6.tgz", + "integrity": "sha512-zFDAD+tlpf2r4asuHEj0XH6pY6i0g5NeAHPn+15wk3BV6JA69eERFXC1gyGThDkVa1zCyKr5jox1+2LbV/AMLg==", + "license": "MIT" + }, + "node_modules/@vitejs/plugin-react": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.0.2.tgz", + "integrity": "sha512-DlSMqo4WhThw4vB8Mpn0Woe9J+Jfq1geJ61AKW0QEgLzGMNwtIMdxbDUzLxcun8W7NbJO0e2Jg/Nxm3cCSVzzg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@rolldown/pluginutils": "^1.0.0" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "peerDependencies": { + "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0", + "babel-plugin-react-compiler": "^1.0.0", + "vite": "^8.0.0" + }, + "peerDependenciesMeta": { + "@rolldown/plugin-babel": { + "optional": true + }, + "babel-plugin-react-compiler": { + "optional": true + } + } + }, + "node_modules/acorn": { + "version": "8.17.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz", + "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/ajv": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", + "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", + "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/baseline-browser-mapping": { + "version": "2.10.38", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.38.tgz", + "integrity": "sha512-31/02mVB4yuQU6adKk5SlY6m+mxDwUq5KZkyYgnLrrKl7TEm1+3PyDtDBz2kOv/wxZz41GHsvV1A/u6RmiyBvw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.cjs" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/brace-expansion": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz", + "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/browserslist": { + "version": "4.28.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.2.tgz", + "integrity": "sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "baseline-browser-mapping": "^2.10.12", + "caniuse-lite": "^1.0.30001782", + "electron-to-chromium": "^1.5.328", + "node-releases": "^2.0.36", + "update-browserslist-db": "^1.2.3" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001799", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001799.tgz", + "integrity": "sha512-hG1bReV+OUU+MOqK4t/ZWI0tZOyz3rqS9XuhOUz1cIcbwBKjOyJEJuw9ER5JuNyqxNk8u/JUVbGibBOL1yrjFw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/cookie": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.1.1.tgz", + "integrity": "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/csstype": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/d3-array": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz", + "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==", + "license": "ISC", + "dependencies": { + "internmap": "1 - 2" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-color": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz", + "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-ease": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz", + "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-format": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.2.tgz", + "integrity": "sha512-AJDdYOdnyRDV5b6ArilzCPPwc1ejkHcoyFarqlPqT7zRYjhavcT3uSrqcMvsgh2CgoPbK3RCwyHaVyxYcP2Arg==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-interpolate": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz", + "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", + "license": "ISC", + "dependencies": { + "d3-color": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-path": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz", + "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-scale": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz", + "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==", + "license": "ISC", + "dependencies": { + "d3-array": "2.10.0 - 3", + "d3-format": "1 - 3", + "d3-interpolate": "1.2.0 - 3", + "d3-time": "2.1.1 - 3", + "d3-time-format": "2 - 4" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-shape": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz", + "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==", + "license": "ISC", + "dependencies": { + "d3-path": "^3.1.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-time": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz", + "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==", + "license": "ISC", + "dependencies": { + "d3-array": "2 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-time-format": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-4.1.0.tgz", + "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==", + "license": "ISC", + "dependencies": { + "d3-time": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-timer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz", + "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decimal.js-light": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/decimal.js-light/-/decimal.js-light-2.5.1.tgz", + "integrity": "sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg==", + "license": "MIT" + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.5.376", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.376.tgz", + "integrity": "sha512-cUVA7/RvbFTEuw/i3obUwDTRIXojaxkResf+ibByPFxjc6XK3VNtcQXV0NSbAlJ0FMjcJGgftVVB4Qo184EXvA==", + "dev": true, + "license": "ISC" + }, + "node_modules/es-toolkit": { + "version": "1.48.1", + "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.48.1.tgz", + "integrity": "sha512-wfnXlwd5I75eXRtdD2vuEs50xHHESECDsGD7yiQnfFVNoa5522NwXEbmgo98LfiukSQHs+mBM7/YG3qKJB9/mQ==", + "license": "MIT", + "workspaces": [ + "docs", + "benchmarks" + ] + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.5.0.tgz", + "integrity": "sha512-1y+7C+vi12bUK1IpZeaV3gsH9fHLBmPvYmPx42pvT/E9yG0IC8g3PUZZgp0+JLJl7ZDK0flc2gc+Aw9dpCvIsQ==", + "dev": true, + "license": "MIT", + "workspaces": [ + "packages/*" + ], + "dependencies": { + "@eslint-community/eslint-utils": "^4.8.0", + "@eslint-community/regexpp": "^4.12.2", + "@eslint/config-array": "^0.23.5", + "@eslint/config-helpers": "^0.6.0", + "@eslint/core": "^1.2.1", + "@eslint/plugin-kit": "^0.7.2", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.2", + "@types/estree": "^1.0.6", + "ajv": "^6.14.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^9.1.2", + "eslint-visitor-keys": "^5.0.1", + "espree": "^11.2.0", + "esquery": "^1.7.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "minimatch": "^10.2.4", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "node_modules/eslint-config-prettier": { + "version": "10.1.8", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.1.8.tgz", + "integrity": "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==", + "dev": true, + "license": "MIT", + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "funding": { + "url": "https://opencollective.com/eslint-config-prettier" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-plugin-react-hooks": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.1.1.tgz", + "integrity": "sha512-f2I7Gw6JbvCexzIInuSbZpfdQ44D7iqdWX01FKLvrPgqxoE7oMj8clOfto8U6vYiz4yd5oKu39rRSVOe1zRu0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.24.4", + "@babel/parser": "^7.24.4", + "hermes-parser": "^0.25.1", + "zod": "^3.25.0 || ^4.0.0", + "zod-validation-error": "^3.5.0 || ^4.0.0" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 || ^10.0.0" + } + }, + "node_modules/eslint-plugin-react-refresh": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.5.3.tgz", + "integrity": "sha512-5EMmLCV98Pi4o/f/3DP/v/tNqLHMIc9I8LKClNDWhZ9JTho89/kQcitCXQBMG7sAfVRK0Ie3T2EDOzp1YXYiVA==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "eslint": "^9 || ^10" + } + }, + "node_modules/eslint-scope": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz", + "integrity": "sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@types/esrecurse": "^4.3.1", + "@types/estree": "^1.0.8", + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/ajv": { + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", + "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/eslint/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, + "node_modules/espree": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz", + "integrity": "sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.16.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^5.0.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", + "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eventemitter3": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.4.tgz", + "integrity": "sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==", + "license": "MIT" + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "license": "MIT" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-uri": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.5.tgz", + "integrity": "sha512-gHwA1O9LDIcKunMKhObS/HimwtehO1nPUECKAu5TpKgaO19fcWEl4bliWe1jWxVFvIXztJjjQ4L8XQ1EU9f7Jw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/flatted": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz", + "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==", + "dev": true, + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "17.6.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.6.0.tgz", + "integrity": "sha512-sepffkT8stwnIYbsMBpoCHJuJM5l98FUF2AnE07hfvE0m/qp3R586hw4jF4uadbhvg1ooIdzuu7CsfD2jzCaNA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/hermes-estree": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz", + "integrity": "sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==", + "dev": true, + "license": "MIT" + }, + "node_modules/hermes-parser": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.25.1.tgz", + "integrity": "sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hermes-estree": "0.25.1" + } + }, + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/immer": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/immer/-/immer-10.2.0.tgz", + "integrity": "sha512-d/+XTN3zfODyjr89gM3mPq1WNX2B8pYsu7eORitdwyA2sBubnTl3laYlBk4sXY5FUa5qTZGBDPJICVbvqzjlbw==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/internmap": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz", + "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "dev": true, + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lightningcss": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz", + "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "detect-libc": "^2.0.3" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-android-arm64": "1.32.0", + "lightningcss-darwin-arm64": "1.32.0", + "lightningcss-darwin-x64": "1.32.0", + "lightningcss-freebsd-x64": "1.32.0", + "lightningcss-linux-arm-gnueabihf": "1.32.0", + "lightningcss-linux-arm64-gnu": "1.32.0", + "lightningcss-linux-arm64-musl": "1.32.0", + "lightningcss-linux-x64-gnu": "1.32.0", + "lightningcss-linux-x64-musl": "1.32.0", + "lightningcss-win32-arm64-msvc": "1.32.0", + "lightningcss-win32-x64-msvc": "1.32.0" + } + }, + "node_modules/lightningcss-android-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz", + "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz", + "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz", + "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-freebsd-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz", + "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz", + "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz", + "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz", + "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz", + "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz", + "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz", + "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-x64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz", + "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/minimatch": { + "version": "10.2.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", + "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.5" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/nanoid": { + "version": "3.3.13", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.13.tgz", + "integrity": "sha512-sPdqC6ByMVVGvF1ynvvMo0/o+oD1VX7DaHhijt1bFgjvBkHBib4t49GoNDhf2NDta4oeUNlaGbSt5K7qjZ955Q==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-releases": { + "version": "2.0.48", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.48.tgz", + "integrity": "sha512-1uz8041X6LoI6ZSdZacM9lVY28vuzDlSKitnpbSNK0RfKoIJkX29NBPVEFXhnuSuEOA9Ww0xnPJ+ILWbGAv8DA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/postcss": { + "version": "8.5.15", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.15.tgz", + "integrity": "sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.12", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "3.8.4", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.4.tgz", + "integrity": "sha512-N2MylSdi48+5N/6S5j+maeHbUSIzzZ5uOcX5Hm4QpV8Dkb1HFjfAKTKX6yNPJQD9AhcT3ifHNB66tWTTJDi11Q==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/react": { + "version": "19.2.7", + "resolved": "https://registry.npmjs.org/react/-/react-19.2.7.tgz", + "integrity": "sha512-HNe9WslTbXmFK8o8cmwgAeJFSBvt1bPdHCVKtaaV+WlAN36mpT4hcRpwbf3fY56ar2oIXzsBpOAiIRHAdY0OlQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "19.2.7", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.7.tgz", + "integrity": "sha512-t0BRVXvbiE/o20Hfw669rLbMCDWtYZLvmJigy2f0MxsXF+71pxhR3xOkspmsO8h3ZlNzyibAmtCa3l4lYKk6gQ==", + "license": "MIT", + "dependencies": { + "scheduler": "^0.27.0" + }, + "peerDependencies": { + "react": "^19.2.7" + } + }, + "node_modules/react-is": { + "version": "19.2.7", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.7.tgz", + "integrity": "sha512-kZFnouyVv7eP/Phmrlo9FK+zcAdriZJvzxXHF1Sl1P377WSGe2G/JxVolhTrB/jeV47lKImhNUsijjHAAbcl/A==", + "license": "MIT", + "peer": true + }, + "node_modules/react-redux": { + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-9.3.0.tgz", + "integrity": "sha512-KQopgqFo/p/fgmAs5qz6p5RWaNAzq40WAu7fJIXnQpYxFPbJYtsJPWvGeF2rOBaY/kEuV77AVsX8TsQzKm+A/g==", + "license": "MIT", + "dependencies": { + "@types/use-sync-external-store": "^0.0.6", + "use-sync-external-store": "^1.4.0" + }, + "peerDependencies": { + "@types/react": "^18.2.25 || ^19", + "react": "^18.0 || ^19", + "redux": "^5.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "redux": { + "optional": true + } + } + }, + "node_modules/react-router": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.18.0.tgz", + "integrity": "sha512-pTTGt8J+ji1NOmYnjzT+bAJy/1zD+Jp4ziO6cL7T3ZLvXKtusO7BpFqlRXitqpcPVqllsIXFHRMt+2/k3Xn6HQ==", + "license": "MIT", + "dependencies": { + "cookie": "^1.0.1", + "set-cookie-parser": "^2.6.0" + }, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "react": ">=18", + "react-dom": ">=18" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + } + } + }, + "node_modules/react-router-dom": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.18.0.tgz", + "integrity": "sha512-Fi0yY6kgtKae/Th2xibdWK0KSdYZ4B53Gyf6wRtomOKWgpNm7H7+DyfDhncdz9FKbpS+1jmDhg3F4WoGJ+yFOA==", + "license": "MIT", + "dependencies": { + "react-router": "7.18.0" + }, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "react": ">=18", + "react-dom": ">=18" + } + }, + "node_modules/recharts": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/recharts/-/recharts-3.9.0.tgz", + "integrity": "sha512-dCEcE9y20c8H2tkVeByrAXhhnBJk6/QLbxKmn+dJUptOfc5NMjwRh1jo0vZPRLD+5dMrHrP+hPEsfbGBMfnf5Q==", + "license": "MIT", + "workspaces": [ + "www" + ], + "dependencies": { + "@reduxjs/toolkit": "^1.9.0 || 2.x.x", + "clsx": "^2.1.1", + "decimal.js-light": "^2.5.1", + "es-toolkit": "^1.39.3", + "eventemitter3": "^5.0.1", + "immer": "^10.1.1", + "react-redux": "8.x.x || 9.x.x", + "reselect": "5.2.0", + "tiny-invariant": "^1.3.3", + "use-sync-external-store": "^1.2.2", + "victory-vendor": "^37.0.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "react-is": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/redux": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/redux/-/redux-5.0.1.tgz", + "integrity": "sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==", + "license": "MIT" + }, + "node_modules/redux-thunk": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-3.1.0.tgz", + "integrity": "sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==", + "license": "MIT", + "peerDependencies": { + "redux": "^5.0.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/reselect": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/reselect/-/reselect-5.2.0.tgz", + "integrity": "sha512-AgZ3UOZm3YndfrJ4OYjgrT7bmCm/1iqkjvEfH/oYjzh6PD2qw4QuT3jjnXIrpdt4MTpMXclMT3lXbmRY+XRakw==", + "license": "MIT" + }, + "node_modules/rolldown": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.3.tgz", + "integrity": "sha512-i00lAJ2ks1BYr7rjNjKC7BcqAS7nVfiT3QX1SI5aY+AFHblCmaUf9OE9dbdzDvW6dJxbi2ZCZiy9v3CcwOiX3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@oxc-project/types": "=0.133.0", + "@rolldown/pluginutils": "^1.0.0" + }, + "bin": { + "rolldown": "bin/cli.mjs" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "optionalDependencies": { + "@rolldown/binding-android-arm64": "1.0.3", + "@rolldown/binding-darwin-arm64": "1.0.3", + "@rolldown/binding-darwin-x64": "1.0.3", + "@rolldown/binding-freebsd-x64": "1.0.3", + "@rolldown/binding-linux-arm-gnueabihf": "1.0.3", + "@rolldown/binding-linux-arm64-gnu": "1.0.3", + "@rolldown/binding-linux-arm64-musl": "1.0.3", + "@rolldown/binding-linux-ppc64-gnu": "1.0.3", + "@rolldown/binding-linux-s390x-gnu": "1.0.3", + "@rolldown/binding-linux-x64-gnu": "1.0.3", + "@rolldown/binding-linux-x64-musl": "1.0.3", + "@rolldown/binding-openharmony-arm64": "1.0.3", + "@rolldown/binding-wasm32-wasi": "1.0.3", + "@rolldown/binding-win32-arm64-msvc": "1.0.3", + "@rolldown/binding-win32-x64-msvc": "1.0.3" + } + }, + "node_modules/scheduler": { + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", + "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", + "license": "MIT" + }, + "node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/set-cookie-parser": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz", + "integrity": "sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw==", + "license": "MIT" + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/tiny-invariant": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz", + "integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==", + "license": "MIT" + }, + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD", + "optional": true + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", + "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/use-sync-external-store": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz", + "integrity": "sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==", + "license": "MIT", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/victory-vendor": { + "version": "37.3.6", + "resolved": "https://registry.npmjs.org/victory-vendor/-/victory-vendor-37.3.6.tgz", + "integrity": "sha512-SbPDPdDBYp+5MJHhBCAyI7wKM3d5ivekigc2Dk2s7pgbZ9wIgIBYGVw4zGHBml/qTFbexrofXW6Gu4noGxrOwQ==", + "license": "MIT AND ISC", + "dependencies": { + "@types/d3-array": "^3.0.3", + "@types/d3-ease": "^3.0.0", + "@types/d3-interpolate": "^3.0.1", + "@types/d3-scale": "^4.0.2", + "@types/d3-shape": "^3.1.0", + "@types/d3-time": "^3.0.0", + "@types/d3-timer": "^3.0.0", + "d3-array": "^3.1.6", + "d3-ease": "^3.0.1", + "d3-interpolate": "^3.0.1", + "d3-scale": "^4.0.2", + "d3-shape": "^3.1.0", + "d3-time": "^3.0.0", + "d3-timer": "^3.0.1" + } + }, + "node_modules/vite": { + "version": "8.0.16", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.0.16.tgz", + "integrity": "sha512-h9bXPmJichP5fLmVQo3PyaGSDE2n3aPuomeAlVRm0JLmt4rY6zmPKd59HYI4LNW8oTK7tlTsuC7l/m7awx9Jcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "lightningcss": "^1.32.0", + "picomatch": "^4.0.4", + "postcss": "^8.5.15", + "rolldown": "1.0.3", + "tinyglobby": "^0.2.17" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^20.19.0 || >=22.12.0", + "@vitejs/devtools": "^0.1.18", + "esbuild": "^0.27.0 || ^0.28.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "@vitejs/devtools": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true, + "license": "ISC" + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zod": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz", + "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/zod-validation-error": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz", + "integrity": "sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "zod": "^3.25.0 || ^4.0.0" + } + } + } +} diff --git a/system-leaderboard/package.json b/system-leaderboard/package.json new file mode 100644 index 00000000..d5d1dd58 --- /dev/null +++ b/system-leaderboard/package.json @@ -0,0 +1,38 @@ +{ + "name": "system-leaderboard", + "private": true, + "version": "0.0.0", + "type": "module", + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "scripts": { + "dev": "vite", + "build": "vite build", + "lint": "eslint .", + "format": "prettier --write .", + "format:check": "prettier --check .", + "preview": "vite preview" + }, + "dependencies": { + "ajv": "^8.20.0", + "ajv-formats": "^3.0.1", + "react": "^19.2.6", + "react-dom": "^19.2.6", + "react-router-dom": "^7.18.0", + "recharts": "^3.9.0" + }, + "devDependencies": { + "@eslint/js": "^10.0.1", + "@types/react": "^19.2.14", + "@types/react-dom": "^19.2.3", + "@vitejs/plugin-react": "^6.0.1", + "eslint": "^10.3.0", + "eslint-config-prettier": "^10.1.8", + "eslint-plugin-react-hooks": "^7.1.1", + "eslint-plugin-react-refresh": "^0.5.2", + "globals": "^17.6.0", + "prettier": "^3.8.4", + "vite": "^8.0.12" + } +} diff --git a/system-leaderboard/public/favicon.svg b/system-leaderboard/public/favicon.svg new file mode 100644 index 00000000..6893eb13 --- /dev/null +++ b/system-leaderboard/public/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/system-leaderboard/src/App.jsx b/system-leaderboard/src/App.jsx new file mode 100644 index 00000000..6c897e6e --- /dev/null +++ b/system-leaderboard/src/App.jsx @@ -0,0 +1,33 @@ +import { Routes, Route } from "react-router-dom"; +import Navbar from "./components/Navbar"; +import Home from "./pages/Home"; +import ResultTable from "./pages/ResultTable"; +import AccuracyVsCost from "./pages/AccuracyVsCost"; +import ResultDetails from "./pages/ResultDetails"; +import Throughput from "./pages/Throughput"; +import Visualization from "./pages/Visualization"; +import DecisionSupport from "./pages/DecisionSupport"; +import { BenchmarkDataProvider } from "./context/BenchmarkDataContext"; +import DataHealthGate from "./components/DataHealthGate"; + +function App() { + return ( + + + + + + } /> + } /> + } /> + } /> + } /> + } /> + } /> + + + + ); +} + +export default App; diff --git a/system-leaderboard/src/components/BaselineLink.jsx b/system-leaderboard/src/components/BaselineLink.jsx new file mode 100644 index 00000000..e4d2e12c --- /dev/null +++ b/system-leaderboard/src/components/BaselineLink.jsx @@ -0,0 +1,14 @@ +import { Link } from "react-router-dom"; +import { baselineIndex } from "../utils/metrics"; + +function BaselineLink({ records, item }) { + if (item.mode === "exact") { + return reference; + } + if (!item.baseline) return -; + const index = baselineIndex(records, item); + if (index < 0) return {item.baseline}; + return {item.baseline}; +} + +export default BaselineLink; diff --git a/system-leaderboard/src/components/DataHealthGate.css b/system-leaderboard/src/components/DataHealthGate.css new file mode 100644 index 00000000..628aa2e9 --- /dev/null +++ b/system-leaderboard/src/components/DataHealthGate.css @@ -0,0 +1,79 @@ +.data-health { + margin: 1.5rem auto; + max-width: 60rem; + padding: 1.25rem 1.5rem; + border-radius: 8px; + border: 1px solid; + font-size: 0.95rem; + line-height: 1.5; +} + +.data-health--fatal { + border-color: #b3261e; + background: #fff5f5; + color: #4a1512; +} + +.data-health--warn { + border-color: #b8860b; + background: #fffbeb; + color: #4a3708; +} + +.data-health__title { + margin: 0 0 0.5rem; + font-size: 1.35rem; + font-weight: 650; +} + +.data-health__badge { + display: block; + margin-bottom: 0.5rem; +} + +.data-health__lead { + margin: 0 0 1rem; +} + +.data-health code { + padding: 0.1em 0.35em; + border-radius: 4px; + background: rgba(0, 0, 0, 0.07); + font-size: 0.9em; +} + +.data-health__list { + margin: 0; + padding: 0; + list-style: none; +} + +.data-health__list li { + display: grid; + grid-template-columns: minmax(8rem, max-content) 1fr max-content; + gap: 0.75rem; + padding: 0.4rem 0; + border-top: 1px solid rgba(0, 0, 0, 0.1); +} + +.data-health__field { + font-weight: 600; + overflow-wrap: anywhere; +} + +.data-health__message { + overflow-wrap: anywhere; +} + +.data-health__where { + opacity: 0.75; + font-variant-numeric: tabular-nums; + white-space: nowrap; +} + +@media (max-width: 40rem) { + .data-health__list li { + grid-template-columns: 1fr; + gap: 0.15rem; + } +} diff --git a/system-leaderboard/src/components/DataHealthGate.jsx b/system-leaderboard/src/components/DataHealthGate.jsx new file mode 100644 index 00000000..1e3311ef --- /dev/null +++ b/system-leaderboard/src/components/DataHealthGate.jsx @@ -0,0 +1,110 @@ +import { useBenchmarkData } from "../hooks/useBenchmarkData"; +import "./DataHealthGate.css"; + +function group(problems) { + const byKind = new Map(); + for (const p of problems) { + const key = `${p.field}::${p.message}`; + const seen = byKind.get(key); + if (seen) { + seen.count += 1; + seen.lastLine = p.line; + } else { + byKind.set(key, { ...p, count: 1, firstLine: p.line, lastLine: p.line }); + } + } + return [...byKind.values()].sort((a, b) => b.count - a.count); +} + +function ProblemList({ items }) { + return ( +
    + {items.map((p) => ( +
  • + {p.field} + {p.message} + + {p.count > 1 + ? `${p.count} records, first at line ${p.firstLine}` + : `line ${p.firstLine}`} + +
  • + ))} +
+ ); +} + +function FailurePanel({ error }) { + const problems = error.problems ?? []; + const errors = group(problems.filter((p) => p.severity === "error")); + + const versionOnly = + errors.length > 0 && errors.every((p) => p.field === "schema_version"); + + return ( +
+

+ {versionOnly + ? "Benchmark data is the wrong schema version" + : "Benchmark data failed validation"} +

+ +

+ {versionOnly ? ( + <> + data/all.jsonl was written by a different version of{" "} + scripts/system-leaderboard-data.py. Nothing is damaged + — the file simply predates the schema this app reads. Regenerate it + with scripts/leaderboard-data.sh web or{" "} + scripts/system-leaderboard-data.py into{" "} + public/data/. + + ) : ( + <> + data/all.jsonl is not what{" "} + scripts/system-leaderboard-data.py wrote. Rather than + rank on values that may be wrong, the pages are held back until the + file is replaced. + + )} +

+ + {errors.length > 0 && } + + {!problems.length &&

{error.message}

} +
+ ); +} + +function WarningBanner({ problems }) { + const warnings = group(problems.filter((p) => p.severity === "warning")); + if (warnings.length === 0) return null; + + return ( +
+ + {warnings.length === 1 + ? "1 thing worth checking in the data" + : `${warnings.length} things worth checking in the data`} + + +
+ ); +} + +export function DataHealthGate({ children }) { + const { problems, loading, error } = useBenchmarkData(); + + if (loading) return children; + + if (error) return ; + + return ( + <> + + {children} + + ); +} + +export default DataHealthGate; diff --git a/system-leaderboard/src/components/ModeBadge.jsx b/system-leaderboard/src/components/ModeBadge.jsx new file mode 100644 index 00000000..bea61ed3 --- /dev/null +++ b/system-leaderboard/src/components/ModeBadge.jsx @@ -0,0 +1,35 @@ +const STYLES = { + exact: { background: "#e8f5e9", border: "#42b883", color: "#1b5e20" }, + approximate: { background: "#fff3cd", border: "#e5c07b", color: "#856404" }, +}; + +function ModeBadge({ mode }) { + const style = STYLES[mode] ?? { + background: "#f0f0f0", + border: "#ddd", + color: "#555", + }; + return ( + + {mode === "exact" + ? "Exact" + : mode === "approximate" + ? "Approximate" + : (mode ?? "—")} + + ); +} + +export default ModeBadge; diff --git a/system-leaderboard/src/components/Navbar.jsx b/system-leaderboard/src/components/Navbar.jsx new file mode 100644 index 00000000..81450f32 --- /dev/null +++ b/system-leaderboard/src/components/Navbar.jsx @@ -0,0 +1,46 @@ +import { Link } from "react-router-dom"; + +function Navbar() { + return ( + + ); +} + +export default Navbar; diff --git a/system-leaderboard/src/context/BenchmarkDataContext.jsx b/system-leaderboard/src/context/BenchmarkDataContext.jsx new file mode 100644 index 00000000..a0795b33 --- /dev/null +++ b/system-leaderboard/src/context/BenchmarkDataContext.jsx @@ -0,0 +1,39 @@ +import { useEffect, useState } from "react"; +import { loadBenchmarkData } from "../utils/loadJson"; +import { BenchmarkDataContext } from "./benchmarkDataContextValue"; + +export function BenchmarkDataProvider({ children }) { + const [records, setRecords] = useState([]); + const [problems, setProblems] = useState([]); + const [loading, setLoading] = useState(true); + const [error, setError] = useState(null); + + useEffect(() => { + let cancelled = false; + + loadBenchmarkData() + .then((data) => { + if (cancelled) return; + setRecords(data.records); + setProblems(data.problems); + }) + .catch((err) => { + if (!cancelled) setError(err); + }) + .finally(() => { + if (!cancelled) setLoading(false); + }); + + return () => { + cancelled = true; + }; + }, []); + + return ( + + {children} + + ); +} diff --git a/system-leaderboard/src/context/benchmarkDataContextValue.js b/system-leaderboard/src/context/benchmarkDataContextValue.js new file mode 100644 index 00000000..bd76f632 --- /dev/null +++ b/system-leaderboard/src/context/benchmarkDataContextValue.js @@ -0,0 +1,3 @@ +import { createContext } from "react"; + +export const BenchmarkDataContext = createContext(null); diff --git a/system-leaderboard/src/hooks/useBenchmarkData.js b/system-leaderboard/src/hooks/useBenchmarkData.js new file mode 100644 index 00000000..80a37abd --- /dev/null +++ b/system-leaderboard/src/hooks/useBenchmarkData.js @@ -0,0 +1,12 @@ +import { useContext } from "react"; +import { BenchmarkDataContext } from "../context/benchmarkDataContextValue"; + +export function useBenchmarkData() { + const ctx = useContext(BenchmarkDataContext); + if (!ctx) { + throw new Error( + "useBenchmarkData must be used within a BenchmarkDataProvider", + ); + } + return ctx; +} diff --git a/system-leaderboard/src/index.css b/system-leaderboard/src/index.css new file mode 100644 index 00000000..f158a1a2 --- /dev/null +++ b/system-leaderboard/src/index.css @@ -0,0 +1,10 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: Arial, sans-serif; + background: #f4f6f8; +} diff --git a/system-leaderboard/src/main.jsx b/system-leaderboard/src/main.jsx new file mode 100644 index 00000000..6ba5d63a --- /dev/null +++ b/system-leaderboard/src/main.jsx @@ -0,0 +1,13 @@ +import { StrictMode } from "react"; +import { createRoot } from "react-dom/client"; +import { HashRouter } from "react-router-dom"; +import App from "./App.jsx"; +import "./index.css"; + +createRoot(document.getElementById("root")).render( + + + + + , +); diff --git a/system-leaderboard/src/pages/AccuracyVsCost.css b/system-leaderboard/src/pages/AccuracyVsCost.css new file mode 100644 index 00000000..5ddc50e3 --- /dev/null +++ b/system-leaderboard/src/pages/AccuracyVsCost.css @@ -0,0 +1,90 @@ +.workload-filter { + display: flex; + align-items: center; + gap: 18px; + flex-wrap: wrap; +} + +.workload-filter strong { + margin-right: 6px; +} + +.checkbox-label { + display: flex; + align-items: center; + gap: 6px; + padding: 6px 10px; + border: 1px solid #dcdcdc; + border-radius: 6px; + background: #fff; + cursor: pointer; + transition: all 0.2s ease; + user-select: none; +} + +.checkbox-label:hover { + background: #f5f5f5; + border-color: #1976d2; +} + +.checkbox-label input[type="checkbox"] { + width: 16px; + height: 16px; + cursor: pointer; +} + +.warning-message { + margin: 12px 0; + padding: 10px 14px; + border: 1px solid #ffeeba; + border-radius: 6px; + background-color: #fff3cd; + color: #856404; + font-size: 14px; +} + +.accuracy-container { + padding: 20px; +} + +.page-description { + margin-bottom: 20px; + color: #555; +} + +.control-panel { + margin: 20px 0; + display: flex; + align-items: center; + gap: 12px; +} + +.metric-select { + padding: 6px 10px; + font-size: 14px; + border: 1px solid #ccc; + border-radius: 4px; + background-color: white; + cursor: pointer; +} + +.chart-container { + height: 500px; + border: 2px dashed #bbb; + border-radius: 8px; + padding: 20px; + background-color: #fafafa; + margin: 20px 0; +} + +.summary-section { + margin-top: 20px; +} + +.summary-section h3 { + margin-bottom: 10px; +} + +.summary-section p { + margin: 6px 0; +} diff --git a/system-leaderboard/src/pages/AccuracyVsCost.jsx b/system-leaderboard/src/pages/AccuracyVsCost.jsx new file mode 100644 index 00000000..f85efb52 --- /dev/null +++ b/system-leaderboard/src/pages/AccuracyVsCost.jsx @@ -0,0 +1,454 @@ +import { useState } from "react"; +import { useBenchmarkData } from "../hooks/useBenchmarkData"; +import { + workloadsOf, + finiteNumber, + isInfinite, + queryLatencySeconds, + fmtSeconds, +} from "../utils/metrics"; + +import { + ScatterChart, + Scatter, + CartesianGrid, + XAxis, + YAxis, + Tooltip, + ResponsiveContainer, + Legend, +} from "recharts"; + +import "./AccuracyVsCost.css"; + +const SYSTEM_COLORS = [ + "#1f77b4", + "#ff7f0e", + "#2ca02c", + "#d62728", + "#9467bd", + "#8c564b", + "#e377c2", + "#7f7f7f", + "#bcbd22", + "#17becf", +]; + +function AccuracyVsCost() { + const { records: results } = useBenchmarkData(); + const [selectedMetric, setSelectedMetric] = useState("time"); + const [errorMetric, setErrorMetric] = useState("median"); + const [chosenWorkloads, setSelectedWorkloads] = useState(null); + const [xAxisScale, setXAxisScale] = useState("log"); + const [message, setMessage] = useState(""); + + const workloads = workloadsOf(results); + const selectedWorkloads = + chosenWorkloads ?? (workloads.length > 0 ? [workloads[0]] : []); + + const benchmarkOf = (workload) => + results.find((r) => r.workload === workload)?.benchmark; + + const selectedBenchmark = + selectedWorkloads.length > 0 ? benchmarkOf(selectedWorkloads[0]) : null; + + function getCostValue(item, metric) { + switch (metric) { + case "memory": + return finiteNumber(item.peak_memory_bytes); + + case "time": + return queryLatencySeconds(item); + + case "cpu": + return finiteNumber(item.cpu_seconds); + + default: + return null; + } + } + + function generateLogTicks(min, max) { + if (min <= 0 || max <= 0) return []; + + const ticks = []; + + let tick = 2 ** Math.floor(Math.log2(min)); + + while (tick <= max) { + if (tick >= min) { + ticks.push(tick); + } + + tick *= 2; + } + + return ticks; + } + + function getXAxisLabel(metric) { + switch (metric) { + case "memory": + return "Peak Memory"; + + case "time": + return selectedBenchmark === "periodic" + ? "Median Query Latency" + : "Geomean Query Time"; + + case "cpu": + return "CPU Time"; + + default: + return ""; + } + } + + const yLabel = + errorMetric === "max" + ? "Max Relative Error (%)" + : "Median Relative Error (%)"; + + function getErrorValue(item) { + return errorMetric === "max" + ? item.max_relative_error + : item.median_relative_error; + } + + const allPoints = results + .filter((item) => selectedWorkloads.includes(item.workload)) + .map((item) => ({ + x: getCostValue(item, selectedMetric), + error: getErrorValue(item), + system: item.system, + configuration: item.configuration, + mode: item.mode, + baseline: item.baseline, + workload: item.workload, + })); + + const skippedPoints = allPoints + .map((point) => { + if (isInfinite(point.error) || point.error === "nan") + return { ...point, reason: "infinite error" }; + if (point.error == null) return { ...point, reason: "no error value" }; + if (point.x == null) + return { + ...point, + reason: `no ${getXAxisLabel(selectedMetric).toLowerCase()} measured`, + }; + if (xAxisScale === "log" && point.x <= 0) + return { ...point, reason: "zero cost on a log scale" }; + return null; + }) + .filter(Boolean); + + const plottedData = allPoints + .filter( + (point) => + typeof point.error === "number" && + point.x != null && + (xAxisScale !== "log" || point.x > 0), + ) + .map((point) => ({ ...point, y: point.error * 100 })); + + const positiveXValues = plottedData + .map((item) => item.x) + .filter((value) => value > 0); + + const logTicks = + selectedMetric === "memory" && + xAxisScale === "log" && + positiveXValues.length > 0 + ? generateLogTicks( + Math.min(...positiveXValues), + Math.max(...positiveXValues), + ) + : undefined; + + const systems = [...new Set(results.map((item) => item.system))]; + const systemColor = (system) => + SYSTEM_COLORS[systems.indexOf(system) % SYSTEM_COLORS.length]; + + const groupedData = {}; + plottedData.forEach((item) => { + const series = `${item.system} (${item.mode})`; + if (!groupedData[series]) { + groupedData[series] = { system: item.system, mode: item.mode, data: [] }; + } + + groupedData[series].data.push(item); + }); + + function toggleWorkload(workload) { + if (selectedWorkloads.includes(workload)) { + setSelectedWorkloads(selectedWorkloads.filter((w) => w !== workload)); + return; + } + + if (selectedWorkloads.length === 0) { + setSelectedWorkloads([workload]); + return; + } + + if (benchmarkOf(workload) === selectedBenchmark) { + setSelectedWorkloads([...selectedWorkloads, workload]); + } else { + setMessage( + "These workloads come from different benchmarks (one-shot and periodic) and their costs cannot be compared together.", + ); + + setTimeout(() => { + setMessage(""); + }, 3000); + } + } + + function formatMemory(value) { + if (value >= 1024 ** 3) { + return `${(value / 1024 ** 3).toFixed(2)} GB`; + } + + if (value >= 1024 ** 2) { + return `${(value / 1024 ** 2).toFixed(2)} MB`; + } + + if (value >= 1024) { + return `${(value / 1024).toFixed(2)} KB`; + } + + return `${value} B`; + } + + const formatX = (value) => + selectedMetric === "memory" ? formatMemory(value) : fmtSeconds(value); + + return ( +
+

Accuracy vs Cost Tradeoff

+ +

+ Compare the tradeoff between system accuracy and different cost metrics. + Diamonds are exact systems, the reference; circles are approximate + systems, each compared with the exact system named in its tooltip. +

+ +
+ +
+ + + + + + + + + + + +
+ +
+ Workloads: + + {workloads.map((workload) => ( + + ))} +
+ + {message &&
{message}
} +
+ +
+ + + + + min / 1.5, (max) => max * 1.5] + : ["auto", "auto"] + } + ticks={xAxisScale === "log" ? logTicks : undefined} + allowDataOverflow={xAxisScale === "log"} + label={{ + value: getXAxisLabel(selectedMetric), + position: "insideBottom", + offset: -10, + }} + tickFormatter={formatX} + /> + + + + { + if (!active || !payload || payload.length === 0) return null; + + const point = payload[0].payload; + + return ( +
+ {point.system} + +
+ + {point.configuration} + +
+ + {point.workload} + +
+ + {point.mode === "exact" + ? "Exact (reference)" + : `Approximate, compared with ${point.baseline ?? "—"}`} + +
+ +
+ {getXAxisLabel(selectedMetric)}:{" "} + {formatX(point.x)} +
+ +
+ {yLabel}: {point.y.toFixed(4)} +
+
+ ); + }} + /> + + + + {Object.entries(groupedData).map(([series, group]) => ( + + ))} +
+
+
+ + {skippedPoints.length > 0 && ( +
+ + Skipped data points ({skippedPoints.length}) — infinite errors and + missing costs are not plotted + + +
+ {skippedPoints.map((point, index) => ( +
+ {point.system} + {" — "} + {point.configuration} + {" — "} + {point.workload} + {" — "} + {point.reason} +
+ ))} +
+
+ )} + +
+ +
+

Dataset Summary

+ +

Total Records Loaded: {results.length}

+ +

Points Plotted: {plottedData.length}

+ +

Skipped Points: {skippedPoints.length}

+ +

Current Cost Metric: {getXAxisLabel(selectedMetric)}

+ +

+ Selected Workloads:{" "} + {selectedWorkloads.length === 0 + ? "None" + : selectedWorkloads.join(", ")} +

+
+
+ ); +} + +export default AccuracyVsCost; diff --git a/system-leaderboard/src/pages/DecisionSupport.jsx b/system-leaderboard/src/pages/DecisionSupport.jsx new file mode 100644 index 00000000..b8a43db6 --- /dev/null +++ b/system-leaderboard/src/pages/DecisionSupport.jsx @@ -0,0 +1,471 @@ +import { useMemo, useState } from "react"; +import { useBenchmarkData } from "../hooks/useBenchmarkData"; +import ModeBadge from "../components/ModeBadge"; +import BaselineLink from "../components/BaselineLink"; +import { + workloadsOf, + finiteNumber, + isInfinite, + queryThroughput, + fmtMemory, +} from "../utils/metrics"; +import "./ResultTable.css"; + +function errorPct(item) { + const v = item.median_relative_error; + if (isInfinite(v) || v === "nan") return Infinity; + const n = finiteNumber(v); + return n != null ? +(n * 100).toFixed(3) : null; +} + +function toBytes(value, unit) { + if (unit === "GB") return value * 1024 ** 3; + if (unit === "MB") return value * 1024 ** 2; + return value * 1024; +} + +function PrioritySlider({ label, value, onChange }) { + return ( +
+ {label} + Low + onChange(+e.target.value)} + style={{ width: "160px", cursor: "pointer" }} + /> + High + = 4 ? "#4f86c6" : value <= 2 ? "#aaa" : "#555", + }} + > + {value} + +
+ ); +} + +function ScoreBar({ score }) { + const pct = +(score * 100).toFixed(0); + const color = score > 0.66 ? "#42b883" : score > 0.33 ? "#e5c07b" : "#e06c75"; + return ( +
+
+
+
+ + {pct} + +
+ ); +} + +function DecisionSupport() { + const { records } = useBenchmarkData(); + const [workloadFilter, setWorkloadFilter] = useState("any"); + + const [maxMemory, setMaxMemory] = useState(""); + const [maxMemoryUnit, setMaxMemoryUnit] = useState("MB"); + const [maxError, setMaxError] = useState(""); + const [minThroughput, setMinThroughput] = useState(""); + + const [speedPri, setSpeedPri] = useState(3); + const [memoryPri, setMemoryPri] = useState(3); + const [accuracyPri, setAccuracyPri] = useState(3); + + function reset() { + setWorkloadFilter("any"); + setMaxMemory(""); + setMaxMemoryUnit("MB"); + setMaxError(""); + setMinThroughput(""); + setSpeedPri(3); + setMemoryPri(3); + setAccuracyPri(3); + } + + const workloads = useMemo(() => workloadsOf(records), [records]); + + const candidates = useMemo(() => { + const src = + workloadFilter === "any" + ? records + : records.filter((r) => r.workload === workloadFilter); + + return src.map((r) => { + const q = queryThroughput(r); + return { + record: r, + workload: r.workload, + system: r.system, + config: r.configuration, + query: q != null ? +q.toFixed(3) : null, + memoryBytes: finiteNumber(r.peak_memory_bytes), + error: errorPct(r), + }; + }); + }, [records, workloadFilter]); + + const maxMemoryBytes = + maxMemory !== "" ? toBytes(parseFloat(maxMemory), maxMemoryUnit) : null; + + const passing = useMemo(() => { + return candidates.filter((c) => { + if ( + maxMemoryBytes !== null && + c.memoryBytes != null && + c.memoryBytes > maxMemoryBytes + ) + return false; + if (maxError !== "" && c.error != null && c.error > parseFloat(maxError)) + return false; + if ( + minThroughput !== "" && + c.query != null && + c.query < parseFloat(minThroughput) + ) + return false; + return true; + }); + }, [candidates, maxMemoryBytes, maxError, minThroughput]); + + const ranked = useMemo(() => { + if (passing.length === 0) return []; + + const range = (workload, pick) => { + const values = passing + .filter((c) => c.workload === workload) + .map(pick) + .filter((v) => v != null && Number.isFinite(v)); + return values.length + ? [Math.min(...values), Math.max(...values)] + : [0, 1]; + }; + + const norm = (v, lo, hi) => (hi === lo ? 1 : (v - lo) / (hi - lo)); + const total = speedPri + memoryPri + accuracyPri || 1; + + return [...passing] + .map((c) => { + const [minQ, maxQ] = range(c.workload, (x) => x.query); + const [minM, maxM] = range(c.workload, (x) => x.memoryBytes); + const [minE, maxE] = range(c.workload, (x) => x.error); + const missing = []; + const sSpeed = + c.query != null + ? norm(c.query, minQ, maxQ) + : (missing.push("throughput"), 0); + const sMem = + c.memoryBytes != null + ? 1 - norm(c.memoryBytes, minM, maxM) + : (missing.push("memory"), 0); + const sAcc = + c.error == null + ? (missing.push("error"), 0) + : Number.isFinite(c.error) + ? 1 - norm(c.error, minE, maxE) + : 0; + if (missing.length > 0) + console.warn( + `[DecisionSupport] ${c.workload}/${c.system}/${c.config}: missing ${missing.join(", ")} — scored as 0`, + ); + const score = + (speedPri * sSpeed + memoryPri * sMem + accuracyPri * sAcc) / total; + return { ...c, score }; + }) + .sort((a, b) => b.score - a.score); + }, [passing, speedPri, memoryPri, accuracyPri]); + + const filteredOut = candidates.length - passing.length; + + return ( +
+
+

Decision Support

+ +
+

+ Set constraints and priorities to find the best system configuration for + your use case. Scores are relative within each workload. +

+ +
+ {["any", ...workloads].map((w) => ( + + ))} +
+ +
+
+

Constraints

+

+ Leave blank to skip a constraint. +

+ +
+
+ + Max memory + + setMaxMemory(e.target.value)} + style={{ + width: "80px", + padding: "6px 8px", + border: "1px solid #ccc", + borderRadius: "4px", + }} + /> + +
+ +
+ + Max median error + + setMaxError(e.target.value)} + style={{ + width: "80px", + padding: "6px 8px", + border: "1px solid #ccc", + borderRadius: "4px", + }} + /> + % +
+ +
+ + Min throughput + + setMinThroughput(e.target.value)} + style={{ + width: "80px", + padding: "6px 8px", + border: "1px solid #ccc", + borderRadius: "4px", + }} + /> + queries/s +
+
+
+ +
+

Priorities

+

+ Weight each metric in the final ranking. +

+ + + +
+
+ +
+

+ {ranked.length === 0 && candidates.length > 0 + ? "No system configurations match your constraints." + : `${ranked.length} result${ranked.length === 1 ? "" : "s"} ranked by priority`} + {filteredOut > 0 && ( + + ({filteredOut} filtered out by constraints) + + )} +

+ + {ranked.length > 0 && ( + + + + + + + + + + + + + + + + + {ranked.map((r, i) => ( + + + + + + + + + + + + + ))} + +
#WorkloadSystemConfigModeCompared withMemoryThroughputMedian ErrorScore
+ {i + 1} + + {r.workload} + {r.system} + {r.config} + + + + + + {r.memoryBytes != null ? fmtMemory(r.memoryBytes) : "NA"} + {r.query != null ? `${r.query} q/s` : "NA"} + {r.error == null + ? "NA" + : Number.isFinite(r.error) + ? `${r.error}%` + : "∞"} + + +
+ )} +
+
+ ); +} + +export default DecisionSupport; diff --git a/system-leaderboard/src/pages/Home.jsx b/system-leaderboard/src/pages/Home.jsx new file mode 100644 index 00000000..33ff2411 --- /dev/null +++ b/system-leaderboard/src/pages/Home.jsx @@ -0,0 +1,15 @@ +function Home() { + return ( +
+

System Leaderboard

+ +

+ Welcome to the System Benchmark Leaderboard. Each result is one system + in one configuration on one workload; approximate results are compared + with the exact result they replace. +

+
+ ); +} + +export default Home; diff --git a/system-leaderboard/src/pages/ResultDetails.css b/system-leaderboard/src/pages/ResultDetails.css new file mode 100644 index 00000000..b60fa3b9 --- /dev/null +++ b/system-leaderboard/src/pages/ResultDetails.css @@ -0,0 +1,86 @@ +.detail-page { + padding: 20px; + max-width: 920px; +} + +.back-link { + display: inline-block; + margin-bottom: 16px; + color: #4f86c6; + text-decoration: none; +} +.back-link:hover { + text-decoration: underline; +} + +.detail-header h1 { + margin: 0 0 8px; +} + +.badges { + display: flex; + gap: 8px; + flex-wrap: wrap; +} +.badge { + background: #f0f0f0; + border: 1px solid #ddd; + border-radius: 999px; + padding: 2px 10px; + font-size: 0.85rem; +} + +.detail-card { + border: 1px solid #e2e2e2; + border-radius: 8px; + padding: 16px; + margin: 16px 0; +} +.detail-card h2 { + margin: 0 0 12px; + font-size: 1.05rem; +} + +.stat-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); + gap: 12px; +} +.stat { + background: #fafafa; + border: 1px solid #eee; + border-radius: 6px; + padding: 10px 12px; +} +.stat-label { + font-size: 0.72rem; + text-transform: uppercase; + letter-spacing: 0.04em; + color: #888; +} +.stat-value { + font-size: 1.15rem; + font-weight: 600; + margin-top: 2px; +} +.stat-sub { + font-size: 0.72rem; + color: #999; + margin-top: 2px; +} + +.raw { + margin-top: 16px; +} +.raw summary { + cursor: pointer; + font-weight: 600; +} +.raw pre { + background: #1a1a1a; + color: #e6e6e6; + padding: 12px; + border-radius: 8px; + overflow: auto; + max-height: 360px; +} diff --git a/system-leaderboard/src/pages/ResultDetails.jsx b/system-leaderboard/src/pages/ResultDetails.jsx new file mode 100644 index 00000000..b03fc7ce --- /dev/null +++ b/system-leaderboard/src/pages/ResultDetails.jsx @@ -0,0 +1,310 @@ +import { Link, useParams } from "react-router-dom"; +import { useBenchmarkData } from "../hooks/useBenchmarkData"; +import ModeBadge from "../components/ModeBadge"; +import BaselineLink from "../components/BaselineLink"; +import { + benchmarkLabel, + insertThroughput, + queryThroughput, + fmtMemory, + fmtRate, + fmtSeconds, + fmtError, + fmtSpeedup, + accuracyRows, +} from "../utils/metrics"; +import "./ResultDetails.css"; +import "./ResultTable.css"; + +function fmtNum(v, digits = 4) { + if (v == null) return "—"; + if (Number.isInteger(v)) return v.toLocaleString(); + return v.toLocaleString(undefined, { maximumFractionDigits: digits }); +} + +function fmtMs(v) { + if (v == null) return "—"; + return `${v.toFixed(2)} ms`; +} + +function fmtOptions(options) { + const entries = Object.entries(options ?? {}); + if (entries.length === 0) return "—"; + return entries + .map(([k, v]) => `${k}=${typeof v === "object" ? JSON.stringify(v) : v}`) + .join(", "); +} + +function Stat({ label, value, sub }) { + return ( +
+
{label}
+
+ {value} +
+ {sub &&
{sub}
} +
+ ); +} + +function Card({ title, children }) { + return ( +
+

{title}

+
{children}
+
+ ); +} + +const textCell = { + textAlign: "left", + fontFamily: "monospace", + fontSize: "0.8em", + overflowWrap: "anywhere", +}; + +function OneShotQueries({ queries }) { + return ( + + + + + + + + + + + + + + {queries.map((q) => ( + + + + + + + + + + ))} + +
QuerySQLStatusHot minSpeedupMax Error (%)Missing / extra groups
{q.query}{q.text ?? "-"}{q.status}{fmtSeconds(q.hot_min_seconds)}{fmtSpeedup(q.speedup_over_baseline)} + {fmtError(q.max_relative_error)} + {q.truth_stable === false && ( +
+ truth unstable, not compared +
+ )} +
+ {q.missing_groups ?? "-"} / {q.extra_groups ?? "-"} +
+ ); +} + +function PeriodicQueries({ queries }) { + return ( + + + + + + + + + + + + {queries.map((q) => ( + + + + + + + + ))} + +
QueryPromQLStatusPlanMax Error (%)
{q.query}{q.text ?? "-"}{q.status}{q.reason ?? q.plan ?? "-"}{fmtError(q.max_relative_error)}
+ ); +} + +function ResultDetails() { + const { index } = useParams(); + const { records, loading } = useBenchmarkData(); + + if (loading) { + return
Loading…
; + } + + const item = records[Number(index)]; + if (!item) { + return ( +
+

Run not found.

+ + ← Back to Results + +
+ ); + } + + const oneShot = item.benchmark === "one-shot"; + const insert = insertThroughput(item); + const query = queryThroughput(item); + const accs = accuracyRows(item); + const queries = item.queries ?? []; + + return ( +
+ + ← Back to Results + + +
+

+ {item.system} · {item.configuration} +

+
+ + {item.workload} + {benchmarkLabel(item.benchmark)} + {item.mode === "approximate" && ( + + compared with + + )} +
+
+ + + + {!oneShot && ( + + )} + + + + + {oneShot ? ( + <> + + + + + ) : ( + <> + + + + + )} + + + + + {oneShot ? ( + + ) : ( + + )} + + + + {accs.map((a) => ( + + ))} + + + + + + + + {item.instances != null && ( + + )} + + + + + + + + + +
+

Queries ({queries.length})

+ {oneShot ? ( + + ) : ( + + )} +
+ +
+ Raw record +
{JSON.stringify(item, null, 2)}
+
+
+ ); +} + +export default ResultDetails; diff --git a/system-leaderboard/src/pages/ResultTable.css b/system-leaderboard/src/pages/ResultTable.css new file mode 100644 index 00000000..bb8d93a1 --- /dev/null +++ b/system-leaderboard/src/pages/ResultTable.css @@ -0,0 +1,25 @@ +.results-table { + width: 100%; + border-collapse: collapse; + margin-top: 20px; +} + +.results-table th, +.results-table td { + border: 1px solid #ddd; + padding: 12px; + text-align: center; +} + +.results-table th { + background-color: #f5f5f5; + font-weight: bold; +} + +.results-table tr:nth-child(even) { + background-color: #fafafa; +} + +.results-table tr:hover { + background-color: #f1f1f1; +} diff --git a/system-leaderboard/src/pages/ResultTable.jsx b/system-leaderboard/src/pages/ResultTable.jsx new file mode 100644 index 00000000..8c0d5a53 --- /dev/null +++ b/system-leaderboard/src/pages/ResultTable.jsx @@ -0,0 +1,142 @@ +import { useState } from "react"; +import { Link } from "react-router-dom"; +import { useBenchmarkData } from "../hooks/useBenchmarkData"; +import ModeBadge from "../components/ModeBadge"; +import BaselineLink from "../components/BaselineLink"; +import { + workloadsOf, + benchmarkLabel, + queryThroughput, + insertThroughput, + fmtRate, + fmtError, + fmtMemory, + fmtSpeedup, +} from "../utils/metrics"; +import "./ResultTable.css"; + +function ResultTable() { + const { records: results } = useBenchmarkData(); + const [workloadFilter, setWorkloadFilter] = useState("all"); + + const workloads = workloadsOf(results); + const shown = results + .map((item, index) => ({ item, index })) + .filter( + ({ item }) => + workloadFilter === "all" || item.workload === workloadFilter, + ); + + return ( +
+

Benchmark Results

+ +
+ +
+ +

+ Showing {shown.length} of {results.length} records. Exact rows are the + reference; each approximate row is compared with the exact row named in + “Compared with”, and its speedup and error are measured against it. +

+ +
+ + + + + + + + + + + + + + + + + + + {shown.map(({ item, index }) => ( + + + + + + + + + + + + + + + + + + + + + + + + ))} + +
SystemConfigurationModeCompared withWorkloadQuery ThroughputInsert ThroughputSpeedup + Error (%) +
+ max / median +
+
MemoryDetails
{item.system}{item.configuration} + + + + + {item.workload} +
+ {benchmarkLabel(item.benchmark)} · {item.answered_count}/ + {item.query_count} answered +
+
{fmtRate(queryThroughput(item))} + {insertThroughput(item) != null + ? fmtRate(insertThroughput(item)) + : "-"} + + {item.speedup_over_baseline != null + ? fmtSpeedup(item.speedup_over_baseline) + : "-"} + + {fmtError(item.max_relative_error)} +
+ {fmtError(item.median_relative_error)} +
+
+ {item.peak_memory_bytes != null + ? fmtMemory(item.peak_memory_bytes) + : "-"} + + View +
+
+
+ ); +} + +export default ResultTable; diff --git a/system-leaderboard/src/pages/Throughput.jsx b/system-leaderboard/src/pages/Throughput.jsx new file mode 100644 index 00000000..f4575fd7 --- /dev/null +++ b/system-leaderboard/src/pages/Throughput.jsx @@ -0,0 +1,235 @@ +import { useMemo, useState } from "react"; +import { useBenchmarkData } from "../hooks/useBenchmarkData"; +import ModeBadge from "../components/ModeBadge"; +import BaselineLink from "../components/BaselineLink"; +import { + workloadsOf, + benchmarkLabel, + insertThroughput, + queryThroughput, + fmtRate, +} from "../utils/metrics"; +import "./ResultTable.css"; + +function ThroughputBar({ value, max, color, logScale }) { + let pct = 0; + if (max > 0 && value != null) { + if (logScale && value > 0 && max > 1) { + pct = Math.max(2, (Math.log(value) / Math.log(max)) * 100); + } else { + pct = Math.max(2, (value / max) * 100); + } + } + return ( +
+
+
+
+ + {value != null ? fmtRate(value) : "-"} + +
+ ); +} + +function Throughput() { + const { records } = useBenchmarkData(); + const [selectedWorkload, setSelectedWorkload] = useState(""); + const [selectedConfig, setSelectedConfig] = useState("all"); + const [logScale, setLogScale] = useState(false); + + const workloads = useMemo(() => workloadsOf(records), [records]); + const workload = selectedWorkload || workloads[0] || ""; + const benchmark = records.find((r) => r.workload === workload)?.benchmark; + const periodic = benchmark === "periodic"; + + const configs = useMemo( + () => [ + ...new Set( + records + .filter((r) => r.workload === workload) + .map((r) => r.configuration), + ), + ], + [records, workload], + ); + const config = + selectedConfig !== "all" && configs.includes(selectedConfig) + ? selectedConfig + : "all"; + + const rows = useMemo( + () => + records + .filter( + (r) => + r.workload === workload && + (config === "all" || r.configuration === config), + ) + .map((r) => ({ + record: r, + insert: insertThroughput(r), + query: queryThroughput(r), + })), + [records, workload, config], + ); + + const maxInsert = Math.max(1, ...rows.map((r) => r.insert ?? 0)); + const maxQuery = Math.max(1, ...rows.map((r) => r.query ?? 0)); + + return ( +
+

Throughput

+

+ Insertion and query throughput for a given workload and configuration. + Insert throughput is samples per second while data arrives (periodic + workloads only); query throughput is 1000 / median query latency for + periodic workloads and answered queries / total hot time for one-shot + workloads. +

+ +
+ {workloads.map((w) => ( + + ))} +
+ + {configs.length > 0 && ( + + )} + +
+

+ {workload ? workload.toUpperCase() : ""} + {benchmark ? ` · ${benchmarkLabel(benchmark)}` : ""} + {config !== "all" ? ` · ${config}` : ""} — {rows.length} run + {rows.length === 1 ? "" : "s"} +

+ +
+ + + + + + + + + {periodic && } + + + + + + {rows.map((r, index) => ( + + + + + + {periodic && ( + + )} + + + ))} + +
SystemConfigurationModeCompared withInsert Throughput (samples/s)Query Throughput (queries/s)
{r.record.system}{r.record.configuration} + + + + + + + +
+
+ ); +} + +export default Throughput; diff --git a/system-leaderboard/src/pages/Visualization.jsx b/system-leaderboard/src/pages/Visualization.jsx new file mode 100644 index 00000000..cb22317f --- /dev/null +++ b/system-leaderboard/src/pages/Visualization.jsx @@ -0,0 +1,402 @@ +import { useMemo, useState } from "react"; +import { + BarChart, + Bar, + XAxis, + YAxis, + CartesianGrid, + Tooltip, + Legend, + ResponsiveContainer, +} from "recharts"; +import { useBenchmarkData } from "../hooks/useBenchmarkData"; +import { + workloadsOf, + benchmarkLabel, + runLabel, + finiteNumber, + insertThroughput, + queryThroughput, +} from "../utils/metrics"; +import "./ResultTable.css"; + +function memoryUnit(maxBytes) { + if (maxBytes >= 1024 ** 3) return "GB"; + if (maxBytes >= 1024 ** 2) return "MB"; + return "KB"; +} + +function memoryDivisor(unit) { + if (unit === "GB") return 1024 ** 3; + if (unit === "MB") return 1024 ** 2; + return 1024; +} + +function round(v, digits) { + return v != null ? +v.toFixed(digits) : null; +} + +function errorPct(v) { + const n = finiteNumber(v); + return n != null ? +(n * 100).toFixed(4) : null; +} + +const IMPL_COLORS = [ + "#4f86c6", + "#42b883", + "#e06c75", + "#e5c07b", + "#c678dd", + "#56b6c2", + "#98c379", + "#d19a66", + "#be5046", + "#61afef", +]; + +function StackedChart({ + title, + data, + dataKeys, + yLabel, + lowerIsBetter, + logScale, +}) { + const scale = logScale ? "log" : "auto"; + const domain = logScale ? ["auto", "auto"] : [0, "auto"]; + + return ( +
+

+ {title} + {lowerIsBetter && ( + + {" "} + (lower is better) + + )} +

+ + + + + + [v != null ? v : "—", name]} + contentStyle={{ fontSize: "13px" }} + /> + {dataKeys.length > 1 && ( + + )} + {dataKeys.map(({ key, color, name }, i) => ( + + ))} + + +
+ ); +} + +function Visualization() { + const { records } = useBenchmarkData(); + const [selectedWorkload, setSelectedWorkload] = useState(""); + const [selectedMode, setSelectedMode] = useState("all"); + const [selectedMetric, setSelectedMetric] = useState("all"); + const [logScale, setLogScale] = useState(false); + + const workloads = useMemo(() => workloadsOf(records), [records]); + const workload = selectedWorkload || workloads[0] || ""; + const benchmark = records.find((r) => r.workload === workload)?.benchmark; + const periodic = benchmark === "periodic"; + + const filtered = useMemo( + () => + records.filter( + (r) => + r.workload === workload && + (selectedMode === "all" || r.mode === selectedMode), + ), + [records, workload, selectedMode], + ); + + const byRun = useMemo( + () => + filtered.map((r) => ({ + run: `${runLabel(r)}${r.mode === "exact" ? " (exact)" : ""}`, + insert: + insertThroughput(r) != null + ? round(insertThroughput(r) / 1e6, 3) + : null, + query: round(queryThroughput(r), 3), + geomean: round(finiteNumber(r.geomean_hot_seconds), 4), + total: round(finiteNumber(r.total_hot_seconds), 3), + median: round(finiteNumber(r.median_query_ms), 3), + p99: round(finiteNumber(r.p99_query_ms), 3), + cpu: round(finiteNumber(r.cpu_seconds), 3), + memoryBytes: finiteNumber(r.peak_memory_bytes), + maxError: errorPct(r.max_relative_error), + medianError: errorPct(r.median_relative_error), + infinite: r.max_relative_error === "inf", + })), + [filtered], + ); + + const unit = useMemo(() => { + const maxBytes = Math.max(0, ...byRun.map((r) => r.memoryBytes ?? 0)); + return memoryUnit(maxBytes); + }, [byRun]); + + const memoryData = useMemo(() => { + const div = memoryDivisor(unit); + return byRun.map((r) => ({ + ...r, + memory: r.memoryBytes != null ? +(r.memoryBytes / div).toFixed(3) : null, + })); + }, [byRun, unit]); + + const hasMemory = byRun.some((r) => r.memoryBytes != null); + const hasAccuracy = byRun.some( + (r) => r.maxError != null || r.medianError != null, + ); + const infiniteRuns = byRun.filter((r) => r.infinite).map((r) => r.run); + const show = (metric) => + selectedMetric === "all" || selectedMetric === metric; + + return ( +
+

Visualization

+

Multi-metric comparison across systems and configurations.

+ +
+ {workloads.map((w) => ( + + ))} +
+ +
+ + + +
+ +

+ {workload.toUpperCase()} + {benchmark ? ` · ${benchmarkLabel(benchmark)}` : ""} + {selectedMode !== "all" ? ` · ${selectedMode}` : ""} — {byRun.length}{" "} + system configuration{byRun.length === 1 ? "" : "s"} +

+ + {byRun.length === 0 ? ( +

No data for this selection.

+ ) : ( +
+ {show("throughput") && ( + + )} + {show("throughput") && periodic && ( + + )} + {show("time") && periodic && ( + + )} + {show("time") && !periodic && ( + + )} + {show("cpu") && periodic && ( + + )} + {show("memory") && hasMemory && ( + + )} + {show("error") && hasAccuracy && ( + + )} + {show("error") && infiniteRuns.length > 0 && ( +
+ Infinite error +

+ Max error not drawn for {infiniteRuns.join(", ")}: at least one + query's relative error is infinite. +

+
+ )} +
+ )} +
+ ); +} + +export default Visualization; diff --git a/system-leaderboard/src/utils/benchmarkRecord.js b/system-leaderboard/src/utils/benchmarkRecord.js new file mode 100644 index 00000000..f1b7dca0 --- /dev/null +++ b/system-leaderboard/src/utils/benchmarkRecord.js @@ -0,0 +1,365 @@ +import Ajv from "ajv/dist/2020.js"; +import addFormats from "ajv-formats"; +import schema from "./schema.json" with { type: "json" }; + +export const SCHEMA_VERSION = schema["x-schema-version"]; + +export const RECORD_KEYS = Object.freeze(Object.keys(schema.properties)); + +const KNOWN_KEYS = new Set(RECORD_KEYS); + +const ONE_SHOT_ONLY = [ + "total_hot_seconds", + "geomean_hot_seconds", + "load_seconds", + "data_size_bytes", +]; + +const PERIODIC_ONLY = [ + "ingest_samples_per_second", + "median_query_ms", + "p99_query_ms", + "cpu_seconds", + "disk_bytes", +]; + +const RULE_FIELDS = [ + "benchmark", + "mode", + "baseline", + "query_count", + "answered_count", + "matching_truth_count", + "compared_count", + "speedup_over_baseline", + "decision_agreement", + "queries", + ...ONE_SHOT_ONLY, + ...PERIODIC_ONLY, +]; +const missingRuleFields = RULE_FIELDS.filter((f) => !KNOWN_KEYS.has(f)); +if (missingRuleFields.length > 0) { + throw new Error( + `benchmarkRecord.js: the semantic rules name ${missingRuleFields.join(", ")}, ` + + `which schema.json (v${SCHEMA_VERSION}) no longer defines. ` + + `Update the rules to the current field names.`, + ); +} + +const ajv = new Ajv({ allErrors: true, strict: false, verbose: true }); +addFormats(ajv); + +const validateStructure = ajv.compile(schema); + +const fieldOf = (instancePath) => + instancePath === "" ? "(record)" : instancePath.slice(1).split("/").join("."); + +function mapAjvErrors(errors, line) { + const specific = errors.filter((e) => { + if (e.keyword === "anyOf" || e.keyword === "oneOf") return false; + if (e.keyword === "type" && e.params.type === "null") return false; + return true; + }); + const kept = specific.length > 0 ? specific : errors; + + const seen = new Set(); + const problems = []; + for (const err of kept) { + if (err.keyword === "required") { + const key = + err.instancePath === "" + ? err.params.missingProperty + : `${fieldOf(err.instancePath)}.${err.params.missingProperty}`; + const dedupe = `required:${key}`; + if (seen.has(dedupe)) continue; + seen.add(dedupe); + problems.push(problem(line, key, "error", "key missing from record")); + continue; + } + + const field = fieldOf(err.instancePath); + const dedupe = `${field}:${err.keyword}`; + if (seen.has(dedupe)) continue; + seen.add(dedupe); + + let message; + switch (err.keyword) { + case "type": + message = `expected ${err.params.type}, got ${describe(err.data)}`; + break; + case "enum": + message = `not one of the permitted values: ${err.params.allowedValues.join(", ")}`; + break; + case "const": + message = `expected ${JSON.stringify(err.params.allowedValue)}`; + break; + case "format": + message = `not a well-formed ${err.params.format}`; + break; + default: + message = err.message; + } + problems.push(problem(line, field, "error", message)); + } + return problems; +} + +function describe(value) { + if (value === null) return "null"; + if (Array.isArray(value)) return "an array"; + return typeof value; +} + +function problem(line, field, severity, message) { + return { line, field, severity, message }; +} + +const isPlainObject = (v) => + typeof v === "object" && v !== null && !Array.isArray(v); +const isInteger = (v) => Number.isInteger(v); + +export function validateRecord(raw, line) { + const problems = []; + + if (!isPlainObject(raw)) { + return [ + problem( + line, + "(record)", + "error", + `expected a JSON object, got ${describe(raw)}`, + ), + ]; + } + + if (raw.schema_version !== SCHEMA_VERSION) { + return [ + problem( + line, + "schema_version", + "error", + `expected ${SCHEMA_VERSION}, got ${JSON.stringify(raw.schema_version)} — ` + + `this file was written by a different version of system-leaderboard-data.py, not damaged`, + ), + ]; + } + + if (!validateStructure(raw)) { + problems.push(...mapAjvErrors(validateStructure.errors, line)); + } + + for (const key of Object.keys(raw)) { + if (!KNOWN_KEYS.has(key)) { + problems.push( + problem(line, key, "warning", "unrecognised key — newer schema?"), + ); + } + } + + const { + mode, + baseline, + benchmark, + query_count, + answered_count, + matching_truth_count, + compared_count, + queries, + } = raw; + + if (mode === "exact" && baseline != null) { + problems.push( + problem( + line, + "baseline", + "error", + `an exact record is compared with nothing, got ${JSON.stringify(baseline)}`, + ), + ); + } + if (mode === "approximate" && baseline == null) { + problems.push( + problem( + line, + "baseline", + "warning", + "an approximate record without an exact record to compare with", + ), + ); + } + if (mode === "exact" && raw.speedup_over_baseline != null) { + problems.push( + problem( + line, + "speedup_over_baseline", + "error", + "present on an exact record, which has no baseline", + ), + ); + } + if ( + mode === "exact" && + isPlainObject(raw.decision_agreement) && + Object.keys(raw.decision_agreement).length > 0 + ) { + problems.push( + problem( + line, + "decision_agreement", + "warning", + "decision agreement on an exact record", + ), + ); + } + + if ( + isInteger(query_count) && + isInteger(answered_count) && + answered_count > query_count + ) { + problems.push( + problem( + line, + "answered_count", + "error", + `${answered_count} answered of only ${query_count} queries`, + ), + ); + } + if ( + isInteger(compared_count) && + isInteger(answered_count) && + compared_count > answered_count + ) { + problems.push( + problem( + line, + "compared_count", + "error", + `${compared_count} compared of only ${answered_count} answered`, + ), + ); + } + if ( + isInteger(matching_truth_count) && + isInteger(compared_count) && + matching_truth_count > compared_count + ) { + problems.push( + problem( + line, + "matching_truth_count", + "error", + `${matching_truth_count} matching of only ${compared_count} compared`, + ), + ); + } + if ( + Array.isArray(queries) && + isInteger(query_count) && + queries.length !== query_count + ) { + problems.push( + problem( + line, + "queries", + "error", + `${queries.length} entries, but query_count is ${query_count}`, + ), + ); + } + + const otherFields = + benchmark === "one-shot" + ? PERIODIC_ONLY + : benchmark === "periodic" + ? ONE_SHOT_ONLY + : []; + for (const field of otherFields) { + if (raw[field] != null) { + problems.push( + problem( + line, + field, + "warning", + `a ${benchmark} record does not measure this`, + ), + ); + } + } + + return problems; +} + +export class SchemaViolation extends Error { + constructor(problems) { + const errors = problems.filter((p) => p.severity === "error"); + const shown = errors + .slice(0, 5) + .map((p) => ` line ${p.line}: ${p.field} — ${p.message}`) + .join("\n"); + const more = errors.length > 5 ? `\n …and ${errors.length - 5} more` : ""; + super( + `all.jsonl failed validation with ${errors.length} error(s):\n${shown}${more}`, + ); + this.name = "SchemaViolation"; + this.problems = problems; + } +} + +export function parseBenchmarkJsonl(text) { + const records = []; + const problems = []; + const lineOf = new Map(); + + const lines = text.split(/\r?\n/); + + lines.forEach((rawLine, index) => { + const line = index + 1; + const trimmed = rawLine.trim(); + if (trimmed === "") return; + + let parsed; + try { + parsed = JSON.parse(trimmed); + } catch (err) { + problems.push( + problem(line, "(json)", "error", `not valid JSON: ${err.message}`), + ); + return; + } + + const found = validateRecord(parsed, line); + problems.push(...found); + if (!found.some((p) => p.severity === "error")) { + records.push(parsed); + lineOf.set(parsed, line); + } + }); + + const exact = new Set( + records + .filter((r) => r.mode === "exact") + .map((r) => `${r.workload}::${r.system}/${r.configuration}`), + ); + for (const r of records) { + if (r.baseline != null && !exact.has(`${r.workload}::${r.baseline}`)) { + problems.push( + problem( + lineOf.get(r), + "baseline", + "warning", + `no exact record ${r.baseline} on ${r.workload} in this file`, + ), + ); + } + } + + if (records.length === 0 && problems.length === 0) { + problems.push( + problem(0, "(file)", "error", "no records found — file is empty"), + ); + } + + return { records, problems }; +} diff --git a/system-leaderboard/src/utils/loadJson.js b/system-leaderboard/src/utils/loadJson.js new file mode 100644 index 00000000..c456cd84 --- /dev/null +++ b/system-leaderboard/src/utils/loadJson.js @@ -0,0 +1,20 @@ +import { parseBenchmarkJsonl, SchemaViolation } from "./benchmarkRecord"; + +export async function loadBenchmarkData() { + const response = await fetch(`${import.meta.env.BASE_URL}data/all.jsonl`); + + if (!response.ok) { + throw new Error( + `could not load data/all.jsonl: ${response.status} ${response.statusText}`, + ); + } + + const text = await response.text(); + const { records, problems } = parseBenchmarkJsonl(text); + + if (problems.some((p) => p.severity === "error")) { + throw new SchemaViolation(problems); + } + + return { records, problems }; +} diff --git a/system-leaderboard/src/utils/metrics.js b/system-leaderboard/src/utils/metrics.js new file mode 100644 index 00000000..fa397c2f --- /dev/null +++ b/system-leaderboard/src/utils/metrics.js @@ -0,0 +1,122 @@ +export function formatConfig(item) { + return item.configuration ?? "—"; +} + +export function runLabel(item) { + return `${item.system}/${item.configuration}`; +} + +export function workloadsOf(records) { + return [...new Set(records.map((r) => r.workload))]; +} + +export function benchmarkLabel(benchmark) { + if (benchmark === "one-shot") return "One-shot SQL"; + if (benchmark === "periodic") return "Periodic PromQL"; + return benchmark ?? "—"; +} + +export function finiteNumber(v) { + return typeof v === "number" && Number.isFinite(v) ? v : null; +} + +export function isInfinite(v) { + return v === "inf"; +} + +export function baselineIndex(records, item) { + if (!item.baseline) return -1; + return records.findIndex( + (r) => + r.mode === "exact" && + r.workload === item.workload && + runLabel(r) === item.baseline, + ); +} + +export function insertThroughput(item) { + if (item.benchmark !== "periodic") return null; + return finiteNumber(item.ingest_samples_per_second); +} + +export function queryThroughput(item) { + if (item.benchmark === "periodic") { + const ms = finiteNumber(item.median_query_ms); + return ms ? 1000 / ms : null; + } + const total = finiteNumber(item.total_hot_seconds); + return total ? item.answered_count / total : null; +} + +export function queryLatencySeconds(item) { + if (item.benchmark === "periodic") { + const ms = finiteNumber(item.median_query_ms); + return ms != null ? ms / 1000 : null; + } + return finiteNumber(item.geomean_hot_seconds); +} + +export function fmtMemory(bytes) { + if (isInfinite(bytes)) return "∞"; + if (bytes == null) return "—"; + if (bytes >= 1024 ** 3) return `${(bytes / 1024 ** 3).toFixed(1)} GB`; + if (bytes >= 1048576) return `${(bytes / 1048576).toFixed(1)} MB`; + if (bytes >= 1024) return `${(bytes / 1024).toFixed(1)} KB`; + return `${Math.round(bytes)} B`; +} + +export function fmtRate(v) { + if (v == null) return "—"; + if (v >= 1e6) return `${(v / 1e6).toFixed(2)} M/s`; + if (v >= 1e3) return `${(v / 1e3).toFixed(2)} K/s`; + return `${v.toFixed(2)} /s`; +} + +export function fmtSeconds(v) { + if (isInfinite(v)) return "∞"; + if (v == null) return "—"; + if (v < 1) return `${(v * 1000).toFixed(2)} ms`; + return `${v.toFixed(2)} s`; +} + +export function fmtError(v) { + if (isInfinite(v)) return "∞"; + if (v === "nan") return "NaN"; + if (v == null) return "—"; + return `${(v * 100).toFixed(2)}%`; +} + +export function fmtSpeedup(v) { + if (v == null || isInfinite(v)) return "—"; + return `${v.toFixed(2)}×`; +} + +export function accuracyRows(item) { + const rows = [ + { + label: "Max relative error", + value: fmtError(item.max_relative_error), + sub: "worst query", + }, + { + label: "Median relative error", + value: fmtError(item.median_relative_error), + sub: "middle query", + }, + ]; + if (item.compared_count != null) { + rows.push({ + label: "Matching truth", + value: `${item.matching_truth_count ?? "—"} / ${item.compared_count}`, + sub: "queries compared", + }); + } + for (const [rule, value] of Object.entries(item.decision_agreement ?? {})) { + rows.push({ + label: `Decision: ${rule}`, + value: value != null ? `${(value * 100).toFixed(2)}%` : "—", + sub: "agreement with exact", + }); + } + return rows; +} diff --git a/system-leaderboard/src/utils/schema.json b/system-leaderboard/src/utils/schema.json new file mode 100644 index 00000000..b875aec7 --- /dev/null +++ b/system-leaderboard/src/utils/schema.json @@ -0,0 +1,126 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "SystemRecord", + "description": "One line of all.jsonl as scripts/system-leaderboard-data.py writes it: one system in one configuration on one workload, with its per-query results under queries.", + "x-schema-version": 2, + "type": "object", + "properties": { + "schema_version": { "const": 2 }, + "benchmark": { "enum": ["one-shot", "periodic"] }, + "workload": { "type": "string", "minLength": 1 }, + "system": { "type": "string", "minLength": 1 }, + "configuration": { "type": "string", "minLength": 1 }, + "mode": { "enum": ["exact", "approximate"] }, + "baseline": { "type": ["string", "null"] }, + "version": { "type": ["string", "null"] }, + "build_profile": { "type": ["string", "null"] }, + "options": { "type": "object" }, + "machine": { "type": ["string", "null"] }, + "harness_version": { "type": ["string", "null"] }, + "trials": { "type": "integer", "minimum": 1 }, + "instances": { "type": "integer", "minimum": 1 }, + "runs_per_query": { "type": ["integer", "null"], "minimum": 0 }, + "query_count": { "type": "integer", "minimum": 0 }, + "answered_count": { "type": "integer", "minimum": 0 }, + "matching_truth_count": { "type": ["integer", "null"], "minimum": 0 }, + "compared_count": { "type": ["integer", "null"], "minimum": 0 }, + "total_hot_seconds": { "$ref": "#/$defs/Measurement" }, + "geomean_hot_seconds": { "$ref": "#/$defs/Measurement" }, + "load_seconds": { "$ref": "#/$defs/Measurement" }, + "data_size_bytes": { "$ref": "#/$defs/Measurement" }, + "peak_memory_bytes": { "$ref": "#/$defs/Measurement" }, + "ingest_samples_per_second": { "$ref": "#/$defs/Measurement" }, + "median_query_ms": { "$ref": "#/$defs/Measurement" }, + "p99_query_ms": { "$ref": "#/$defs/Measurement" }, + "cpu_seconds": { "$ref": "#/$defs/Measurement" }, + "disk_bytes": { "$ref": "#/$defs/Measurement" }, + "speedup_over_baseline": { "$ref": "#/$defs/Measurement" }, + "max_relative_error": { "$ref": "#/$defs/Error" }, + "median_relative_error": { "$ref": "#/$defs/Error" }, + "decision_agreement": { + "type": "object", + "additionalProperties": { + "type": ["number", "null"], + "minimum": 0, + "maximum": 1 + } + }, + "queries": { + "type": "array", + "items": { "$ref": "#/$defs/Query" } + } + }, + "required": [ + "schema_version", + "benchmark", + "workload", + "system", + "configuration", + "mode", + "baseline", + "version", + "build_profile", + "options", + "machine", + "harness_version", + "trials", + "runs_per_query", + "query_count", + "answered_count", + "matching_truth_count", + "compared_count", + "total_hot_seconds", + "geomean_hot_seconds", + "load_seconds", + "data_size_bytes", + "peak_memory_bytes", + "ingest_samples_per_second", + "median_query_ms", + "p99_query_ms", + "cpu_seconds", + "disk_bytes", + "speedup_over_baseline", + "max_relative_error", + "median_relative_error", + "decision_agreement", + "queries" + ], + "$defs": { + "Measurement": { + "anyOf": [ + { "type": "number", "minimum": 0 }, + { "enum": ["inf"] }, + { "type": "null" } + ] + }, + "Error": { + "anyOf": [ + { "type": "number", "minimum": 0 }, + { "enum": ["inf", "nan"] }, + { "type": "null" } + ] + }, + "Query": { + "type": "object", + "properties": { + "query": { "type": "string", "minLength": 1 }, + "text": { "type": ["string", "null"] }, + "status": { "type": "string", "minLength": 1 }, + "reason": { "type": ["string", "null"] }, + "plan": { "type": ["string", "null"] }, + "first_run_seconds": { "$ref": "#/$defs/Measurement" }, + "hot_min_seconds": { "$ref": "#/$defs/Measurement" }, + "hot_median_seconds": { "$ref": "#/$defs/Measurement" }, + "hot_min_engine_seconds": { "$ref": "#/$defs/Measurement" }, + "speedup_over_baseline": { "$ref": "#/$defs/Measurement" }, + "max_relative_error": { "$ref": "#/$defs/Error" }, + "missing_groups": { "type": ["integer", "null"], "minimum": 0 }, + "extra_groups": { "type": ["integer", "null"], "minimum": 0 }, + "differing_text_cells": { "type": ["integer", "null"], "minimum": 0 }, + "truth_stable": { "type": "boolean" }, + "peak_memory_bytes": { "$ref": "#/$defs/Measurement" } + }, + "required": ["query", "text", "status", "max_relative_error"] + } + } +} diff --git a/system-leaderboard/vite.config.js b/system-leaderboard/vite.config.js new file mode 100644 index 00000000..4207aed2 --- /dev/null +++ b/system-leaderboard/vite.config.js @@ -0,0 +1,7 @@ +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + base: "/system-leaderboard/", +}); From b71f73167e16e46538801d4620390e47b091a547 Mon Sep 17 00:00:00 2001 From: GordonYuanyc Date: Wed, 2 Dec 2026 00:22:15 +0000 Subject: [PATCH 2/4] Grafana: one-shot query dashboard from the leaderboard records generate_dashboards.py --one-shot writes a dashboard into a "One-shot queries" folder that reads leaderboard/records.json: exact systems ranked, approximate configurations against their exact baseline, every query on every configuration, and failed queries. The phase 2 and phase 3 dashboards are unchanged. Co-Authored-By: Claude Opus 5.5 --- tools/grafana/generate_dashboards.py | 139 ++++++++++++++++++ .../grafana/provisioning/dashboards/repo.yaml | 1 + tools/grafana/run.sh | 5 +- 3 files changed, 143 insertions(+), 2 deletions(-) diff --git a/tools/grafana/generate_dashboards.py b/tools/grafana/generate_dashboards.py index 8b50b51f..eefa68de 100644 --- a/tools/grafana/generate_dashboards.py +++ b/tools/grafana/generate_dashboards.py @@ -1480,6 +1480,136 @@ def phase_boards(phase, figure): yield "phase3-" + uid, json.loads(json.dumps(board).replace(DATA, PHASE3_DATA)) +RECORDS = "http://localhost:8000/leaderboard/records.json" +ONE_SHOT_FOLDER = "One-shot queries" + + +def one_shot_records(mode=None): + selector = 'benchmark="one-shot" and workload="${workload}"' + if mode: + selector += f' and mode="{mode}"' + return f"$[{selector}]" + + +def one_shot_table(board, title, description, root, fields, x, y, w, h, units=None, links=None): + overrides = [{"matcher": {"id": "byName", "options": name}, + "properties": [{"id": "unit", "value": unit}]} for name, unit in (units or {}).items()] + board.panel({"type": "table", "title": title, "description": description, + "targets": [iq("A", RECORDS, root, [col(k, k, t) for k, t in fields])], + "transformations": order(*[k for k, _ in fields]), + "fieldConfig": {"defaults": {"custom": {"cellOptions": {"type": "auto", "wrapText": True}}}, + "overrides": overrides}, + "options": {"showHeader": True}}, x, y, w, h) + + +def one_shot_dashboard(): + b = Board() + b.row("Exact systems: who answers the same queries fastest", 0) + b.panel(key_panel( + "Every exact system answers every query of the workload on the same machine, timed by the ASAPBench " + "harness from handing over the query to getting the parsed answer back. **hot** is the fastest run " + "after the first. Answers are compared with the truth configuration on the queries whose truth gives " + "the same answer on every run."), 0, 1, 24, 2) + exact_fields = [("system", "string"), ("version", "string"), ("answered", "string"), + ("matching the truth", "string"), ("geomean hot", "number"), ("total hot", "number"), + ("largest relative error", "string"), ("data size", "number"), ("load", "number")] + exact_root = (one_shot_records("exact") + '.{"system": system, ' + '"version": $contains(version, " (") ? $substringBefore(version, " (") : version, ' + '"answered": $string(answered_count) & " of " & $string(query_count), ' + '"matching the truth": $string(matching_truth_count) & " of " & $string(compared_count), ' + '"geomean hot": geomean_hot_seconds, "total hot": total_hot_seconds, ' + '"largest relative error": $type(max_relative_error) = "number" ? ' + '$formatNumber(max_relative_error * 100, "0.###") & "%" : max_relative_error, ' + '"data size": data_size_bytes, "load": load_seconds}') + one_shot_table(b, "Exact systems", "One row per system; the configuration named exact.", exact_root, + exact_fields, 0, 3, 24, 7, + units={"geomean hot": "s", "total hot": "s", "data size": "bytes", "load": "s"}) + b.panel({"type": "barchart", "title": "Geometric mean of hot query time, lower is faster", + "targets": [iq("A", RECORDS, one_shot_records("exact") + + '.{"system": system, "geomean hot": geomean_hot_seconds}', + [col("system", "system", "string"), col("geomean hot", "geomean hot", "number")])], + "fieldConfig": {"defaults": {"unit": "s", "color": {"mode": "fixed", "fixedColor": "blue"}}, + "overrides": []}, + "options": {"orientation": "horizontal", "xField": "system", "showValue": "always", + "legend": {"showLegend": False}}}, 0, 10, 24, 6) + b.row("Approximate configurations: how much faster than their exact baseline, and how wrong", 16) + b.panel(key_panel( + "Each approximate configuration is compared with its **baseline**: the same system answering exactly, " + "or DuckDB when the system has no exact configuration. Speedup is the geometric mean over the queries " + "both answered of baseline time / approximate time; above 1 is faster. Errors are against the truth."), + 0, 17, 24, 2) + approx_fields = [("configuration", "string"), ("compared with", "string"), ("answered", "string"), + ("speedup over baseline", "number"), ("median relative error", "number"), + ("largest relative error", "string")] + approx_root = (one_shot_records("approximate") + '.{"configuration": system & "/" & configuration, ' + '"compared with": baseline, ' + '"answered": $string(answered_count) & " of " & $string(query_count), ' + '"speedup over baseline": speedup_over_baseline, ' + '"median relative error": $type(median_relative_error) = "number" ? median_relative_error : null, ' + '"largest relative error": $type(max_relative_error) = "number" ? ' + '$formatNumber(max_relative_error * 100, "0.###") & "%" : max_relative_error}') + one_shot_table(b, "Approximate configurations", "", approx_root, approx_fields, 0, 19, 12, 9, + units={"speedup over baseline": "x", "median relative error": "percentunit"}) + points = (one_shot_records("approximate") + '.( $c := system & "/" & configuration; ' + 'queries[status="ok" and speedup_over_baseline > 0 and $type(max_relative_error) = "number"]' + '.{"configuration": $c, "query": query, "speedup": speedup_over_baseline, ' + '"relative error": max_relative_error > 0.000001 ? max_relative_error : 0.000001} )') + b.panel({"type": "xychart", "title": "Each query: speedup over baseline (x) and relative error (y)", + "description": "Relative errors below 1e-6 are drawn at 1e-6. Infinite errors are left out.", + "targets": [iq("A", RECORDS, points, + [col("configuration", "configuration", "string"), col("query", "query", "string"), + col("speedup", "speedup", "number"), + col("relative error", "relative error", "number")])], + "transformations": [{"id": "partitionByValues", "options": {"fields": ["configuration"]}}], + "fieldConfig": {"defaults": {"unit": "none", "decimals": 6, + "custom": {"show": "points", "pointSize": {"fixed": 7}, + "scaleDistribution": {"type": "log", "log": 10}}}, + "overrides": []}, + "options": {"mapping": "auto", "series": [], "legend": {"showLegend": True, + "displayMode": "list", + "placement": "bottom"}}}, + 12, 19, 12, 9) + b.row("Every query on every configuration", 28) + matrix = ('( $r := ' + one_shot_records() + '; $q := $distinct($r.queries.query); ' + '$q.( $id := $; $merge([{"query": $id}, $r.{ (system & "/" & configuration): ' + '( $x := queries[query=$id]; $x.status = "ok" ? $x.hot_min_seconds : null ) }]) ) )') + b.panel({"type": "table", "title": "Hot time per query; empty: failed or not run", + "description": "Colour: under 0.1 s green, under 1 s yellow, under 10 s orange, 10 s or more red.", + "targets": [iq("A", RECORDS, matrix, [])], + "transformations": [{"id": "organize", "options": {"indexByName": {"query": 0}, + "excludeByName": {}, "renameByName": {}}}], + "fieldConfig": {"defaults": {"unit": "s", "decimals": 3, + "custom": {"cellOptions": {"type": "color-background", + "mode": "basic"}}, + "color": {"mode": "thresholds"}, + "mappings": [{"type": "special", "options": { + "match": "null", "result": {"text": "–", "color": "transparent"}}}], + "thresholds": {"mode": "absolute", "steps": [ + {"color": "green", "value": None}, + {"color": "#EAB839", "value": 0.1}, + {"color": "orange", "value": 1}, + {"color": "red", "value": 10}]}}, + "overrides": [{"matcher": {"id": "byName", "options": "query"}, + "properties": [{"id": "unit", "value": "string"}, + {"id": "custom.cellOptions", + "value": {"type": "auto"}}]}]}, + "options": {"showHeader": True}}, 0, 29, 24, 16) + failures = (one_shot_records() + '.( $c := system & "/" & configuration; ' + 'queries[status != "ok"].{"configuration": $c, "query": query, "status": status} )') + b.panel({"type": "table", "title": "Failed queries", "description": "Hover a status for the whole message.", + "targets": [iq("A", RECORDS, failures, [col(k, k, "string") for k in ("configuration", "query", "status")])], + "transformations": order("configuration", "query", "status"), + "fieldConfig": {"defaults": {"custom": {"cellOptions": {"type": "auto"}}}, + "overrides": [{"matcher": {"id": "byName", "options": "configuration"}, + "properties": [{"id": "custom.width", "value": 220}]}, + {"matcher": {"id": "byName", "options": "query"}, + "properties": [{"id": "custom.width", "value": 80}]}]}, + "options": {"showHeader": True, "cellHeight": "sm"}}, 0, 45, 24, 10) + workloads = variable("workload", RECORDS, '$[benchmark="one-shot"]', "workload") + return dashboard("one-shot-queries", "One-shot queries", b, [workloads], [], + {"from": "now-1h", "to": "now"}) + + def main(): parser = argparse.ArgumentParser(description="Write the Grafana dashboards of the five use cases.") parser.add_argument("--phase", type=int, choices=(2, 3), action="append", @@ -1487,6 +1617,9 @@ def main(): parser.add_argument("--no-figure", action="store_true", help="leave out the scenario figure at the top of each dashboard") parser.add_argument("--out", default=OUT, help=f"directory to write into; default {OUT}") + parser.add_argument("--one-shot", action="store_true", + help=f"also write the one-shot query dashboard into {ONE_SHOT_FOLDER}/, reading " + "leaderboard/records.json") parser.add_argument("--real-data", action="store_true", help="also show runs on real datasets and describe those datasets; by default the dashboards " "show synthetic data only") @@ -1503,6 +1636,12 @@ def main(): with open(os.path.join(args.out, uid + ".json"), "w") as f: json.dump(board, f, indent=2) f.write("\n") + if args.one_shot: + folder = os.path.join(args.out, ONE_SHOT_FOLDER) + os.makedirs(folder, exist_ok=True) + with open(os.path.join(folder, "one-shot-queries.json"), "w") as f: + json.dump(one_shot_dashboard(), f, indent=2) + f.write("\n") if __name__ == "__main__": diff --git a/tools/grafana/provisioning/dashboards/repo.yaml b/tools/grafana/provisioning/dashboards/repo.yaml index decdaa1d..786ad099 100644 --- a/tools/grafana/provisioning/dashboards/repo.yaml +++ b/tools/grafana/provisioning/dashboards/repo.yaml @@ -6,3 +6,4 @@ providers: allowUiUpdates: false options: path: $GRAFANA_DASHBOARDS_DIR + foldersFromFilesStructure: true diff --git a/tools/grafana/run.sh b/tools/grafana/run.sh index 52ec56ca..24bfaba3 100755 --- a/tools/grafana/run.sh +++ b/tools/grafana/run.sh @@ -11,9 +11,10 @@ phase=() while [ $# -gt 0 ]; do case $1 in --check) check=1; shift ;; - --phase) [ $# -ge 2 ] || { echo "usage: $0 [--check] [--phase 2|3]... [--real-data]" >&2; exit 2; }; phase+=(--phase "$2"); shift 2 ;; + --phase) [ $# -ge 2 ] || { echo "usage: $0 [--check] [--phase 2|3]... [--real-data] [--one-shot]" >&2; exit 2; }; phase+=(--phase "$2"); shift 2 ;; --real-data) phase+=(--real-data); shift ;; - *) echo "usage: $0 [--check] [--phase 2|3]... [--real-data]" >&2; exit 2 ;; + --one-shot) phase+=(--one-shot); shift ;; + *) echo "usage: $0 [--check] [--phase 2|3]... [--real-data] [--one-shot]" >&2; exit 2 ;; esac done From f173f20402d99156b97ca6dc474746e80e7bb7ba Mon Sep 17 00:00:00 2001 From: GordonYuanyc Date: Wed, 2 Dec 2026 00:22:15 +0000 Subject: [PATCH 3/4] scripts/leaderboard-data.sh: pack results into one archive, open it as web page or Grafana pack keeps the one-shot reports, results and workloads and the use-case runs, with a manifest of when, from which commit and on which machine. web and grafana unpack an archive under target/leaderboard-data/ and show it without running any system again. Co-Authored-By: Claude Opus 5.5 --- scripts/leaderboard-data.sh | 136 ++++++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100755 scripts/leaderboard-data.sh diff --git a/scripts/leaderboard-data.sh b/scripts/leaderboard-data.sh new file mode 100755 index 00000000..0e049c27 --- /dev/null +++ b/scripts/leaderboard-data.sh @@ -0,0 +1,136 @@ +#!/usr/bin/env bash +set -euo pipefail + +usage() { + cat <<'EOF' +Pack saved benchmark results into one archive, and show an archive as the system leaderboard +or as Grafana dashboards, without running any system again. + + scripts/leaderboard-data.sh pack [--one-shot ]... + [--use-cases ] + scripts/leaderboard-data.sh web [] + scripts/leaderboard-data.sh grafana + +pack --one-shot a run directory of scripts/one-shot-workload.sh after one-shot-report; + its reports, results/ and workloads/ are kept, a DuckDB database is not + --use-cases the runs/ directory scripts/use_cases/run_use_case_on_systems.py writes + under its --data, holding index.json +web unpacks the archive under target/leaderboard-data/, writes + system-leaderboard/public/data/all.jsonl from it and starts the leaderboard + [port 5173]; needs python3 and node 20.19 or later +grafana unpacks the archive under target/leaderboard-data/, writes leaderboard/records.json + in it and starts tools/grafana/run.sh on it: the five use cases on systems and the + one-shot query dashboards + +An archive holds one directory: + manifest.json when, from which ASAPBench commit, on which machine + one-shot// one-shot-summary.csv, one-shot-tables.csv, results/, workloads/ + phase3/runs/ index.json and one directory per use-case run +EOF +} + +repo=$(cd "$(dirname "$0")/.." && pwd) +[ $# -ge 1 ] || { usage >&2; exit 2; } +case $1 in -h|--help) usage; exit 0 ;; esac +action=$1; shift + +data_directory() { + local source=$1 + if [ -d "$source" ]; then + [ -f "$source/manifest.json" ] || { echo "$source has no manifest.json" >&2; exit 1; } + realpath "$source" + return + fi + [ -f "$source" ] || { echo "no archive or directory at $source" >&2; exit 1; } + local name top target + name=$(basename "$source"); name=${name%.tar.xz} + target=$repo/target/leaderboard-data/$name + if [ ! -f "$target/manifest.json" ]; then + top=$(tar -tJf "$source" | head -1 | cut -d/ -f1) + case $top in ''|.|..|/*) echo "$source does not hold one top directory" >&2; exit 1 ;; esac + rm -rf "$target.unpacking" + mkdir -p "$target.unpacking" + tar -xJf "$source" -C "$target.unpacking" --no-same-owner + [ -f "$target.unpacking/$top/manifest.json" ] || { echo "$source has no $top/manifest.json" >&2; exit 1; } + rm -rf "$target" + mv "$target.unpacking/$top" "$target" + rmdir "$target.unpacking" + fi + echo "$target" +} + +case $action in + pack) + [ $# -ge 1 ] || { usage >&2; exit 2; } + archive=$(realpath -m "$1"); shift + case $archive in *.tar.xz) ;; *) echo "the archive name ends in .tar.xz" >&2; exit 2 ;; esac + one_shot=(); use_cases="" + while [ $# -gt 0 ]; do + case $1 in + --one-shot) one_shot+=("$(realpath "$2")"); shift 2 ;; + --use-cases) use_cases=$(realpath "$2"); shift 2 ;; + *) usage >&2; exit 2 ;; + esac + done + [ ${#one_shot[@]} -gt 0 ] || [ -n "$use_cases" ] || { echo "nothing to pack" >&2; exit 2; } + name=$(basename "$archive" .tar.xz) + staging=$(mktemp -d) + trap 'rm -rf "$staging"' EXIT + mkdir -p "$staging/$name" + for run in "${one_shot[@]}"; do + [ -f "$run/one-shot-summary.csv" ] || { echo "$run has no one-shot-summary.csv; run one-shot-report first" >&2; exit 1; } + target=$staging/$name/one-shot/$(basename "$run") + mkdir -p "$target" + for item in one-shot-summary.csv one-shot-summary.md one-shot-tables.csv results workloads; do + [ -e "$run/$item" ] && cp -a "$run/$item" "$target/" + done + done + if [ -n "$use_cases" ]; then + [ -f "$use_cases/index.json" ] || { echo "$use_cases has no index.json" >&2; exit 1; } + mkdir -p "$staging/$name/phase3" + cp -a "$use_cases" "$staging/$name/phase3/runs" + fi + python3 - "$staging/$name" "$repo" <<'PY' +import datetime, glob, json, os, subprocess, sys +root, repo = sys.argv[1:] +machines = set() +for path in glob.glob(os.path.join(root, "one-shot", "*", "results", "*", "*.one-shot.json")): + with open(path) as file: + machine = json.load(file).get("machine") + if machine: + machines.add(json.dumps(machine, sort_keys=True)) +commit = subprocess.run(["git", "-C", repo, "rev-parse", "HEAD"], capture_output=True, text=True).stdout.strip() +manifest = { + "packed_at": datetime.datetime.now(datetime.timezone.utc).isoformat(timespec="seconds"), + "asapbench_commit": commit or None, + "machines": [json.loads(m) for m in sorted(machines)], + "one_shot_runs": sorted(os.listdir(os.path.join(root, "one-shot"))) if os.path.isdir(os.path.join(root, "one-shot")) else [], + "use_case_runs": os.path.isdir(os.path.join(root, "phase3", "runs")), +} +with open(os.path.join(root, "manifest.json"), "w") as file: + json.dump(manifest, file, indent=2) +PY + mkdir -p "$(dirname "$archive")" + tar -C "$staging" -cJf "$archive" "$name" + echo "$archive: $(du -h "$archive" | cut -f1)" + ;; + web) + [ $# -ge 1 ] || { usage >&2; exit 2; } + data=$(data_directory "$1"); port=${2:-5173} + python3 "$repo/scripts/system-leaderboard-data.py" --data "$data" \ + --output "$repo/system-leaderboard/public/data/all.jsonl" + command -v npm >/dev/null || { echo "needs node 20.19 or later and npm" >&2; exit 1; } + cd "$repo/system-leaderboard" + [ -d node_modules ] || npm ci --no-audit --no-fund + exec npx vite --host 127.0.0.1 --port "$port" --strictPort + ;; + grafana) + [ $# -ge 1 ] || { usage >&2; exit 2; } + data=$(data_directory "$1") + python3 "$repo/scripts/system-leaderboard-data.py" --data "$data" --format json \ + --output "$data/leaderboard/records.json" + GRAFANA_DATA_DIR=$data exec "$repo/tools/grafana/run.sh" --phase 3 --one-shot + ;; + *) + usage >&2; exit 2 ;; +esac From efbb02a89a03bf0d62b8669815b5abe709db20bf Mon Sep 17 00:00:00 2001 From: GordonYuanyc Date: Wed, 2 Dec 2026 00:36:50 +0000 Subject: [PATCH 4/4] Child peak memory: a reading must exceed wait4 by 5% to count as a larger peak The test harness_child_peak_memory failed about 3% of runs, locally and on CI: for a single dd process the sampled VmHWM came out up to about 1% above wait4's ru_maxrss, both counting the same process, so the reading was taken as a larger peak. A reading now replaces wait4's peak only when it is more than 5% above it, which still catches a process tree whose processes together exceed the largest one. The test allows the same margin between the reading and the peak. 500 runs in a row pass. Co-Authored-By: Claude Opus 5.5 --- aqpbm-core/src/harness/protocol.rs | 34 ++++++++++++++++++- aqpbm-core/tests/harness_child_peak_memory.rs | 2 +- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/aqpbm-core/src/harness/protocol.rs b/aqpbm-core/src/harness/protocol.rs index bcf1c4a6..db00bea2 100644 --- a/aqpbm-core/src/harness/protocol.rs +++ b/aqpbm-core/src/harness/protocol.rs @@ -413,6 +413,8 @@ pub fn processes_memory(proc_root: &Path, pids: &[u32]) -> Result harness) .map(|_| maximum_resident_set_size_bytes); let (bytes, source) = match (childs_own_peak_bytes, sampled_peak_bytes) { - (Some(own), Some(sampled)) if sampled > own => { + (Some(own), Some(sampled)) if sampled > own + own / READING_ABOVE_WAIT4_MARGIN_DIVISOR => { (Some(sampled), PeakMemorySource::LargestReading) } (Some(own), _) => (Some(own), PeakMemorySource::Wait4MaximumResidentSetSize), @@ -1604,3 +1606,33 @@ pub enum ProtocolError { #[error("the job failed: {0}")] Job(#[from] EngineError), } + +#[cfg(all(test, target_os = "linux"))] +mod child_peak_memory_tests { + use super::{child_peak_memory, PeakMemorySource}; + + const GIBIBYTE: u64 = 1 << 30; + + fn kilobytes(bytes: u64) -> libc::c_long { + (bytes / 1024) as libc::c_long + } + + #[test] + fn a_reading_a_little_above_wait4_is_counter_skew_and_wait4_stays_the_peak() { + assert_eq!( + child_peak_memory(kilobytes(GIBIBYTE), Some(GIBIBYTE + GIBIBYTE / 100)), + ( + Some(GIBIBYTE), + Some(PeakMemorySource::Wait4MaximumResidentSetSize) + ) + ); + } + + #[test] + fn a_reading_well_above_wait4_is_a_larger_peak_of_the_process_tree() { + assert_eq!( + child_peak_memory(kilobytes(GIBIBYTE), Some(2 * GIBIBYTE)), + (Some(2 * GIBIBYTE), Some(PeakMemorySource::LargestReading)) + ); + } +} diff --git a/aqpbm-core/tests/harness_child_peak_memory.rs b/aqpbm-core/tests/harness_child_peak_memory.rs index 7d1d6dff..47a643cd 100644 --- a/aqpbm-core/tests/harness_child_peak_memory.rs +++ b/aqpbm-core/tests/harness_child_peak_memory.rs @@ -38,7 +38,7 @@ fn a_short_childs_peak_comes_from_wait4_and_a_run_with_no_reading_has_no_peak() assert!( usage .sampled_peak_memory_bytes - .is_none_or(|sampled| sampled <= peak), + .is_none_or(|sampled| sampled <= peak + peak / 20), "{usage:?}" );