feature/resource-deltas-founding-date-multi-chain #18
No reviewers
Labels
No labels
Compat/Breaking
Compat/Deprecation
Kind
Bug
Kind
Chore
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
Investigation
Kind
Question
Kind
Security
Kind
Testing
Meta/Good First Issue
Meta/Help Wanted
Meta/Stale
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Status/Needs Triage
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
XeplosionGames/minecraft-provider-analysis!18
Loading…
Reference in a new issue
No description provided.
Delete branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What changed and why
Implements three related capture-model improvements, discussed and confirmed
before building:
Resource quantification for add-ons (issue #3). Add-ons that grant more
of a resource tracked elsewhere (RAM, storage, backup capacity, instance
slots) could previously only describe that in free-text
notes, making anoffering's effective total (base + purchased add-ons) uncomputable
downstream. Added
addon.resource_deltas— a closed-vocabulary map ofresource → increase amount — plus
instance_slotsas a newconfigvocabulary entry (needed regardless of add-ons, since multi-instance-panel
providers like BisectHosting had no field for baseline instance count at
all). Non-quantitative grants (Discord perks, vanity subdomains) still stay
in
notes.Optional founding date / earliest review date (issue #4). Added
provider.founding_dateandprovider.reviews.earliest_review_date, bothnullable ISO dates. Two separate raw fields rather than one merged
"estimate" object, consistent with how the rest of the schema keeps raw
facts separate (e.g.
complies_with_guidelines/compliance_notes).earliest_review_dateserves as a lower-bound proxy when founding date isunstated/undiscoverable.
Multiple main/flagship offerings per line (issue #5).
is_main_offeringwas never schema-constrained — the "at most one true per line" limit was
purely a misleading schema description string plus the capture-form's own
client-side check. Removed the check, corrected the description, since
providers sometimes genuinely co-emphasize multiple offerings equally.
All three schema additions are optional/nullable and not in any
requiredarray, so every existing provider file remains valid unmodified — no
migration needed.
Related issues
Closes #3
Closes #4
Closes #5
How to test
pytest— 71 tests, all should pass unmodified against the updatedschema (purely additive changes).
Configuration section — confirm an "Instance slots" field appears.
offering" — confirm no validation error is raised (previously blocked
at "more than one offering marked main").
resource" — confirm a grid of 8 resource fields appears, and that
filling in only some of them (e.g. just
instance_slotsandstorage_gb) omits the rest from the saved JSON rather than writingthem as zero.
fill in "Earliest review date" — save, reopen the file, confirm both
values persisted.
capture-validate(or againstschema/provider-schema-v2.3.jsondirectly) and confirm it passes.Checklist
Release notes
Add optional founding-date and earliest-review-date fields, structured resource_deltas for add-ons, an instance_slots config field, and allow multiple offerings to be marked main/flagship per product line.