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

Adjustments of OnDemand API requests. Change API documentation. Improve the DD fetching. #387

Merged
merged 41 commits into from
Feb 12, 2025

Conversation

Arrmlet
Copy link
Collaborator

@Arrmlet Arrmlet commented Feb 12, 2025

Release 1.7.8: API improvements, Direct data querying. Update on new task On-Demand Data Streaming.

Hello @dataverse・13! We are excited to announce the latest update that adds on-demand data streaming capabilities to SN13! This feature allows validators to request small chunks of data (<1k rows) from miners through the API. Miners, please read! This contains scoring information for the new task.

Key Features

On-Demand Data Streaming

  • Validators can request data directly from top miners
  • Supports both X (Twitter) and Reddit data sources
  • Built-in validation and reward system

API Bucket quering

  • Validators can request any timebucket from the network via API.

*New Scoring Info for Miners*

  • Pre-implemented on-demand handling in miner template
  • Freedom to customize scraping implementations
  • Automatic reward system:
  • Top 50% miners by trust participate in validation
  • 50% chance of validation per request
  • Successful validation: +0.1% credibility boost
  • Failed validation: 1% credibility decrease
    here we will include a link to scoring.md that in dev

Other Updates:

HF Updates:

  • Added miner hotkey and UID in Hugging Face scoring logs.

Dynamic Desirability Updates:

  • Added endpoint to validator API to get the latest unscaled JSON desirability submission for a given hotkey.
    • If no hotkey is specified, returns the current total dynamic list used by the validator.
  • Used subtensor.commit to update retrieval and upload functions to be compatible with dTao update.
  • Small config change to MinerEvaluator to be compatible with dTao update.
  • Increased total label scale factor pool for the dynamic list to 100.
    • (All dynamically incentivized labels across all validators will have their scale factors add up to 100).
  • Added JSON formatting when displaying current dynamic desirability list for readability improvements in wandb logs.

Arrmlet and others added 30 commits January 29, 2025 14:45
Add  get_desirabilites endpoint  to retrieve the current list of desirabilities in the network.
fix: setting and retrieving dynamic desirabilities on api with new chain updates.
increase max label scale factor from 36 to 100
@chai-amy chai-amy self-requested a review February 12, 2025 21:09
@Arrmlet Arrmlet merged commit 2b25e68 into main Feb 12, 2025
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.

2 participants