History log of /ontohub/app/models/proof_attempt.rb
Revision Date Author Comments Expand
5a102b3c56d4ac75632c7e9244ee0ce5bdbbf13a 01-Jul-2016 Sascha Graef <sgraef@informatik.uni-bremen.de>

Improve locId (#1618) * introduce new model to ontohub * introduce new locid behavior * adding try to prevent undefined method for nil * generate the locids by object creation * introduce method to simulate an attribute * generate Locids correctly for ontologies * correct creation of child_ontology locids * remove old uniqueness validation for ontology locid * use better names vor locidportion * correct behaviour for locid creation * generate loc_id correctly for ontology * use correct class for inherritanc * remove locids on deletion of objects * rename the base model * introduce data-migration to move the locids * remove double naming in the cat ontology * obey hound * correct behaviour of external repository for locid * change factory behaviour for locid * fix missing comma * begin to fix test * change ontology factory to new locid * change factories for new LocId Model * remove unneeded test * Use proper class retrieval in factories. * Always use to_s on the class call in LocIdBaseModel. * Always use .class.to_s instead of .class when used for the database. * Fix external repository. * Be clean and unstub again. * Fix sentence factory. * Quick fix the destruction of locids. * Fix code style. * Generate locids during create process: Base class. * Generate locids during create process: Mapping. * Generate locids during create process: Sentence. * Generate locids during create process: Symbol. * Generate locids during create process: ProofAttempt. * Generate locids during create process: ProverOutput. * Generate locids during create process: Ontology #1. * Generate locids during create process: Ontology #2. * Generate locids during create process: Ontology #3. * Generate locids during create process: Factories. * Fix seeds errors. * Fix ontology spec on error while parsing The ontology needs to be reloaded because sidekiq does so as well. It always fetches a fresh record from the database. The test failed before because `NodeEvaluationHelper#clean_ontology` called destroy on all the ontology's symbols which existed in the object, but were not really persisted because of an aborted transaction. * Remove redundant space. * Move comment to the correct line. * Fix worker_spec In the production code, the locid is never set before saving the ontology. * Add gems pry-stack_explorer, awesome_print for debugging purposes. * Only start hets if there was a hets error and rollback the changes. * Destroy dependent prover output. * Fix ProofAttempt factory. * Rename assorted_object to specific and fix migration. * Fix migration code style. * Reanalyze ontologies with duplicate locids. * Fix code style. * Remove redundancies. * Remove useless association. * Obey Hound. * Directly query in the LocIdBaseModel. * Add locid routing feature. * Cache LocId query results This should speed up the routing in a great extent. For each matching `specified_get`, the LocIdRouterConstraint fetched the element once from the database. This resulted in 8 times the same SQL query for a ProofAttempt. The implemented cache reduces this to a single query. * Clear the elements cache periodically to prevent memory leaks. * Add missing dependent: :destroy. * Add Recreating repository feature. * Combine if statements. * Change Given to When. * Catch ambiguous locid error. * Fix i18n key usage. * Fix code style. * Comment on error suppression. * Add spec for Syntax Error. * Use single-quoted strings. * Fix error message check: language. * Keep parameter assignment DRY. * Rename RecreatingRepository feature to Repository. * Use local_variable_get instead of eval. * Change locid column type to text. * Implement (implicit) down-migration. * Implement (explicit) down migration. * Add migration to create missing locids. * Fix nil error. * Really fix nil error. * Fix migration. * Fix sentence migration accessing association. * Force old Mappings to have a name. * Add missing locids to symbols.

/ontohub/Gemfile /ontohub/Gemfile.lock loc_id.rb loc_id_base_model.rb mapping.rb ontology.rb ontology/associations_and_attributes.rb ontology/class_methods_and_scopes.rb ontology/mappings.rb ontology/sentences.rb ontology/symbols.rb ontology/validations.rb ontology_member/symbol.rb proof_attempt.rb prover_output.rb sentence.rb /ontohub/config/locales/en.yml /ontohub/db/data/20160310132620_move_loc_id_to_own_model_data.rb /ontohub/db/migrate/20160110133824_create_loc_ids.rb /ontohub/db/migrate/20160310132618_enter_name_for_mappings.rb /ontohub/db/migrate/20160310132619_create_missing_locids.rb /ontohub/db/migrate/20160310132620_move_loc_id_to_own_model.rb /ontohub/db/seeds/040-git.rb /ontohub/features/LocId.feature /ontohub/features/LocIdRouting.feature /ontohub/features/Repository.feature /ontohub/features/step_definitions/loc_id_routing_steps.rb /ontohub/features/step_definitions/loc_id_steps.rb /ontohub/features/step_definitions/repository_steps.rb /ontohub/features/support/env.rb /ontohub/lib/external_repository.rb /ontohub/lib/hets/dg/node_evaluation_helper.rb /ontohub/lib/hets/dg/node_evaluator.rb /ontohub/lib/hets/errors.rb /ontohub/lib/ontology_saver.rb /ontohub/lib/permissionable.rb /ontohub/lib/router_constraints.rb /ontohub/spec/controllers/api/v1/proof_attempts_controller_spec.rb /ontohub/spec/controllers/api/v1/prover_outputs_controller_spec.rb /ontohub/spec/factories/axiom_factory.rb /ontohub/spec/factories/mapping_factory.rb /ontohub/spec/factories/mapping_version_factory.rb /ontohub/spec/factories/ontology_factory.rb /ontohub/spec/factories/proof_attempt_factory.rb /ontohub/spec/factories/sentence_factory.rb /ontohub/spec/factories/symbol_factory.rb /ontohub/spec/factories/theorem_factory.rb /ontohub/spec/fixtures/ontologies/casl/sentence_and_symbol_with_same_name.casl /ontohub/spec/hets_helper.rb /ontohub/spec/lib/ontology_batch_parse_worker_spec.rb /ontohub/spec/lib/worker_spec.rb /ontohub/spec/models/ontology_spec.rb /ontohub/spec/models/ontology_version/parsing_spec.rb /ontohub/spec/support/common_helper_methods.rb /ontohub/spec/support/fixtures_generation/pipeline_generator.rb
24c99038b338f4b04165e141fdde5ac628b6a77a 17-Jan-2016 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add missing dependent: :destroy.

4c77a4730a0f49a0c61423da62f60568652d3d2c 06-Nov-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Remove unused method prove_options_from_configuration.

83e9a33dffce5818f636c7b045311cf122a34679 02-Nov-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Change delegates to has_* ActiveRecord relations.

353f5670601cd45216a420745dded50a73ac5616 02-Nov-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Remove unused method.

905b6df701bc9f0b8a921c1758fd18052306fd09 22-Oct-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Only preprocess if it has not been preprocessed before.

826cc3b7365c94d05c44118c603d7a36c1974eee 26-Sep-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Revamp the theorem proof status handling.

7ea1ddbe5d4686c823b01ed40fd9df5462bee5e5 26-Sep-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Use CSAS proof status.

e54f80b4780294f106f20b800b18f045fe099ca0 15-Jul-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Use ProofExecution instead of CollectiveProofAttempt This allows us to run many proofs in parallel and simplifies the Proof class.

80d7c205926c3c8b9869082cc4eb0760e54e0aee 03-May-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Make a proof attempt retriable.

54902f4ae3e2890f79caa066c860fc5e6fc67acc 28-Apr-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add model: TacticScript.

14c7501eb3a8cfbd8ffb2f76587b50e64811fd3f 27-Apr-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Dasherize locids of ProofAttempt The part after the last // is sort of a name and like Repository#path it should contain dashes instead of being in camel-case.

4a7c98053955ca61668ed12b235ddf2fc9976142 27-Apr-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add model: ProverOutput.

83ff5d30b9f0e2da446e789b8c38733a3a563ccf 31-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Use id for routing to a proof attempt again.

9f4ecaa71ceb2eec7be34a2687cb8c3cb3441b05 31-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add routes via ProofAttempt locid.

06f9054380b4c55e26afe4631a5ea33ff48695cf 31-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add locid to ProofAttempt.

04a019698156bf5fe9ae434cc847b93a9fca5eed 31-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Set default proof status of a proof attempt.

c4bdc37c9de27abfa1d5be18008953b32457e6c4 31-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add model: ProofAttemptConfiguration.

f45268aaabe4797110ebd6baf5d99287016d8438 31-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add state to Theorem and ProofAttempt.

54a1f4b81d3db8dae3af04f4200ed7e14bf2543b 26-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Use Prover model in ProofAttempt instead its name.

2fd88efc10e9ebf955b6fa407d0216faf4a51dfb 26-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Use axioms for used_axioms.

327daafcddb2ece7d56238e5691ef7c701697203 11-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add Numbering to ProofAttempt.

0c1ce11cc01e6a77757a1e732c5738ea1706a149 11-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Obey hound.

ea52d601ca40479ec757808a8192d3d8e1ead565 11-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Wipe theorems for new ontology versions.

866c9aa341bbd88aa6747188b03f86fd324c1e43 11-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add generated axioms model and create instances When proving, usually a logic translation is applied. Such a translation can introduce sentences as axioms that were not part of the original ontology/specification/theory. Those generated axioms need to be distinguished from the original sentences.

0e8478c5b02edf94e0fa52153f46483493d0e11b 11-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Obey Hound.

06520b65b66a843c9761e7ac0b0d149f3c3a8ac3 11-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add used_theorems to ProofAttempt Because Theorem is a subclass of Sentence and we have a default scope of Sentence that excludes theorems, we need to have a second relation to get our hands on all the used axioms (sentences and theorems) of a proof.

aaca6ecef6de30842e9afb0bfb04a648a84abf5c 11-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add used axioms to proof attempt.

e200ddd4b78a4915a072095be2a2e6cac65ed333 04-Dec-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add ProofStatus model, remove STATUSES Constant. The ProofAttempt and Theorem models now rely on this new model.

b4a0129f99341fb8b1f0d724e656d339c97e9db0 04-Dec-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add first draft of Theorem and ProofStatus models.