Dataset: F2P alch catalog (machine-readable) (Closes #6) #9

Merged
pbwraith merged 1 commits from issue-6 into main 2026-08-27 19:31:33 +02:00
Owner

Dataset: F2P alch catalog (machine-readable)

Output: codex/economy/_f2p-alch-catalog.yaml — closes #6.

Content

  • Regenerated from a live fetch of prices.runescape.wiki/api/v1/osrs/mapping + /latest at implement time (2026-08-27; date recorded in the file header + fetched:).
  • Filter applied: lowalch != null, members=false, GE buy limit >= 150 → 303 items.
  • Sorted table by buy price ascending; columns exactly as specified: item, id, buy (latest.low, per repo data-sources.md convention), sell (latest.high), limit, lowalch_price, value, net_per_cycle (= lowalch_price − buy; rune cost excluded by design — staff of fire leaves 1 nature/cast, noted in file).
  • Purpose: the "rank by cheapest/least-loss" source of truth for low-alch-f2p and low-alch-members (related: f2p-alch-catalog).

Cross-checks

  • Gold necklace (id 1654): buy 148, limit 18000, lowalch 180, value 450, net +32 — matches the verified F2P golden entry exactly.
  • YAML round-trips cleanly; every row carries the exact 8-key schema; ordering verified sorted ascending; 303 == 303.
  • python3 tools/validate.py → exit 0, 0 errors (underscore-prefixed dataset file is skipped by the validator as designed — no validator change required).
  • git diff --check clean.
## Dataset: F2P alch catalog (machine-readable) Output: `codex/economy/_f2p-alch-catalog.yaml` — closes #6. ### Content - Regenerated from a live fetch of `prices.runescape.wiki/api/v1/osrs/mapping` + `/latest` at implement time (2026-08-27; date recorded in the file header + `fetched:`). - Filter applied: lowalch != null, members=false, GE buy limit >= 150 → **303 items**. - Sorted table by buy price ascending; columns exactly as specified: `item`, `id`, `buy` (latest.low, per repo data-sources.md convention), `sell` (latest.high), `limit`, `lowalch_price`, `value`, `net_per_cycle` (= lowalch_price − buy; rune cost excluded by design — staff of fire leaves 1 nature/cast, noted in file). - Purpose: the "rank by cheapest/least-loss" source of truth for `low-alch-f2p` and `low-alch-members` (related: `f2p-alch-catalog`). ### Cross-checks - Gold necklace (id 1654): buy 148, limit 18000, lowalch 180, value 450, net +32 — matches the verified F2P golden entry exactly. - YAML round-trips cleanly; every row carries the exact 8-key schema; ordering verified sorted ascending; 303 == 303. - `python3 tools/validate.py` → exit 0, 0 errors (underscore-prefixed dataset file is skipped by the validator as designed — no validator change required). - `git diff --check` clean.
pbwraith added 1 commit 2026-08-27 10:23:11 +02:00
Generated 2026-08-27 from prices.runescape.wiki mapping + latest:
filter lowalch != null, members=false, GE limit >= 150 -> 303 items,
sorted by buy price asc. Columns: item, id, buy (latest.low), sell
(latest.high), limit, lowalch_price, value, net_per_cycle
(= lowalch_price - buy). Source of truth for least-loss ranking
referenced by low-alch-f2p / low-alch-members (related: f2p-alch-catalog).

Validator already skips underscore-prefixed dataset files (verified:
exit 0, file not counted as an entry).

Closes #6
Author
Owner

[lane2] Dataset complete — PR #9 ready for review.

Commit: 9651691 (branch issue-6, base 986fc1a)

  • File: codex/economy/_f2p-alch-catalog.yaml (+2435, 1 file, dataset — validator skips _ files as designed)

Evidence:

  • Live fetch 2026-08-27 from prices.runescape.wiki mapping + latest (fetch date recorded in fetched: and header)
  • Filter lowalch != null, members=false, limit >= 150 -> 303 items, sorted by buy asc (programmatically verified)
  • Columns exactly as specified: item, id, buy (latest.low per repo convention), sell (latest.high), limit, lowalch_price, value, net_per_cycle (= lowalch_price - buy)
  • Cross-check vs golden entry: Gold necklace id 1654 buy 148 / limit 18000 / lowalch 180 / value 450 / net +32 — matches low-alch-f2p exactly
  • YAML round-trip OK; every row carries the exact 8-key shape; python3 tools/validate.py exit 0 (0 errors); git diff --check clean

PR verified: state=open, merged=false, change list = 1 file. Leaving for manual review.

[lane2] Dataset complete — PR #9 ready for review. Commit: `9651691` (branch `issue-6`, base 986fc1a) - File: `codex/economy/_f2p-alch-catalog.yaml` (+2435, 1 file, dataset — validator skips `_` files as designed) Evidence: - Live fetch 2026-08-27 from prices.runescape.wiki `mapping` + `latest` (fetch date recorded in `fetched:` and header) - Filter lowalch != null, members=false, limit >= 150 -> **303 items**, sorted by buy asc (programmatically verified) - Columns exactly as specified: item, id, buy (latest.low per repo convention), sell (latest.high), limit, lowalch_price, value, net_per_cycle (= lowalch_price - buy) - Cross-check vs golden entry: Gold necklace id 1654 buy 148 / limit 18000 / lowalch 180 / value 450 / net +32 — matches low-alch-f2p exactly - YAML round-trip OK; every row carries the exact 8-key shape; `python3 tools/validate.py` exit 0 (0 errors); `git diff --check` clean PR verified: state=open, merged=false, change list = 1 file. Leaving for manual review.
pbwraith merged commit 79cab78786 into main 2026-08-27 19:31:33 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pbwraith/osrs-codex#9
No description provided.