@dailephd/my-dev-kit-lab 0.6.3 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/README.md +7 -4
- package/benchmarks/contracts/context-window-scaling-cases.json +220 -0
- package/benchmarks/projects/README.md +3 -1
- package/benchmarks/projects/context-window-scaling-fixed-ts/README.md +14 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-1/carrier-depot-catalog-01.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-1/course-module-catalog-06.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-1/library-shelf-catalog-07.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-1/sensor-station-catalog-05.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-1/staff-rota-catalog-03.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-1/supplier-contract-catalog-02.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-1/vehicle-route-catalog-04.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-2/archive-box-catalog-12.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-2/clinic-ward-catalog-08.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-2/greenhouse-bay-catalog-13.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-2/harbor-berth-catalog-10.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-2/kitchen-section-catalog-15.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-2/market-stall-catalog-09.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-2/station-platform-catalog-14.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-2/workshop-bench-catalog-11.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/archive-box-catalog-28.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/carrier-depot-catalog-17.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/clinic-ward-catalog-24.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/course-module-catalog-22.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/greenhouse-bay-catalog-29.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/harbor-berth-catalog-26.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/kitchen-section-catalog-31.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/library-shelf-catalog-23.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/market-stall-catalog-25.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/sensor-station-catalog-21.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/staff-rota-catalog-19.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/station-platform-catalog-30.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/supplier-contract-catalog-18.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/vehicle-route-catalog-20.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/warehouse-zone-catalog-16.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/workshop-bench-catalog-27.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/archive-box-catalog-44.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/carrier-depot-catalog-33.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/carrier-depot-catalog-49.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/clinic-ward-catalog-40.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/clinic-ward-catalog-56.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/course-module-catalog-38.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/course-module-catalog-54.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/greenhouse-bay-catalog-45.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/harbor-berth-catalog-42.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/harbor-berth-catalog-58.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/kitchen-section-catalog-47.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/library-shelf-catalog-39.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/library-shelf-catalog-55.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/market-stall-catalog-41.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/market-stall-catalog-57.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/sensor-station-catalog-37.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/sensor-station-catalog-53.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/staff-rota-catalog-35.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/staff-rota-catalog-51.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/station-platform-catalog-46.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/supplier-contract-catalog-34.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/supplier-contract-catalog-50.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/vehicle-route-catalog-36.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/vehicle-route-catalog-52.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/warehouse-zone-catalog-32.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/warehouse-zone-catalog-48.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/workshop-bench-catalog-43.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/tasks/auditRedaction.ts +25 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/tasks/inventoryReservation.ts +26 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/tasks/invoiceTotals.ts +25 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/tasks/shippingQuote.ts +32 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/tests/tasks/auditRedaction.test.ts +17 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/tests/tasks/inventoryReservation.test.ts +19 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/tests/tasks/invoiceTotals.test.ts +14 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/tests/tasks/shippingQuote.test.ts +19 -0
- package/dist/src/cli/help.js +19 -3
- package/dist/src/commands/runExperimentDescribeCommand.js +6 -0
- package/dist/src/commands/runExperimentRunCommand.js +118 -7
- package/dist/src/evaluation/syntheticRepository/config.js +304 -0
- package/dist/src/evaluation/syntheticRepository/evaluationCase.js +43 -0
- package/dist/src/evaluation/syntheticRepository/identity.js +41 -0
- package/dist/src/evaluation/syntheticRepository/index.js +16 -0
- package/dist/src/evaluation/syntheticRepository/inspection.js +92 -0
- package/dist/src/evaluation/syntheticRepository/layout.js +50 -0
- package/dist/src/evaluation/syntheticRepository/manifest.js +281 -0
- package/dist/src/evaluation/syntheticRepository/manifestVerification.js +112 -0
- package/dist/src/evaluation/syntheticRepository/materialize.js +170 -0
- package/dist/src/evaluation/syntheticRepository/planning.js +479 -0
- package/dist/src/evaluation/syntheticRepository/prng.js +47 -0
- package/dist/src/evaluation/syntheticRepository/renderPython.js +68 -0
- package/dist/src/evaluation/syntheticRepository/renderRepository.js +39 -0
- package/dist/src/evaluation/syntheticRepository/renderShared.js +93 -0
- package/dist/src/evaluation/syntheticRepository/renderTypeScript.js +82 -0
- package/dist/src/evaluation/syntheticRepository/topology.js +96 -0
- package/dist/src/evaluation/syntheticRepository/types.js +26 -0
- package/dist/src/experiments/defaultRegistry.js +2 -0
- package/dist/src/experiments/plugins/contextWindowScaling/cliBudgets.js +31 -0
- package/dist/src/experiments/plugins/contextWindowScaling/config.js +84 -0
- package/dist/src/experiments/plugins/contextWindowScaling/contextBudget.js +43 -0
- package/dist/src/experiments/plugins/contextWindowScaling/evaluation.js +36 -0
- package/dist/src/experiments/plugins/contextWindowScaling/execution.js +187 -0
- package/dist/src/experiments/plugins/contextWindowScaling/executionArtifact.js +15 -0
- package/dist/src/experiments/plugins/contextWindowScaling/executionArtifactReader.js +186 -0
- package/dist/src/experiments/plugins/contextWindowScaling/index.js +15 -0
- package/dist/src/experiments/plugins/contextWindowScaling/metadata.js +12 -0
- package/dist/src/experiments/plugins/contextWindowScaling/metrics.js +149 -0
- package/dist/src/experiments/plugins/contextWindowScaling/plugin.js +185 -0
- package/dist/src/experiments/plugins/contextWindowScaling/projectProfile.js +51 -0
- package/dist/src/experiments/plugins/contextWindowScaling/relevantFiles.js +76 -0
- package/dist/src/experiments/plugins/contextWindowScaling/successEvidence.js +60 -0
- package/dist/src/experiments/plugins/contextWindowScaling/syntheticInputs.js +56 -0
- package/dist/src/experiments/plugins/contextWindowScaling/types.js +1 -0
- package/dist/src/experiments/plugins/index.js +1 -0
- package/dist/src/experiments/plugins/warmIndexReuse/agentEvaluation.js +1 -1
- package/dist/src/plots/buildContextWindowScalingPlotData.js +96 -0
- package/dist/src/plots/index.js +1 -0
- package/dist/src/plots/writePlotArtifacts.js +12 -3
- package/dist/src/report/experiments/buildContextWindowScalingReport.js +84 -0
- package/dist/src/report/experiments/buildPluginExperimentReport.js +22 -2
- package/dist/src/report/experiments/contextWindowScalingReportModel.js +3 -0
- package/dist/src/report/experiments/index.js +4 -0
- package/dist/src/report/experiments/renderContextWindowScalingHtml.js +99 -0
- package/dist/src/report/experiments/renderContextWindowScalingText.js +108 -0
- package/dist/src/report/experiments/renderPluginExperimentReportHtml.js +3 -0
- package/dist/src/report/experiments/renderPluginExperimentReportText.js +8 -0
- package/docs/METRICS.md +29 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,23 @@ All notable changes to my-dev-kit-lab are documented here.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.7.1] - 2026-10-02
|
|
8
|
+
|
|
9
|
+
### Synthetic large-repository generator
|
|
10
|
+
|
|
11
|
+
- Added deterministic synthetic TypeScript and Python repository generation under `src/evaluation/syntheticRepository/`: a strict `SyntheticRepositoryConfigV1`, seed- and identity-based pure planning, a versioned generator-owned PRNG, exact source/test/symbol/import/depth/repeated-pattern dimensions, and localized, cross-module, and broad-change task answer keys.
|
|
12
|
+
- Added contained, idempotent materialization with a per-repository generation manifest (deterministic file hashes and metrics) and a read-only manifest verifier, plus an in-memory `EvaluationCase` adapter that reuses the existing raw baseline and scoring.
|
|
13
|
+
- Added `--synthetic-config <path>` to `experiment run --experiment context-window-scaling` so the experiment can run over generated repositories placed beneath the run output; it is a command input selector (mutually exclusive with `--case`), not a plugin config field. Without it, the bundled v0.7.0 fixed corpus is used unchanged.
|
|
14
|
+
- Extended help, `experiment list`/`describe` text, and installed-package acceptance to cover the synthetic input for both languages. The `context-window-scaling` treatments, budget semantics, correctness/success semantics, execution artifact, reports, and plots are unchanged.
|
|
15
|
+
|
|
16
|
+
## [0.7.0] - 2026-10-01
|
|
17
|
+
|
|
18
|
+
### Context-window scaling
|
|
19
|
+
|
|
20
|
+
- Added the self-only `context-window-scaling` experiment plugin with standard and custom estimated-token budgets, raw-full-file and my-dev-kit-guided context evidence, fit/utilization/correctness/success measurements, and bounded omitted-relevant-file reporting.
|
|
21
|
+
- Added the versioned `context-window-scaling-execution.json` artifact, JSON/text/HTML report section, and three context-window plot families through the existing `plots generate` command.
|
|
22
|
+
- Extended exact packed-package acceptance to cover installed discovery, execution, reports, plots, custom budgets, and immutability of the bundled context-window case contract and fixed project.
|
|
23
|
+
|
|
7
24
|
## [0.6.3] - 2026-09-30
|
|
8
25
|
|
|
9
26
|
### Four-treatment partial-refresh experiments
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ my-dev-kit provides local repository indexing and graph-guided retrieval. my-dev
|
|
|
6
6
|
|
|
7
7
|
Whole-ecosystem workflows are centralized in [my-dev-kit/docs/ECOSYSTEM_DEVELOPMENT_WORKFLOWS.md](https://github.com/dailephd/my-dev-kit/blob/main/docs/ECOSYSTEM_DEVELOPMENT_WORKFLOWS.md). Its [command-surface compatibility map](https://github.com/dailephd/my-dev-kit/blob/main/docs/ECOSYSTEM_DEVELOPMENT_WORKFLOWS.md#915-command-surface-compatibility-map) documents which Lab outputs can safely seed my-dev-kit investigation, Observer reference work, or Orchestrator evidence, and which look-alike artifacts are not direct inputs.
|
|
8
8
|
|
|
9
|
-
The latest release is v0.
|
|
9
|
+
The latest release is v0.7.1 (synthetic large-repository generator), and the published package and installed CLI are version 0.7.1. The previous release is v0.7.0 (context-window scaling), and v0.7.2 (real/local external repository experiments) is planned after the current release. The v0.4.5 context-integrity evaluation remains intentionally frozen against the published `@dailephd/my-dev-kit@1.10.4` and `@dailephd/my-dev-kit-orchestrator@1.2.3` contracts; those versions are historical validation baselines, not a statement that they are the ecosystem's current releases. See [docs/CURRENT_STATE.md](docs/CURRENT_STATE.md) for current state.
|
|
10
10
|
|
|
11
11
|
v0.4.6 adds a supported `my-dev-kit-lab` installed CLI router (`--help`, `--version`, `security validate`, `audit`, the `experiment` family, `report render`, `plots generate`, `gallery build`, `demo final`, and the historical direct final-demo invocation form), a writable lab workspace model kept separate from the installed package and the inspected target, and a permanent packed-tarball installation/execution acceptance gate (`npm run verify:packed-package`). See [docs/ROADMAP.md](docs/ROADMAP.md) and [docs/CURRENT_STATE.md](docs/CURRENT_STATE.md) for status detail and [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) for the runtime path model. The "Installed CLI" section below documents the shipped command surface; the source-checkout `npm run` workflow in Quickstart remains available for contributors.
|
|
12
12
|
|
|
@@ -16,7 +16,9 @@ v0.4.6 adds a supported `my-dev-kit-lab` installed CLI router (`--help`, `--vers
|
|
|
16
16
|
- **Measure warm-index reuse (v0.5.0–v0.5.1, released):** the `warm-index-reuse` experiment plugin builds one my-dev-kit index per benchmark project, reuses it across that project's tasks, and compares every task with a matched `raw-full-file` baseline. Reports separate one-time index-build cost from per-task retrieval cost, show amortized index cost and cumulative measurements, and include deterministic fake-agent correctness and token evidence; `plots generate` renders four warm-index SVG charts. The v0.5.1 release adds a dedicated 12-task benchmark corpus (`benchmarks/contracts/warm-index-benchmark-cases.json`: six medium and six large/mixed tasks tagged `localized`, `cross-module`, or `broad-change`) for comparing warm-index behavior as task count grows. Estimated context tokens (a character-based context-size estimate) and fake-agent total tokens (simulated harness telemetry) are reported separately, and neither is provider billing telemetry.
|
|
17
17
|
- **Run selectable real-agent warm-index campaigns (v0.5.2, released):** `--campaign codex-full`, `claude-full`, or `codex-timeout-isolation` (with `--include-real-agents`) runs exactly one provider — Codex or Claude — against the exact raw and warm contexts the experiment already measured, over the frozen production corpus each preset owns. Provider outcomes (`completed`, `failed`, `timeout`, `invalid-output`, `agent-unavailable`, `agent-limit-reached`, `skipped`) are classified and reported separately from warm-index infrastructure status, so a campaign can complete its indexing/retrieval work even when provider evidence is partial or unavailable. A campaign run automatically produces the report, the same four warm-index SVG charts, and a three-item gallery (report, plots, bounded execution evidence). Its report screenshot is best-effort presentation evidence: unavailable browser runtime or failed capture is reported explicitly, no PNG is fabricated, and neither outcome fails an otherwise successful campaign. Legacy runs without `--campaign` keep the existing deterministic fake-agent, report-only behavior unchanged. See [docs/WORKFLOWS.md](docs/WORKFLOWS.md#warm-index-reuse-experiment) and [docs/METRICS.md](docs/METRICS.md#warm-index-reuse-metrics).
|
|
18
18
|
- **Record index freshness evidence (v0.6.0):** a warm-index run captures an index snapshot after its one index build — the exact indexed file set from the my-dev-kit index contract, each with SHA-256 content identity, size, and modified-time metadata, plus the my-dev-kit version and index-command evidence — and assesses freshness immediately before each task's warm retrieval as `fresh`, `stale`, `partially-stale`, or `unknown`. The evidence appears in `warm-index-execution.json` and in the existing `report.json`/`report.txt`/`report.html` warm-index reports. It is observational only: it covers only files the snapshot lists (not the whole repository), never changes retrieval, execution or provider status, and adds no CLI flag, metric, plot, gallery item, or reindex recommendation in v0.6.0. See [docs/METRICS.md](docs/METRICS.md#index-freshness-evidence-v060) and [docs/WORKFLOWS.md](docs/WORKFLOWS.md#warm-index-reuse-experiment).
|
|
19
|
-
- **Compare no-refresh, partial-refresh, and full-refresh retrieval after a controlled change (v0.6.3,
|
|
19
|
+
- **Compare no-refresh, partial-refresh, and full-refresh retrieval after a controlled change (v0.6.3, previous release):** the `incremental-change-staleness` experiment plugin runs six frozen controlled-change scenario families (unrelated-file, local-implementation, exported-symbol, public-API, import-graph, and test-only changes) against four disposable target copies — `stale-index` (no refresh), `changed-files-refresh` and `affected-neighborhood-refresh` (real partial refreshes performed by my-dev-kit 1.12.5 through `index --incremental --refresh-scope`, selected internally with no Lab-level flag), and `full-refresh` (a complete new post-change index, used as a comparison reference rather than a preferred treatment). Each partial treatment truthfully records whether upstream applied the requested partial scope or fell back to a full rebuild (`APPLIED_PARTIAL` or `FALLBACK_FULL`); a fallback is not counted as partial-refresh evidence. Three comparisons against `full-refresh` are persisted with retrieval, deterministic fake-agent correctness, and required-file evidence in `incremental-change-staleness-execution.json` (schema `my-dev-kit-lab-incremental-change-staleness-execution-v2`) and the existing `report.json`/`report.txt`/`report.html`; historical v0.6.2 (V1) artifacts stay readable. There is no winner, ranking, or safety claim, and the plugin is self-only (`--target` is not accepted). `--kit-command` also accepts `incremental-change-staleness` and now defaults to my-dev-kit 1.12.5. See [docs/WORKFLOWS.md](docs/WORKFLOWS.md) and [docs/METRICS.md](docs/METRICS.md).
|
|
20
|
+
- **Measure context-window scaling (v0.7.0, released):** the self-only `context-window-scaling` plugin compares `raw-full-file` and `my-dev-kit-guided` over 8k, 16k, 32k, 64k, or custom positive-integer estimated-token budgets. It records fit, utilization, deterministic fake-agent correctness/success, and omitted expected relevant files, with JSON/text/HTML reports and three SVG plots. `plots generate` reads `context-window-scaling-execution.json`. Token counts are a character-based estimate, not provider-tokenizer or billing data; fake-agent correctness is context-independent in the current harness. See [docs/WORKFLOWS.md](docs/WORKFLOWS.md), [docs/METRICS.md](docs/METRICS.md), and [docs/COMMANDS.md](docs/COMMANDS.md).
|
|
21
|
+
- **Run context-window scaling over synthetic repositories (v0.7.1, current release):** `context-window-scaling` uses the bundled fixed corpus by default, or `--synthetic-config <path>` (a `SyntheticRepositoryConfigV1` JSON file) to generate disposable deterministic TypeScript/Python repositories beneath the run output. The option is a command input selector, not plugin scientific config; it is mutually exclusive with `--case`, and the scientific semantics, execution artifact, reports, and plots are unchanged. See [docs/COMMANDS.md](docs/COMMANDS.md) and [docs/WORKFLOWS.md](docs/WORKFLOWS.md).
|
|
20
22
|
- **Assess affected-neighborhood evidence (v0.6.1, released; retained in the current package):** using the baseline my-dev-kit graph of the same prepared warm index (loaded once per session), each task's confirmed modified or missing indexed files, and the baseline symbols those files contain, are mapped to graph nodes. The affected neighborhood is those seed nodes plus their direct one-hop neighbors (edges of any kind, either direction). The task's `expectedFiles` and file-scoped `expectedSymbols` are mapped to graph nodes and compared with that neighborhood, which yields six numeric warm-side metrics (`changedFileCount`, `changedSymbolCount`, `affectedNodeCount`, `affectedEdgeCount`, `taskOverlapCount`, `taskOverlapPercent`) plus categorical evidence: a `related`, `unrelated`, or `unknown` relationship and a `recommended`, `not-indicated`, or `unknown` `reindexRecommendation`. Incomplete evidence is reported as `unknown`, never as unrelated. The assessment is recorded additively in `warm-index-execution.json` and shown in the existing `report.json`/`report.txt`/`report.html` warm-index reports. It is observational only: retrieval, execution status, and provider status are unchanged, nothing is reindexed automatically, and no CLI flag, experiment plugin, plot, or gallery item was added. See [docs/METRICS.md](docs/METRICS.md#affected-neighborhood-metrics-v061) and [docs/WORKFLOWS.md](docs/WORKFLOWS.md#warm-index-reuse-experiment).
|
|
21
23
|
- **Audit repository health:** run conservative code-rot detectors for TypeScript/JavaScript, Python, Java, and Kotlin, or adapt security findings into the common audit report.
|
|
22
24
|
- **Validate CLI/package security:** inspect dependencies, package contents, path and subprocess boundaries, malformed inputs, optional static scanners, and bounded fuzz targets.
|
|
@@ -236,11 +238,12 @@ See [docs/METRICS.md](docs/METRICS.md) for full metric definitions.
|
|
|
236
238
|
- Claude and Codex token totals are used only when the CLI/run exposes them; missing provider token evidence stays explicitly unavailable (never zero, and never substituted with an estimated context-token count)
|
|
237
239
|
- Codex and Claude campaign runs can produce timeouts, invalid-output, agent-unavailable, or agent-limit-reached outcomes; these are structured provider states, not warm-index infrastructure failures
|
|
238
240
|
- Small projects may make raw-full-file cheaper than my-dev-kit-guided; larger localized tasks are where my-dev-kit is expected to become more useful
|
|
239
|
-
- The generic experiment-plugin framework has
|
|
241
|
+
- The generic experiment-plugin framework has four registered plugins: `context-strategy-comparison`, `warm-index-reuse`, `incremental-change-staleness`, and `context-window-scaling`. The v0.7.0 context-window-scaling plugin is released; v0.7.1 lets it also run over caller-supplied synthetic repositories; external/local repository experiments (v0.7.2), retrieval precision/recall, and agent-success plugins remain planned.
|
|
240
242
|
- `warm-index-reuse` without `--campaign` still uses the deterministic fake agent only. With `--campaign`, exactly one real provider (Codex or Claude) runs per campaign preset — there is no multi-agent matrix, retry, provider switching, or scheduler. The v0.5.1 expanded corpus is deterministic fake-agent benchmark evidence when run without `--campaign`. No warm-index mode calculates a token-savings percentage, break-even task, winner, or ranking, and component-duration sums are not wall-clock latency
|
|
241
243
|
- The current release does not guarantee token savings; it produces auditable evidence for specific cases, targets, agents, and strategies
|
|
244
|
+
- Context-window scaling uses estimated tokens (`ceil(characters / 4)`) and experiment budgets, not actual provider tokenizer or model-window limits. Its deterministic fake-agent correctness check does not measure semantic sensitivity to the supplied context.
|
|
242
245
|
- Released v0.6.1 affected-neighborhood evidence is bounded to the baseline graph of the prepared index and to the snapshot-represented files: a changed symbol means the symbol was present in a confirmed changed indexed file, not that its own text was proven to change; `not-indicated` means only that this bounded analysis found no supporting evidence for reindexing, not that skipping a reindex is safe; unresolved or ambiguous expected symbols keep a task at `unknown` rather than unrelated
|
|
243
|
-
- v0.6.3 (
|
|
246
|
+
- v0.6.3 (previous release) partial-refresh evidence is scoped to the executed deterministic scenarios and the configured my-dev-kit 1.12.5-or-later tool. A partial treatment can fall back to a full rebuild and is then reported as not comparable as partial refresh, so an applied partial refresh in one run does not guarantee the next; `no-observed-regression-relative-to-full` is not a safety claim, and full refresh is a reference rather than a winner. Correctness remains deterministic fake-agent evidence, and `incremental-change-staleness` accepts no external `--target`.
|
|
244
247
|
- Provider telemetry dashboards, semantic LLM judging, and cloud API billing integration are not yet implemented
|
|
245
248
|
- The six new stage-context strategies have no CLI flags yet, are configured programmatically, and do not yet include plots, screenshots, or gallery integration
|
|
246
249
|
- The published upstream artifacts the stage-context strategies read do not expose considered-but-unselected reads or unnecessary-read evidence; those metrics report `unavailable` rather than zero
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "ctx-scale-a-8k-16k",
|
|
4
|
+
"title": "Context scaling A: Shipping quote by weight band",
|
|
5
|
+
"benchmarkProject": "context-window-scaling-fixed-ts",
|
|
6
|
+
"taskLocality": "localized",
|
|
7
|
+
"targetRoot": "benchmarks/projects/context-window-scaling-fixed-ts",
|
|
8
|
+
"sourceRoots": [
|
|
9
|
+
"src",
|
|
10
|
+
"tests"
|
|
11
|
+
],
|
|
12
|
+
"query": "shipping quote weight band zone surcharge parcel",
|
|
13
|
+
"expectedFiles": [
|
|
14
|
+
"src/tasks/shippingQuote.ts",
|
|
15
|
+
"tests/tasks/shippingQuote.test.ts"
|
|
16
|
+
],
|
|
17
|
+
"expectedSymbols": [
|
|
18
|
+
"selectWeightBand",
|
|
19
|
+
"calculateShippingQuote"
|
|
20
|
+
],
|
|
21
|
+
"answerKey": {
|
|
22
|
+
"expectedFiles": [
|
|
23
|
+
"src/tasks/shippingQuote.ts",
|
|
24
|
+
"tests/tasks/shippingQuote.test.ts"
|
|
25
|
+
],
|
|
26
|
+
"expectedSymbols": [
|
|
27
|
+
"selectWeightBand",
|
|
28
|
+
"calculateShippingQuote"
|
|
29
|
+
],
|
|
30
|
+
"expectedFacts": [
|
|
31
|
+
{
|
|
32
|
+
"id": "ctx-scale-a-band-selection",
|
|
33
|
+
"text": "selectWeightBand returns the smallest weight band whose maxGrams holds the parcel weight and rejects non-positive or oversize weights.",
|
|
34
|
+
"weight": 1,
|
|
35
|
+
"required": true
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": "ctx-scale-a-zone-surcharge",
|
|
39
|
+
"text": "calculateShippingQuote adds a zone surcharge (domestic 0, regional 250, international 1200 cents) to the selected band base price.",
|
|
40
|
+
"weight": 1,
|
|
41
|
+
"required": true
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"minimumCorrectFacts": 2,
|
|
45
|
+
"notes": "Small task-relevant surface inside a fixed static repository whose filler tiers scale raw context."
|
|
46
|
+
},
|
|
47
|
+
"rawIncludeGlobs": [
|
|
48
|
+
"src/tasks/**/*",
|
|
49
|
+
"tests/**/*",
|
|
50
|
+
"src/filler/tier-1/**/*"
|
|
51
|
+
],
|
|
52
|
+
"notes": "Raw context scale band A (filler tiers 1..1); band bounds are enforced by the corpus test."
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "ctx-scale-b-16k-32k",
|
|
56
|
+
"title": "Context scaling B: Invoice total with bulk discount and tax",
|
|
57
|
+
"benchmarkProject": "context-window-scaling-fixed-ts",
|
|
58
|
+
"taskLocality": "localized",
|
|
59
|
+
"targetRoot": "benchmarks/projects/context-window-scaling-fixed-ts",
|
|
60
|
+
"sourceRoots": [
|
|
61
|
+
"src",
|
|
62
|
+
"tests"
|
|
63
|
+
],
|
|
64
|
+
"query": "invoice total bulk discount quantity tax rounding cents",
|
|
65
|
+
"expectedFiles": [
|
|
66
|
+
"src/tasks/invoiceTotals.ts",
|
|
67
|
+
"tests/tasks/invoiceTotals.test.ts"
|
|
68
|
+
],
|
|
69
|
+
"expectedSymbols": [
|
|
70
|
+
"calculateInvoiceTotal",
|
|
71
|
+
"applyBulkDiscount",
|
|
72
|
+
"roundToCents"
|
|
73
|
+
],
|
|
74
|
+
"answerKey": {
|
|
75
|
+
"expectedFiles": [
|
|
76
|
+
"src/tasks/invoiceTotals.ts",
|
|
77
|
+
"tests/tasks/invoiceTotals.test.ts"
|
|
78
|
+
],
|
|
79
|
+
"expectedSymbols": [
|
|
80
|
+
"calculateInvoiceTotal",
|
|
81
|
+
"applyBulkDiscount",
|
|
82
|
+
"roundToCents"
|
|
83
|
+
],
|
|
84
|
+
"expectedFacts": [
|
|
85
|
+
{
|
|
86
|
+
"id": "ctx-scale-b-bulk-discount",
|
|
87
|
+
"text": "applyBulkDiscount gives 5 percent off at quantity 20 and 10 percent off at quantity 100 or more.",
|
|
88
|
+
"weight": 1,
|
|
89
|
+
"required": true
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "ctx-scale-b-tax-after-discount",
|
|
93
|
+
"text": "calculateInvoiceTotal adds rounded tax computed on the discounted subtotal.",
|
|
94
|
+
"weight": 1,
|
|
95
|
+
"required": true
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"minimumCorrectFacts": 2,
|
|
99
|
+
"notes": "Small task-relevant surface inside a fixed static repository whose filler tiers scale raw context."
|
|
100
|
+
},
|
|
101
|
+
"rawIncludeGlobs": [
|
|
102
|
+
"src/tasks/**/*",
|
|
103
|
+
"tests/**/*",
|
|
104
|
+
"src/filler/tier-1/**/*",
|
|
105
|
+
"src/filler/tier-2/**/*"
|
|
106
|
+
],
|
|
107
|
+
"notes": "Raw context scale band B (filler tiers 1..2); band bounds are enforced by the corpus test."
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "ctx-scale-c-32k-64k",
|
|
111
|
+
"title": "Context scaling C: Inventory stock reservation",
|
|
112
|
+
"benchmarkProject": "context-window-scaling-fixed-ts",
|
|
113
|
+
"taskLocality": "localized",
|
|
114
|
+
"targetRoot": "benchmarks/projects/context-window-scaling-fixed-ts",
|
|
115
|
+
"sourceRoots": [
|
|
116
|
+
"src",
|
|
117
|
+
"tests"
|
|
118
|
+
],
|
|
119
|
+
"query": "reserve stock release reservation available quantity insufficient",
|
|
120
|
+
"expectedFiles": [
|
|
121
|
+
"src/tasks/inventoryReservation.ts",
|
|
122
|
+
"tests/tasks/inventoryReservation.test.ts"
|
|
123
|
+
],
|
|
124
|
+
"expectedSymbols": [
|
|
125
|
+
"reserveStock",
|
|
126
|
+
"releaseReservation",
|
|
127
|
+
"availableStock"
|
|
128
|
+
],
|
|
129
|
+
"answerKey": {
|
|
130
|
+
"expectedFiles": [
|
|
131
|
+
"src/tasks/inventoryReservation.ts",
|
|
132
|
+
"tests/tasks/inventoryReservation.test.ts"
|
|
133
|
+
],
|
|
134
|
+
"expectedSymbols": [
|
|
135
|
+
"reserveStock",
|
|
136
|
+
"releaseReservation",
|
|
137
|
+
"availableStock"
|
|
138
|
+
],
|
|
139
|
+
"expectedFacts": [
|
|
140
|
+
{
|
|
141
|
+
"id": "ctx-scale-c-reserve-limits",
|
|
142
|
+
"text": "reserveStock rejects non-positive quantities and quantities above available stock, returning a new level without mutating the input.",
|
|
143
|
+
"weight": 1,
|
|
144
|
+
"required": true
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "ctx-scale-c-release-limits",
|
|
148
|
+
"text": "releaseReservation rejects quantities that are non-positive or larger than the reserved amount.",
|
|
149
|
+
"weight": 1,
|
|
150
|
+
"required": true
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"minimumCorrectFacts": 2,
|
|
154
|
+
"notes": "Small task-relevant surface inside a fixed static repository whose filler tiers scale raw context."
|
|
155
|
+
},
|
|
156
|
+
"rawIncludeGlobs": [
|
|
157
|
+
"src/tasks/**/*",
|
|
158
|
+
"tests/**/*",
|
|
159
|
+
"src/filler/tier-1/**/*",
|
|
160
|
+
"src/filler/tier-2/**/*",
|
|
161
|
+
"src/filler/tier-3/**/*"
|
|
162
|
+
],
|
|
163
|
+
"notes": "Raw context scale band C (filler tiers 1..3); band bounds are enforced by the corpus test."
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"id": "ctx-scale-d-64k-plus",
|
|
167
|
+
"title": "Context scaling D: Audit entry redaction",
|
|
168
|
+
"benchmarkProject": "context-window-scaling-fixed-ts",
|
|
169
|
+
"taskLocality": "localized",
|
|
170
|
+
"targetRoot": "benchmarks/projects/context-window-scaling-fixed-ts",
|
|
171
|
+
"sourceRoots": [
|
|
172
|
+
"src",
|
|
173
|
+
"tests"
|
|
174
|
+
],
|
|
175
|
+
"query": "audit entry redact mask email token",
|
|
176
|
+
"expectedFiles": [
|
|
177
|
+
"src/tasks/auditRedaction.ts",
|
|
178
|
+
"tests/tasks/auditRedaction.test.ts"
|
|
179
|
+
],
|
|
180
|
+
"expectedSymbols": [
|
|
181
|
+
"redactAuditEntry",
|
|
182
|
+
"maskEmail"
|
|
183
|
+
],
|
|
184
|
+
"answerKey": {
|
|
185
|
+
"expectedFiles": [
|
|
186
|
+
"src/tasks/auditRedaction.ts",
|
|
187
|
+
"tests/tasks/auditRedaction.test.ts"
|
|
188
|
+
],
|
|
189
|
+
"expectedSymbols": [
|
|
190
|
+
"redactAuditEntry",
|
|
191
|
+
"maskEmail"
|
|
192
|
+
],
|
|
193
|
+
"expectedFacts": [
|
|
194
|
+
{
|
|
195
|
+
"id": "ctx-scale-d-email-mask",
|
|
196
|
+
"text": "maskEmail keeps the first local-part character, masks the rest, and returns [invalid-email] for malformed addresses.",
|
|
197
|
+
"weight": 1,
|
|
198
|
+
"required": true
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id": "ctx-scale-d-token-redaction",
|
|
202
|
+
"text": "redactAuditEntry replaces any token with [redacted] and drops fields other than actor, action, email, and token.",
|
|
203
|
+
"weight": 1,
|
|
204
|
+
"required": true
|
|
205
|
+
}
|
|
206
|
+
],
|
|
207
|
+
"minimumCorrectFacts": 2,
|
|
208
|
+
"notes": "Small task-relevant surface inside a fixed static repository whose filler tiers scale raw context."
|
|
209
|
+
},
|
|
210
|
+
"rawIncludeGlobs": [
|
|
211
|
+
"src/tasks/**/*",
|
|
212
|
+
"tests/**/*",
|
|
213
|
+
"src/filler/tier-1/**/*",
|
|
214
|
+
"src/filler/tier-2/**/*",
|
|
215
|
+
"src/filler/tier-3/**/*",
|
|
216
|
+
"src/filler/tier-4/**/*"
|
|
217
|
+
],
|
|
218
|
+
"notes": "Raw context scale band D (filler tiers 1..4); band bounds are enforced by the corpus test."
|
|
219
|
+
}
|
|
220
|
+
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This directory contains deterministic benchmark projects used by my-dev-kit-lab.
|
|
4
4
|
|
|
5
|
-
The
|
|
5
|
+
The shared-profile suite mixes baseline Todo fixtures with more complex workflow and analytics projects:
|
|
6
6
|
|
|
7
7
|
- `todo-ts`
|
|
8
8
|
- `todo-js`
|
|
@@ -11,6 +11,8 @@ The current suite mixes baseline Todo fixtures with more complex workflow and an
|
|
|
11
11
|
- `task-workflow-medium-ts`
|
|
12
12
|
- `task-analytics-large-mixed`
|
|
13
13
|
|
|
14
|
+
The v0.7.0 release also includes `context-window-scaling-fixed-ts` as an experiment-specific, static scaling corpus. It is intentionally not part of the shared `benchmark-project-profiles.json` contract: the `context-window-scaling` plugin derives its project profile in memory. The fixed corpus is frozen v0.7.0 evidence and is not a generator.
|
|
15
|
+
|
|
14
16
|
The Todo fixtures stay intentionally small so validation and smoke experiments remain cheap. The newer medium and large projects are intentionally more connected so raw full-file context and guided retrieval diverge more meaningfully.
|
|
15
17
|
|
|
16
18
|
Benchmark project profiles live in `benchmarks/contracts/benchmark-project-profiles.json`.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# context-window-scaling-fixed-ts
|
|
2
|
+
|
|
3
|
+
Static, committed benchmark project for the v0.7.0 context-window-scaling plugin. It is an ordinary
|
|
4
|
+
TypeScript tree, not a generator.
|
|
5
|
+
|
|
6
|
+
- `src/tasks/` and `tests/tasks/` hold the four small task-relevant implementation surfaces
|
|
7
|
+
(shipping quote, invoice totals, inventory reservation, audit redaction).
|
|
8
|
+
- `src/filler/tier-1` ... `tier-4` hold scale-only catalog modules that are semantically unrelated to
|
|
9
|
+
every task. Cases include filler tiers cumulatively through `rawIncludeGlobs`, so raw full-file
|
|
10
|
+
context grows from scale A (tier-1) to scale D (tier-1..4).
|
|
11
|
+
|
|
12
|
+
Cases live in `benchmarks/contracts/context-window-scaling-cases.json`. Measured raw estimated-token
|
|
13
|
+
bands are enforced by `tests/benchmarks/contextWindowScalingCorpus.test.ts` using the production
|
|
14
|
+
raw-full-file baseline and `countEstimatedTokens`.
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
// Scale-only filler (tier-1). Ordinary catalog data for a carrier depot listing.
|
|
2
|
+
// It is unrelated to every task under src/tasks and exists only to add repository context.
|
|
3
|
+
|
|
4
|
+
export interface CarrierDepotRecord01 {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
capacity: number;
|
|
8
|
+
priority: number;
|
|
9
|
+
active: boolean;
|
|
10
|
+
notes: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const carrierDepotRecords01: readonly CarrierDepotRecord01[] = [
|
|
14
|
+
{
|
|
15
|
+
id: "car-01-001",
|
|
16
|
+
label: "central annex 1",
|
|
17
|
+
capacity: 84,
|
|
18
|
+
priority: 3,
|
|
19
|
+
active: false,
|
|
20
|
+
notes: "granite carrier depot entry reviewed in cycle 5"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
id: "car-01-002",
|
|
24
|
+
label: "granite annex 2",
|
|
25
|
+
capacity: 62,
|
|
26
|
+
priority: 3,
|
|
27
|
+
active: false,
|
|
28
|
+
notes: "central carrier depot entry reviewed in cycle 1"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: "car-01-003",
|
|
32
|
+
label: "northern annex 3",
|
|
33
|
+
capacity: 64,
|
|
34
|
+
priority: 2,
|
|
35
|
+
active: false,
|
|
36
|
+
notes: "eastern carrier depot entry reviewed in cycle 5"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: "car-01-004",
|
|
40
|
+
label: "northern hall 4",
|
|
41
|
+
capacity: 12,
|
|
42
|
+
priority: 5,
|
|
43
|
+
active: false,
|
|
44
|
+
notes: "northern carrier depot entry reviewed in cycle 9"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
id: "car-01-005",
|
|
48
|
+
label: "granite hall 5",
|
|
49
|
+
capacity: 64,
|
|
50
|
+
priority: 1,
|
|
51
|
+
active: false,
|
|
52
|
+
notes: "northern carrier depot entry reviewed in cycle 9"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: "car-01-006",
|
|
56
|
+
label: "central hall 6",
|
|
57
|
+
capacity: 16,
|
|
58
|
+
priority: 2,
|
|
59
|
+
active: false,
|
|
60
|
+
notes: "northern carrier depot entry reviewed in cycle 9"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: "car-01-007",
|
|
64
|
+
label: "central annex 7",
|
|
65
|
+
capacity: 58,
|
|
66
|
+
priority: 5,
|
|
67
|
+
active: false,
|
|
68
|
+
notes: "granite carrier depot entry reviewed in cycle 5"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: "car-01-008",
|
|
72
|
+
label: "northern row 8",
|
|
73
|
+
capacity: 50,
|
|
74
|
+
priority: 4,
|
|
75
|
+
active: false,
|
|
76
|
+
notes: "granite carrier depot entry reviewed in cycle 1"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
id: "car-01-009",
|
|
80
|
+
label: "northern hall 9",
|
|
81
|
+
capacity: 14,
|
|
82
|
+
priority: 3,
|
|
83
|
+
active: false,
|
|
84
|
+
notes: "granite carrier depot entry reviewed in cycle 5"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
id: "car-01-010",
|
|
88
|
+
label: "northern hall 10",
|
|
89
|
+
capacity: 48,
|
|
90
|
+
priority: 3,
|
|
91
|
+
active: false,
|
|
92
|
+
notes: "central carrier depot entry reviewed in cycle 1"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
id: "car-01-011",
|
|
96
|
+
label: "central hall 11",
|
|
97
|
+
capacity: 26,
|
|
98
|
+
priority: 3,
|
|
99
|
+
active: false,
|
|
100
|
+
notes: "northern carrier depot entry reviewed in cycle 1"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
id: "car-01-012",
|
|
104
|
+
label: "granite row 12",
|
|
105
|
+
capacity: 66,
|
|
106
|
+
priority: 4,
|
|
107
|
+
active: false,
|
|
108
|
+
notes: "northern carrier depot entry reviewed in cycle 5"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
id: "car-01-013",
|
|
112
|
+
label: "riverside row 13",
|
|
113
|
+
capacity: 24,
|
|
114
|
+
priority: 5,
|
|
115
|
+
active: false,
|
|
116
|
+
notes: "central carrier depot entry reviewed in cycle 9"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
id: "car-01-014",
|
|
120
|
+
label: "granite hall 14",
|
|
121
|
+
capacity: 88,
|
|
122
|
+
priority: 2,
|
|
123
|
+
active: false,
|
|
124
|
+
notes: "northern carrier depot entry reviewed in cycle 5"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
id: "car-01-015",
|
|
128
|
+
label: "northern hall 15",
|
|
129
|
+
capacity: 28,
|
|
130
|
+
priority: 3,
|
|
131
|
+
active: false,
|
|
132
|
+
notes: "northern carrier depot entry reviewed in cycle 1"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
id: "car-01-016",
|
|
136
|
+
label: "granite row 16",
|
|
137
|
+
capacity: 96,
|
|
138
|
+
priority: 1,
|
|
139
|
+
active: false,
|
|
140
|
+
notes: "northern carrier depot entry reviewed in cycle 1"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
id: "car-01-017",
|
|
144
|
+
label: "northern row 17",
|
|
145
|
+
capacity: 68,
|
|
146
|
+
priority: 1,
|
|
147
|
+
active: false,
|
|
148
|
+
notes: "central carrier depot entry reviewed in cycle 1"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
id: "car-01-018",
|
|
152
|
+
label: "northern annex 18",
|
|
153
|
+
capacity: 98,
|
|
154
|
+
priority: 3,
|
|
155
|
+
active: false,
|
|
156
|
+
notes: "northern carrier depot entry reviewed in cycle 5"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
id: "car-01-019",
|
|
160
|
+
label: "granite hall 19",
|
|
161
|
+
capacity: 52,
|
|
162
|
+
priority: 1,
|
|
163
|
+
active: false,
|
|
164
|
+
notes: "granite carrier depot entry reviewed in cycle 1"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
id: "car-01-020",
|
|
168
|
+
label: "northern hall 20",
|
|
169
|
+
capacity: 70,
|
|
170
|
+
priority: 5,
|
|
171
|
+
active: false,
|
|
172
|
+
notes: "central carrier depot entry reviewed in cycle 5"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
id: "car-01-021",
|
|
176
|
+
label: "northern row 21",
|
|
177
|
+
capacity: 30,
|
|
178
|
+
priority: 5,
|
|
179
|
+
active: false,
|
|
180
|
+
notes: "central carrier depot entry reviewed in cycle 5"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: "car-01-022",
|
|
184
|
+
label: "central hall 22",
|
|
185
|
+
capacity: 34,
|
|
186
|
+
priority: 1,
|
|
187
|
+
active: false,
|
|
188
|
+
notes: "northern carrier depot entry reviewed in cycle 9"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
id: "car-01-023",
|
|
192
|
+
label: "central annex 23",
|
|
193
|
+
capacity: 68,
|
|
194
|
+
priority: 1,
|
|
195
|
+
active: false,
|
|
196
|
+
notes: "central carrier depot entry reviewed in cycle 5"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
id: "car-01-024",
|
|
200
|
+
label: "northern hall 24",
|
|
201
|
+
capacity: 46,
|
|
202
|
+
priority: 4,
|
|
203
|
+
active: false,
|
|
204
|
+
notes: "central carrier depot entry reviewed in cycle 9"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
id: "car-01-025",
|
|
208
|
+
label: "northern row 25",
|
|
209
|
+
capacity: 90,
|
|
210
|
+
priority: 1,
|
|
211
|
+
active: false,
|
|
212
|
+
notes: "northern carrier depot entry reviewed in cycle 9"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
id: "car-01-026",
|
|
216
|
+
label: "northern row 26",
|
|
217
|
+
capacity: 66,
|
|
218
|
+
priority: 5,
|
|
219
|
+
active: false,
|
|
220
|
+
notes: "northern carrier depot entry reviewed in cycle 5"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
id: "car-01-027",
|
|
224
|
+
label: "central annex 27",
|
|
225
|
+
capacity: 98,
|
|
226
|
+
priority: 4,
|
|
227
|
+
active: false,
|
|
228
|
+
notes: "granite carrier depot entry reviewed in cycle 1"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
id: "car-01-028",
|
|
232
|
+
label: "granite hall 28",
|
|
233
|
+
capacity: 14,
|
|
234
|
+
priority: 5,
|
|
235
|
+
active: false,
|
|
236
|
+
notes: "northern carrier depot entry reviewed in cycle 5"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
id: "car-01-029",
|
|
240
|
+
label: "central row 29",
|
|
241
|
+
capacity: 92,
|
|
242
|
+
priority: 4,
|
|
243
|
+
active: false,
|
|
244
|
+
notes: "central carrier depot entry reviewed in cycle 9"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
id: "car-01-030",
|
|
248
|
+
label: "northern row 30",
|
|
249
|
+
capacity: 30,
|
|
250
|
+
priority: 1,
|
|
251
|
+
active: false,
|
|
252
|
+
notes: "northern carrier depot entry reviewed in cycle 9"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
id: "car-01-031",
|
|
256
|
+
label: "central row 31",
|
|
257
|
+
capacity: 18,
|
|
258
|
+
priority: 4,
|
|
259
|
+
active: false,
|
|
260
|
+
notes: "central carrier depot entry reviewed in cycle 5"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
id: "car-01-032",
|
|
264
|
+
label: "granite hall 32",
|
|
265
|
+
capacity: 80,
|
|
266
|
+
priority: 5,
|
|
267
|
+
active: false,
|
|
268
|
+
notes: "granite carrier depot entry reviewed in cycle 9"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
id: "car-01-033",
|
|
272
|
+
label: "northern annex 33",
|
|
273
|
+
capacity: 36,
|
|
274
|
+
priority: 2,
|
|
275
|
+
active: false,
|
|
276
|
+
notes: "granite carrier depot entry reviewed in cycle 1"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
id: "car-01-034",
|
|
280
|
+
label: "granite row 34",
|
|
281
|
+
capacity: 68,
|
|
282
|
+
priority: 3,
|
|
283
|
+
active: false,
|
|
284
|
+
notes: "northern carrier depot entry reviewed in cycle 1"
|
|
285
|
+
}
|
|
286
|
+
];
|
|
287
|
+
|
|
288
|
+
export function findCarrierDepotRecord01(id: string): CarrierDepotRecord01 | undefined {
|
|
289
|
+
return carrierDepotRecords01.find((record) => record.id === id);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export function listCarrierDepotActiveRecords01(): CarrierDepotRecord01[] {
|
|
293
|
+
return carrierDepotRecords01.filter((record) => record.active);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export function totalCarrierDepotCapacity01(): number {
|
|
297
|
+
return carrierDepotRecords01.reduce((sum, record) => sum + record.capacity, 0);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export function countCarrierDepotByPriority01(priority: number): number {
|
|
301
|
+
return carrierDepotRecords01.filter((record) => record.priority === priority).length;
|
|
302
|
+
}
|