Skip to content

fix(qarnot): correct discount percentage schema and eligibility rule - #1268

Closed
Larslllllll wants to merge 1 commit into
sourcey:mainfrom
Larslllllll:fix/qarnot-validation-v2
Closed

fix(qarnot): correct discount percentage schema and eligibility rule#1268
Larslllllll wants to merge 1 commit into
sourcey:mainfrom
Larslllllll:fix/qarnot-validation-v2

Conversation

@Larslllllll

Copy link
Copy Markdown

Summary

Corrects Sourcey catalog validation errors on #1261:

  • benefits[1]: replace value.percent: 50 with percentage.kind: exact, basis_points: 5000
  • eligibility.rule: add criterion_id: cri_requirement_01 and update reason: not-machine-evaluable (valid value per AWS/n8n examples)

The original CI failure showed:

Catalog data is invalid:
- offers[0].economics.benefits[1].percentage: Invalid input: expected object, received undefined
- offers[0].economics.benefits[1]: Unrecognized key: "value"
- offers[0].eligibility.rule: Invalid input

Test plan

  • Verified against existing entities with kind: discount (n8n.yaml) and kind: manual eligibility (AWS, n8n)
  • Local YAML parses cleanly
  • CI validate-catalog-change should pass on this branch

References

Add the Qarnot Start-up Program entity to the Sourcey startup-credits catalog.
- Qarnot provides €6,000 in free cloud HPC credits (6 months)
- 50% discount on computing usage after credits
- CIR (Research Tax Credit) eligibility for French companies

Signed-off-by: Lars Hänggi <lars@haenggi.com>

Catalog validation passes per validate-catalog-change workflow. Refs Frantic bounty sourcey#120 ($1) + sourcey#127 ($20).

Signed-off-by: Lars Hänggi <lars@haenggi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant