Skip to content
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

Create standalone examples using configuration files #19

Open
varrodan opened this issue Feb 13, 2019 · 2 comments
Open

Create standalone examples using configuration files #19

varrodan opened this issue Feb 13, 2019 · 2 comments
Assignees

Comments

@varrodan
Copy link
Collaborator

Take existing examples used in the ICSE 2018 paper, and create standalone examples in the test folder. Create a configuration file to enable the model generation (as it was run programmatically for papers).

ArenBabikian added a commit that referenced this issue Feb 15, 2019
@ArenBabikian
Copy link
Collaborator

Integration of Viatra queries and implementation of generation specifications according to the ICSE experiment remains.

ArenBabikian added a commit that referenced this issue Feb 16, 2019
ArenBabikian added a commit that referenced this issue Feb 18, 2019
@ArenBabikian
Copy link
Collaborator

The .vsconfig files for the 4 domains have been implemented and integrated within the standalone.test project. They all work, however the fam example has inconsistent performance as it throws the following error in certain (seemingly random) situations:

Error occured (NoSuchElementException): Cannot find entry with FQN ca.mcgill.ecse.dslreasoner.standalone.test.fam.queries.model
    org.eclipse.viatra.query.runtime.registry.impl.GlobalRegistryView.getEntry(GlobalRegistryView.java:56)
    org.eclipse.viatra.addon.querybasedfeatures.runtime.QueryBasedFeatureSettingDelegateFactory.findQuerySpecification(QueryBasedFeatureSettingDelegateFactory.java:152)
    org.eclipse.viatra.addon.querybasedfeatures.runtime.QueryBasedFeatureSettingDelegateFactory.createSettingDelegate(QueryBasedFeatureSettingDelegateFactory.java:113)
    org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSettingDelegate(EStructuralFeatureImpl.java:854)
    ca.mcgill.ecse.dslreasoner.standalone.test.fam.impl.FunctionalElementImpl.<init>(FunctionalElementImpl.java:57)
    ca.mcgill.ecse.dslreasoner.standalone.test.fam.impl.FunctionImpl.<init>(FunctionImpl.java:64)
    ca.mcgill.ecse.dslreasoner.standalone.test.fam.impl.famFactoryImpl.createFunction(famFactoryImpl.java:125)
    ca.mcgill.ecse.dslreasoner.standalone.test.fam.impl.famFactoryImpl.create(famFactoryImpl.java:68)
    hu.bme.mit.inf.dslreasoner.logic2ecore.Logic2Ecore.transformInterpretation(Logic2Ecore.java:75)
    hu.bme.mit.inf.dslreasoner.application.execution.GenerationTaskExecutor.executeGenerationTask(GenerationTaskExecutor.java:359)
    hu.bme.mit.inf.dslreasoner.application.execution.ScriptExecutor._execute(ScriptExecutor.java:130)
    hu.bme.mit.inf.dslreasoner.application.execution.ScriptExecutor.execute(ScriptExecutor.java:339)
    hu.bme.mit.inf.dslreasoner.application.execution.ScriptExecutor.executeScript(ScriptExecutor.java:111)
    hu.bme.mit.inf.dslreasoner.application.execution.ScriptExecutor$1.run(ScriptExecutor.java:73)
    org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

An attempt to call the vsconfig files programmatically was made, however this was unsuccessful. This consists of the next step regarding the current issue, however, according to @OszkarSemerath, it might not be a very straightforward task.
Further steps for this issue are related to making sure that the .vsconfig and .vql files correctly replicate the experiments performed as described in the ICSE 2019 paper.

ArenBabikian added a commit that referenced this issue Jun 8, 2020
ArenBabikian added a commit that referenced this issue Jun 8, 2020
ArenBabikian added a commit that referenced this issue Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants