Add simple python tests

This commit is contained in:
Tomasz Dwojak 2016-10-11 16:14:59 +00:00
parent 2473671422
commit 6996805a78
4 changed files with 364 additions and 3 deletions

View File

@ -11,6 +11,7 @@
#include "common/search.h"
#include "common/printer.h"
#include "common/sentence.h"
#include "common/exception.h"
History TranslationTask(const std::string& in, size_t taskCounter) {
#ifdef __APPLE__
@ -39,10 +40,21 @@ void init(const std::string& options) {
}
boost::python::list translate(boost::python::list& in) {
size_t threadCount = God::Get<size_t>("threads");
LOG(info) << "Setting number of threads to " << threadCount;
size_t cpuThreads = God::Get<size_t>("cpu-threads");
LOG(info) << "Setting CPU thread count to " << cpuThreads;
ThreadPool pool(threadCount);
size_t totalThreads = cpuThreads;
#ifdef CUDA
size_t gpuThreads = God::Get<size_t>("gpu-threads");
auto devices = God::Get<std::vector<size_t>>("devices");
LOG(info) << "Setting GPU thread count to " << gpuThreads;
totalThreads += gpuThreads * devices.size();
#endif
LOG(info) << "Total number of threads: " << totalThreads;
UTIL_THROW_IF2(totalThreads == 0, "Total number of threads is 0");
ThreadPool pool(totalThreads);
std::vector<std::future<History>> results;
boost::python::list output;

20
tests/Makefile Normal file
View File

@ -0,0 +1,20 @@
#!/bin/bash
dir_guard=$(mkdir -p $(@D))
second=$(word 2, $^)
.SECONDARY:
SRC=en
TRG=de
all: test
test: model
python test.py
model:
../scripts/download_models.py -w model -m $(SRC)-$(TRG)
.PHONY: test

29
tests/configs/python.yml Normal file
View File

@ -0,0 +1,29 @@
# Paths are relative to config file location
relative-paths: yes
# performance settings
beam-size: 5
devices: [0]
normalize: yes
gpu-threads: 1
cpu-threads: 8
# scorer configuration
scorers:
F0:
path: ../model/model.npz
type: Nematus
# scorer weights
weights:
F0: 1.0
bpe: ../model/ende.bpe
debpe: yes
return-alignment: no
# vocabularies
source-vocab: ../model/vocab.en.json
target-vocab: ../model/vocab.de.json

300
tests/test100.in Normal file
View File

@ -0,0 +1,300 @@
Obama receives Netanyahu
the relationship between Obama and Netanyahu is not exactly friendly .
the two wanted to talk about the implementation of the international agreement and about Teheran &apos;s destabilising activities in the Middle East .
the meeting was also planned to cover the conflict with the Palestinians and the disputed two state solution .
relations between Obama and Netanyahu have been strained for years .
Washington criticises the continuous building of settlements in Israel and accuses Netanyahu of a lack of initiative in the peace process .
the relationship between the two has further deteriorated because of the deal that Obama negotiated on Iran &apos;s atomic programme , .
in March , at the invitation of the Republicans , Netanyahu made a controversial speech to the US Congress , which was partly seen as an affront to Obama .
the speech had not been agreed with Obama , who had rejected a meeting with reference to the election that was at that time impending in Israel .
in 911 Call , Professor admits to Shooting Girlfriend
in a 911 call , his voice only slightly shaky , college professor Shannon Lamb told police he had shot his girlfriend and officers needed to get over to their house .
lamb made a point to say his `` sweet dog &apos;&apos; was there alive and probably upset , and said the dead woman &apos;s family contacts could be found on her phone .
inside the home , officers found Amy Prentiss &apos; body and a hand-written note scribbled on a white legal pad : `` I am so very sorry I wish I could take it back I loved Amy and she is the only woman who ever loved me , &apos;&apos; read the letter authorities say was signed by Lamb .
there was no indication that Lamb , who was teaching two online classes for Delta State University in Cleveland , Mississippi , had already traveled 300 miles to the school &apos;s campus , where police believe he shot and killed a well-liked history professor , Ethan Schmidt , in the doorway to his office .
Delta State University police chief Lynn Buford said university officials heard about the shooting at 10 : 18 a.m .
he said Lamb made the fateful 911 call sometime after that .
by the end of the day , there would be one more death : lamb took his own life as police closed in on him .
a day after the school shooting forced students and faculty to hide behind locked doors , authorities were still trying to piece together what motivated Lamb .
the details released by investigators at both ends of the state as well as students and staff who knew him helped paint a picture of a talented but possibly troubled teacher .
students said they looked forward to his class .
police in Gautier , where Prentiss died , said he had no history of violence or criminal record .
Schmidt himself had included Lamb in a book he wrote where he acknowledged the `` wonderful people &apos;&apos; he shared his academic life with .
both taught in the Division of Social Sciences and History , which lists 17 faculty members , and many students took courses from both .
at the same time , there were some inclinations of problems .
a student who praised Lamb , Brandon beavers , said he also seemed agitated and jittery , `` like there was something wrong with him . &apos;&apos;
another student , Mikel Sykes , said Lamb told him he was dealing with stress at the end of the 2014-15 academic year .
lamb had earlier asked Delta State University for a medical leave of absence , saying he had a health issue of some sort .
this year , he was only teaching two online classes .
recent changes in the university &apos;s hiring policies meant that the doctorate Lamb had worked so hard to earn would not guarantee him an automatic tenure track to become an assistant professor .
University President William LaForge said he did n&apos;t know of any conflict between Lamb and Schmidt but `` obviously there was something in Mr. Lamb &apos;s mind . &apos;&apos;
those are questions Lamb can no longer answer .
after fleeing the campus , police later picked up Lamb &apos;s trail when he crossed back into Mississippi from Arkansas .
before he could be apprehended , Lamb killed himself with a single .38-caliber pistol in the backyard of a home about a mile south of his parents &apos; home on the outskirts of Greenville , Mississippi , said Washington County Coroner Methel Johnson .
his car was still running in the driveway .
it was not immediately clear why Lamb went to that home , though Johnson said she believes he knew the people who lived there .
lamb grew up in the area .
lamb started working at the university , which has 3,500 students in a city of about 12,000 , in 2009 and taught geography and education classes .
he received a doctorate in education in the spring .
one of Lamb &apos;s longtime friends described him as smart , charismatic and funny .
Carla Hairston said she was 15 and Lamb was 20 when they met through mutual friends .
she and her friends were in high school , and he was the cool older guy who tried for several years to teach her to play guitar .
he was quite the heartthrob back then .
all the girls would melt when he was around , &apos;&apos; said Hairston , now 40 and living in the Jackson suburb of Brandon .
lamb and Prentiss had apparently been dating for some time .
in the 911 call , Lamb said `` I killed my wife , &apos;&apos; but there was no record of them ever marrying .
they had a dog named Lightning that lived with them at the brick house that backs up to a bayou in Gautier .
police said the dog was OK .
Prentiss &apos; ex-husband , Shawn O&apos;Steen , said they divorced 15 years ago but remained friends and had a daughter who &apos;s now 19 .
`` She was completely devastated , &apos;&apos; O&apos;Steen said of his daughter .
she and her mother were absolutely best friends .
O&apos;Steen said he had not met Lamb but heard through his daughter Abigail that Lamb was interested in music and played the blues .
lamb met Prentiss when he and Abigail both performed at a summer fair three years ago .
later , they played together in the occasional gig .
O&apos;Steen said his daughter writes and sings her own music .
Prentiss was a nurse who worked for various companies online .
Mike Shaffer , a bartender and sometimes entertainment coordinator at The Julep Room , a dimly lit bar near Gautier , said he last saw Lamb and Prentiss the night of Sept . 5 , after Lamb had finished playing his guitar and harmonica for a sparse crowd .
there was no sign of anything amiss .
`` Just a happy couple , &apos;&apos; he said .
we were cutting up and throwing one-liners at each other .
I mean , they both had a good sense of wit about them .
Schmidt , the slain professor , directed the first-year seminar program and specialized in Native American and colonial history , said Don Allan Mitchell , an English professor at the school .
he was married and had three young children .
he studied at Emporia State University in Kansas and was president of his fraternity and student government .
on the Delta State campus in Cleveland on Tuesday night , about 900 people , including faculty members , staff , students , and members of the community , attended a candlelight memorial .
Schmidt &apos;s wife , Liz , and brother Jeff Schmidt also attended the vigil , during which the university choir sang `` Bright Morning Star &apos;&apos; and `` Amazing Grace . &apos;&apos;
classes resume Wednesday .
`` We &apos;re trying to get our students to come back , &apos;&apos; LaForge said .
the crisis is over .
this is a day of healing .
Amy and Rogelio Solis reported from Cleveland , Mississippi .
associated Press writers Emily Wagster Pettus in Greenville , Mississippi , and Rebecca Santana in New Orleans contributed to this report .
this story has been corrected to reflect that police are now saying Lamb made the 911 call after shooting Schmidt , and that while Lamb referred to Prentiss as his wife in the 911 call , there is no indication the two ever married .
toys R Us Plans to Hire Fewer Holiday Season Workers
toys R Us says it wo n&apos;t hire as many holiday season employees as it did last year , but the toy and baby products retailer says it will give current employees and seasonal workers a chance to work more hours .
the company said it plans to hire 40,000 people to work at stores and distribution centers around the country , down from the 45,000 hired for the 2014 holiday season .
most of the jobs will be part-time .
the company said it will start interviewing applicants this month , with staff levels rising from October through December .
while the holidays themselves are months away , holiday shopping season is drawing closer and companies are preparing to hire temporary employees to help them staff stores and sell , ship and deliver products .
Michael J. Fox Jokes About His ` Date &apos; With Princess Diana
the premiere of `` Back to the Future &apos;&apos; was a huge moment for Michael J. Fox professionally .
it was noteworthy because of personal reasons , too .
`` We were sitting in the theater waiting for the royals to come in and I realize that the seat next to me is empty , and it dawns on me that Princess Diana is going to be sitting next to me , &apos;&apos; he said in a trailer for an upcoming documentary , `` Back in Time . &apos;&apos;
the movie starts and it occurs to me that I &apos;m a fake yawn and an arm stretch away from being on a date with the Princess of Wales .
`` Back in Time , &apos;&apos; a documentary about `` Back to the Future , &apos;&apos; features interviews with Fox , Lea Thompson , and Christopher Lloyd , as well as director Robert Zemeckis , and executive producer Steven Spielberg .
`` Back for the Future &apos;&apos; premiered 30 years ago .
`` It really is for me , &apos;&apos; said Spielberg , `` inarguably the greatest time travel movie ever put on film . &apos;&apos;
`` Back in Time &apos;&apos; will be available on VOD , DVD and in select movie theaters Oct .
UN Chief Says There Is No Military Solution in Syria
Secretary-General Ban Ki-moon says his response to Russia &apos;s stepped up military support for Syria is that `` there is no military solution &apos;&apos; to the nearly five-year conflict and more weapons will only worsen the violence and misery for millions of people .
the U.N. chief again urged all parties , including the divided U.N. Security Council , to unite and support inclusive negotiations to find a political solution .
ban told a news conference Wednesday that he plans to meet with foreign ministers of the five permanent council nations - the U.S. , Russia , China , Britain and France - on the sidelines of the General Assembly &apos;s ministerial session later this month to discuss Syria .
he expressed regret that divisions in the council and among the Syrian people and regional powers `` made this situation unsolvable . &apos;&apos;
ban urged the five permanent members to show the solidarity and unity they did in achieving an Iran nuclear deal in addressing the Syria crisis .
8 Poll Numbers That Show Donald Trump Is For Real
some have tried to label him a flip-flopper .
others have dismissed him as a joke .
and some are holding out for an implosion .
but no matter how some Republicans are trying to drag Donald Trump down from atop the polls , it has n&apos;t worked -LRB- yet -RRB- .
ten of the last 11 national polls have shown Donald Trump &apos;s lead at double digits , and some are starting to ask seriously what it means for the real estate mogul &apos;s nomination chances .
of course , it &apos;s still early in the election cycle .
none of this is to say that Trump is likely to win the Republican nomination .
pundits point out that at this time in 2011 , Rick Perry &apos;s lead was giving way to a rising Herman Cain , neither of whom won even one state in the nomination process .
and there are many reasons he would struggle in a general election .
but outside groups like Jeb Bush &apos;s Super PAC and the economic conservative group Club for Growth are recognizing Trump &apos;s staying power and beginning to unload their dollars to topple him .
here are some recent poll numbers that suggest that the real estate mogul is n&apos;t just a passing phase :
trump &apos;s favorability ratings have turned 180 degrees .
right before Donald Trump announced his candidacy in mid-June , a Monmouth University poll showed only two in 10 Republicans had a positive view of the real estate mogul .
by mid-July , it was 40 percent .
in early August , it was 52 percent .
now , six in 10 Republicans have a favorable view of Donald Trump .
roughly three in 10 say they have a negative view .
and these numbers hold up in early states .
a Quinnipiac poll in Iowa last week found that 60 percent of Republicans there had a favorable view of Trump .
two-thirds of GOP voters would be happy with Trump as the nominee .
in a CNN @/@ ORC poll last week , 67 percent of Republicans said they would be either `` enthusiastic &apos;&apos; or `` satisfied &apos;&apos; if Trump were the nominee .
only two in 10 say they would be `` upset &apos;&apos; if he were the nominee .
only Ben Carson generates roughly the same level of enthusiasm as Trump -LRB- 43 percent say they would be `` enthusiastic &apos;&apos; vs. 40 percent who say the same of Trump -RRB- .
the next closest in enthusiasm ?
Marco Rubio with only 21 percent .
on the flip side , 47 percent of Republican voters say they would be `` dissatisfied &apos;&apos; or `` upset &apos;&apos; if establishment favorite Jeb Bush becomes the nominee .
a majority of Republicans do n&apos;t see Trump &apos;s temperament as a problem .
while Donald Trump has been widely criticized for his bombast and insults , 52 percent of leaned Republican voters nationwide think that the real estate mogul has the right temperament to be president , according to Monday &apos;s ABC News @/@ Washington Post poll .
the same number holds in the first-in-the-nation caucus state of Iowa , where the same 52 percent of Republicans think he has the personality to be commander in chief , according to Quinnipiac last week .
still , 44 percent think he does n&apos;t have the personality to serve effectively , and almost six in 10 independents say his temperament does not belong in the White House , according to ABC @/@ Post .
Republican voters are getting used to the idea .
when they put on their pundit hats , Republican voters think Trump is for real .
when asked who is most likely to win the GOP nomination , four in 10 said Trump was the best bet , according to a CNN @/@ ORC poll out last week .
that &apos;s a change from when four in 10 placed their money on Jeb Bush in late July .
full disclosure : GOP voters have n&apos;t had the clearest crystal ball in the past .
at this time last cycle , four in 10 Republicans picked Rick Perry to win the nomination , vs. only 28 percent for eventual nominee Mitt Romney .
still , it shows that a plurality of GOP voters see Trump &apos;s campaign as plausible .
even if Republicans rallied around another candidate , Trump still beats almost everyone .
some pundits point out that the splintered field is likely contributing to Trump &apos;s lead , while anti-Trump support is be spread diffusely among more than a dozen other candidates .
but a Monmouth University poll in early September shows that , in a hypothetical head-to-head matchup between Trump and most other Republican candidates , Trump almost always garners majority support .
he leads Carly Fiorina by 13 points , Marco Rubio by 14 points , Walker by 15 points , Jeb Bush by 19 points , and , finally , Rand Paul , John Kasich and Chris Christie by 33 points each .
he &apos;s in a dead heat with Ted Cruz .
the only candidate who beats him ?
Ben Carson would lead the businessman by a wide 19 points in a hypothetical head-to-head .
a bare majority of Donald Trump &apos;s supporters say they &apos;ve made up their minds .
a new CBS @/@ NYT poll out on Tuesday shows that just more than half of voters who support Trump say they have locked in their votes .
obviously , a lot can happen to change that , and no one can really say they would never change their mind .
46 percent said they are leaving the door open to switching candidates .
still , Trump &apos;s strongest competition at the moment is from fellow outsider neurosurgeon Ben Carson , but voters who say they have made up their minds are twice as likely to go for Trump .
six in 10 Republicans say they agree with Trump on immigration .
even since Donald Trump called immigrants from Mexico `` rapists &apos;&apos; in his campaign announcement speech two months ago , immigration has been front and center in the 2016 conversation .
some are worried that Trump &apos;s bombast will drive crucial Hispanic voters away from the Republican Party and damage rebranding efforts .
but according to Monday &apos;s new ABC @/@ Post poll , six in 10 Republicans say they agree with Trump on immigration issues .
so as long as immigration remains in the spotlight , it seems Donald Trump will remain too .
frustration with government is climbing to new highs .
Donald Trump and Ben Carson now account for roughly half of the support from Republican voters , largely due to their outsider status .
six in 10 Republicans in Monday &apos;s new ABC @/@ Post poll say they want a political outsider over someone with government experience .
and they are angry at Washington , too .
a Des Moines Register @/@ Bloomberg poll in Iowa from two weeks ago shows that three in four Iowa Republicans are frustrated with Republicans in Congress , with 54 percent `` unsatisfied &apos;&apos; and 21 percent `` mad as hell . &apos;&apos;
Munich , Sylt und Co . : the five most exclusive residential areas in Germany
the most expensive residential developments are located here in Hobookenweg with a view over the North Sea mudflats .
on this road one square metre of a thatched house costs an average of € 73,300 .
`` On Sylt , the number of properties on offer is naturally limited , &apos;&apos; says a study hence the high prices .
this new study indicates the particular locations with the most expensive accommodation per square metre .
of course , € 18.70 per square metre for student digs in Munich is not really low .
compared with Germany &apos;s top areas , however , this price seems likes peanuts .
property service Engel &amp; Volkers has published a league table of the most exclusive residential areas in Germany - with staggeringly high prices per square metre .
more than € 10,000 is nothing there - per quare metre , mind you .
OK , if you ca n&apos;t afford it ...
incidentally , for once Munich is not in the lead .
champions League : Bayern off to a dream start thanks to Müller and GÖTZE
double goal scorer in Piraeus : Bayern star Thomas Müller is simply on a roll .
a lucky goal from Thomas Müller paved the way for a 3 : 0 victory for FC Bayern at Olypiacos Piraeus - then it got better .
a confident start to the Champions League season .
world champions Thomas Müller and Mario GÖTZE brought about a dream start to their `` Milan Mission &apos;&apos; in the seething cauldron at Pireaus .
trainer Pep Guardiola &apos;s team won their opening match in the Champions League in a hot atmosphere away to the Greek record holders , thanks to Müller &apos;s brace -LRB- 52nd and 90th minutes +2 -RRB- and GÖTZE &apos;s goal -LRB- 89th minute -RRB- , ending in a score of 3 : 0 -LRB- 0 : 0 -RRB- .
the twelfth successful start in a row should be the first step toward the final in Italy on 28 May 2016 , where Guardiola wants to end his third attempt by taking the trophy back to Munich .
with his 28th goal in the Champions League , Müller took Bayern into the lead with the gracious help of Olymiacos goalie Roberto , who let through a cross shot from the world champion .
`` We are n&apos;t going to underestimate them , &apos;&apos; promised Bayern captain Phillipp Lahm before the game in the Karaiskakis Stadium in front of 31,688 hot-blooded fans - and the Munich player kept his word .
they demonstrated a concentrated and committed performance without being showy .
Piraeus had won their six most recent premiere class home games , including against prominent clubs such as Manchester United , Atletico Madrid and Juventus Turin .
in 2011 Borussia Dortmund stumbled here too .
but Bayern , undefeated in seven Europa Cup duels with Greek teams , did not want to be the next victim .
they went to work boldly , but often too uninspired in their offensive efforts .
attacks were too often initiated by bringing left winger Douglas Costa , who rarely got past former Brunswick player Omar Elabdellaoui , into play .
Müller had more luck from the right when his cross shot from right field drove into the top left corner of the goal .
in the 67th minute the world champion missed the chance of taking the match to 2 : 0 .
Robert Lewandowski had the best opportunities in the first half .
first when Olympiacos striker Ideye Brown hit the Pole &apos;s header from the line in the 26th minute .
then with a shot which the goalie parried with his knee in the 35th minute .
although Bayern is used to playing a dominant game , Piraeus were able to needle them .
but they could count on goalkeeper Manuel Neuer .
for example when he steered a shot from Ideye over the crossbar in the 56th minute .
Guardiola had a four-man backfield defence deployed in front of Neuer , with David Alba in the centre next to Jerome Boateng .
Mario GÖTZE , back in the squad following muscle problems , initially sat on the sidelines .
the world cup hero had only been given the green light following final training , said Sporting Director Matthias Sammer on Sky : `` If anyone wants to make something else out of that , they are being malicious &apos;&apos; .
at the first change , Guardiola decided against him , when he brought in Kingsley Coman for the stricken Lewandowski in the 59th minute .
GÖTZE came late for Arturo Vidal in the 76th minute and proved himself 13 minutes later ; Müller put another one in with a penalty .
before the match there was a riot in the stadium .
after a small group of Bayern fans , some wearing masks , had apparently provoked supporters of hosts Piraeus from behind their fence with words and gestures , security forces attacked them and used batons against the Munich supporters .
at least one Bayern fan was taken injured from the stadium .
smokers at a greater risk of losing teeth
smokers damage not only their lungs but also their teeth , concludes a long-term study in Potsdam .
the good news is : if you give up the risk decreases fast .
smokers have a significantly increased risk of losing their teeth early .
this emerges from a long-term study by an international team of researchers , including a number of employees of the German Institute for Nutritional Research -LRB- DIfE -RRB- in Potsdam .
compared to non-smokers , the risk of losing their teeth prematurely is between 2.5 and 3.6 times higher for smokers .
the scientists monitored more than 23,300 participants .
the main reasons for tooth loss are caries and inflammation of the gums , the DIfE states .
smoking is a risk factor for this periodontitis , emphasise the authors .
the connection between smoking and loss of teeth can therefore be attributed to more frequent gum inflammation in smokers .
it has not been clarified to what extent smoking raises the risk of caries .
people who stop smoking could reduce their risk within a short time , the researchers write in the `` Journal of Dental Research &apos;&apos; .
it could however take 10 years before the danger once more drops to the level of non-smokers &apos; , declared lead author Thomas Dietrich of the University of Birmingham in England .
people should be persuaded to become non-smokers , declared study leader Heiner Boeing of DIfE : `` Smoking shortens the lifespan &apos;&apos; .
not smoking is good for the lungs and vessels and in our experience leads to good dental health to an advanced age .
in Germany over 20 percent of the population in the 65 to 74 age group are affected by toothlessness , according to the DIfE .
earlier studies had already indicated that smoking increases the risk of early tooth loss .
the new long term study substantiates these findings .
archaeologists discover ancient remains on the banks of the Rhine at Cologne
archaeological finds have again been made on the right bank of the Rhine in Cologne .
archaeologists from the Roman Germanic Museum have unearthed skeletons and remains of historical buildings near the site where the new Rhine Boulevard is being constructed , said museum Director Marcus Trier on Tuesday .
historians have been in search of so-called architectural monuments since the start of construction work on the Rhine .
the museum , as the department for archaeological monument conservation , is always consulted when construction projects are carried out in the city district of Cologne .
the archaeologists made a find in the third construction phase of the Rhein Boulevard .
it is already known from text documents that a fortress stood on this spot in the 4th century , and in the 8th century a church , explained Trier .
besides the remains of the fortress and the church tower , a cemetery with around 350 graves , which probably belonged to the church , has also been discovered .
young woman hit by goods train
after a young woman met with an accident at the station in Geilenkirchen-Lindern , police are asking for help from the general public .
early on Wednesday morning , at about 1 : 40 a.m. , the young woman crossed the tracks at the end of the platform coming from the direction of the station building and was hit by a goods train coming from the direction of Mönchengladbach .
according to the Federal police she suffered severe injuries from the accident .
she was treated at the site by an emergency doctor and taken to hospital by ambulance .
investigating officers have no idea why the young woman was crossing the tracks at night .
it is possible that the event was observed by witnesses or residents may have heard something .
this may apply to residents of or people passing by the lindern station , Ziegelbäckerweg , Thomashofstrasse and Leiffarther Strasse -LRB- L364 -RRB- .
any information that can be provided about the cause of the accident can be given by calling the free 24-hour police hotline on 0800 @/@ 688 8000 or at any police station .
EU Commission proposes new court in controversy over TTIP
to defuse the controversy over the planned Transatlantic Trade and Investment Partnership , TTIP , the EU Commission has proposed a substantial reform of the current arbitration system .
according to this , the disputed private arbitration board for conflicts between corporations and countries would be replaced by a transparent system which corresponds considerably more in its function to traditional courts .
`` We want to set up a system which citizens trust , &apos;&apos; stated the responsible EU Commissioner , Cecilia Malström , when introducing it .
the Swede plans to introduce the proposal as the European negotiating position in the free trade talks with the USA .
the German government has announced its support .
the creation of TTIP will result in the largest free trade zone in the world , covering 800 million people .
plans for reform of the current arbitration procedure specifically provide for the EU states and the USA to jointly select independent judges for a new investment court .
they should come in equal proportions from the EU , the USA and from non-member countries .
for the first time , a second instance is also provided for .
this would allow for appeals to be made against judgements .
up to now , the parties to proceedings have agreed on the arbitrator among themselves and there has been no possibility of appeal against their judgements .
in the discussions over the past months it has become clear that citizens do not trust the old ISDS system to be fair and just , commented Malström .
in the long term , according to her statement , she wants to aim at an international investment court .
in this , for example , disputes between Chinese companies and EU countries could be cleared up .
investor State Dispute Settlement -LRB- ISDS -RRB- , which is required particularly by large companies , is said to be one of the main reasons for the stiff opposition to the TTIP in Europe .
traditional arbitration courts are criticised by adversaries as a form of parallel justice through which companies are able to fight for compensation at the expense of tax payers , make national laws null and void , or enforce a lowering of consumer and environmental protection standards .
in initial reactions , anti TTIP organisations such as Capact called the EU Commission &apos;s proposals inadequate .
there was criticism in particular that they would not apply to the already negotiated free trade agreement with Canada -LRB- CETA -RRB- .
the German Secretary of State for the Economy , Matthias Machnig -LRB- SPD -RRB- , on the other hand , referred to the plans as major progress .
the Commission included in the reforms key points which Federal Economics Minister Sigmar Gabriel developed with other EU trade ministers .
the old system of private arbitration courts is off the table .
the French government , too , welcomed Malström &apos;s plans .
the European business association BusinessEurope warned against restricting the options for industry to take legal action with too many new rules .
small and medium sized enterprises in particular could be disadvantaged , they said .
when talks over the TTIP free trade agreement can be concluded was still unclear on Wednesday .
negotiations have been taking place since the middle of 2013 .
the issue of investor protection , however , has to date not been discussed with the USA .
it was originally planned for a structure for the agreement to be completed by the end of this year .
this date is no longer tenable .
exquisite folk from Sufjan Stevens in Hamburg
eleven years ago , Sufjan Stevens sits on the stage in the Prime Club -LRB- now Luxor -RRB- in Cologne .
beside him stands a flip chart on which the shy-seeming folk singer has drawn the picturesque US state of Michigan in felt-tip pen .
the entire audience , some 40 people , is virtually mesmerised by Stevens &apos;s performance .
referring to different places , which each time he marks on the map , he talks about the stories behind his meticulously and subtly contrived songs .
where they originated , and what it looks like , in his home country .
since then Stevens has proved himself to be a wonderfully creative nutcase .
his third album , `` Greetings from Michigan : the Great Lake State &apos;&apos; , released in 2003 , features cleverly composed songs which cling harmonically to the traditions of American folk rock of the late sixties , but which might drift at any time into amazing opulence .
rumour has it that `` Michigan &apos;&apos; was the first part of a bold series : it was to have been followed by songs about each of the 50 United States .
but in 2004 in the Rhine area , `` Seven Swans &apos;&apos; came out , bursting positive expectations .
Stevens seems to have downsized here .
playing live he only needs a guitar and banjo .
one year later the New York-based musician returns to his series .
with `` Illinois &apos;&apos; -LRB- `` Sufjan Stevens Invites You To : come On Feel The Illinoise &apos;&apos; -RRB- in 2005 , a widely acclaimed masterpiece is released .
exuberant with ideas and stylistic sophistication .
the album climbs the American Billboard charts and appears in every best album of the year list in the influential music press .
after extremely productive experiments Stevens then serves up `` The Age of Adz &apos;&apos; -LRB- 2010 -RRB- , an elaborate electronic set piece .
this sixth proper studio album is still broadly orchestrated , but supported by programmed sequences or beats and plays with a variety of effects and echoes .
long since moved on from the smaller clubs , the stage shows here are becoming colourful spectacles with neon headbands and huge fluorescent stage decorations .
currently Sufjan Stevens is touring Germany as part of a five-man band .
Hamburg Mehr kept in the dark !
since March the theatre has primarily presented `` Carrie and Lowell &apos;&apos; .
although an audience of almost 2000 sit spellbound in their seats , the clearly more mature Stevens returns to intimacy and to folk .
without directing a word at the public the group of excellent musicians plays through the widely enriched album .
from the audience one can hear : the performance is more `` opulent &apos;&apos; and it makes you want to `` chuck away the album &apos;&apos; .
only with his encore does Stevens give his modest thanks , play a few of his older songs acoustically and finally take a bow to thunderous applause .
Jeremy Corbyn to make debut at Prime Minister &apos;s Questions
since his election , Mr Corbyn &apos;s debut at PMQs has been keenly awaited
new Labour leader Jeremy Corbyn is to make his debut at Prime Minister &apos;s Questions later , taking on David Cameron for the first time .
Mr Corbyn will rise to ask the first of his six allotted questions shortly after midday , with his performance likely to be closely scrutinised by the media and Labour MPs .
he has called for `` less theatre and more facts &apos;&apos; at the weekly showpiece .
he has also said he could skip some sessions , leaving them to colleagues .
the encounter will be the first parliamentary test of Mr Corbyn &apos;s leadership , coming after his appointment of a shadow cabinet and his speech to the TUC annual congress on Tuesday .
meanwhile , the Labour leader &apos;s decision to stand in silence during the singing of the national anthem at a service on Tuesday to mark the 75th anniversary of the Battle of Britain has attracted criticism from a number of Tory MPs and is the focus of several front page stories in the newspapers .
Mr Corbyn &apos;s decision not to sing the national anthem has attracted attention
a spokesman for Mr Corbyn said he had `` stood in respectful silence &apos;&apos; and did recognise the `` heroism of the Royal Air Force in the Battle of Britain . &apos;&apos;
but a member of Mr Corbyn &apos;s shadow cabinet , Owen Smith , told BBC Two &apos;s Newsnight programme he would have advised the Labour leader to sing the national anthem `` irrespective &apos;&apos; of his belief that the monarchy should be abolished .
nearly a dozen shadow ministers have refused to serve in Mr Corbyn &apos;s top team , citing differences over the economy , defence and foreign affairs , while less than a sixth of the parliamentary party originally backed him as leader .
BBC political correspondent Robin Brant says policy differences are also `` stacking up &apos;&apos; within Labour following Mr Corbyn &apos;s appointment over its position on the European Union and the government &apos;s cap on benefits .
Mr Corbyn told the TUC conference Labour was putting forward amendments to remove the whole idea of a cap altogether .