Skip to content

Subgraph enumeration can overflow u32 #49

Open
@jdaymude

Description

@jdaymude

When attempting to run a dataset benchmark on coconut_220, three molecules cause ORCA-naive (i.e., ORCA with --no-bounds) to panic : 0161.mol, 0166.mol, and 0185.mol. To reproduce the error:

> cargo build --release
> ./target/release/orca data/coconut_220/0161.mol --no-bounds
thread 'main' panicked at src/assembly.rs:315:66:
called `Result::unwrap()` on an `Err` value: TryFromIntError(())
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
> ./target/release/orca data/coconut_220/0166.mol --no-bounds
thread 'main' panicked at src/assembly.rs:315:66:
called `Result::unwrap()` on an `Err` value: TryFromIntError(())
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
> ./target/release/orca data/coconut_220/0185.mol --no-bounds
thread 'main' panicked at src/assembly.rs:315:66:
called `Result::unwrap()` on an `Err` value: TryFromIntError(())
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

(Unfortunately, these are all fairly slow to run, apologies if you're trying to reproduce.)

For the record, ORCA-naive successfully computes the assembly indices of all other molecules in coconut_220, and no errors occur for any molecules at all when using any of the bounds (log, integer chain, vector chain).

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions