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

Generate snapshot of SUNNY metrics for approved projects #1683

Closed
ccerv1 opened this issue Jun 20, 2024 · 7 comments
Closed

Generate snapshot of SUNNY metrics for approved projects #1683

ccerv1 opened this issue Jun 20, 2024 · 7 comments
Assignees
Labels
c:analytics Analytics and metrics partners Flag; priorities may change due to external partners

Comments

@ccerv1
Copy link
Member

ccerv1 commented Jun 20, 2024

Describe the feature you'd like to request

What I am envisioning re API:

  • Custom QGL endpoint that is maintained for ~3 months or however long we need
  • The "project registry" so to speak is effectively an attestation that contains a farcasterId and a contractAddress
  • When you call the API with a list of projects (attestationId) and metrics, you get a record for every project with its relevant metrics

Critically, there is no need for projects to create a separate project identity on Open Source Observer (eg, by making a pull request to our registry of projects). The project identity is ephemeral just for onchain summer and limited to a specific contract per FID.

Describe the solution you'd like

Working API spec is here:

Other relevant docs:

Describe alternatives you've considered

na

@github-project-automation github-project-automation bot moved this to Backlog in OSO Jun 20, 2024
@ccerv1 ccerv1 added the c:backend API and application server label Jun 20, 2024
@ccerv1 ccerv1 added this to the (f) On-chain Summer Support milestone Jun 20, 2024
@ryscheng
Copy link
Member

ya I think there are just 3 things

  • Add these artifacts to the list of all artifacts we track
  • Compute onchain_metrics_by_artifact
  • Capy any models that we want to serve via API to the database
    seems reasonable.

I think once we have a clear set of tactical steps we should replace this issue with more actionable steps

@ccerv1 ccerv1 moved this from Backlog to Up Next in OSO Jul 5, 2024
@ccerv1
Copy link
Member Author

ccerv1 commented Jul 5, 2024

Sunny Awards post
Draft list of metrics

@ccerv1
Copy link
Member Author

ccerv1 commented Jul 16, 2024

@ccerv1
Copy link
Member Author

ccerv1 commented Jul 30, 2024

@ccerv1 ccerv1 moved this from Up Next to Blocked in OSO Jul 30, 2024
@ccerv1 ccerv1 changed the title API for onchain summer Calculate metrics for onchain summer Aug 26, 2024
@ccerv1
Copy link
Member Author

ccerv1 commented Aug 26, 2024

update: this will now be satisfied via a static CSV / JSON

@ccerv1
Copy link
Member Author

ccerv1 commented Aug 28, 2024

API endpoint:

curl 'https://ezrf-impact.vercel.app/api/trpc/projects.list?input=%7B%22json%22%3A%7B%22limit%22%3A1000%2C%22cursor%22%3A0%7D%7D' \
  -H 'content-type: application/json' \
  -H 'round-id: the-sunnys' | pbcopy

@ccerv1 ccerv1 added partners Flag; priorities may change due to external partners c:analytics Analytics and metrics and removed c:backend API and application server labels Aug 28, 2024
@ccerv1 ccerv1 changed the title Calculate metrics for onchain summer Generate snapshot of SUNNY metrics for approved projects Aug 28, 2024
@ccerv1
Copy link
Member Author

ccerv1 commented Sep 23, 2024

All the analysis scripts are in the Insights repo. Here's a write-up

@ccerv1 ccerv1 closed this as completed Sep 23, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in OSO Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:analytics Analytics and metrics partners Flag; priorities may change due to external partners
Projects
Status: Done
Development

No branches or pull requests

2 participants