Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* #701 - Update PredictoorSS to include prediction feeds and the data sources for training these feeds (#828) * Trimming apart old implementation * Make predict_feed an array * Rename to predict_feeds * MultiFeedMixin * Update key to feeds * Update structure * Update verify_feed_dependencies for multiple feeds * Create PredictFeedMixin * PredictFeedMixin test * parse_feed_obj func and fixes * test_parse_feed_obj and multi predict feeds * pred_submitter_mgr property * Convert PredictoorSS to PredictFeedMixin * Formatting * Update predictoor_ss_test_dict * Add prepare_stakes function * Break on cutoff * Update check balances to check contracts * Load pred_submitter_mgr_addr * Update take_step and remove unused funcs * Add PredictFeed and PredictFeeds classes * add feeds property * Update predictoor_ss_test_dict * Update predictoor ss tests * convert to str * Add feeds_str and fixes * Update keys * Black * Fixes * Black * Enforce typing and fixes * Type fixes * Type fixes * Fix & update ppss tests * Formatting * Feeds structure * Remove removed functions tests * enable assert attributes * Use list * Set submitter addr * Update sim engine * Update sim engine test * Update feed list * Update AI model factory tests * Use PredictFeeds * Return PredictFeeds * Use argfeed * BLack * PredictFeed update to have 1 -> N * Fix test * feeds_list func for comparison * Single predict feed * Enforce types * Usel ist * Set self.feeds and remove extra properties * Call to_list * Fix tests for single predict feed * Black * Update tests for single pred feed and structure * Add feeds property back * Update tests to support new structure and single pred feed * Fix check network tests * Fix mock args * Black * Replace all, arg fix * Fix args * Fix tests * Update dict * Update dict * Black * create_xy on given feeds * Add filter_feeds_from_candidates to mixin * Fallback to ss.feeds * Formatting * Linter * Linter * Revert "#701 - Update PredictoorSS to include prediction feeds and the data s…" (#878) This reverts commit ac6899b. * #701 - Multi Feed Predictions and PredSubmitter in Predictoor Agent (#855) * Trimming apart old implementation * Make predict_feed an array * Rename to predict_feeds * MultiFeedMixin * Update key to feeds * Update structure * Update verify_feed_dependencies for multiple feeds * Create PredictFeedMixin * PredictFeedMixin test * parse_feed_obj func and fixes * test_parse_feed_obj and multi predict feeds * pred_submitter_mgr property * Convert PredictoorSS to PredictFeedMixin * Formatting * Update predictoor_ss_test_dict * Add prepare_stakes function * Break on cutoff * Update check balances to check contracts * Load pred_submitter_mgr_addr * Update take_step and remove unused funcs * Add PredictFeed and PredictFeeds classes * add feeds property * Update predictoor_ss_test_dict * Update predictoor ss tests * convert to str * Add feeds_str and fixes * Update keys * Black * Fixes * Black * Enforce typing and fixes * Type fixes * Type fixes * Fix & update ppss tests * Formatting * Feeds structure * Remove removed functions tests * enable assert attributes * Use list * Set submitter addr * Update sim engine * Update sim engine test * Update feed list * Update AI model factory tests * Use PredictFeeds * Return PredictFeeds * Use argfeed * BLack * PredictFeed update to have 1 -> N * Fix test * feeds_list func for comparison * Single predict feed * Enforce types * Usel ist * Set self.feeds and remove extra properties * Call to_list * Fix tests for single predict feed * Black * Update tests for single pred feed and structure * Add feeds property back * Update tests to support new structure and single pred feed * Fix check network tests * Fix mock args * Black * Replace all, arg fix * Fix args * Fix tests * Update dict * Update dict * Black * create_xy on given feeds * Add filter_feeds_from_candidates to mixin * Fallback to ss.feeds * Formatting * Linter * Linter * Add missing import * Add get_predict_feed func * Add PredictionSlotsData class * Multi slot support * Fixes, ready to predict * Argpair attributes * Payout function and todos * Todo sim engine * Add minimum_timeframe_seconds func * Add get_min_epoch_s_left to predictoor agent * Fix balance check test * Fix empty init test * Add mock functions * Fix test_predictoor_agent_calc_stakes2_1feed test * Move pred_submitter_mgr to ganache conftest * Pass in pred_submitter_mgr * Pass in pred_submitter_mgr between mocks * pred_submitter_mgr test dict * Fix test_predictoor_agent_calc_stakes2_2feeds test * Make optional * Fix tests * Chain id attr * Comment out sanity checks * Update wait_for_transaction_receipt mock * Black formatting * Add pair_str * Update sim engine for single predict feed * Update sim engine tests * Update sim engine to include feed in MultisimEngine initialization * Formatting * Update sim engine to include feed in MultisimEngine initialization * Formatting * Resolve linter issues * Implementing unique epoch * Add min_epoch_seconds func * Remove removed vars * Black Formatting * Linter * Final touchups * Rename to get * Todo * Fix system test predictoor * Formatting * fix mypy errors * Transfer automatically * Compile * Approve tokens * Fix token transfer issue in PredSubmitterMgr.sol * Compiled contract * Update test * Black * Add info * Fix .exchange * Fix order * make it more explicit * Update predictoor docs * Update cli help * Update * Update docs * Remove unused variable * Use logger.info * Test PredictFeed and parse_feed_obj * Add tests for PredictFeeds * Formatting * Remove cutoff seconds * Remove cut_off * Update mock func name * Formatting * Resolve linter issues and bugs * Update todo comment * Linter * Remove types * Formatting * Improve docs * Quotes * Remove 1s * Add log message * Fix typo * Fix assert * Fix typo * Refactor aimodel_data_factory.py to handle feeds and x_dim_len dynamically
- Loading branch information