-
Notifications
You must be signed in to change notification settings - Fork 15
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
Rework result processing #219
Conversation
- metrics should also now be created before the storages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/main/java/org/aksw/iguana/cc/tasks/stresstest/storage/impl/CSVStorage.java
Outdated
Show resolved
Hide resolved
src/main/java/org/aksw/iguana/cc/tasks/stresstest/storage/impl/CSVStorage.java
Show resolved
Hide resolved
src/main/java/org/aksw/iguana/cc/tasks/stresstest/storage/impl/CSVStorage.java
Show resolved
Hide resolved
src/main/java/org/aksw/iguana/cc/tasks/stresstest/storage/impl/CSVStorage.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. There is nothing in the comments that should still be resolved in this PR. So, we are good to go to merge this.
@@ -184,19 +175,9 @@ protected HttpContext getAuthContext(String endpoint) { | |||
} | |||
|
|||
public synchronized void addResults(QueryExecutionStats results) { | |||
// TODO: check if statement for bugs, if the if line exists in the UpdateWorker, the UpdateWorker fails its tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one can be ignored for now because the UpdateWorker will be rewritten anyway.
|
||
Model m = ModelFactory.createDefaultModel(); | ||
|
||
m.add(experimentRes, RDF.type, IONT.experiment); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use method cascading with add
this.suiteFolder = folder.resolve(IguanaConfig.getSuiteID()); | ||
} | ||
|
||
public static Arguments createTestData1() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The data generation of this test is highly fragile in a sense that small changes to the rdf serialization render the generated data incorrec.t. It could be more robust if it relied on StresstestResultProcessor directly to generate a jena model.
This applies in a similar fashion to the other tests in this package as well. This doesn't need to be patched but can be moved to an issue.
This PR mainy aims to renew the result processing as it was quite messy. Changes: