-
Notifications
You must be signed in to change notification settings - Fork 2
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
**important** how to add a coq proj to a splits file json files automatically? i.e coq-proj -> coq-proj_splits.append #11
Comments
for commit: #12 |
in additions there is no _CoqMake, there is a Make. Might need to port some of these. |
to be safe cd to the coq projs (as I did in my python scripts)
Goal is to make a single
then we can "remake" all of coq-gym from proverbot and test the addition of a new coq-proj with the above code that checks the things inside that coq-proj, create a copy/git clones it etc according to the list at the top. End result is a _CoqMake with a coq_proj.lf with all dependencies. Figure out how to remove the configure command Note, this makes most of the fields in proverbot's splits.json not needed anymore -- except for the train_files & test_files -- which is all that is needed in those files now. Unless we mark in the coq_proj.opam folder if it's a train or test project in the case no more .json files are needed. If you see my above comment I choose this because it's 1. simpler to build + 2. it tests for a harder generalization setting. You can just re-train on EVERYTHING once you deploy it in practice. Or fine tune + (add the tokens too) on the test scripts so that it knows those files. |
splits:
note: what is the difference btw build & install in a opam file? https://discuss.ocaml.org/t/what-is-the-difference-between-a-build-command-and-an-install-command-in-an-proj-opam-file/10966 Can opam files have arbitrary stuff? https://discuss.ocaml.org/t/can-i-have-arbitrary-text-fields-in-a-proj-opam-file-can-it-be-converted-to-json-too-if-i-want/10967 |
Edit to plan:
Summary of APISo two main functions (note benchmark == coq_projs):
Vocabulary:
Files to manageGoal is to have everything in 1 place if possible. For now I think we can get away with 3 files (hope is 1 file eventually & push to my repo all the time so everything is reproducible in a good state):
|
For the sake of an example, here is VPs lf.opam file:
opam install calls build then install: https://discuss.ocaml.org/t/what-is-the-difference-between-a-build-command-and-an-install-command-in-an-proj-opam-file/10966 extra fields in .opam file: https://opam.ocaml.org/doc/Manual.html#opamfield-extra-fields, https://discuss.ocaml.org/t/can-i-have-arbitrary-text-fields-in-a-proj-opam-file-can-it-be-converted-to-json-too-if-i-want/10967/2 .opam -> .json: idk how yet https://discuss.ocaml.org/t/can-i-have-arbitrary-text-fields-in-a-proj-opam-file-can-it-be-converted-to-json-too-if-i-want/10967/2 |
(extra, start of from the opam file if it already exists, try to not do extra work if the coq_proj already "works" i.e. installs and I can get data from it) |
what about making .opam files automatically for coq? |
Goal:
coq-proj -> coq-proj_splits.append
echo "eval \"$(opam env --set-switch --switch=$SWITCH)\"" >> coq-projects/$project/make.sh
The text was updated successfully, but these errors were encountered: