Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

README example: Uses `examples/utils` instead of `diffcp.utils`

Open
#7 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start with the README example and examples/utils.py, where random_cone_prog is currently defined, then inspect diffcp's package exports. Move the utility as proposed and expose it through diffcp.utils so the README example runs from the package path.

Written by the indexing model from the issue text.

Description

The example in the readme uses diffcp.utils.random_cone_prog which is actually defined here: https://github.com/cvxgrp/diffcp/blob/cbea99715974e36050232d20ff22c38bb92ea91f/examples/utils.py

Perhaps the easiest solution here is to move this inside of diffcp.utils and then add the utils import to __init__ so the example in the README runs?

Dominant language
Python
Stars
121
Forks
26
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cvxgrp/diffcp

All issues in cvxgrp/diffcp

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.