Skip to content

Example games import missing ConstructFenceBias #120

Description

@niclasso07-create

Hi,

I am setting up the math-sdk from the current main branch and encountered an ImportError when trying to run the included example games.

For example:

python games\0_0_lines\run.py

fails because game_optimization.py imports:

from src.optimization.construct_fence_bias import ConstructFenceBias

However, ConstructFenceBias does not appear to exist in the SDK version referenced by requirements.txt.

The same issue also occurs when running:

python games\0_0_scatter\run.py

I searched the installed SDK source and could not find ConstructFenceBias or FenceBias.

Environment:

  • Windows
  • Python 3.12.10
  • math-sdk current main branch
  • stakeengine commit referenced by requirements.txt: 0842bb2

Is ConstructFenceBias missing from the pinned SDK version, or are the example games using an outdated/newer optimization API?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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