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

[Book] Examples #32

Closed
Tracked by #18
dmirgaleev opened this issue Sep 25, 2024 · 29 comments · Fixed by #85
Closed
Tracked by #18

[Book] Examples #32

dmirgaleev opened this issue Sep 25, 2024 · 29 comments · Fixed by #85
Assignees
Labels
difficulty: hard documentation Improvements or additions to documentation good first issue Good for newcomers ODHack8

Comments

@dmirgaleev
Copy link
Member

Add a documentation page containing a list of reference test files, namely:

  • Cairo sources
  • Execution artifacts (trace, memory, input, output)
  • Prover parameters & config
  • Proof

It also has to contain a brief description of what the program does, its arguments (if applicable).

Path to your markdown file: docs/pages/examples.md

References:

@dmirgaleev dmirgaleev added documentation Improvements or additions to documentation good first issue Good for newcomers ODHack8 difficulty: medium labels Sep 25, 2024
@raizo07
Copy link
Contributor

raizo07 commented Sep 25, 2024

Can I work on this

Copy link

onlydustapp bot commented Sep 25, 2024

Hi @raizo07!
Maintainers during the ODHack # 8.0 will be tracking applications via OnlyDust.
Therefore, in order for you to have a chance at being assigned to this issue, please apply directly here, or else your application may not be considered.

@martinvibes
Copy link

martinvibes commented Sep 25, 2024

hello @dmirgaleev i am a blockchain developer and a technical writer
please can i work on this issue :) and would love to be a contributor

here are some of the docs i have writting:
https://github.com/cairo-book/cairo-book/blob/main/src/ch16-05-01-price-feeds.md
https://github.com/bandada-infra/bandada/blob/main/README.md
https://github.com/lfglabs-dev/starknet.quest/blob/testnet/docs/CONTRIBUTING.md

please assign me :)

Copy link

onlydustapp bot commented Sep 25, 2024

Hi @martinvibes!
Maintainers during the ODHack # 8.0 will be tracking applications via OnlyDust.
Therefore, in order for you to have a chance at being assigned to this issue, please apply directly here, or else your application may not be considered.

@vestor-dev
Copy link

hello @dmirgaleev i am a technical writer please can i work on this issue :) and would love to be a contributor

here are some of the docs i have writting:
https://github.com/cairo-book/cairo-book/blob/main/src/ch16-05-01-price-feeds.md

Copy link

onlydustapp bot commented Sep 26, 2024

Hi @martinvibes!
Maintainers during the ODHack # 8.0 will be tracking applications via OnlyDust.
Therefore, in order for you to have a chance at being assigned to this issue, please apply directly here, or else your application may not be considered.

@pheobeayo
Copy link

pheobeayo commented Sep 26, 2024

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

I am a web3 frontend developer and Technical writer skilled in Typescript, Javascript, Solidity, Cairo and Rust. I also do lots off documentations on Readme files. This will help me in carrying out this task seamlessly. I have contributed to open source projects like Stark Quest

How I plan on tackling this issue

  • I will read through the sources files provided and understand the extend of the documentations.
  • I will explain what the program does and implement that in the documentation.

@Osatuyi
Copy link

Osatuyi commented Sep 26, 2024

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

Can I be assigned this

How I plan on tackling this issue

I can do this

@CollinsC1O
Copy link
Contributor

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

@dmirgaleev can I work on this please

@Benjtalkshow
Copy link

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

I’m Benjamin, and I’m excited to work on adding a new documentation page for our project that will list reference test files. Since joining OnlyDust, I’ve made 18 contributions, and I’m confident in my documentation skills, so I believe I can make this page very useful for our community.

How I plan on tackling this issue

The goal is to set up a page that lists various test files.
Here’s what I plan to include:

  • Cairo Sources: The actual code for the Cairo programs.
  • Execution Artifacts: This will cover traces, memory data, and input/output files to show how the programs run.
  • Prover Parameters & Config: Details about the settings used when running the programs.
  • Proof: The proof generated from each Cairo program.
    I’ll make sure each entry has a simple description explaining what the program does and any arguments it might take. This way, users can quickly get the hang of what each program is about.

I’ll save this new markdown file in the docs/pages/examples.md path to keep everything organized.

To help me gather all the info and examples,
I’ll check out these resources:

  1. DipDup Stone Packaging Test Files: This repository has a bunch of useful test files we can feature.

  2. Stone Prover Repository: This one offers great tips on creating and verifying proofs for Cairo programs.

  3. Once I put together all the reference test files and fill out the documentation, I’ll review everything to make sure it’s clear and easy to understand. Then, I’ll share it with you for feedback, so we can ensure it really meets the needs of what its meant for.

@0xdevcollins
Copy link
Contributor

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

My name is Collins Ikechukwu. I'm a full stack blockchain developer developer.amd a technical writer

How I plan on tackling this issue

  1. Create a Documentation Page
    Start by creating a new markdown file at the specified path:
    docs/pages/examples.md

  2. List Reference Test Files
    On the page, list reference test files that include:

    • Cairo sources
    • Execution artifacts (trace, memory, input, output)
    • Prover parameters & config
    • Proof
  3. Brief Program Descriptions
    For each program, include a brief description that explains:

    • What the program does
    • Any arguments it accepts (if applicable)
  4. Use Existing References
    Refer to existing test files and examples from:

@Benjtalkshow
Copy link

@dmirgaleev Thanks will begin working asap

@dmirgaleev
Copy link
Member Author

Hello @Benjtalkshow! Welcome aboard! Please don't hesitate to join our Telegram group https://t.me/baking_bad_odhack to ask questions and share your progress! Happy hacking!

@Benjtalkshow
Copy link

Hello @Benjtalkshow! Welcome aboard! Please don't hesitate to join our Telegram group https://t.me/baking_bad_odhack to ask questions and share your progress! Happy hacking!

Alright. Thanks

@dmirgaleev
Copy link
Member Author

Friendly heads up that you have until Sunday (October 6) to push your final PR. @Benjtalkshow

@Benjtalkshow
Copy link

Friendly heads up that you have until Sunday (October 6) to push your final PR. @Benjtalkshow

Alright ser

@Osatuyi
Copy link

Osatuyi commented Oct 14, 2024

Can I be assigned this issue @dmirgaleev

@ShantelPeters
Copy link

Hi @dmirgaleev please can I be assigned to this issue.. I am available to work

@0xdevcollins
Copy link
Contributor

Hello @dmirgaleev, may I give this a try?

@martinvibes
Copy link

hello @dmirgaleev can i work on this issue ?
if this issue is still open

@baitcode
Copy link
Contributor

@dmirgaleev I'd love to contribute here. I understand the structure of test data and happy to document it. I can also improve on example programs (to have arguments for example)

@dmirgaleev dmirgaleev assigned dmirgaleev and baitcode and unassigned dmirgaleev Oct 28, 2024
@dmirgaleev
Copy link
Member Author

@baitcode awesome, let's go!:)

@baitcode
Copy link
Contributor

Can't start today. Will start working on Friday!

@dmirgaleev
Copy link
Member Author

No worries, no strict timelines for this

@dmirgaleev
Copy link
Member Author

Hey @baitcode! What's the status?

@baitcode
Copy link
Contributor

baitcode commented Nov 21, 2024

@dmirgaleev I've postponed it a bit, as you mentioned that timelines are not strict. Been doing cairo quests on NodeGuardian to get more acquainted with the language. I'll submit PR soon. Pardon for silence. https://nodeguardians.io/character/baitcode

baitcode added a commit to baitcode/stone-packaging that referenced this issue Nov 22, 2024
- Added comments to test basic test program
- Created a cript to generate documentation based on comments + test_files folder structure
- A bit of cleanup in test data generation scripts + support for arguments

This resolves issue dipdup-io#32
@baitcode baitcode mentioned this issue Nov 22, 2024
11 tasks
@baitcode
Copy link
Contributor

baitcode commented Nov 22, 2024

@dmirgaleev created draft PR for this issue. I think I'll finish today or the next day.

@baitcode
Copy link
Contributor

baitcode commented Nov 22, 2024

@dmirgaleev Could you, please, review? that is how result looks like

@baitcode baitcode mentioned this issue Nov 23, 2024
11 tasks
dmirgaleev pushed a commit that referenced this issue Nov 24, 2024
* - Added custom arguments to basic
- Added comments to test basic test program
- Created a cript to generate documentation based on comments + test_files folder structure
- A bit of cleanup in test data generation scripts + support for arguments

This resolves issue #32
@dmirgaleev
Copy link
Member Author

Resolved in #85

@dmirgaleev dmirgaleev linked a pull request Nov 24, 2024 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: hard documentation Improvements or additions to documentation good first issue Good for newcomers ODHack8
Projects
None yet