notebook: converge on the shared oracle/ package - #3
Open
karthikreddy-02 wants to merge 1 commit into
Open
Conversation
…tp_oracle.py Replaces the two %%writefile modules (find_equation_id.py, etp_oracle.py) with a Colab-side clone of this repo plus oracle/ on sys.path, and replaces the 1 GB SQLite edge-list database with oracle/'s 22 MB matrix (built via build_matrix.py, cached to Drive as before). The brute-force finite-magma fallback stays in-notebook, rebuilt on normalizer's AST; refute-only label semantics unchanged (incomparable/unknown only). Dataset rows now carry the oracle's evidence string, and statuses converge on the package vocabulary (mapped / outside-fragment / parse-failure). Removes the stale commented-out loop cell that still used the pre-fix weaker/stronger-from-refutation labels. Known gap vs the embedded copy: no prose-extraction retry, so outputs like 'The equation is: x ◇ y = y ◇ x' now land as parse-failure; candidate small PR to oracle/strip_noise.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the notebook's embedded oracle; it now clones the repo and imports
oracle/directly. The 1 GB SQLite DB is replaced by the package's 22 MB matrix (Drive-cached). Brute-force fallback stays in-notebook, refute-only. Dataset statuses now use the package vocabulary and include the oracle's evidence string.Verified locally against every label branch; fresh Colab run pending. Known gap: prose-wrapped outputs now land as
parse-failure(follow-up PR tostrip_noise).