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. |
121fa1cccb45153222ced021b2ccf54eac825707 |
|
19-Feb-2016 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Fix indentation. |
a7cfdb0bbc9cc7837770f04e59deee324898049b |
|
17-Jan-2016 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Set state to not_started_yet on new theorem. |
00c20e7aab09b0e6fb5f6c6b6632ef02b6f6f0cc |
|
14-Sep-2015 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Set evaluation state during parsing. |
d85d3e053a2d0da45c4e242e6807f5062a0ebab1 |
|
14-Sep-2015 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Set ProofStatus in parsing step. |
5c3cd8355db931de0dcd90a5006b495d82ed0757 |
|
14-Sep-2015 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Fixup: Add provable attribtue to Theorem. |
9bcd2b68914ea7b2fe7e356ad64cdaca04561e98 |
|
14-Sep-2015 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Add provable attribtue to Theorem. |
c73848faab44b14008b34189acc798b6cb3fd7ea |
|
03-Aug-2015 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Fix translated sentences query being too general. |
3eeb2885bb0cf65668beb55d1f3ae6e78f97f7b3 |
|
03-Aug-2015 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Use original scope on translated sentences query. |
b7ea8643496cf44ea846524a22c22eae4872cdd2 |
|
10-Jul-2015 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Move SqlHelper out of GraphStructures
We need it in several places now. |
bb90b28cdc65a2e18bda6ae833d16fc0bd48a823 |
|
24-Mar-2015 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Add and use method translated_axioms. |
9a970640e7c99cc6171fb5736b2035b188853289 |
|
24-Mar-2015 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Add has_many :axioms relation. |
7f2dad9b7bcc8a9c37626bab9d5f9c3dfa0bccbe |
|
04-Feb-2015 |
Tim Reddehase <robustus@rightsrestricted.com> |
hardset member-separator to // per loc/id def. |
510ca4e36c4fb16f11b816ef88255554874aa51f |
|
03-Feb-2015 |
Tim Reddehase <robustus@rightsrestricted.com> |
add loc/id to sentences
Additionally add mechanism to set the loc/id during
ontology-parsing. |
00c175adc24043fbcd4cd5e3769c9d13e31ff831 |
|
28-Jan-2015 |
Model Renamer <bot-rename@ontohub.org> |
Obey hound. |
335258a6512a35cb1bb18c1d1693fd35016616bd |
|
05-Jan-2015 |
Model Renamer <bot-rename@ontohub.org> |
Namespace model `Symbol` in module `OntologyMember`. |
67ea9fccbdc154cf2418f16ab8883ccfcbc77b51 |
|
05-Jan-2015 |
Model Renamer <bot-rename@ontohub.org> |
Run rename refactor script. |
a48b6df2b52c459d3abd9879c4919002cf358202 |
|
04-Dec-2014 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Add missing newline. |
3391a4cdb082ae1ccabaa96f2b53972b43ee904c |
|
04-Dec-2014 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Un-align. |
2cecff8c40ff62af965403b167f8143e1969d8ef |
|
04-Dec-2014 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Parse Theorems. |
5f75d904465f5f8e5f29c7d852ec2f16af57b03e |
|
04-Dec-2014 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Add Theorem route, controller and view. |
1df78516e07b5518ea126b1f3caebf44f49ea140 |
|
24-Jul-2014 |
Tim Reddehase <robustus@rightsrestricted.com> |
set ontology_id of translated sentence correctly
The ontology_id of translated sentence should
equal the ontology_id of the underlying sentence
and not the origin of the mapping.
This is because there could be multiple mappings
without a sentence-definition in between. |
c25fef96f425dc1ff4f747e6f340ca5a060ce865 |
|
29-Mar-2014 |
Tim Reddehase <robustus@rightsrestricted.com> |
safeguard against link being nil for translations. |
fad7ffeecda1d763c8cfc23fa86c6b68c5a7f919 |
|
29-Mar-2014 |
Tim Reddehase <robustus@rightsrestricted.com> |
refactor setting a sentence as imported
Instead of calling save again(which triggers an sql-query) we introduce
the `imported` attribute into the hash and set it in the
update_or_create_from_hash method accordingly. Also we refactor the
method to call sentences by their name (sentence), instead of `e`.
Also remove obsolete unused translate_for method. |
bd870b52ef7afb26c0c6671c5ca4a620998ff57f |
|
16-Mar-2014 |
Tim Reddehase <robustus@rightsrestricted.com> |
fix import-direction and query type
For fetching directly imported ontologies
we need to adjust the direction as well.
Also we can't use find, because that would
only return one record. |
d00e8c94110bb3f43cc6f6b5c2066ede274dfa77 |
|
16-Mar-2014 |
Tim Reddehase <robustus@rightsrestricted.com> |
establish generation of translated sentences. |
b3b60ce0b5b1d8338f9ffe053eb91bbc3dfc024d |
|
16-Mar-2014 |
Tim Reddehase <robustus@rightsrestricted.com> |
add methods to fetch translated/combined sentences. |
b1771f28608b86404c2decef5afeded1d906dc57 |
|
09-Mar-2014 |
Tim Reddehase <robustus@rightsrestricted.com> |
save current state of sentence translations. |
d52c5892e4d5d03ba4ec8bf45dc6dd39ca464338 |
|
13-Jan-2014 |
Julian Kornberger <juliank@tzi.de> |
autosave for sentences disabled
should avoid ActiveRecord::StatementInvalid: PG::NotNullViolation
related to #340 |
43998a7504eb0ead17751c3232763b56bbc1c7f5 |
|
10-Apr-2013 |
henning mueller <henning@orgizm.net> |
Set display_text on sentences from update_or_create_from_hash. |
d95c0de1fbdb66e2aa8d2dc223ad554413f1dc87 |
|
13-Aug-2012 |
Julian Kornberger <juliank@tzi.de> |
XML parser adjusted to the new format |
22e260fcd85642794d99c2ffaa333f2ef6ed7828 |
|
13-Aug-2012 |
Daniel Couto Vale <danielvale@uni-bremen.de> |
Remove the versioning (a step)
Revert changes to the ontology
Rapair ontology tests
Bind entities and sentences to the ontology |
00e4f15826d75fbfc079bef3e559b7fa4c62e911 |
|
22-May-2012 |
Daniel Vale <danielvale@gmail.com> |
Rename axiom to sentence
Abstracted module for ontology version members (sentence and entities)
Bind sentences to ontology versions (not to ontologies) |
93601837822998e6b847baa46d986f7cfc21d46f |
|
24-Apr-2012 |
Daniel Couto Vale <danielvale@me.com> |
Match models and the database
Create controllers |