Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: Forecasted Seed Data #3645

Open
ClaireValdivia opened this issue Oct 15, 2024 · 0 comments
Open

[Issue]: Forecasted Seed Data #3645

ClaireValdivia opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
Grant Finder Issues related to the Grant Finder

Comments

@ClaireValdivia
Copy link
Contributor

Why is this issue important?

Hoping to seed data to begin testing of forecasted grants in Grant Finder

Current State

We have not yet completed ingestion work, so we can't yet test work done on the gost side to incorporate forecasted grants into grant finder.

Expected State

We want forecasted grants that meet the following scenarios:

  • estimated post date and estimated application due date both have date values entered
  • estimated post date and estimated application due date are both blank
  • estimated post date and estimated application due date have content entered that is not a date (i.e. text that says "This is sample text")

Implementation Plan

From Ty's slack message:
It occurred to me that regardless of the timeline for those Forecast ingestion PRs, it would be useful to have some seed data for forecasted grant opportunities in dev environments. It would be great to have something like the following:
Update https://github.com/usdigitalresponse/usdr-gost/tree/main/packages/server/seeds/dev to define seed data for forecasted grants
Provide a new script in packages/server/src/scripts that seeds the database only using the forecasted grants seeds (i.e. so that not all seed data is created in the DB – just forecasted grants), which we can then run in our Staging environment for testing purposes.

Relevant Code Snippets

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Grant Finder Issues related to the Grant Finder
Projects
Status: 👀 In review
Development

No branches or pull requests

2 participants