Skip to content

Request: Fix geopandas req, update instructions/code for visualizing results #12

@kaustavha

Description

@kaustavha

Hi there! Really interesting project. We unfortunately couldnt spend enough time on this before the submission period expired :(
We also used google collaboratory and infura, which made the setup a lot easier.

Are there any plans on releasing a similar contract on a test-net for users to practice against?

Also had some requests:

  • Could you please fix the requirements.txt file? The new geopandas req needs an extra = sign:
Invalid requirement: 'geopandas=0.3.0'
= is not a valid operator. Did you mean == ?
  • Could we please get the python code or instructions on what function calls on the contract are still valid and which ones expire when? We noticed the get_train_data call didnt work at one point but works again now (maybe mistake on our end), and model_accuracy doesnt work now:
BadFunctionCallOutput: Could not decode contract function call model_accuracy return data b'' for output_types ['int256']

I'm guessing on recent commits here that only the get_datapoint_pred function would need to be changed to reference the local stashed file instead right?

  • You can add solidity highlighting to show up on github by adding a .gitattributes file in the root with *.sol linguist-language=Solidity. That would make reading the danku.sol contract much easier for people encountering it just now.

  • On new linux instances (as in the case of using Googles collaboratory) we need a few more pre-requisites:

!apt-get install libffi-dev g++ libssl-dev libtool autoconf

cc @ClairHu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions